Lines Matching refs:Module

42   Module *createEmptyModule(StringRef Name = StringRef()) {
43 Module * M = new Module(Name, Context);
49 Function *startFunction(Module *M, StringRef Name) { in startFunction()
67 Function *insertSimpleCallFunction(Module *M, Function *Callee) { in insertSimpleCallFunction()
83 Function *insertMainFunction(Module *M, uint32_t returnCode) { in insertMainFunction()
95 Function *insertAddFunction(Module *M, StringRef Name = "add") {
110 Function *insertExternalReferenceToFunction(Module *M, StringRef Name) { in insertExternalReferenceToFunction()
118 Function *insertExternalReferenceToFunction(Module *M, StringRef Name, in insertExternalReferenceToFunction()
127 Function *insertExternalReferenceToFunction(Module *M, Function *Func) { in insertExternalReferenceToFunction()
136 GlobalVariable *insertGlobalInt32(Module *M, in insertGlobalInt32()
160 Function *insertAccumulateFunction(Module *M,
195 void createCrossModuleRecursiveCase(std::unique_ptr<Module> &A, Function *&FA, in createCrossModuleRecursiveCase()
196 std::unique_ptr<Module> &B, in createCrossModuleRecursiveCase()
220 createThreeModuleChainedCallsCase(std::unique_ptr<Module> &A, Function *&FA, in createThreeModuleChainedCallsCase()
221 std::unique_ptr<Module> &B, Function *&FB, in createThreeModuleChainedCallsCase()
222 std::unique_ptr<Module> &C, Function *&FC) { in createThreeModuleChainedCallsCase()
238 void createTwoModuleCase(std::unique_ptr<Module> &A, Function *&FA, in createTwoModuleCase()
239 std::unique_ptr<Module> &B, Function *&FB) { in createTwoModuleCase()
249 void createTwoModuleExternCase(std::unique_ptr<Module> &A, Function *&FA, in createTwoModuleExternCase()
250 std::unique_ptr<Module> &B, Function *&FB) { in createTwoModuleExternCase()
263 void createThreeModuleCase(std::unique_ptr<Module> &A, Function *&FA, in createThreeModuleCase()
264 std::unique_ptr<Module> &B, Function *&FB, in createThreeModuleCase()
265 std::unique_ptr<Module> &C, Function *&FC) { in createThreeModuleCase()
312 void createJIT(std::unique_ptr<Module> M) { in createJIT()
342 std::unique_ptr<Module> M;