reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/polly/lib/CodeGen/LoopGenerators.cpp
   88   Function *F = Builder.GetInsertBlock()->getParent();
   95   BasicBlock *BeforeBB = Builder.GetInsertBlock();
  125   ExitBB = SplitBlock(BeforeBB, &*Builder.GetInsertPoint(), &DT, &LI);
  134     Builder.SetInsertPoint(GuardBB);
  136     LoopGuard = Builder.CreateICmp(Predicate, LB, UB);
  138     Builder.CreateCondBr(LoopGuard, PreHeaderBB, ExitBB);
  146   Builder.SetInsertPoint(PreHeaderBB);
  147   Builder.CreateBr(HeaderBB);
  151   Builder.SetInsertPoint(HeaderBB);
  152   PHINode *IV = Builder.CreatePHI(LoopIVType, 2, "polly.indvar");
  154   Stride = Builder.CreateZExtOrBitCast(Stride, LoopIVType);
  155   Value *IncrementedIV = Builder.CreateNSWAdd(IV, Stride, "polly.indvar_next");
  157       Builder.CreateICmp(Predicate, IncrementedIV, UB, "polly.loop_cond");
  160   BranchInst *B = Builder.CreateCondBr(LoopCondition, HeaderBB, ExitBB);
  171   Builder.SetInsertPoint(HeaderBB->getFirstNonPHI());