reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ExecutionEngine/ExecutionEngine.h
  333   void *getPointerToGlobalIfAvailable(const GlobalValue *GV);

References

lib/ExecutionEngine/ExecutionEngine.cpp
  579   if (void* P = getPointerToGlobalIfAvailable(GV))
  589   return getPointerToGlobalIfAvailable(GV);
 1263         void *Ptr = getPointerToGlobalIfAvailable(CGV);
 1289   void *GA = getPointerToGlobalIfAvailable(GV);
unittests/ExecutionEngine/ExecutionEngineTest.cpp
   55   EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1));
   59   EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1));
   61   EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G1));
   63   EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1));
   66   EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G2))
   71   EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2));
   72   EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1))