Lines Matching refs:GlobalVariable
97 /// memory block when the GlobalVariable is destroyed.
99 GVMemoryBlock(const GlobalVariable *GV)
100 : CallbackVH(const_cast<GlobalVariable*>(GV)) {}
103 /// \brief Returns the address the GlobalVariable should be written into. The
105 static char *Create(const GlobalVariable *GV, const DataLayout& TD) {
126 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) {
165 GlobalVariable *ExecutionEngine::FindGlobalVariableNamed(const char *Name, bool AllowInternal) {
167 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal);
242 for (GlobalVariable &GI : M->globals())
374 GlobalVariable *GV = module.getNamedGlobal(Name);
586 if (GlobalVariable *GVar =
587 const_cast<GlobalVariable *>(dyn_cast<GlobalVariable>(GV)))
912 else if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(C))
913 Result = PTOGV(getOrEmitGlobalVariable(const_cast<GlobalVariable*>(GV)));
1341 void ExecutionEngine::EmitGlobalVariable(const GlobalVariable *GV) {