Home
last modified time | relevance | path

Searched refs:getPointerToGlobalIfAvailable (Results 1 – 7 of 7) sorted by relevance

/external/llvm/unittests/ExecutionEngine/
DExecutionEngineTest.cpp49 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
52 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
54 EXPECT_EQ(NULL, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
56 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
60 EXPECT_EQ(NULL, Engine->getPointerToGlobalIfAvailable(G2)) in TEST_F()
65 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
66 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)) in TEST_F()
/external/llvm/lib/ExecutionEngine/JIT/
DJIT.cpp657 if (void *Addr = getPointerToGlobalIfAvailable(F)) in getPointerToFunction()
671 if (void *Addr = getPointerToGlobalIfAvailable(F)) in getPointerToFunction()
683 void *Addr = getPointerToGlobalIfAvailable(F); in getPointerToFunction()
749 void *Ptr = getPointerToGlobalIfAvailable(GV); in getOrEmitGlobalVariable()
781 void *OldAddr = getPointerToGlobalIfAvailable(F); in recompileAndRelinkFunction()
793 void *Addr = getPointerToGlobalIfAvailable(F); in recompileAndRelinkFunction()
DJITEmitter.cpp657 void *Result = JR->TheJIT->getPointerToGlobalIfAvailable(F); in JITCompilerFn()
726 void *ResultPtr = TheJIT->getPointerToGlobalIfAvailable(F); in getPointerToGlobal()
832 (uint8_t *)TheJIT->getPointerToGlobalIfAvailable(F.getFunction()); in finishFunction()
1264 if (void *Addr = getPointerToGlobalIfAvailable(F)) in getPointerToFunctionOrStub()
1278 void *Addr = getPointerToGlobalIfAvailable(F); in updateFunctionStub()
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h297 void *getPointerToGlobalIfAvailable(const GlobalValue *GV);
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp221 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable() function in ExecutionEngine
1090 void *Ptr = getPointerToGlobalIfAvailable(CGV); in emitGlobals()
1117 void *GA = getPointerToGlobalIfAvailable(GV); in EmitGlobalVariable()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp269 RawFn = (RawFunc)(intptr_t)getPointerToGlobalIfAvailable(F); in callExternalFunction()
/external/llvm/unittests/ExecutionEngine/JIT/
DJITTest.cpp269 int32_t *GPtr = (int32_t*)JIT->getPointerToGlobalIfAvailable(G); in TEST()