Home
last modified time | relevance | path

Searched defs:GV (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp101 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/
DExecutionEngine.cpp99 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/lib/Target/
DTargetLoweringObjectFile.cpp53 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/lib/Target/Lanai/
DLanaiTargetObjectFile.cpp52 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/
DAArch64TargetObjectFile.cpp35 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/lib/Target/Mips/
DMipsTargetObjectFile.cpp65 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/CodeGen/
DTargetLoweringObjectFileImpl.cpp53 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/IPO/
DInternalize.cpp66 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
DGlobalDCE.cpp227 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()
DConstantMerge.cpp46 GlobalValue *GV = cast<GlobalValue>(Operand); in FindUsedValues() local
63 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment()
93 GlobalVariable *GV = &*GVI++; in mergeConstants() local
134 GlobalVariable *GV = &*GVI++; in mergeConstants() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DConstantMerge.cpp53 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
DInternalize.cpp66 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/LTO/
DLTOCodeGenerator.cpp375 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/lib/Transforms/Utils/
DSplitModule.cpp44 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()
DCloneModule.cpp36 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
DEvaluator.cpp51 if (auto *GV = dyn_cast<GlobalValue>(C)) in isSimpleEnoughValueToCommitHelper() local
122 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(C)) in isSimpleEnoughPointerToCommit() local
131 GlobalVariable *GV = cast<GlobalVariable>(CE->getOperand(0)); in isSimpleEnoughPointerToCommit() local
171 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(P)) { in ComputeLoadResult() local
181 GlobalVariable *GV = cast<GlobalVariable>(CE->getOperand(0)); in ComputeLoadResult() local
402 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(Ptr)) { in EvaluateBlock() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSplitModule.cpp62 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/LTO/
DLTOCodeGenerator.cpp389 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/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp314 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
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp303 GenericValue GV; in lle_X_atexit() local
332 GenericValue GV; in lle_X_sprintf() local
412 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf() local
426 GenericValue GV; in lle_X_sscanf() local
440 GenericValue GV; in lle_X_scanf() local
455 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_fprintf() local
468 GenericValue GV; in lle_X_memset() local
480 GenericValue GV; in lle_X_memcpy() local
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp105 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal()
139 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal()
175 bool HexagonTargetObjectFile::isGlobalInSmallSection(const GlobalValue *GV, in isGlobalInSmallSection()
256 const GlobalValue *GV, const TargetMachine &TM) const { in getSmallestAddressableSize() argument
307 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in selectSmallSectionForGlobal()
/external/llvm/lib/Object/
DIRObjectFile.cpp138 const GlobalValue *GV = &*I; in skipEmpty() local
145 const GlobalValue *GV = &*I; in skipEmpty() local
152 const GlobalValue *GV = &*I; in skipEmpty() local
164 const GlobalValue *GV = getGV(Symb); in moveSymbolNext() local
202 const GlobalValue *GV = getGV(Symb); in printSymbolName() local
222 const GlobalValue *GV = getGV(Symb); in getSymbolFlags() local
/external/llvm/lib/Linker/
DLinkModules.cpp353 bool ModuleLinker::linkIfNeeded(GlobalValue &GV) { in linkIfNeeded()
420 void ModuleLinker::addLazyFor(GlobalValue &GV, const IRMover::ValueAdder &Add) { in addLazyFor()
452 GlobalValue &GV, const DenseSet<const Comdat *> &ReplacedDstComdats) { in dropReplacedComdat()
516 GlobalAlias &GV = *I++; in run() local
521 GlobalVariable &GV = *I++; in run() local
526 Function &GV = *I++; in run() local
560 GlobalValue *GV = ValuesToLink[I]; in run() local
583 [this](GlobalValue &GV, IRMover::ValueAdder Add) { in run()
595 GlobalValue *GV = DstM.getNamedValue(P.first()); in run() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetLoweringObjectFile.cpp70 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()
/external/llvm/lib/Analysis/
DGlobalsModRef.cpp169 void addModRefInfoForGlobal(const GlobalValue &GV, ModRefInfo NewMRI) { in addModRefInfoForGlobal()
181 void eraseModRefInfoForGlobal(const GlobalValue &GV) { in eraseModRefInfoForGlobal()
200 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { in deleted() local
384 bool GlobalsAAResult::AnalyzeIndirectGlobalMemory(GlobalVariable *GV) { in AnalyzeIndirectGlobalMemory()
593 static bool isNonEscapingGlobalNoAliasWithLoad(const GlobalValue *GV, in isNonEscapingGlobalNoAliasWithLoad()
675 bool GlobalsAAResult::isNonEscapingGlobalNoAlias(const GlobalValue *GV, in isNonEscapingGlobalNoAlias()
809 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias() local
824 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
828 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
856 const GlobalValue *GV) { in getModRefInfoForArgument()
[all …]

12345678910>>...18