Lines Matching defs:GV
74 static uint32_t getEncodedProperties(const llvm::GlobalVariable &GV) {
75 auto GlobalType = GV.getType()->getPointerElementType();
86 if (GV.isConstant()) {
90 if (GV.getLinkage() == llvm::GlobalValue::InternalLinkage) {
135 for (auto &GV : M.globals()) {
137 if (mSkipConstants && GV.isConstant()) {
143 GVAddresses.push_back(llvm::ConstantExpr::getBitCast(&GV, VoidPtrTy));
144 GVNameStrings.push_back(GV.getName());
149 auto GlobalType = GV.getType()->getPointerElementType();
157 GVProperties.push_back(getEncodedProperties(GV));