Home
last modified time | relevance | path

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

12345678910>>...29

/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Frontend/OpenMP/
DOMPGridValues.h57 struct GV { struct
59 unsigned GV_Slot_Size; argument
61 unsigned GV_Warp_Size; argument
64 return GV_Warp_Size * GV_Slot_Size; in warpSlotSize() argument
68 unsigned GV_Max_Teams; argument
70 unsigned GV_Default_Num_Teams; argument
75 unsigned GV_SimpleBufferSize; argument
77 unsigned GV_Max_WG_Size; argument
79 unsigned GV_Default_WG_Size; argument
87 static constexpr GV AMDGPUGridValues64 = { argument
/external/swiftshader/third_party/llvm-16.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp98 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/
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/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineFunction.cpp55 const GlobalVariable &GV, in allocateLDSGlobal()
92 bool AMDGPUMachineFunction::isKnownAddressLDSGlobal(const GlobalVariable &GV) { in isKnownAddressLDSGlobal()
99 const GlobalVariable &GV) { in getKernelLDSFunctionFromGlobal()
123 const GlobalVariable &GV) { in calculateKnownAddressOfLDSGlobal()
179 const GlobalVariable *GV = M->getNamedGlobal(ModuleLDSName); in allocateKnownAddressLDSGlobal() local
218 const GlobalVariable &GV) { in setDynLDSAlign()
DAMDGPUReplaceLDSUseWithPointer.cpp147 llvm::erase_if(LDSGlobals, [&](GlobalVariable *GV) { in collectLDSRequiringPointerReplace()
156 bool shouldIgnorePointerReplacement(GlobalVariable *GV) { in shouldIgnorePointerReplacement()
172 GlobalVariable *createLDSPointer(GlobalVariable *GV) { in createLDSPointer()
226 void initializeLDSPointer(Function *K, GlobalVariable *GV, in initializeLDSPointer()
252 void replaceLDSUseByPointer(GlobalVariable *GV, GlobalVariable *LDSPointer) { in replaceLDSUseByPointer()
295 Value *getReplacementInst(Function *F, GlobalVariable *GV, in getReplacementInst()
348 bool ReplaceLDSUseImpl::replaceLDSUse(GlobalVariable *GV) { in replaceLDSUse()
496 SmallPtrSet<Function *, 8> collectNonKernelAccessorsOfLDS(GlobalVariable *GV) { in collectNonKernelAccessorsOfLDS()
596 for (auto *GV : LDSGlobals) in replaceLDSUse() local
/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/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/
DSplitModule.cpp61 const GlobalValue *GV, const User *U) { in addNonConstUser()
76 const GlobalValue *GV, const Value *V) { in addAllGlobalValueUsers()
92 static const GlobalObject *getGVPartitioningRoot(const GlobalValue *GV) { in getGVPartitioningRoot()
112 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions()
218 static void externalize(GlobalValue *GV) { in externalize()
231 static bool isInPartition(const GlobalValue *GV, unsigned I, unsigned N) { in isInPartition()
277 CloneModule(M, VMap, [&](const GlobalValue *GV) { in SplitModule()
/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/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp33 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference()
54 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol()
60 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel()
75 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()
/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
/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-16.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUMemoryUtils.cpp29 Align getAlign(DataLayout const &DL, const GlobalVariable *GV) { in getAlign()
34 static bool shouldLowerLDSToStruct(const GlobalVariable &GV, in shouldLowerLDSToStruct()
78 bool isLDSVariableToLower(const GlobalVariable &GV) { in isLDSVariableToLower()
106 for (auto &GV : M.globals()) { in findLDSVariablesToLower() local
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/
DTLSVariableHoist.cpp117 auto *GV = dyn_cast<GlobalVariable>(Inst->getOperand(Idx)); in collectTLSCandidate() local
131 M->globals(), [](GlobalVariable &GV) { return GV.isThreadLocal(); }); in collectTLSCandidates()
194 GlobalVariable *GV, in findInsertPos()
220 GlobalVariable *GV) { in genBitCastInst()
230 GlobalVariable *GV) { in tryReplaceTLSCandidate()
254 GlobalVariable *GV = GV2Cand.first; in tryReplaceTLSCandidates() local
/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

12345678910>>...29