Home
last modified time | relevance | path

Searched refs:getPointerToGlobalIfAvailable (Results 1 – 5 of 5) 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()
68 EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G2)) in TEST_F()
73 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
74 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)) in TEST_F()
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h320 void *getPointerToGlobalIfAvailable(StringRef S);
321 void *getPointerToGlobalIfAvailable(const GlobalValue *GV);
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp290 void *ExecutionEngine::getPointerToGlobalIfAvailable(StringRef S) { in getPointerToGlobalIfAvailable() function in ExecutionEngine
297 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable() function in ExecutionEngine
299 return getPointerToGlobalIfAvailable(getMangledName(GV)); in getPointerToGlobalIfAvailable()
582 if (void* P = getPointerToGlobalIfAvailable(GV)) in getPointerToGlobal()
592 return getPointerToGlobalIfAvailable(GV); in getPointerToGlobal()
1316 void *Ptr = getPointerToGlobalIfAvailable(CGV); in emitGlobals()
1342 void *GA = getPointerToGlobalIfAvailable(GV); in EmitGlobalVariable()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp267 RawFn = (RawFunc)(intptr_t)getPointerToGlobalIfAvailable(F); in callExternalFunction()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp273 if (void *Addr = getPointerToGlobalIfAvailable(FullName)) in findExistingSymbol()