Home | History | Annotate | Download | only in MCJIT

Lines Matching refs:Function

10 // This test suite verifies basic MCJIT functionality such as making function
33 // does require retrieval of a pointer to a function/global.
61 Function *F = insertAddFunction(M.get());
67 << "Unable to get pointer to function from JIT";
79 Function *Main = insertMainFunction(M.get(), 6);
98 Function *ReturnGlobal = startFunction<int32_t(void)>(M.get(),
111 << "Invalid value for global returned from JITted function";
127 Function *IncrementGlobal = startFunction<int32_t(void)>(M.get(), "IncrementGlobal");
159 Function *Inner = startFunction<int32_t(void)>(M.get(), "Inner");
162 Function *Outer;
178 << "Unable to get pointer to outer function from JIT";
182 << "Incorrect result returned from function";
209 Function *Callee = insertAddFunction(M.get());
212 // caller function is defined in a different module
215 Function *CalleeRef = insertExternalReferenceToFunction(M.get(), Callee);
216 Function *Caller = insertSimpleCallFunction(M.get(), CalleeRef);
220 // get a function pointer in a module that was not used in EE construction
223 << "Unable to get pointer to caller function from JIT";