Searched refs:TheModule (Results 1 - 11 of 11) sorted by relevance

/macosx-10.10.1/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp348 static Module *TheModule; variable
384 Function *CalleeF = TheModule->getFunction(Callee);
408 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
415 F = TheModule->getFunction(Name);
554 TheModule = new Module("my cool jit", Context);
560 TheModule->dump();
/macosx-10.10.1/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp355 static Module *TheModule; variable
392 Function *CalleeF = TheModule->getFunction(Callee);
416 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
423 F = TheModule->getFunction(Name);
573 TheModule = new Module("my cool jit", Context);
577 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
583 FunctionPassManager OurFPM(TheModule);
610 TheModule->dump();
/macosx-10.10.1/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp541 static Module *TheModule; variable
562 Function *F = TheModule->getFunction(std::string("unary")+Opcode);
588 Function *F = TheModule->getFunction(std::string("binary")+Op);
597 Function *CalleeF = TheModule->getFunction(Callee);
765 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
772 F = TheModule->getFunction(Name);
936 TheModule = new Module("my cool jit", Context);
940 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
946 FunctionPassManager OurFPM(TheModule);
973 TheModule
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/CppBackend/
H A DCPPBackend.cpp94 const Module *TheModule; member in class:__anon10187::CppWriter
669 for (Module::const_global_iterator I = TheModule->global_begin(),
670 E = TheModule->global_end(); I != E; ++I) {
677 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end();
926 for (Module::const_global_iterator I = TheModule->global_begin(),
927 E = TheModule->global_end(); I != E; ++I)
932 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end();
1810 const Function* F = TheModule
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp456 static Module *TheModule; variable
493 Function *CalleeF = TheModule->getFunction(Callee);
661 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
668 F = TheModule->getFunction(Name);
818 TheModule = new Module("my cool jit", Context);
822 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
828 FunctionPassManager OurFPM(TheModule);
855 TheModule->dump();
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DMachineModuleInfo.h102 /// TheModule - This is the LLVM Module being worked on.
103 const Module *TheModule; member in class:llvm::MachineModuleInfo
193 void setModule(const Module *M) { TheModule = M; }
194 const Module *getModule() const { return TheModule; }
/macosx-10.10.1/llvmCore-3425.0.34/lib/Bitcode/Reader/
H A DBitcodeReader.h126 Module *TheModule;
184 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
190 : Context(C), TheModule(0), Buffer(0), BufferOwned(false),
H A DBitcodeReader.cpp839 NamedMDNode *NMD = TheModule->getOrInsertNamedMetadata(Name);
885 unsigned NewKind = TheModule->getMDKindID(Name.str());
1418 for (Module::iterator FI = TheModule->begin(), FE = TheModule->end();
1427 GI = TheModule->global_begin(), GE = TheModule->global_end();
1538 TheModule->setTargetTriple(S);
1545 TheModule->setDataLayout(S);
1552 TheModule->setModuleInlineAsm(S);
1559 TheModule
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp606 static Module *TheModule; variable
640 Function *F = TheModule->getFunction(std::string("unary")+Opcode);
684 Function *F = TheModule->getFunction(std::string("binary")+Op);
693 Function *CalleeF = TheModule->getFunction(Callee);
913 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule);
920 F = TheModule->getFunction(Name);
1100 TheModule = new Module("my cool jit", Context);
1104 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
1110 FunctionPassManager OurFPM(TheModule);
1139 TheModule
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DAsmWriter.cpp332 /// TheModule - The module for which we are holding slot numbers.
333 const Module* TheModule; member in class:__anon10470::SlotTracker
448 : TheModule(M), TheFunction(0), FunctionProcessed(false),
455 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false),
460 if (TheModule) {
462 TheModule = 0; ///< Prevent re-processing next time we're called.
475 for (Module::const_global_iterator I = TheModule->global_begin(),
476 E = TheModule->global_end(); I != E; ++I) {
483 I = TheModule->named_metadata_begin(),
484 E = TheModule
1165 const Module *TheModule; member in class:__anon10471::AssemblyWriter
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/
H A DMachineModuleInfo.cpp265 TheModule = 0;

Completed in 218 milliseconds