Lines Matching refs:GV
38 for (GlobalVariable &GV : TheModule.globals()) in findInModule()
39 findLibCallsAndAsm(GV); in findInModule()
89 void findLibCallsAndAsm(GlobalValue &GV) { in findLibCallsAndAsm() argument
91 if (GV.isDeclaration()) in findLibCallsAndAsm()
95 if (GV.hasPrivateLinkage()) in findLibCallsAndAsm()
105 if (isa<GlobalAlias>(GV)) { in findLibCallsAndAsm()
106 auto *A = cast<GlobalAlias>(&GV); in findLibCallsAndAsm()
109 if ((isa<Function>(GV) || FuncAliasee) && Libcalls.count(GV.getName())) { in findLibCallsAndAsm()
110 LLVMUsed.push_back(&GV); in findLibCallsAndAsm()
115 TM.getNameWithPrefix(Buffer, &GV, Mangler); in findLibCallsAndAsm()
117 LLVMUsed.push_back(&GV); in findLibCallsAndAsm()