Home
last modified time | relevance | path

Searched refs:GV (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp52 GlobalValue *GV = cast<GlobalValue>(Operand); in FindUsedValues() local
53 UsedValues.insert(GV); in FindUsedValues()
69 static bool hasMetadataOtherThanDebugLoc(const GlobalVariable *GV) { in hasMetadataOtherThanDebugLoc() argument
71 GV->getAllMetadata(MDs); in hasMetadataOtherThanDebugLoc()
86 static Align getAlign(GlobalVariable *GV) { in getAlign() argument
87 return GV->getAlign().value_or( in getAlign()
88 GV->getDataLayout().getPreferredAlign(GV)); in getAlign()
92 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal() argument
95 return !GV->isConstant() || !GV->hasDefinitiveInitializer() || in isUnmergeableGlobal()
96 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in isUnmergeableGlobal()
[all …]
H A DGlobalOpt.cpp117 static bool isLeakCheckerRoot(GlobalVariable *GV) { in isLeakCheckerRoot() argument
126 if (GV->hasPrivateLinkage()) in isLeakCheckerRoot()
130 Types.push_back(GV->getValueType()); in isLeakCheckerRoot()
198 CleanupPointerRootUsers(GlobalVariable *GV, in CleanupPointerRootUsers() argument
215 SmallVector<User *> Worklist(GV->users()); in CleanupPointerRootUsers()
269 GV->removeDeadConstantUsers(); in CleanupPointerRootUsers()
276 static bool CleanupConstantGlobalUsers(GlobalVariable *GV, in CleanupConstantGlobalUsers() argument
278 Constant *Init = GV->getInitializer(); in CleanupConstantGlobalUsers()
279 SmallVector<User *, 8> WorkList(GV->users()); in CleanupConstantGlobalUsers()
320 if (PtrOp == GV) { in CleanupConstantGlobalUsers()
[all …]
H A DInternalize.cpp65 bool operator()(const GlobalValue &GV) { in operator ()() argument
67 ExternalNames, [&](GlobPattern &GP) { return GP.match(GV.getName()); }); in operator ()()
102 bool InternalizePass::shouldPreserveGV(const GlobalValue &GV) { in shouldPreserveGV() argument
104 if (GV.isDeclaration()) in shouldPreserveGV()
108 if (GV.hasAvailableExternallyLinkage()) in shouldPreserveGV()
112 if (GV.hasDLLExportStorageClass()) in shouldPreserveGV()
117 if (const auto *G = dyn_cast<GlobalVariable>(&GV)) in shouldPreserveGV()
122 if (GV.hasLocalLinkage()) in shouldPreserveGV()
126 if (AlwaysPreserved.count(GV.getName())) in shouldPreserveGV()
129 return MustPreserveGV(GV); in shouldPreserveGV()
[all …]
H A DExtractGV.cpp23 static void makeVisible(GlobalValue &GV, bool Delete) { in makeVisible() argument
24 bool Local = GV.hasLocalLinkage(); in makeVisible()
26 GV.setLinkage(GlobalValue::ExternalLinkage); in makeVisible()
28 GV.setVisibility(GlobalValue::HiddenVisibility); in makeVisible()
32 if (!GV.hasLinkOnceLinkage()) { in makeVisible()
33 assert(!GV.isDiscardableIfUnused()); in makeVisible()
38 switch (GV.getLinkage()) { in makeVisible()
42 GV.setLinkage(GlobalValue::WeakAnyLinkage); in makeVisible()
45 GV.setLinkage(GlobalValue::WeakODRLinkage); in makeVisible()
71 for (GlobalVariable &GV : M.globals()) { in run()
[all …]
H A DGlobalSplit.cpp38 static bool splitGlobal(GlobalVariable &GV) { in splitGlobal() argument
41 if (!GV.hasLocalLinkage()) in splitGlobal()
45 auto *Init = dyn_cast_or_null<ConstantStruct>(GV.getInitializer()); in splitGlobal()
49 const DataLayout &DL = GV.getDataLayout(); in splitGlobal()
52 unsigned IndexWidth = DL.getIndexTypeSizeInBits(GV.getType()); in splitGlobal()
66 for (User *U : GV.users()) { in splitGlobal()
107 GV.getMetadata(LLVMContext::MD_type, Types); in splitGlobal()
109 IntegerType *Int32Ty = Type::getInt32Ty(GV.getContext()); in splitGlobal()
115 new GlobalVariable(*GV.getParent(), Init->getOperand(I)->getType(), in splitGlobal()
116 GV.isConstant(), GlobalValue::PrivateLinkage, in splitGlobal()
[all …]
H A DGlobalDCE.cpp66 } else if (auto *GV = dyn_cast<GlobalValue>(V)) { in ComputeDependencies() local
67 Deps.insert(GV); in ComputeDependencies()
80 void GlobalDCEPass::UpdateGVDependencies(GlobalValue &GV) { in UpdateGVDependencies() argument
82 for (User *User : GV.users()) in UpdateGVDependencies()
84 Deps.erase(&GV); // Remove self-reference. in UpdateGVDependencies()
90 if (VFESafeVTables.count(GVU) && isa<Function>(&GV)) { in UpdateGVDependencies()
92 << GV.getName() << "\n"); in UpdateGVDependencies()
95 GVDependencies[GVU].insert(&GV); in UpdateGVDependencies()
100 void GlobalDCEPass::MarkLive(GlobalValue &GV, in MarkLive() argument
102 auto const Ret = AliveGlobals.insert(&GV); in MarkLive()
[all …]
H A DElimAvailExtern.cpp59 static std::string getNewName(Module &M, const GlobalValue &GV) { in getNewName() argument
60 return GV.getName().str() + ".__uniq" + getUniqueModuleId(&M); in getNewName()
108 static void convertToLocalCopy(Module &M, GlobalVariable &GV) { in convertToLocalCopy() argument
109 assert(GV.hasAvailableExternallyLinkage()); in convertToLocalCopy()
110 GV.setName(getNewName(M, GV)); in convertToLocalCopy()
111 GV.setLinkage(GlobalValue::InternalLinkage); in convertToLocalCopy()
120 for (GlobalVariable &GV : M.globals()) { in eliminateAvailableExternally()
121 if (!GV.hasAvailableExternallyLinkage()) in eliminateAvailableExternally()
124 GV.getAddressSpace() == ConvertGlobalVariableInAddrSpace && in eliminateAvailableExternally()
125 !GV.use_empty()) { in eliminateAvailableExternally()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp97 GVMemoryBlock(const GlobalVariable *GV) in GVMemoryBlock() argument
98 : CallbackVH(const_cast<GlobalVariable*>(GV)) {} in GVMemoryBlock()
103 static char *Create(const GlobalVariable *GV, const DataLayout& TD) { in Create() argument
104 Type *ElTy = GV->getValueType(); in Create()
107 alignTo(sizeof(GVMemoryBlock), TD.getPreferredAlign(GV)) + GVSize); in Create()
108 new(RawMemory) GVMemoryBlock(GV); in Create()
122 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { in getMemoryForGV() argument
123 return GVMemoryBlock::Create(GV, getDataLayout()); in getMemoryForGV()
163 GlobalVariable *GV = M->getGlobalVariable(Name, AllowInternal); in FindGlobalVariableNamed() local
164 if (GV && !GV->isDeclaration()) in FindGlobalVariableNamed()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp72 auto *GV = dyn_cast<GlobalVariable>(GO); in isLargeGlobalValue() local
79 if (!GV) { in isLargeGlobalValue()
89 if (GV->isThreadLocal()) in isLargeGlobalValue()
94 if (auto CM = GV->getCodeModel()) { in isLargeGlobalValue()
105 if (GV->hasSection()) { in isLargeGlobalValue()
106 StringRef Name = GV->getSection(); in isLargeGlobalValue()
114 if (!GV->getValueType()->isSized()) in isLargeGlobalValue()
118 if (GV->isDeclaration() && (GV->getName() == "__ehdr_start" || in isLargeGlobalValue()
119 GV->getName().starts_with("__start_") || in isLargeGlobalValue()
120 GV->getName().starts_with("__stop_"))) in isLargeGlobalValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSplitModule.cpp72 const GlobalValue *GV, const User *U) { in addNonConstUser() argument
77 GVtoClusterMap.unionSets(GV, F); in addNonConstUser()
79 GVtoClusterMap.unionSets(GV, GVU); in addNonConstUser()
87 const GlobalValue *GV, const Value *V) { in addAllGlobalValueUsers() argument
98 addNonConstUser(GVtoClusterMap, GV, UU); in addAllGlobalValueUsers()
103 static const GlobalObject *getGVPartitioningRoot(const GlobalValue *GV) { in getGVPartitioningRoot() argument
104 const GlobalObject *GO = GV->getAliaseeObject(); in getGVPartitioningRoot()
124 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions() argument
125 if (GV.isDeclaration()) in findPartitions()
128 if (!GV.hasName()) in findPartitions()
[all …]
H A DFunctionImportUtils.cpp124 const GlobalValue &GV) const { in isNonRenamableLocal()
125 if (!GV.hasLocalLinkage()) in isNonRenamableLocal()
128 if (GV.hasSection()) in isNonRenamableLocal()
130 if (Used.count(const_cast<GlobalValue *>(&GV))) in isNonRenamableLocal()
254 void FunctionImportGlobalProcessing::processGlobalForThinLTO(GlobalValue &GV) { in processGlobalForThinLTO() argument
257 if (GV.hasName()) in processGlobalForThinLTO()
258 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
262 assert(VI || GV.isDeclaration() || in processGlobalForThinLTO()
263 (isPerformingImport() && !doImportAsDefinition(&GV))); in processGlobalForThinLTO()
274 if (!GV.isDeclaration() && VI && ImportIndex.withAttributePropagation()) { in processGlobalForThinLTO()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp46 bool lowerGlobal(GlobalVariable *GV);
110 static bool rewriteNonInstructionUses(GlobalVariable *GV, Pass *P) { in rewriteNonInstructionUses() argument
112 for (User *U : GV->users()) in rewriteNonInstructionUses()
129 bool XCoreLowerThreadLocal::lowerGlobal(GlobalVariable *GV) { in lowerGlobal() argument
130 Module *M = GV->getParent(); in lowerGlobal()
131 if (!GV->isThreadLocal()) in lowerGlobal()
135 if (!rewriteNonInstructionUses(GV, this) || in lowerGlobal()
136 !GV->getType()->isSized() || isZeroLengthArray(GV->getType())) in lowerGlobal()
140 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal()
142 if (GV->hasInitializer()) in lowerGlobal()
[all …]
H A DXCoreAsmPrinter.cpp71 void emitArrayBound(MCSymbol *Sym, const GlobalVariable *GV);
72 void emitGlobalVariable(const GlobalVariable *GV) override;
85 void XCoreAsmPrinter::emitArrayBound(MCSymbol *Sym, const GlobalVariable *GV) { in emitArrayBound() argument
86 assert( ( GV->hasExternalLinkage() || GV->hasWeakLinkage() || in emitArrayBound()
87 GV->hasLinkOnceLinkage() || GV->hasCommonLinkage() ) && in emitArrayBound()
89 if (ArrayType *ATy = dyn_cast<ArrayType>(GV->getValueType())) { in emitArrayBound()
97 if (GV->hasWeakLinkage() || GV->hasLinkOnceLinkage() || in emitArrayBound()
98 GV->hasCommonLinkage()) { in emitArrayBound()
104 void XCoreAsmPrinter::emitGlobalVariable(const GlobalVariable *GV) { in emitGlobalVariable() argument
106 if (!GV->hasInitializer() || emitSpecialLLVMGlobal(GV)) in emitGlobalVariable()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp324 for (GlobalVariable *GV : Variables) { in getAddressesOfVariablesInKernel()
325 auto ConstantGepIt = LDSVarsToConstantGEP.find(GV); in getAddressesOfVariablesInKernel()
376 GlobalVariable *GV, Use &U, in replaceUseWithTableLookup() argument
400 LookupTable->getValueType(), LookupTable, GEPIdx, GV->getName()); in replaceUseWithTableLookup()
405 Builder.CreateIntToPtr(loaded, GV->getType(), GV->getName()); in replaceUseWithTableLookup()
419 auto *GV = ModuleScopeVariables[Index]; in replaceUsesInInstructionsWithTableLookup() local
421 for (Use &U : make_early_inc_range(GV->uses())) { in replaceUsesInInstructionsWithTableLookup()
426 replaceUseWithTableLookup(M, Builder, LookupTable, GV, U, in replaceUsesInInstructionsWithTableLookup()
444 for (GlobalVariable *GV : LDSUsesInfo.indirect_access[&Func]) { in kernelsThatIndirectlyAccessAnyOfPassedVariables()
445 if (VariableSet.contains(GV)) { in kernelsThatIndirectlyAccessAnyOfPassedVariables()
[all …]
H A DAMDGPUMemoryUtils.cpp29 Align getAlign(const DataLayout &DL, const GlobalVariable *GV) { in getAlign() argument
30 return DL.getValueOrABITypeAlignment(GV->getPointerAlignment(DL), in getAlign()
31 GV->getValueType()); in getAlign()
34 TargetExtType *isNamedBarrier(const GlobalVariable &GV) { in isNamedBarrier() argument
42 Type *Ty = GV.getValueType(); in isNamedBarrier()
56 bool isDynamicLDS(const GlobalVariable &GV) { in isDynamicLDS() argument
58 const Module *M = GV.getParent(); in isDynamicLDS()
60 if (GV.getType()->getPointerAddressSpace() != AMDGPUAS::LOCAL_ADDRESS) in isDynamicLDS()
62 return DL.getTypeAllocSize(GV.getValueType()) == 0; in isDynamicLDS()
65 bool isLDSVariableToLower(const GlobalVariable &GV) { in isLDSVariableToLower() argument
[all …]
H A DAMDGPUMachineFunction.cpp94 const GlobalVariable &GV, in allocateLDSGlobal() argument
96 auto Entry = LocalMemoryObjects.insert(std::pair(&GV, 0)); in allocateLDSGlobal()
101 DL.getValueOrABITypeAlignment(GV.getAlign(), GV.getValueType()); in allocateLDSGlobal()
104 if (GV.getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) { in allocateLDSGlobal()
105 if (AMDGPU::isNamedBarrier(GV)) { in allocateLDSGlobal()
106 std::optional<unsigned> BarAddr = getLDSAbsoluteAddress(GV); in allocateLDSGlobal()
113 std::optional<uint32_t> MaybeAbs = getLDSAbsoluteAddress(GV); in allocateLDSGlobal()
137 ObjectStart + DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal()
153 StaticLDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal()
158 assert(GV.getAddressSpace() == AMDGPUAS::REGION_ADDRESS && in allocateLDSGlobal()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMangler.cpp121 void Mangler::getNameWithPrefix(raw_ostream &OS, const GlobalValue *GV, in getNameWithPrefix() argument
124 assert(GV != nullptr && "Invalid Global Value"); in getNameWithPrefix()
125 if (GV->hasPrivateLinkage()) { in getNameWithPrefix()
132 const DataLayout &DL = GV->getDataLayout(); in getNameWithPrefix()
133 if (!GV->hasName()) { in getNameWithPrefix()
136 unsigned &ID = AnonGlobalIDs[GV]; in getNameWithPrefix()
145 StringRef Name = GV->getName(); in getNameWithPrefix()
150 const Function *MSFunc = dyn_cast_or_null<Function>(GV->getAliaseeObject()); in getNameWithPrefix()
189 const GlobalValue *GV, in getNameWithPrefix() argument
192 getNameWithPrefix(OS, GV, CannotUsePrivateLabel); in getNameWithPrefix()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp51 void addLazyFor(GlobalValue &GV, const IRMover::ValueAdder &Add);
104 void dropReplacedComdat(GlobalValue &GV,
107 bool linkIfNeeded(GlobalValue &GV, SmallVectorImpl<GlobalValue *> &GVToClone);
328 bool ModuleLinker::linkIfNeeded(GlobalValue &GV, in linkIfNeeded() argument
330 GlobalValue *DGV = getLinkedToGlobal(&GV); in linkIfNeeded()
334 if (!GV.hasAppendingLinkage()) { in linkIfNeeded()
345 if (DGV && !GV.hasLocalLinkage() && !GV.hasAppendingLinkage()) { in linkIfNeeded()
347 auto *SGVar = dyn_cast<GlobalVariable>(&GV); in linkIfNeeded()
367 getMinVisibility(DGV->getVisibility(), GV.getVisibility()); in linkIfNeeded()
369 GV.setVisibility(Visibility); in linkIfNeeded()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86Subtarget.cpp67 X86Subtarget::classifyGlobalReference(const GlobalValue *GV) const { in classifyGlobalReference()
68 return classifyGlobalReference(GV, *GV->getParent()); in classifyGlobalReference()
72 X86Subtarget::classifyLocalReference(const GlobalValue *GV) const { in classifyLocalReference()
77 if (AllowTaggedGlobals && CM != CodeModel::Large && GV && !isa<Function>(GV)) in classifyLocalReference()
94 if (GV) in classifyLocalReference()
95 return TM.isLargeGlobalValue(GV) ? X86II::MO_GOTOFF : X86II::MO_NO_FLAG; in classifyLocalReference()
116 if (GV && (GV->isDeclarationForLinker() || GV->hasCommonLinkage())) in classifyLocalReference()
125 unsigned char X86Subtarget::classifyGlobalReference(const GlobalValue *GV, in classifyGlobalReference() argument
132 if (GV) { in classifyGlobalReference()
133 if (std::optional<ConstantRange> CR = GV->getAbsoluteSymbolRange()) { in classifyGlobalReference()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDirectXAsmPrinter.cpp37 void emitGlobalVariable(const GlobalVariable *GV) override;
42 void DXILAsmPrinter::emitGlobalVariable(const GlobalVariable *GV) { in emitGlobalVariable() argument
44 if (!GV->hasInitializer() || GV->hasImplicitSection() || !GV->hasSection()) in emitGlobalVariable()
47 if (GV->getSection() == "llvm.metadata") in emitGlobalVariable()
49 SectionKind GVKind = TargetLoweringObjectFile::getKindForGlobal(GV, TM); in emitGlobalVariable()
50 MCSection *TheSection = getObjFileLowering().SectionForGlobal(GV, GVKind, TM); in emitGlobalVariable()
52 emitGlobalConstant(GV->getDataLayout(), GV->getInitializer()); in emitGlobalVariable()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp62 for (GlobalVariable &GV : llvm::make_early_inc_range(M.globals())) { in runOnModule()
63 if (GV.getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && in runOnModule()
64 !llvm::isTexture(GV) && !llvm::isSurface(GV) && !llvm::isSampler(GV) && in runOnModule()
65 !GV.getName().starts_with("llvm.")) { in runOnModule()
67 M, GV.getValueType(), GV.isConstant(), GV.getLinkage(), in runOnModule()
68 GV.hasInitializer() ? GV.getInitializer() : nullptr, "", &GV, in runOnModule()
69 GV.getThreadLocalMode(), llvm::ADDRESS_SPACE_GLOBAL); in runOnModule()
70 NewGV->copyAttributesFrom(&GV); in runOnModule()
71 NewGV->copyMetadata(&GV, /*Offset=*/0); in runOnModule()
72 GVMap[&GV] = NewGV; in runOnModule()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWindowsSecureHotPatching.cpp294 static bool globalVariableNeedsRedirect(GlobalVariable *GV) { in globalVariableNeedsRedirect() argument
297 if (GV->hasAttribute("allow_direct_access_in_hot_patch_function")) in globalVariableNeedsRedirect()
301 if (!GV->isConstant()) { in globalVariableNeedsRedirect()
302 if (GV->getName().starts_with("??_R")) { in globalVariableNeedsRedirect()
316 return TypeContainsPointers(GV->getValueType()); in globalVariableNeedsRedirect()
348 GlobalVariable *GV) { in getOrCreateRefVariable() argument
349 GlobalVariable *&ReplaceWithRefGV = RefMapping.try_emplace(GV).first->second; in getOrCreateRefVariable()
365 ConstantExpr::getGetElementPtr(PtrTy, GV, ArrayRef<Value *>{}); in getOrCreateRefVariable()
369 AddrOfOldGV, Twine("__ref_").concat(GV->getName()), in getOrCreateRefVariable()
375 nullptr, Layout.getTypeSizeInBits(GV->getValueType())); in getOrCreateRefVariable()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp426 auto mayPreserveGlobal = [&](GlobalValue &GV) { in preserveDiscardableGVs() argument
427 if (!GV.isDiscardableIfUnused() || GV.isDeclaration() || in preserveDiscardableGVs()
428 !mustPreserveGV(GV)) in preserveDiscardableGVs()
430 if (GV.hasAvailableExternallyLinkage()) in preserveDiscardableGVs()
433 GV.getName() + "'").str()); in preserveDiscardableGVs()
434 if (GV.hasInternalLinkage()) in preserveDiscardableGVs()
436 GV.getName() + "'").str()); in preserveDiscardableGVs()
437 Used.push_back(&GV); in preserveDiscardableGVs()
439 for (auto &GV : TheModule) in preserveDiscardableGVs() local
440 mayPreserveGlobal(GV); in preserveDiscardableGVs()
[all …]
H A DUpdateCompilerUsed.cpp38 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()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DModuleSymbolTable.cpp58 for (GlobalValue &GV : M->global_values()) in addModule()
59 SymTab.push_back(&GV); in addModule()
206 auto *GV = cast<GlobalValue *>(S); in printSymbolName() local
207 if (GV->hasDLLImportStorageClass()) in printSymbolName()
210 Mang.getNameWithPrefix(OS, GV, false); in printSymbolName()
217 auto *GV = cast<GlobalValue *>(S); in getSymbolFlags() local
220 if (GV->isDeclarationForLinker()) in getSymbolFlags()
222 else if (GV->hasHiddenVisibility() && !GV->hasLocalLinkage()) in getSymbolFlags()
224 if (const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV)) { in getSymbolFlags()
228 if (const GlobalObject *GO = GV->getAliaseeObject()) in getSymbolFlags()
[all …]

12345678910>>...20