HomeSort by relevance Sort by last modified time
    Searched defs:TheModule (Results 1 - 21 of 21) sorted by null

  /external/llvm/lib/IR/
AsmWriter.h 68 const Module *TheModule;
AsmWriter.cpp 308 /// TheModule - The module for which we are holding slot numbers.
309 const Module* TheModule;
440 : TheModule(M), TheFunction(nullptr), FunctionProcessed(false),
447 : TheModule(F ? F->getParent() : nullptr), TheFunction(F),
452 if (TheModule) {
454 TheModule = nullptr; ///< Prevent re-processing next time we're called.
467 for (Module::const_global_iterator I = TheModule->global_begin(),
468 E = TheModule->global_end(); I != E; ++I) {
475 I = TheModule->named_metadata_begin(),
476 E = TheModule->named_metadata_end(); I != E; ++I)
    [all...]
  /external/clang/include/clang/CodeGen/
CodeGenAction.h 27 std::unique_ptr<llvm::Module> TheModule;
  /external/llvm/tools/llvm-jitlistener/
llvm-jitlistener.cpp 116 TheModule = ParseIRFile(IRFile, Err, Context);
117 if (!TheModule) {
137 Triple Tuple(TheModule->getTargetTriple());
143 TheModule->setTargetTriple(Tuple.getTriple());
148 TheJIT.reset(EngineBuilder(TheModule)
163 Module *TheModule; // Owned by ExecutionEngine.
  /external/clang/lib/CodeGen/
CodeGenTypes.h 65 llvm::Module &TheModule;
119 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }
BackendUtil.cpp 52 Module *TheModule;
64 CodeGenPasses->add(new DataLayoutPass(TheModule));
74 PerModulePasses->add(new DataLayoutPass(TheModule));
83 PerFunctionPasses = new FunctionPassManager(TheModule);
84 PerFunctionPasses->add(new DataLayoutPass(TheModule));
115 TheModule(M), CodeGenerationTime("Code Generation Time"),
296 Triple TargetTriple(TheModule->getTargetTriple());
352 std::string Triple = TheModule->getTargetTriple();
495 llvm::Triple TargetTriple(TheModule->getTargetTriple());
572 for (Module::iterator I = TheModule->begin()
    [all...]
CodeGenAction.cpp 54 std::unique_ptr<llvm::Module> TheModule, LinkModule;
71 llvm::Module *takeModule() { return TheModule.release(); }
86 TheModule.reset(Gen->GetModule());
134 if (!TheModule)
143 TheModule.release();
147 assert(TheModule.get() == M &&
163 LLVMContext &Ctx = TheModule->getContext();
176 TheModule.get(), Action, AsmOutStream);
545 TheModule.reset();
562 TheModule.reset(BEConsumer->takeModule())
    [all...]
CodeGenModule.h 275 llvm::Module &TheModule;
586 llvm::Module &getModule() const { return TheModule; }
    [all...]
CGObjCGNU.cpp 106 llvm::Module &TheModule;
184 llvm::Constant *ConstStr = TheModule.getGlobalVariable(name);
187 ConstStr = new llvm::GlobalVariable(TheModule, value->getType(), true,
201 return new llvm::GlobalVariable(TheModule, Ty, false,
213 return new llvm::GlobalVariable(TheModule, Ty, false,
    [all...]
  /external/llvm/lib/Transforms/ObjCARC/
ARCRuntimeEntryPoints.h 46 ARCRuntimeEntryPoints() : TheModule(nullptr),
60 TheModule = M;
73 assert(TheModule != nullptr && "Not initialized.");
105 Module *TheModule;
131 LLVMContext &C = TheModule->getContext();
138 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
147 LLVMContext &C = TheModule->getContext();
157 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
165 LLVMContext &C = TheModule->getContext();
178 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr)
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter3/
toy.cpp 350 static Module *TheModule;
386 Function *CalleeF = TheModule->getFunction(Callee);
410 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
417 F = TheModule->getFunction(Name);
556 TheModule = new Module("my cool jit", Context);
562 TheModule->dump();
  /external/llvm/examples/Kaleidoscope/Chapter4/
toy.cpp 357 static Module *TheModule;
394 Function *CalleeF = TheModule->getFunction(Callee);
418 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
425 F = TheModule->getFunction(Name);
575 TheModule = new Module("my cool jit", Context);
579 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
585 FunctionPassManager OurFPM(TheModule);
589 TheModule->setDataLayout(TheExecutionEngine->getDataLayout());
590 OurFPM.add(new DataLayoutPass(TheModule));
613 TheModule->dump()
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineModuleInfo.h 101 /// TheModule - This is the LLVM Module being worked on.
102 const Module *TheModule;
196 void setModule(const Module *M) { TheModule = M; }
197 const Module *getModule() const { return TheModule; }
  /external/llvm/examples/Kaleidoscope/Chapter5/
toy.cpp 458 static Module *TheModule;
495 Function *CalleeF = TheModule->getFunction(Callee);
663 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
670 F = TheModule->getFunction(Name);
820 TheModule = new Module("my cool jit", Context);
824 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
830 FunctionPassManager OurFPM(TheModule);
834 TheModule->setDataLayout(TheExecutionEngine->getDataLayout());
835 OurFPM.add(new DataLayoutPass(TheModule));
858 TheModule->dump()
    [all...]
  /external/clang/lib/Frontend/
CompilerInstance.cpp     [all...]
  /external/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp 543 static Module *TheModule;
564 Function *F = TheModule->getFunction(std::string("unary")+Opcode);
590 Function *F = TheModule->getFunction(std::string("binary")+Op);
599 Function *CalleeF = TheModule->getFunction(Callee);
767 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
774 F = TheModule->getFunction(Name);
938 TheModule = new Module("my cool jit", Context);
942 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
948 FunctionPassManager OurFPM(TheModule);
952 TheModule->setDataLayout(TheExecutionEngine->getDataLayout())
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp 608 static Module *TheModule;
642 Function *F = TheModule->getFunction(std::string("unary")+Opcode);
686 Function *F = TheModule->getFunction(std::string("binary")+Op);
695 Function *CalleeF = TheModule->getFunction(Callee);
915 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
922 F = TheModule->getFunction(Name);
1102 TheModule = new Module("my cool jit", Context);
1106 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
1112 FunctionPassManager OurFPM(TheModule);
1116 TheModule->setDataLayout(TheExecutionEngine->getDataLayout())
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/cached/
toy-jit.cpp 625 static Module *TheModule;
661 Function *F = TheModule->getFunction(std::string("unary")+Opcode);
710 Function *F = TheModule->getFunction(std::string("binary")+Op);
719 Function *CalleeF = TheModule->getFunction(Callee);
942 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
948 F = TheModule->getFunction(Name);
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.cpp 610 static Module *TheModule;
646 Function *F = TheModule->getFunction(std::string("unary")+Opcode);
692 Function *F = TheModule->getFunction(std::string("binary")+Op);
701 Function *CalleeF = TheModule->getFunction(Callee);
924 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
930 F = TheModule->getFunction(Name);
1120 TheModule = new Module("my cool jit", Context);
1124 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
1130 FunctionPassManager OurFPM(TheModule);
    [all...]
  /external/llvm/lib/Target/CppBackend/
CPPBackend.cpp 95 const Module *TheModule;
690 for (Module::const_global_iterator I = TheModule->global_begin(),
691 E = TheModule->global_end(); I != E; ++I) {
698 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end();
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/complete/
toy.cpp 804 TheModule = parseInputIR(InputIR, Context);
806 TheModule = new Module("my cool jit", Context);
811 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
817 TheFPM = new FunctionPassManager(TheModule);
846 assert(TheModule);
847 return TheModule->getFunction(FnName);
851 assert(TheModule);
852 return TheModule;
875 assert(TheModule);
876 TheModule->dump()
    [all...]

Completed in 3453 milliseconds