/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
H A 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() 96 // If the IR producer requested that this GV be treated as dso local, obey. in shouldAssumeDSOLocal() 97 if (GV && GV->isDSOLocal()) in shouldAssumeDSOLocal() 102 if (M.getRtLibUseGOT() && !GV) in shouldAssumeDSOLocal() 106 // just return false in here if we have a GV, as we know it is in shouldAssumeDSOLocal() 110 // In the case of intrinsics, GV is null and there is nowhere to put in shouldAssumeDSOLocal() 122 // DLLImport explicitly marks the GV a in shouldAssumeDSOLocal() 246 getNameWithPrefix(SmallVectorImpl<char> &Name, const GlobalValue *GV, Mangler &Mang, bool MayAlwaysUsePrivate) const getNameWithPrefix() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
H A 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 in isUnmergeableGlobal() 158 GlobalVariable *GV = &*GVI++; mergeConstants() local 204 GlobalVariable *GV = &*GVI++; mergeConstants() local [all...] |
H A 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, cons in maybeInternalize() 113 maybeInternalize( GlobalValue &GV, const DenseSet<const Comdat *> &ExternalComdats) maybeInternalize() argument 140 checkComdatVisibility( GlobalValue &GV, DenseSet<const Comdat *> &ExternalComdats) checkComdatVisibility() argument [all...] |
H A 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() 186 /// This GV is a pointer root. Loop over all users of the global and clean up 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() 273 /// We just marked GV constant. Loop over all users of the global, cleaning up 321 // Do not transform "gepinst (gep constexpr (GV))" her in CleanupConstantGlobalUsers() [all...] |
H A 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 in splitGlobal() 155 GlobalVariable &GV = *I; splitGlobals() local [all...] |
H A D | GlobalDCE.cpp | 107 } else if (auto *GV = dyn_cast<GlobalValue>(V)) { in ComputeDependencies() 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() 446 RemoveUnusedGlobalValue(GlobalValue &GV) RemoveUnusedGlobalValue() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A 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 in processGlobalForThinLTO() [all...] |
H A D | SplitModule.cpp | 62 const GlobalValue *GV, const User *U) { in addNonConstUser() 67 GVtoClusterMap.unionSets(GV, F); in addNonConstUser() 70 GVtoClusterMap.unionSets(GV, cast<GlobalValue>(U)); in addNonConstUser() 76 // Adds all GlobalValue users of V to the same cluster as GV. 78 const GlobalValue *GV, const Value *V) { in addAllGlobalValueUsers() 84 // For each constant that is not a GV (a pure const) recurse. in addAllGlobalValueUsers() 89 addNonConstUser(GVtoClusterMap, GV, UU); in addAllGlobalValueUsers() 108 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions() 109 if (GV.isDeclaration()) in findPartitions() 112 if (!GV in findPartitions() 61 addNonConstUser(ClusterMapType &GVtoClusterMap, const GlobalValue *GV, const User *U) addNonConstUser() argument 77 addAllGlobalValueUsers(ClusterMapType &GVtoClusterMap, const GlobalValue *GV, const Value *V) addAllGlobalValueUsers() argument 215 externalize(GlobalValue *GV) externalize() argument 228 isInPartition(const GlobalValue *GV, unsigned I, unsigned N) isInPartition() argument [all...] |
H A D | CtorUtils.cpp | 40 // If we didn't change the number of elements, don't create a new GV. in removeGlobalCtors() 65 static std::vector<Function *> parseGlobalCtors(GlobalVariable *GV) { in parseGlobalCtors() argument 66 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors() 68 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); in parseGlobalCtors() 81 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in findGlobalCtors() local 82 if (!GV) in findGlobalCtors() 87 if (!GV->hasUniqueInitializer()) in findGlobalCtors() 90 if (isa<ConstantAggregateZero>(GV->getInitializer())) in findGlobalCtors() 91 return GV; in findGlobalCtors() 92 ConstantArray *CA = cast<ConstantArray>(GV in findGlobalCtors() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
H A 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 in FindGlobalVariableNamed() 191 getMangledName(const GlobalValue *GV) getMangledName() argument 206 addGlobalMapping(const GlobalValue *GV, void *Addr) addGlobalMapping() argument 244 updateGlobalMapping(const GlobalValue *GV, void *Addr) updateGlobalMapping() argument 295 getPointerToGlobalIfAvailable(const GlobalValue *GV) getPointerToGlobalIfAvailable() argument 373 GlobalVariable *GV = module.getNamedGlobal(Name); runStaticConstructorsDestructors() local 574 getPointerToGlobal(const GlobalValue *GV) getPointerToGlobal() argument 657 GenericValue GV = getConstantValue(Op0); getConstantValue() local 663 GenericValue GV = getConstantValue(Op0); getConstantValue() local 669 GenericValue GV = getConstantValue(Op0); getConstantValue() local 676 GenericValue GV = getConstantValue(Op0); getConstantValue() local 682 GenericValue GV = getConstantValue(Op0); getConstantValue() local 687 GenericValue GV = getConstantValue(Op0); getConstantValue() local 702 GenericValue GV = getConstantValue(Op0); getConstantValue() local 718 GenericValue GV = getConstantValue(Op0); getConstantValue() local 736 GenericValue GV = getConstantValue(Op0); getConstantValue() local 745 GenericValue GV = getConstantValue(Op0); getConstantValue() local 753 GenericValue GV = getConstantValue(Op0); getConstantValue() local 793 GenericValue GV; getConstantValue() local 1260 const GlobalValue *GV = NonCanonicalGlobals[i]; emitGlobals() local 1288 EmitGlobalVariable(const GlobalVariable *GV) EmitGlobalVariable() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 47 /// The mover has just hit GV and we have to decide if it, and other members 50 void addLazyFor(GlobalValue &GV, const IRMover::ValueAdder &Add); 101 /// Drop GV if it is a member of a comdat that we are dropping. 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 in linkIfNeeded() 396 addLazyFor(GlobalValue &GV, const IRMover::ValueAdder &Add) addLazyFor() argument 422 dropReplacedComdat( GlobalValue &GV, const DenseSet<const Comdat *> &ReplacedDstComdats) dropReplacedComdat() argument 487 GlobalAlias &GV = *I++; run() local 492 GlobalVariable &GV = *I++; run() local 497 Function &GV = *I++; run() local 531 GlobalValue *GV = ValuesToLink[I]; run() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
H A 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() 177 classifyGlobalFunctionReference(const GlobalValue *GV, const Module &M) const classifyGlobalFunctionReference() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
H A D | LTOCodeGenerator.cpp | 389 auto mayPreserveGlobal = [&](GlobalValue &GV) { in preserveDiscardableGVs() 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 in preserveDiscardableGVs() [all...] |
H A 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() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
H A 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() 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() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
H A 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 in lowerGlobal() [all...] |
H A 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 in emitArrayBound() 107 EmitGlobalVariable(const GlobalVariable *GV) EmitGlobalVariable() argument 146 EmitAlignment(std::max(Alignment, Align(4)), GV); EmitGlobalVariable() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A 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() 216 if (GAR->NonAddressTakenGlobals.erase(GV)) { in deleted() 219 if (GAR->IndirectGlobals.erase(GV)) { in deleted() 224 if (I->second == GV) in deleted() 406 AnalyzeIndirectGlobalMemory(GlobalVariable *GV) AnalyzeIndirectGlobalMemory() argument 633 isNonEscapingGlobalNoAliasWithLoad(const GlobalValue *GV, const Value *V, int &Depth, const DataLayout &DL) isNonEscapingGlobalNoAliasWithLoad() argument 715 isNonEscapingGlobalNoAlias(const GlobalValue *GV, const Value *V) isNonEscapingGlobalNoAlias() argument 850 const GlobalValue *GV = GV1 ? GV1 : GV2; alias() local 896 getModRefInfoForArgument(const CallBase *Call, const GlobalValue *GV, AAQueryInfo &AAQI) getModRefInfoForArgument() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
H A 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 in runOnModule() 133 GlobalVariable *GV = I->first; runOnModule() local 174 GlobalVariable *GV = I->second; remapConstant() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A 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() 181 getNameWithPrefix(OS, GV, CannotUsePrivateLabel); in getNameWithPrefix() 184 void llvm::emitLinkerFlagsForGlobalCOFF(raw_ostream &OS, const GlobalValue *GV, in emitLinkerFlagsForGlobalCOFF() argument 177 getNameWithPrefix(SmallVectorImpl<char> &OutName, const GlobalValue *GV, bool CannotUsePrivateLabel) const getNameWithPrefix() argument 215 emitLinkerFlagsForUsedCOFF(raw_ostream &OS, const GlobalValue *GV, const Triple &T, Mangler &M) emitLinkerFlagsForUsedCOFF() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | GlobalMerge.cpp | 170 /// contains GV 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() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
H A D | CompileOnDemandLayer.cpp | 20 auto DeleteExtractedDefs = [](GlobalValue &GV) { in extractSubModule() 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() 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/ |
H A D | LazyEmittingLayer.h | 51 if (auto GV = searchGVs(Name, ExportedSymbolsOnly)) { in find() 52 JITSymbolFlags Flags = JITSymbolFlags::fromGlobalValue(*GV); in find() 115 auto GV = VI->second; in searchGVs() 116 if (!ExportedSymbolsOnly || GV->hasDefaultVisibility()) in searchGVs() 117 return GV; in searchGVs() 139 const GlobalValue &GV, in addGlobalValue() 143 if (GV.isDeclaration() || GV.hasCommonLinkage()) in addGlobalValue() 146 // Mangle the GV name. in addGlobalValue() 150 Mang.getNameWithPrefix(MangledNameStream, &GV, fals in addGlobalValue() 138 addGlobalValue(StringMap<const GlobalValue*> &Names, const GlobalValue &GV, const Mangler &Mang, StringRef SearchName, bool ExportedSymbolsOnly) const addGlobalValue() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
H A D | SystemZConstantPoolValue.cpp | 20 : MachineConstantPoolValue(gv->getType()), GV(gv), Modifier(modifier) {} in SystemZConstantPoolValue() 23 SystemZConstantPoolValue::Create(const GlobalValue *GV, in Create() argument 25 return new SystemZConstantPoolValue(GV, Modifier); in Create() 37 if (ZCPV->GV == GV && ZCPV->Modifier == Modifier) in getExistingMachineCPValue() 45 ID.AddPointer(GV); in addSelectionDAGCSEId() 50 O << GV << "@" << int(Modifier); in print()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 314 GenericValue GV; in lle_X_atexit() local 315 GV.IntVal = 0; in lle_X_atexit() 316 return GV; in lle_X_atexit() 343 GenericValue GV; in lle_X_sprintf() local 344 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf() 347 case 0: return GV; // Null terminator... in lle_X_sprintf() 412 return GV; in lle_X_sprintf() 423 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf() local 425 return GV; in lle_X_printf() 437 GenericValue GV; in lle_X_sscanf() local 451 GenericValue GV; lle_X_scanf() local 466 GenericValue GV = lle_X_sprintf(FT, NewArgs); lle_X_fprintf() local 479 GenericValue GV; lle_X_memset() local 491 GenericValue GV; lle_X_memcpy() local [all...] |