Lines Matching refs:GV
74 static uint32_t getEncodedProperties(const llvm::GlobalVariable &GV) { in getEncodedProperties() argument
75 auto GlobalType = GV.getType()->getPointerElementType(); in getEncodedProperties()
86 if (GV.isConstant()) { in getEncodedProperties()
90 if (GV.getLinkage() == llvm::GlobalValue::InternalLinkage) { in getEncodedProperties()
135 for (auto &GV : M.globals()) { in runOnModule() local
137 if (mSkipConstants && GV.isConstant()) { in runOnModule()
142 if (GV.getName().startswith("llvm.")) { in runOnModule()
148 GVAddresses.push_back(llvm::ConstantExpr::getBitCast(&GV, VoidPtrTy)); in runOnModule()
149 GVNameStrings.push_back(GV.getName()); in runOnModule()
154 auto GlobalType = GV.getType()->getPointerElementType(); in runOnModule()
162 GVProperties.push_back(getEncodedProperties(GV)); in runOnModule()