Home | History | Annotate | Download | only in MCJIT

Lines Matching refs:Global

11 // calls, using global variables, and compiling multpile modules.
39 // does not require retrieval of a pointer to a function/global.
52 GlobalValue *Global = insertGlobalInt32(M.get(), "test_global", initialValue);
54 void *globalPtr = TheJIT->getPointerToGlobal(Global);
56 << "Unable to get pointer to global value from JIT";
59 << "Unexpected initial value of global";
114 << "Invalid value for global returned from JITted function";
120 // allocates a new memory block for the global instead of using the same
121 // global variable that is emitted by MCJIT. Hence, the pointer (gvPtr below)
122 // has the correct initial value, but updates to the real global (accessed by
124 // a pointer into the loaded ObjectImage to reference the emitted global.