/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() 107 static char *Create(const GlobalVariable *GV, const DataLayout& TD) { in Create() 126 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { in getMemoryForGV() 167 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal); in FindGlobalVariableNamed() local 191 std::string ExecutionEngine::getMangledName(const GlobalValue *GV) { in getMangledName() 206 void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) { in addGlobalMapping() 244 uint64_t ExecutionEngine::updateGlobalMapping(const GlobalValue *GV, in updateGlobalMapping() 295 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable() 321 if (GlobalValue *GV = Modules[i]->getNamedValue(Name)) in getGlobalValueAtAddress() local 373 GlobalVariable *GV = module.getNamedGlobal(Name); in runStaticConstructorsDestructors() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetObjectFile.cpp | 35 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() 56 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol() 62 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel() 77 SmallVectorImpl<char> &OutName, const GlobalValue *GV, in getNameWithPrefix()
|
/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 70 static bool hasMetadataOtherThanDebugLoc(const GlobalVariable *GV) { in hasMetadataOtherThanDebugLoc() 87 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment() 95 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal() 158 GlobalVariable *GV = &*GVI++; in mergeConstants() local 204 GlobalVariable *GV = &*GVI++; in mergeConstants() local
|
D | Internalize.cpp | 66 bool operator()(const GlobalValue &GV) { in operator ()() 89 bool InternalizePass::shouldPreserveGV(const GlobalValue &GV) { in shouldPreserveGV() 114 GlobalValue &GV, const DenseSet<const Comdat *> &ExternalComdats) { in maybeInternalize() 141 GlobalValue &GV, DenseSet<const Comdat *> &ExternalComdats) { in checkComdatVisibility() 215 for (auto &GV : M.globals()) { in internalizeModule() local
|
D | GlobalDCE.cpp | 107 } else if (auto *GV = dyn_cast<GlobalValue>(V)) { in ComputeDependencies() local 124 void GlobalDCEPass::UpdateGVDependencies(GlobalValue &GV) { in UpdateGVDependencies() 144 void GlobalDCEPass::MarkLive(GlobalValue &GV, in MarkLive() 396 auto EraseUnusedGlobalValue = [&](GlobalValue *GV) { in run() 446 bool GlobalDCEPass::RemoveUnusedGlobalValue(GlobalValue &GV) { in RemoveUnusedGlobalValue()
|
D | GlobalOpt.cpp | 111 static bool isLeakCheckerRoot(GlobalVariable *GV) { in isLeakCheckerRoot() 190 CleanupPointerRootUsers(GlobalVariable *GV, in CleanupPointerRootUsers() 420 static bool GlobalUsersSafeToSRA(GlobalValue *GV) { in GlobalUsersSafeToSRA() 436 static bool CanDoGlobalSRA(GlobalVariable *GV) { in CanDoGlobalSRA() 451 static void transferSRADebugInfo(GlobalVariable *GV, GlobalVariable *NGV, in transferSRADebugInfo() 477 static GlobalVariable *SRAGlobal(GlobalVariable *GV, const DataLayout &DL) { in SRAGlobal() 676 static bool AllUsesOfLoadedValueWillTrapIfNull(const GlobalVariable *GV) { in AllUsesOfLoadedValueWillTrapIfNull() 764 GlobalVariable *GV, Constant *LV, const DataLayout &DL, in OptimizeAwayTrappingUsesOfLoads() 850 OptimizeGlobalAddressOfMalloc(GlobalVariable *GV, CallInst *CI, Type *AllocTy, in OptimizeGlobalAddressOfMalloc() 979 const GlobalVariable *GV, in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SplitModule.cpp | 62 const GlobalValue *GV, const User *U) { in addNonConstUser() 78 const GlobalValue *GV, const Value *V) { in addAllGlobalValueUsers() 108 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions() 215 static void externalize(GlobalValue *GV) { in externalize() 228 static bool isInPartition(const GlobalValue *GV, unsigned I, unsigned N) { in isInPartition() 274 CloneModule(*M, VMap, [&](const GlobalValue *GV) { in SplitModule()
|
D | CloneModule.cpp | 43 return CloneModule(M, VMap, [](const GlobalValue *GV) { return true; }); in CloneModule() 63 GlobalVariable *GV = new GlobalVariable(*New, in CloneModule() local 91 GlobalValue *GV; in CloneModule() local 123 GlobalVariable *GV = cast<GlobalVariable>(VMap[&*I]); in CloneModule() local
|
D | Evaluator.cpp | 66 if (auto *GV = dyn_cast<GlobalValue>(C)) in isSimpleEnoughValueToCommitHelper() local 137 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(C)) in isSimpleEnoughPointerToCommit() local 146 GlobalVariable *GV = cast<GlobalVariable>(CE->getOperand(0)); in isSimpleEnoughPointerToCommit() local 206 auto *GV = dyn_cast<GlobalVariable>(C); in getInitializer() local 225 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(P)) { in ComputeLoadResult() local 529 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(Ptr)) { in EvaluateBlock() local
|
D | GlobalStatus.cpp | 63 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V)) in analyzeGlobalAux() local 109 if (const GlobalVariable *GV = in analyzeGlobalAux() local
|
D | CtorUtils.cpp | 65 static std::vector<Function *> parseGlobalCtors(GlobalVariable *GV) { in parseGlobalCtors() 81 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in findGlobalCtors() local
|
D | NameAnonGlobals.cpp | 46 for (auto &GV : TheModule.globals()) { in get() local 69 auto RenameIfNeed = [&](GlobalValue &GV) { in nameUnamedGlobals()
|
/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() 402 for (auto &GV : TheModule) in preserveDiscardableGVs() local 404 for (auto &GV : TheModule.globals()) in preserveDiscardableGVs() local 406 for (auto &GV : TheModule.aliases()) in preserveDiscardableGVs() local 423 auto mustPreserveGV = [&](const GlobalValue &GV) -> bool { in applyScopeRestrictions() 447 auto RecordLinkage = [&](const GlobalValue &GV) { in applyScopeRestrictions() 454 for (auto &GV : MergedModule->globals()) in applyScopeRestrictions() local 456 for (auto &GV : MergedModule->aliases()) in applyScopeRestrictions() local 482 auto externalize = [this](GlobalValue &GV) { in restoreLinkageForExternals()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 314 GenericValue GV; in lle_X_atexit() local 343 GenericValue GV; in lle_X_sprintf() local 423 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf() local 437 GenericValue GV; in lle_X_sscanf() local 451 GenericValue GV; in lle_X_scanf() local 466 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_fprintf() local 479 GenericValue GV; in lle_X_memset() local 491 GenericValue GV; in lle_X_memcpy() local
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 70 static bool isSuitableForBSS(const GlobalVariable *GV) { in isSuitableForBSS() 117 const GlobalValue *GV, StringRef Suffix, const TargetMachine &TM) const { in getSymbolWithGlobalValueBase() argument 128 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol() 309 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() 344 SmallVectorImpl<char> &OutName, const GlobalValue *GV, in getNameWithPrefix()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 26 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() 44 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol() 50 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | LinkModules.cpp | 328 bool ModuleLinker::linkIfNeeded(GlobalValue &GV) { in linkIfNeeded() 396 void ModuleLinker::addLazyFor(GlobalValue &GV, const IRMover::ValueAdder &Add) { in addLazyFor() 423 GlobalValue &GV, const DenseSet<const Comdat *> &ReplacedDstComdats) { in dropReplacedComdat() 487 GlobalAlias &GV = *I++; in run() local 492 GlobalVariable &GV = *I++; in run() local 497 Function &GV = *I++; in run() local 531 GlobalValue *GV = ValuesToLink[I]; in run() local 554 [this](GlobalValue &GV, IRMover::ValueAdder Add) { in run()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | GlobalsModRef.cpp | 184 void addModRefInfoForGlobal(const GlobalValue &GV, ModRefInfo NewMRI) { in addModRefInfoForGlobal() 196 void eraseModRefInfoForGlobal(const GlobalValue &GV) { in eraseModRefInfoForGlobal() 215 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { in deleted() local 406 bool GlobalsAAResult::AnalyzeIndirectGlobalMemory(GlobalVariable *GV) { in AnalyzeIndirectGlobalMemory() 633 static bool isNonEscapingGlobalNoAliasWithLoad(const GlobalValue *GV, in isNonEscapingGlobalNoAliasWithLoad() 715 bool GlobalsAAResult::isNonEscapingGlobalNoAlias(const GlobalValue *GV, in isNonEscapingGlobalNoAlias() 850 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias() local 865 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local 869 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local 897 const GlobalValue *GV, in getModRefInfoForArgument() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | ThreadSafeModule.cpp | 32 auto Tmp = CloneModule(M, VMap, [&](const GlobalValue *GV) { in cloneToNewContext() 41 for (auto *GV : ClonedDefsInSrc) in cloneToNewContext() local
|
D | CompileOnDemandLayer.cpp | 20 auto DeleteExtractedDefs = [](GlobalValue &GV) { in extractSubModule() 223 for (auto *GV : Partition) in expandPartition() local 238 for (auto *GV : GVsToAdd) in expandPartition() local 293 for (auto &GV : PromotedGlobals) in emitPartition() local 304 auto ShouldExtract = [&](const GlobalValue &GV) -> bool { in emitPartition()
|
/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() 178 const GlobalValue *GV, in getNameWithPrefix() 184 void llvm::emitLinkerFlagsForGlobalCOFF(raw_ostream &OS, const GlobalValue *GV, in emitLinkerFlagsForGlobalCOFF() 215 void llvm::emitLinkerFlagsForUsedCOFF(raw_ostream &OS, const GlobalValue *GV, in emitLinkerFlagsForUsedCOFF()
|
/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 115 auto GV = VI->second; in searchGVs() local 139 const GlobalValue &GV, in addGlobalValue() 175 if (auto GV = addGlobalValue(*Symbols, GO, Mang, SearchName, in buildMangledSymbols() local
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/ |
D | TargetLoweringObjectFile.h | 194 virtual const MCExpr *getIndirectSymViaGOTPCRel(const GlobalValue *GV, in getIndirectSymViaGOTPCRel() 204 const GlobalValue *GV) const {} in emitLinkerFlagsForGlobal() 207 const GlobalValue *GV) const {} in emitLinkerFlagsForUsed()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMAsmPrinter.cpp | 83 const GlobalValue *GV = dyn_cast<GlobalValue>(CV->stripPointerCasts()); in EmitXXStructor() local 96 void ARMAsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) { in EmitGlobalVariable() 118 for (auto *GV : AFI->getGlobalsPromotedToConstantPool()) in runOnMachineFunction() local 802 MCSymbol *ARMAsmPrinter::GetARMGVSymbol(const GlobalValue *GV, in GetARMGVSymbol() 876 for (const auto *GV : ACPC->promotedGlobals()) { in EmitMachineConstantPoolValue() local 894 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); in EmitMachineConstantPoolValue() local 1387 const GlobalValue *GV = Op.getGlobal(); in EmitInstruction() local 1405 const GlobalValue *GV = MI->getOperand(1).getGlobal(); in EmitInstruction() local 1438 const GlobalValue *GV = MI->getOperand(2).getGlobal(); in EmitInstruction() local 1484 const GlobalValue *GV = MI->getOperand(1).getGlobal(); in EmitInstruction() local
|
/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 133 GlobalVariable *GV = I->first; in runOnModule() local 174 GlobalVariable *GV = I->second; in remapConstant() local
|