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

References

unittests/Linker/LinkModulesTest.cpp
   29     M.reset(new Module("MyModule", Ctx));
   31         Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/);
   31         Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/);
   35     EntryBB = BasicBlock::Create(Ctx, "entry", F);
   36     SwitchCase1BB = BasicBlock::Create(Ctx, "switch.case.1", F);
   37     SwitchCase2BB = BasicBlock::Create(Ctx, "switch.case.2", F);
   38     ExitBB = BasicBlock::Create(Ctx, "exit", F);
   40     AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3);
   53     ConstantInt *One = ConstantInt::get(Type::getInt32Ty(Ctx), 1);
   55                                              Type::getInt8PtrTy(Ctx));
   82   GEPIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ctx), 0));
   97   Builder.CreateRet(ConstantPointerNull::get(Type::getInt8PtrTy(Ctx)));
   99   Module *LinkedModule = new Module("MyModuleLinked", Ctx);
  100   Ctx.setDiagnosticHandlerCallBack(expectNoDiags);
  112   ArrayType *AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3);
  172   std::unique_ptr<Module> InternalM(getInternal(Ctx));
  173   std::unique_ptr<Module> EmptyM(new Module("EmptyModule1", Ctx));
  174   Ctx.setDiagnosticHandlerCallBack(expectNoDiags);
  179   std::unique_ptr<Module> InternalM(getInternal(Ctx));
  180   std::unique_ptr<Module> EmptyM(new Module("EmptyModule1", Ctx));
  181   Ctx.setDiagnosticHandlerCallBack(expectNoDiags);
  197   Ctx.setDiagnosticHandlerCallBack(expectNoDiags);
  205   std::unique_ptr<Module> DestM(getExternal(Ctx, "foo"));
  206   std::unique_ptr<Module> SourceM(getExternal(Ctx, "bar"));
  282   Ctx.setDiagnosticHandlerCallBack(expectNoDiags);
  351   Ctx.setDiagnosticHandlerCallBack(expectNoDiags);