/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
D | TargetMachine.cpp | 77 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel() argument 78 switch (GV->getThreadLocalMode()) { in getSelectedTLSModel() 95 const GlobalValue *GV) const { in shouldAssumeDSOLocal() 97 if (GV && GV->isDSOLocal()) in shouldAssumeDSOLocal() 102 if (M.getRtLibUseGOT() && !GV) in shouldAssumeDSOLocal() 123 if (GV && GV->hasDLLImportStorageClass()) in shouldAssumeDSOLocal() 131 if (TT.isWindowsGNUEnvironment() && TT.isOSBinFormatCOFF() && GV && in shouldAssumeDSOLocal() 132 GV->isDeclarationForLinker() && isa<GlobalVariable>(GV)) in shouldAssumeDSOLocal() 138 if (TT.isOSBinFormatCOFF() && GV && GV->hasExternalWeakLinkage()) in shouldAssumeDSOLocal() 154 if (GV && isPositionIndependent() && GV->hasExternalWeakLinkage()) in shouldAssumeDSOLocal() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 101 GVMemoryBlock(const GlobalVariable *GV) in GVMemoryBlock() argument 102 : CallbackVH(const_cast<GlobalVariable*>(GV)) {} in GVMemoryBlock() 107 static char *Create(const GlobalVariable *GV, const DataLayout& TD) { in Create() argument 108 Type *ElTy = GV->getValueType(); in Create() 111 alignTo(sizeof(GVMemoryBlock), TD.getPreferredAlignment(GV)) + GVSize); in Create() 112 new(RawMemory) GVMemoryBlock(GV); in Create() 126 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { in getMemoryForGV() argument 127 return GVMemoryBlock::Create(GV, getDataLayout()); in getMemoryForGV() 167 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal); in FindGlobalVariableNamed() local 168 if (GV && !GV->isDeclaration()) in FindGlobalVariableNamed() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 53 GlobalValue *GV = cast<GlobalValue>(Operand); in FindUsedValues() local 54 UsedValues.insert(GV); in FindUsedValues() 70 static bool hasMetadataOtherThanDebugLoc(const GlobalVariable *GV) { in hasMetadataOtherThanDebugLoc() argument 72 GV->getAllMetadata(MDs); in hasMetadataOtherThanDebugLoc() 87 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment() argument 88 unsigned Align = GV->getAlignment(); in getAlignment() 91 return GV->getParent()->getDataLayout().getPreferredAlignment(GV); in getAlignment() 95 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal() argument 98 return !GV->isConstant() || !GV->hasDefinitiveInitializer() || in isUnmergeableGlobal() 99 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in isUnmergeableGlobal() [all …]
|
D | GlobalOpt.cpp | 111 static bool isLeakCheckerRoot(GlobalVariable *GV) { in isLeakCheckerRoot() argument 120 if (GV->hasPrivateLinkage()) in isLeakCheckerRoot() 124 Types.push_back(GV->getValueType()); in isLeakCheckerRoot() 190 CleanupPointerRootUsers(GlobalVariable *GV, in CleanupPointerRootUsers() argument 208 for (Value::user_iterator UI = GV->user_begin(), E = GV->user_end(); in CleanupPointerRootUsers() 247 CleanupPointerRootUsers(GV, GetTLI); in CleanupPointerRootUsers() 420 static bool GlobalUsersSafeToSRA(GlobalValue *GV) { in GlobalUsersSafeToSRA() argument 421 for (User *U : GV->users()) { in GlobalUsersSafeToSRA() 436 static bool CanDoGlobalSRA(GlobalVariable *GV) { in CanDoGlobalSRA() argument 437 Constant *Init = GV->getInitializer(); in CanDoGlobalSRA() [all …]
|
D | Internalize.cpp | 66 bool operator()(const GlobalValue &GV) { in operator ()() argument 67 return ExternalNames.count(GV.getName()); in operator ()() 89 bool InternalizePass::shouldPreserveGV(const GlobalValue &GV) { in shouldPreserveGV() argument 91 if (GV.isDeclaration()) in shouldPreserveGV() 95 if (GV.hasAvailableExternallyLinkage()) in shouldPreserveGV() 99 if (GV.hasDLLExportStorageClass()) in shouldPreserveGV() 103 if (GV.hasLocalLinkage()) in shouldPreserveGV() 107 if (AlwaysPreserved.count(GV.getName())) in shouldPreserveGV() 110 return MustPreserveGV(GV); in shouldPreserveGV() 114 GlobalValue &GV, const DenseSet<const Comdat *> &ExternalComdats) { in maybeInternalize() argument [all …]
|
D | GlobalDCE.cpp | 107 } else if (auto *GV = dyn_cast<GlobalValue>(V)) { in ComputeDependencies() local 108 Deps.insert(GV); in ComputeDependencies() 124 void GlobalDCEPass::UpdateGVDependencies(GlobalValue &GV) { in UpdateGVDependencies() argument 126 for (User *User : GV.users()) in UpdateGVDependencies() 128 Deps.erase(&GV); // Remove self-reference. in UpdateGVDependencies() 134 if (VFESafeVTables.count(GVU) && isa<Function>(&GV)) { in UpdateGVDependencies() 136 << GV.getName() << "\n"); in UpdateGVDependencies() 139 GVDependencies[GVU].insert(&GV); in UpdateGVDependencies() 144 void GlobalDCEPass::MarkLive(GlobalValue &GV, in MarkLive() argument 146 auto const Ret = AliveGlobals.insert(&GV); in MarkLive() [all …]
|
D | GlobalSplit.cpp | 41 static bool splitGlobal(GlobalVariable &GV) { in splitGlobal() argument 44 if (!GV.hasLocalLinkage()) in splitGlobal() 48 auto *Init = dyn_cast_or_null<ConstantStruct>(GV.getInitializer()); in splitGlobal() 56 for (User *U : GV.users()) { in splitGlobal() 69 GV.getMetadata(LLVMContext::MD_type, Types); in splitGlobal() 71 const DataLayout &DL = GV.getParent()->getDataLayout(); in splitGlobal() 74 IntegerType *Int32Ty = Type::getInt32Ty(GV.getContext()); in splitGlobal() 80 new GlobalVariable(*GV.getParent(), Init->getOperand(I)->getType(), in splitGlobal() 81 GV.isConstant(), GlobalValue::PrivateLinkage, in splitGlobal() 82 Init->getOperand(I), GV.getName() + "." + utostr(I)); in splitGlobal() [all …]
|
D | FunctionImport.cpp | 949 bool llvm::convertToDeclaration(GlobalValue &GV) { in convertToDeclaration() argument 950 LLVM_DEBUG(dbgs() << "Converting to a declaration: `" << GV.getName() in convertToDeclaration() 952 if (Function *F = dyn_cast<Function>(&GV)) { in convertToDeclaration() 956 } else if (GlobalVariable *V = dyn_cast<GlobalVariable>(&GV)) { in convertToDeclaration() 963 if (GV.getValueType()->isFunctionTy()) in convertToDeclaration() 965 Function::Create(cast<FunctionType>(GV.getValueType()), in convertToDeclaration() 966 GlobalValue::ExternalLinkage, GV.getAddressSpace(), in convertToDeclaration() 967 "", GV.getParent()); in convertToDeclaration() 970 new GlobalVariable(*GV.getParent(), GV.getValueType(), in convertToDeclaration() 973 /*insertbefore*/ nullptr, GV.getThreadLocalMode(), in convertToDeclaration() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | FunctionImportUtils.cpp | 77 const GlobalValue &GV) const { in isNonRenamableLocal() 78 if (!GV.hasLocalLinkage()) in isNonRenamableLocal() 81 if (GV.hasSection()) in isNonRenamableLocal() 83 if (Used.count(const_cast<GlobalValue *>(&GV))) in isNonRenamableLocal() 195 void FunctionImportGlobalProcessing::processGlobalForThinLTO(GlobalValue &GV) { in processGlobalForThinLTO() argument 198 if (GV.hasName()) { in processGlobalForThinLTO() 199 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO() 202 if (Function *F = dyn_cast<Function>(&GV)) { in processGlobalForThinLTO() 218 GV.setDSOLocal(true); in processGlobalForThinLTO() 219 if (GV.hasDLLImportStorageClass()) in processGlobalForThinLTO() [all …]
|
D | SplitModule.cpp | 62 const GlobalValue *GV, const User *U) { in addNonConstUser() argument 67 GVtoClusterMap.unionSets(GV, F); in addNonConstUser() 70 GVtoClusterMap.unionSets(GV, cast<GlobalValue>(U)); in addNonConstUser() 78 const GlobalValue *GV, const Value *V) { in addAllGlobalValueUsers() argument 89 addNonConstUser(GVtoClusterMap, GV, UU); in addAllGlobalValueUsers() 108 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions() argument 109 if (GV.isDeclaration()) in findPartitions() 112 if (!GV.hasName()) in findPartitions() 113 GV.setName("__llvmsplit_unnamed"); in findPartitions() 119 if (const Comdat *C = GV.getComdat()) { in findPartitions() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | LinkModules.cpp | 50 void addLazyFor(GlobalValue &GV, const IRMover::ValueAdder &Add); 103 void dropReplacedComdat(GlobalValue &GV, 106 bool linkIfNeeded(GlobalValue &GV); 328 bool ModuleLinker::linkIfNeeded(GlobalValue &GV) { in linkIfNeeded() argument 329 GlobalValue *DGV = getLinkedToGlobal(&GV); in linkIfNeeded() 333 if (!GV.hasAppendingLinkage()) { in linkIfNeeded() 344 if (DGV && !GV.hasLocalLinkage() && !GV.hasAppendingLinkage()) { in linkIfNeeded() 346 auto *SGVar = dyn_cast<GlobalVariable>(&GV); in linkIfNeeded() 362 getMinVisibility(DGV->getVisibility(), GV.getVisibility()); in linkIfNeeded() 364 GV.setVisibility(Visibility); in linkIfNeeded() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 49 bool lowerGlobal(GlobalVariable *GV); 161 static bool rewriteNonInstructionUses(GlobalVariable *GV, Pass *P) { in rewriteNonInstructionUses() argument 163 for (User *U : GV->users()) in rewriteNonInstructionUses() 180 bool XCoreLowerThreadLocal::lowerGlobal(GlobalVariable *GV) { in lowerGlobal() argument 181 Module *M = GV->getParent(); in lowerGlobal() 182 if (!GV->isThreadLocal()) in lowerGlobal() 186 if (!rewriteNonInstructionUses(GV, this) || in lowerGlobal() 187 !GV->getType()->isSized() || isZeroLengthArray(GV->getType())) in lowerGlobal() 191 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal() 193 if (GV->hasInitializer()) in lowerGlobal() [all …]
|
D | XCoreAsmPrinter.cpp | 74 void emitArrayBound(MCSymbol *Sym, const GlobalVariable *GV); 75 void EmitGlobalVariable(const GlobalVariable *GV) override; 88 void XCoreAsmPrinter::emitArrayBound(MCSymbol *Sym, const GlobalVariable *GV) { in emitArrayBound() argument 89 assert( ( GV->hasExternalLinkage() || GV->hasWeakLinkage() || in emitArrayBound() 90 GV->hasLinkOnceLinkage() || GV->hasCommonLinkage() ) && in emitArrayBound() 92 if (ArrayType *ATy = dyn_cast<ArrayType>(GV->getValueType())) { in emitArrayBound() 100 if (GV->hasWeakLinkage() || GV->hasLinkOnceLinkage() || in emitArrayBound() 101 GV->hasCommonLinkage()) { in emitArrayBound() 107 void XCoreAsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) { in EmitGlobalVariable() argument 109 if (!GV->hasInitializer() || in EmitGlobalVariable() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | ModuleSymbolTable.cpp | 62 for (GlobalValue &GV : M->global_values()) in addModule() 63 SymTab.push_back(&GV); in addModule() 177 auto *GV = S.get<GlobalValue *>(); in printSymbolName() local 178 if (GV->hasDLLImportStorageClass()) in printSymbolName() 181 Mang.getNameWithPrefix(OS, GV, false); in printSymbolName() 188 auto *GV = S.get<GlobalValue *>(); in getSymbolFlags() local 191 if (GV->isDeclarationForLinker()) in getSymbolFlags() 193 else if (GV->hasHiddenVisibility() && !GV->hasLocalLinkage()) in getSymbolFlags() 195 if (const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV)) { in getSymbolFlags() 199 if (dyn_cast_or_null<Function>(GV->getBaseObject())) in getSymbolFlags() [all …]
|
D | RecordStreamer.cpp | 143 for (const GlobalValue &GV : M.global_values()) { in flushSymverDirectives() local 144 if (!GV.hasName()) in flushSymverDirectives() 147 MangledName.reserve(GV.getName().size() + 1); in flushSymverDirectives() 148 Mang.getNameWithPrefix(MangledName, &GV, /*CannotUsePrivateLabel=*/false); in flushSymverDirectives() 149 MangledNameMap[MangledName] = &GV; in flushSymverDirectives() 188 const GlobalValue *GV = M.getNamedValue(Aliasee->getName()); in flushSymverDirectives() local 189 if (!GV) { in flushSymverDirectives() 192 GV = MI->second; in flushSymverDirectives() 194 if (GV) { in flushSymverDirectives() 198 if (GV->hasExternalLinkage()) in flushSymverDirectives() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86Subtarget.cpp | 65 X86Subtarget::classifyGlobalReference(const GlobalValue *GV) const { in classifyGlobalReference() 66 return classifyGlobalReference(GV, *GV->getParent()); in classifyGlobalReference() 70 X86Subtarget::classifyLocalReference(const GlobalValue *GV) const { in classifyLocalReference() 92 if (isa<Function>(GV)) in classifyLocalReference() 113 if (GV && (GV->isDeclarationForLinker() || GV->hasCommonLinkage())) in classifyLocalReference() 122 unsigned char X86Subtarget::classifyGlobalReference(const GlobalValue *GV, in classifyGlobalReference() argument 129 if (GV) { in classifyGlobalReference() 130 if (Optional<ConstantRange> CR = GV->getAbsoluteSymbolRange()) { in classifyGlobalReference() 141 if (TM.shouldAssumeDSOLocal(M, GV)) in classifyGlobalReference() 142 return classifyLocalReference(GV); in classifyGlobalReference() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Mangler.cpp | 111 void Mangler::getNameWithPrefix(raw_ostream &OS, const GlobalValue *GV, in getNameWithPrefix() argument 114 if (GV->hasPrivateLinkage()) { in getNameWithPrefix() 121 const DataLayout &DL = GV->getParent()->getDataLayout(); in getNameWithPrefix() 122 if (!GV->hasName()) { in getNameWithPrefix() 125 unsigned &ID = AnonGlobalIDs[GV]; in getNameWithPrefix() 134 StringRef Name = GV->getName(); in getNameWithPrefix() 139 const Function *MSFunc = dyn_cast<Function>(GV); in getNameWithPrefix() 178 const GlobalValue *GV, in getNameWithPrefix() argument 181 getNameWithPrefix(OS, GV, CannotUsePrivateLabel); in getNameWithPrefix() 184 void llvm::emitLinkerFlagsForGlobalCOFF(raw_ostream &OS, const GlobalValue *GV, in emitLinkerFlagsForGlobalCOFF() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 389 auto mayPreserveGlobal = [&](GlobalValue &GV) { in preserveDiscardableGVs() argument 390 if (!GV.isDiscardableIfUnused() || GV.isDeclaration() || in preserveDiscardableGVs() 391 !mustPreserveGV(GV)) in preserveDiscardableGVs() 393 if (GV.hasAvailableExternallyLinkage()) in preserveDiscardableGVs() 396 GV.getName() + "'").str()); in preserveDiscardableGVs() 397 if (GV.hasInternalLinkage()) in preserveDiscardableGVs() 399 GV.getName() + "'").str()); in preserveDiscardableGVs() 400 Used.push_back(&GV); in preserveDiscardableGVs() 402 for (auto &GV : TheModule) in preserveDiscardableGVs() local 403 mayPreserveGlobal(GV); in preserveDiscardableGVs() [all …]
|
D | UpdateCompilerUsed.cpp | 37 for (GlobalVariable &GV : TheModule.globals()) in findInModule() 38 findLibCallsAndAsm(GV); in findInModule() 88 void findLibCallsAndAsm(GlobalValue &GV) { in findLibCallsAndAsm() argument 90 if (GV.isDeclaration()) in findLibCallsAndAsm() 94 if (GV.hasPrivateLinkage()) in findLibCallsAndAsm() 104 if (isa<GlobalAlias>(GV)) { in findLibCallsAndAsm() 105 auto *A = cast<GlobalAlias>(&GV); in findLibCallsAndAsm() 108 if ((isa<Function>(GV) || FuncAliasee) && Libcalls.count(GV.getName())) { in findLibCallsAndAsm() 109 LLVMUsed.push_back(&GV); in findLibCallsAndAsm() 114 TM.getNameWithPrefix(Buffer, &GV, Mangler); in findLibCallsAndAsm() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 79 GlobalVariable *GV = &*I++; in runOnModule() local 80 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && in runOnModule() 81 !llvm::isTexture(*GV) && !llvm::isSurface(*GV) && in runOnModule() 82 !llvm::isSampler(*GV) && !GV->getName().startswith("llvm.")) { in runOnModule() 84 M, GV->getValueType(), GV->isConstant(), in runOnModule() 85 GV->getLinkage(), in runOnModule() 86 GV->hasInitializer() ? GV->getInitializer() : nullptr, in runOnModule() 87 "", GV, GV->getThreadLocalMode(), llvm::ADDRESS_SPACE_GLOBAL); in runOnModule() 88 NewGV->copyAttributesFrom(GV); in runOnModule() 89 GVMap[GV] = NewGV; in runOnModule() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | GlobalsModRef.cpp | 160 ModRefInfo getModRefInfoForGlobal(const GlobalValue &GV) const { in getModRefInfoForGlobal() 164 auto I = P->Map.find(&GV); in getModRefInfoForGlobal() 184 void addModRefInfoForGlobal(const GlobalValue &GV, ModRefInfo NewMRI) { in addModRefInfoForGlobal() argument 190 auto &GlobalMRI = P->Map[&GV]; in addModRefInfoForGlobal() 196 void eraseModRefInfoForGlobal(const GlobalValue &GV) { in eraseModRefInfoForGlobal() argument 198 P->Map.erase(&GV); in eraseModRefInfoForGlobal() 215 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { in deleted() local 216 if (GAR->NonAddressTakenGlobals.erase(GV)) { in deleted() 219 if (GAR->IndirectGlobals.erase(GV)) { in deleted() 224 if (I->second == GV) in deleted() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 171 bool isMustKeepGlobalVariable(const GlobalVariable *GV) const { in isMustKeepGlobalVariable() 172 return MustKeepGlobalVariables.count(GV); in isMustKeepGlobalVariable() 296 GlobalVariable *GV = Globals[GI]; in doMerge() local 308 for (auto &U : GV->uses()) { in doMerge() 568 const GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables() local 569 if (!GV || !GV->hasInitializer()) return; in collectUsedGlobalVariables() 572 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables() 592 if (const GlobalVariable *GV = in setMustKeepGlobalVariables() local 594 MustKeepGlobalVariables.insert(GV); in setMustKeepGlobalVariables() 613 for (auto &GV : M.globals()) { in doInitialization() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 262 for (auto &GV : M.global_values()) { in operator ()() local 266 if (!GV.hasName()) in operator ()() 267 GV.setName("__orc_anon." + Twine(NextId++)); in operator ()() 268 else if (GV.getName().startswith("\01L")) in operator ()() 269 GV.setName("__" + GV.getName().substr(1) + "." + Twine(NextId++)); in operator ()() 270 else if (GV.hasLocalLinkage()) in operator ()() 271 GV.setName("__orc_lcl." + GV.getName() + "." + Twine(NextId++)); in operator ()() 275 if (GV.hasLocalLinkage()) { in operator ()() 276 GV.setLinkage(GlobalValue::ExternalLinkage); in operator ()() 277 GV.setVisibility(GlobalValue::HiddenVisibility); in operator ()() [all …]
|
D | CompileOnDemandLayer.cpp | 20 auto DeleteExtractedDefs = [](GlobalValue &GV) { in extractSubModule() argument 22 GV.setLinkage(GlobalValue::ExternalLinkage); in extractSubModule() 25 if (isa<Function>(GV)) { in extractSubModule() 26 auto &F = cast<Function>(GV); in extractSubModule() 29 } else if (isa<GlobalVariable>(GV)) { in extractSubModule() 30 cast<GlobalVariable>(GV).setInitializer(nullptr); in extractSubModule() 31 } else if (isa<GlobalAlias>(GV)) { in extractSubModule() 34 auto &A = cast<GlobalAlias>(GV); in extractSubModule() 223 for (auto *GV : Partition) in expandPartition() local 224 if (isa<GlobalAlias>(GV)) in expandPartition() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | LazyEmittingLayer.h | 51 if (auto GV = searchGVs(Name, ExportedSymbolsOnly)) { in find() local 52 JITSymbolFlags Flags = JITSymbolFlags::fromGlobalValue(*GV); in find() 115 auto GV = VI->second; in searchGVs() local 116 if (!ExportedSymbolsOnly || GV->hasDefaultVisibility()) in searchGVs() 117 return GV; in searchGVs() 139 const GlobalValue &GV, in addGlobalValue() argument 143 if (GV.isDeclaration() || GV.hasCommonLinkage()) in addGlobalValue() 150 Mang.getNameWithPrefix(MangledNameStream, &GV, false); in addGlobalValue() 156 if (!ExportedSymbolsOnly || GV.hasDefaultVisibility()) in addGlobalValue() 157 return &GV; in addGlobalValue() [all …]
|