SplitBlockAndInsertForEachLane overloads
Synopses
Declared in <llvm/Transforms/Utils/BasicBlockUtils.h>
Invoke a callback once for each lane up to an effective vector length.
void
SplitBlockAndInsertForEachLane(
Value* End,
BasicBlock::iterator InsertBefore,
std::function<void(IRBuilderBase&, Value*)> Func);
Invoke a callback once for each lane of a vector with EC elements.
void
SplitBlockAndInsertForEachLane(
ElementCount EC,
Type* IndexTy,
BasicBlock::iterator InsertBefore,
std::function<void(IRBuilderBase&, Value*)> Func);
Parameters
Name |
Description |
End |
Effective vector length; assumed > 0. |
InsertBefore |
Instruction at which the per‐lane code is inserted. |
Func |
Callback invoked for each lane index. |
EC |
Element count describing the number of lanes. |
IndexTy |
Integer type used for lane indices. |
Created with MrDocs