| /external/llvm-project/llvm/lib/ExecutionEngine/ |
| D | ExecutionEngine.cpp | 98 GVMemoryBlock(const GlobalVariable *GV) in GVMemoryBlock() 104 static char *Create(const GlobalVariable *GV, const DataLayout& TD) { in Create() 123 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { in getMemoryForGV() 164 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal); in FindGlobalVariableNamed() local 188 std::string ExecutionEngine::getMangledName(const GlobalValue *GV) { in getMangledName() 203 void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) { in addGlobalMapping() 241 uint64_t ExecutionEngine::updateGlobalMapping(const GlobalValue *GV, in updateGlobalMapping() 292 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable() 318 if (GlobalValue *GV = Modules[i]->getNamedValue(Name)) in getGlobalValueAtAddress() local 370 GlobalVariable *GV = module.getNamedGlobal(Name); in runStaticConstructorsDestructors() local [all …]
|
| /external/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 …]
|
| /external/llvm/lib/ExecutionEngine/ |
| D | ExecutionEngine.cpp | 99 GVMemoryBlock(const GlobalVariable *GV) in GVMemoryBlock() 105 static char *Create(const GlobalVariable *GV, const DataLayout& TD) { in Create() 124 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { in getMemoryForGV() 165 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal); in FindGlobalVariableNamed() local 189 std::string ExecutionEngine::getMangledName(const GlobalValue *GV) { in getMangledName() 204 void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) { in addGlobalMapping() 242 uint64_t ExecutionEngine::updateGlobalMapping(const GlobalValue *GV, in updateGlobalMapping() 293 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable() 319 if (GlobalValue *GV = Modules[i]->getNamedValue(Name)) in getGlobalValueAtAddress() local 370 GlobalVariable *GV = module.getNamedGlobal(Name); in runStaticConstructorsDestructors() local [all …]
|
| /external/llvm-project/llvm/tools/llvm-reduce/deltas/ |
| D | ReduceGlobalVars.cpp | 27 for (auto &GV : Program->globals()) in extractGVsFromModule() local 34 for (auto &GV : Program->globals()) in extractGVsFromModule() local 53 for (auto *GV : ToRemove) in extractGVsFromModule() local 64 for (auto &GV : Program->globals()) in countGVs() local
|
| /external/llvm/lib/Target/ |
| D | TargetLoweringObjectFile.cpp | 53 static bool isSuitableForBSS(const GlobalVariable *GV, bool NoZerosInBSS) { in isSuitableForBSS() 104 const GlobalValue *GV, StringRef Suffix, Mangler &Mang, in getSymbolWithGlobalValueBase() 116 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() 132 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV, in getKindForGlobal() 233 TargetLoweringObjectFile::SectionForGlobal(const GlobalValue *GV, in SectionForGlobal() 286 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() 322 SmallVectorImpl<char> &OutName, const GlobalValue *GV, Mangler &Mang, in getNameWithPrefix()
|
| /external/llvm-project/llvm/unittests/Transforms/Utils/ |
| D | CallPromotionUtilsTest.cpp | 54 auto *GV = M->getNamedValue("f"); in TEST() local 87 auto *GV = M->getNamedValue("f"); in TEST() local 114 auto *GV = M->getNamedValue("f"); in TEST() local 149 auto *GV = M->getNamedValue("f"); in TEST() local 188 auto *GV = M->getNamedValue("f"); in TEST() local 230 auto *GV = M->getNamedValue("f"); in TEST() local 289 auto *GV = M->getNamedValue("_Z2g1v"); in TEST() local 357 auto *GV = M->getNamedValue("f"); in TEST() local
|
| /external/llvm/lib/Target/Lanai/ |
| D | LanaiTargetObjectFile.cpp | 52 const GlobalValue *GV, const TargetMachine &TM) const { in isGlobalInSmallSection() argument 64 bool LanaiTargetObjectFile::isGlobalInSmallSection(const GlobalValue *GV, in isGlobalInSmallSection() 75 const GlobalValue *GV, const TargetMachine &TM) const { in isGlobalInSmallSectionImpl() argument 94 LanaiTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV, in SelectSectionForGlobal()
|
| /external/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()
|
| /external/llvm-project/llvm/lib/Target/AArch64/ |
| D | AArch64TargetObjectFile.cpp | 34 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() 55 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol() 61 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel() 76 SmallVectorImpl<char> &OutName, const GlobalValue *GV, in getNameWithPrefix()
|
| /external/llvm/lib/Target/Mips/ |
| D | MipsTargetObjectFile.cpp | 65 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { in IsGlobalInSmallSection() argument 78 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() 88 IsGlobalInSmallSectionImpl(const GlobalValue *GV, in IsGlobalInSmallSectionImpl() 117 MipsTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV, in SelectSectionForGlobal()
|
| /external/llvm/lib/Transforms/IPO/ |
| D | Internalize.cpp | 66 bool operator()(const GlobalValue &GV) { in operator ()() 92 bool InternalizePass::shouldPreserveGV(const GlobalValue &GV) { in shouldPreserveGV() 117 GlobalValue &GV, const std::set<const Comdat *> &ExternalComdats) { in maybeInternalize() 144 GlobalValue &GV, std::set<const Comdat *> &ExternalComdats) { in checkComdatVisibility() 218 for (auto &GV : M.globals()) { in internalizeModule() local
|
| D | GlobalDCE.cpp | 227 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(G)) { in GlobalIsNeeded() local 248 if (GlobalValue *GV = dyn_cast<GlobalValue>(U)) in GlobalIsNeeded() local 256 if (GlobalValue *GV = dyn_cast<GlobalValue>(C)) in MarkUsedGlobalsAsNeeded() local 275 bool GlobalDCEPass::RemoveUnusedGlobalValue(GlobalValue &GV) { in RemoveUnusedGlobalValue()
|
| /external/llvm-project/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 Align getAlign(GlobalVariable *GV) { in getAlign() 93 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal() 156 GlobalVariable *GV = &*GVI++; in mergeConstants() local 202 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
|
| /external/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
|
| /external/llvm/lib/CodeGen/ |
| D | TargetLoweringObjectFileImpl.cpp | 53 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() 87 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() 195 static const Comdat *getELFComdat(const GlobalValue *GV) { in getELFComdat() 208 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal() 246 selectELFSectionForGlobal(MCContext &Ctx, const GlobalValue *GV, in selectELFSectionForGlobal() 313 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() 535 static void checkMachOComdat(const GlobalValue *GV) { in checkMachOComdat() 545 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal() 587 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() 673 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() [all …]
|
| /external/llvm/lib/Transforms/Utils/ |
| D | CloneModule.cpp | 36 return CloneModule(M, VMap, [](const GlobalValue *GV) { return true; }); in CloneModule() 55 GlobalVariable *GV = new GlobalVariable(*New, in CloneModule() local 82 GlobalValue *GV; in CloneModule() local 114 GlobalVariable *GV = cast<GlobalVariable>(VMap[&*I]); in CloneModule() local
|
| D | SplitModule.cpp | 44 const GlobalValue *GV, const User *U) { in addNonConstUser() 60 const GlobalValue *GV, const Value *V) { in addAllGlobalValueUsers() 89 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions() 194 static void externalize(GlobalValue *GV) { in externalize() 207 static bool isInPartition(const GlobalValue *GV, unsigned I, unsigned N) { in isInPartition() 253 CloneModule(M.get(), VMap, [&](const GlobalValue *GV) { in SplitModule()
|
| /external/llvm/lib/LTO/ |
| D | LTOCodeGenerator.cpp | 375 auto mayPreserveGlobal = [&](GlobalValue &GV) { in preserveDiscardableGVs() 393 for (auto &GV : TheModule) in preserveDiscardableGVs() local 395 for (auto &GV : TheModule.globals()) in preserveDiscardableGVs() local 397 for (auto &GV : TheModule.aliases()) in preserveDiscardableGVs() local 418 auto mustPreserveGV = [&](const GlobalValue &GV) -> bool { in applyScopeRestrictions() 443 auto RecordLinkage = [&](const GlobalValue &GV) { in applyScopeRestrictions() 450 for (auto &GV : MergedModule->globals()) in applyScopeRestrictions() local 452 for (auto &GV : MergedModule->aliases()) in applyScopeRestrictions() local 476 auto externalize = [this](GlobalValue &GV) { in restoreLinkageForExternals()
|
| /external/llvm-project/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()
|
| /external/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()
|
| /external/llvm-project/llvm/lib/Target/X86/ |
| D | X86TargetObjectFile.cpp | 19 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() 37 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol() 43 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel()
|
| /external/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()
|
| /external/llvm-project/llvm/lib/LTO/ |
| D | LTOCodeGenerator.cpp | 406 auto mayPreserveGlobal = [&](GlobalValue &GV) { in preserveDiscardableGVs() 419 for (auto &GV : TheModule) in preserveDiscardableGVs() local 421 for (auto &GV : TheModule.globals()) in preserveDiscardableGVs() local 423 for (auto &GV : TheModule.aliases()) in preserveDiscardableGVs() local 440 auto mustPreserveGV = [&](const GlobalValue &GV) -> bool { in applyScopeRestrictions() 464 auto RecordLinkage = [&](const GlobalValue &GV) { in applyScopeRestrictions() 471 for (auto &GV : MergedModule->globals()) in applyScopeRestrictions() local 473 for (auto &GV : MergedModule->aliases()) in applyScopeRestrictions() local 497 auto externalize = [this](GlobalValue &GV) { in restoreLinkageForExternals()
|