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

References

unittests/IR/IRBuilderTest.cpp
   29     M.reset(new Module("MyModule", Ctx));
   30     FunctionType *FTy = FunctionType::get(Type::getVoidTy(Ctx),
   33     BB = BasicBlock::Create(Ctx, "", F);
   34     GV = new GlobalVariable(*M, Type::getFloatTy(Ctx), true,
  177   GlobalVariable *GVDouble = new GlobalVariable(*M, Type::getDoubleTy(Ctx),
  222   V = Builder.CreateFPTrunc(VDouble, Type::getFloatTy(Ctx));
  227   VDouble = Builder.CreateFPExt(V, Type::getDoubleTy(Ctx));
  329   BasicBlock *TBB = BasicBlock::Create(Ctx, "", F);
  330   BasicBlock *FBB = BasicBlock::Create(Ctx, "", F);
  340   MDNode *Weights = MDBuilder(Ctx).createBranchWeights(42, 13);
  357   std::unique_ptr<Module> M(new Module("test", Ctx));
  367   EXPECT_EQ(Ty1, IntegerType::get(Ctx, 1));
  372   EXPECT_EQ(IntPtrTy, IntegerType::get(Ctx, IntPtrBitSize));
  541   auto CalleeTy = FunctionType::get(Type::getFloatTy(Ctx),
  736   BasicBlock *GBB = BasicBlock::Create(Ctx, "", G);
  754       DILocation::getDistinct(Ctx, GSP->getScopeLine(), 0, GSP);
  757   auto IA = DebugLoc::appendInlinedAt(DL, InlinedAtNode, Ctx, IANodes);
  798   auto CalleeTy = FunctionType::get(Type::getVoidTy(Ctx),
  812   DebugLoc DL1 = DILocation::get(Ctx, 2, 0, SP);
  813   DebugLoc DL2 = DILocation::get(Ctx, 3, 0, SP);
  815   auto BB2 = BasicBlock::Create(Ctx, "bb2", F);
  819   IRBuilder<> Builder(Ctx);
  889   auto MF2 = DIMacroFile::get(Ctx, dwarf::DW_MACINFO_start_file, 5, File2,
  896   auto MF1 = DIMacroFile::get(Ctx, dwarf::DW_MACINFO_start_file, 0, File1,
  902   auto MN0 = MDTuple::get(Ctx, Elements);
  909   auto MN1 = MDTuple::get(Ctx, Elements);
  914   auto MN2 = MDTuple::get(Ctx, Elements);