search for: iscontrolflowinst

Displaying 1 result from an estimated 1 matches for "iscontrolflowinst".

2015 Jul 28
2
[LLVMdev] RFC: LoopEditor, a high-level loop transform toolkit
...ction completely, it'd replace it with a > vector variant. So the entire main body of the vectorizer would look > something like this: > > struct Delegate : public LoopEditor::Delegate { > Value *hookCloneInstruction(Instruction *OldI, IRBuilder<> &IRB) { > if (isControlFlowInst(OldI)) return IRB.CreateExtractElement; // Don't > vectorize branches > return createVectorVersionOfInstruction(OldI, VF, IRB); // Defined > somewhere in LoopVectorize > } > }; > BasicBlock *PredBB; > Delegate D; > LoopEditor LE(L, DT, SE, LI); > LoopEditor Vect...