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

References

examples/Kaleidoscope/Chapter5/toy.cpp
  587     return Builder.CreateFAdd(L, R, "addtmp");
  589     return Builder.CreateFSub(L, R, "subtmp");
  591     return Builder.CreateFMul(L, R, "multmp");
  593     L = Builder.CreateFCmpULT(L, R, "cmptmp");
  595     return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
  618   return Builder.CreateCall(CalleeF, ArgsV, "calltmp");
  627   CondV = Builder.CreateFCmpONE(
  630   Function *TheFunction = Builder.GetInsertBlock()->getParent();
  638   Builder.CreateCondBr(CondV, ThenBB, ElseBB);
  641   Builder.SetInsertPoint(ThenBB);
  647   Builder.CreateBr(MergeBB);
  649   ThenBB = Builder.GetInsertBlock();
  653   Builder.SetInsertPoint(ElseBB);
  659   Builder.CreateBr(MergeBB);
  661   ElseBB = Builder.GetInsertBlock();
  665   Builder.SetInsertPoint(MergeBB);
  666   PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp");
  696   Function *TheFunction = Builder.GetInsertBlock()->getParent();
  697   BasicBlock *PreheaderBB = Builder.GetInsertBlock();
  701   Builder.CreateBr(LoopBB);
  704   Builder.SetInsertPoint(LoopBB);
  708       Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, VarName);
  733   Value *NextVar = Builder.CreateFAdd(Variable, StepVal, "nextvar");
  741   EndCond = Builder.CreateFCmpONE(
  745   BasicBlock *LoopEndBB = Builder.GetInsertBlock();
  750   Builder.CreateCondBr(EndCond, LoopBB, AfterBB);
  753   Builder.SetInsertPoint(AfterBB);
  796   Builder.SetInsertPoint(BB);
  805     Builder.CreateRet(RetVal);