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

References

examples/Kaleidoscope/Chapter7/toy.cpp
  752   return Builder.CreateLoad(V, Name.c_str());
  764   return Builder.CreateCall(F, OperandV, "unop");
  787     Builder.CreateStore(Val, Variable);
  798     return Builder.CreateFAdd(L, R, "addtmp");
  800     return Builder.CreateFSub(L, R, "subtmp");
  802     return Builder.CreateFMul(L, R, "multmp");
  804     L = Builder.CreateFCmpULT(L, R, "cmptmp");
  806     return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
  817   return Builder.CreateCall(F, Ops, "binop");
  837   return Builder.CreateCall(CalleeF, ArgsV, "calltmp");
  846   CondV = Builder.CreateFCmpONE(
  849   Function *TheFunction = Builder.GetInsertBlock()->getParent();
  857   Builder.CreateCondBr(CondV, ThenBB, ElseBB);
  860   Builder.SetInsertPoint(ThenBB);
  866   Builder.CreateBr(MergeBB);
  868   ThenBB = Builder.GetInsertBlock();
  872   Builder.SetInsertPoint(ElseBB);
  878   Builder.CreateBr(MergeBB);
  880   ElseBB = Builder.GetInsertBlock();
  884   Builder.SetInsertPoint(MergeBB);
  885   PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp");
  912   Function *TheFunction = Builder.GetInsertBlock()->getParent();
  923   Builder.CreateStore(StartVal, Alloca);
  930   Builder.CreateBr(LoopBB);
  933   Builder.SetInsertPoint(LoopBB);
  964   Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str());
  965   Value *NextVar = Builder.CreateFAdd(CurVar, StepVal, "nextvar");
  966   Builder.CreateStore(NextVar, Alloca);
  969   EndCond = Builder.CreateFCmpONE(
  977   Builder.CreateCondBr(EndCond, LoopBB, AfterBB);
  980   Builder.SetInsertPoint(AfterBB);
  995   Function *TheFunction = Builder.GetInsertBlock()->getParent();
 1017     Builder.CreateStore(InitVal, Alloca);
 1072   Builder.SetInsertPoint(BB);
 1081     Builder.CreateStore(&Arg, Alloca);
 1089     Builder.CreateRet(RetVal);