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

References

examples/Kaleidoscope/Chapter5/toy.cpp
  540 static IRBuilder<> Builder(TheContext);
  568   return ConstantFP::get(TheContext, APFloat(Val));
  595     return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp");
  628       CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond");
  634   BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
  635   BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else");
  636   BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont");
  666   PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp");
  698   BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
  708       Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, VarName);
  730     StepVal = ConstantFP::get(TheContext, APFloat(1.0));
  742       EndCond, ConstantFP::get(TheContext, APFloat(0.0)), "loopcond");
  747       BasicBlock::Create(TheContext, "afterloop", TheFunction);
  765   return Constant::getNullValue(Type::getDoubleTy(TheContext));
  770   std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext));
  772       FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false);
  795   BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
  827   TheModule = std::make_unique<Module>("my cool jit", TheContext);