Home
last modified time | relevance | path

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

/external/llvm/unittests/ExecutionEngine/
DExecutionEngineTest.cpp56 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
57 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable("Global1")); in TEST_F()
60 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
62 EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
64 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
67 EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G2)) in TEST_F()
72 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
73 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)) in TEST_F()
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/
DExecutionEngineTest.cpp47 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
50 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
52 EXPECT_EQ(NULL, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
54 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
58 EXPECT_EQ(NULL, Engine->getPointerToGlobalIfAvailable(G2)) in TEST_F()
63 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
64 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)) in TEST_F()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJIT.cpp651 if (void *Addr = getPointerToGlobalIfAvailable(F)) in getPointerToFunction()
665 if (void *Addr = getPointerToGlobalIfAvailable(F)) in getPointerToFunction()
677 void *Addr = getPointerToGlobalIfAvailable(F); in getPointerToFunction()
723 void *Ptr = getPointerToGlobalIfAvailable(GV); in getOrEmitGlobalVariable()
755 void *OldAddr = getPointerToGlobalIfAvailable(F); in recompileAndRelinkFunction()
767 void *Addr = getPointerToGlobalIfAvailable(F); in recompileAndRelinkFunction()
DJITEmitter.cpp656 void *Result = JR->TheJIT->getPointerToGlobalIfAvailable(F); in JITCompilerFn()
725 void *ResultPtr = TheJIT->getPointerToGlobalIfAvailable(F); in getPointerToGlobal()
831 (uint8_t *)TheJIT->getPointerToGlobalIfAvailable(F.getFunction()); in finishFunction()
1274 if (void *Addr = getPointerToGlobalIfAvailable(F)) in getPointerToFunctionOrStub()
1288 void *Addr = getPointerToGlobalIfAvailable(F); in updateFunctionStub()
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h320 void *getPointerToGlobalIfAvailable(StringRef S);
321 void *getPointerToGlobalIfAvailable(const GlobalValue *GV);
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp286 void *ExecutionEngine::getPointerToGlobalIfAvailable(StringRef S) { in getPointerToGlobalIfAvailable() function in ExecutionEngine
293 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable() function in ExecutionEngine
295 return getPointerToGlobalIfAvailable(getMangledName(GV)); in getPointerToGlobalIfAvailable()
577 if (void* P = getPointerToGlobalIfAvailable(GV)) in getPointerToGlobal()
587 return getPointerToGlobalIfAvailable(GV); in getPointerToGlobal()
1311 void *Ptr = getPointerToGlobalIfAvailable(CGV); in emitGlobals()
1337 void *GA = getPointerToGlobalIfAvailable(GV); in EmitGlobalVariable()
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
DExecutionEngine.h276 void *getPointerToGlobalIfAvailable(const GlobalValue *GV);
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngine.cpp222 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable() function in ExecutionEngine
1063 void *Ptr = getPointerToGlobalIfAvailable(CGV); in emitGlobals()
1090 void *GA = getPointerToGlobalIfAvailable(GV); in EmitGlobalVariable()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp268 RawFn = (RawFunc)(intptr_t)getPointerToGlobalIfAvailable(F); in callExternalFunction()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp267 RawFn = (RawFunc)(intptr_t)getPointerToGlobalIfAvailable(F); in callExternalFunction()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp283 if (void *Addr = getPointerToGlobalIfAvailable(FullName)) in findExistingSymbol()
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
DJITTest.cpp257 int32_t *GPtr = (int32_t*)JIT->getPointerToGlobalIfAvailable(G); in TEST()