Lines Matching refs:GV
66 X86Subtarget::classifyGlobalReference(const GlobalValue *GV) const { in classifyGlobalReference()
67 return classifyGlobalReference(GV, *GV->getParent()); in classifyGlobalReference()
71 X86Subtarget::classifyLocalReference(const GlobalValue *GV) const { in classifyLocalReference()
75 if (AllowTaggedGlobals && TM.getCodeModel() == CodeModel::Small && GV && in classifyLocalReference()
76 !isa<Function>(GV)) in classifyLocalReference()
102 if (isa_and_nonnull<Function>(GV)) in classifyLocalReference()
123 if (GV && (GV->isDeclarationForLinker() || GV->hasCommonLinkage())) in classifyLocalReference()
132 unsigned char X86Subtarget::classifyGlobalReference(const GlobalValue *GV, in classifyGlobalReference() argument
139 if (GV) { in classifyGlobalReference()
140 if (Optional<ConstantRange> CR = GV->getAbsoluteSymbolRange()) { in classifyGlobalReference()
151 if (TM.shouldAssumeDSOLocal(M, GV)) in classifyGlobalReference()
152 return classifyLocalReference(GV); in classifyGlobalReference()
156 if (!GV) in classifyGlobalReference()
158 if (GV->hasDLLImportStorageClass()) in classifyGlobalReference()
175 if (AllowTaggedGlobals && GV && !isa<Function>(GV)) in classifyGlobalReference()
194 X86Subtarget::classifyGlobalFunctionReference(const GlobalValue *GV) const { in classifyGlobalFunctionReference()
195 return classifyGlobalFunctionReference(GV, *GV->getParent()); in classifyGlobalFunctionReference()
199 X86Subtarget::classifyGlobalFunctionReference(const GlobalValue *GV, in classifyGlobalFunctionReference() argument
201 if (TM.shouldAssumeDSOLocal(M, GV)) in classifyGlobalFunctionReference()
209 if (!GV) in classifyGlobalFunctionReference()
211 if (GV->hasDLLImportStorageClass()) in classifyGlobalFunctionReference()
216 const Function *F = dyn_cast_or_null<Function>(GV); in classifyGlobalFunctionReference()
230 if (!is64Bit() && !GV && TM.getRelocationModel() == Reloc::Static) in classifyGlobalFunctionReference()