Home
last modified time | relevance | path

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

12345678910>>...13

/openbsd-src/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/
H A 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
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceGlobalValues.cpp19 static bool shouldReduceDSOLocal(GlobalValue &GV) { in shouldReduceDSOLocal()
23 static bool shouldReduceVisibility(GlobalValue &GV) { in shouldReduceVisibility()
27 static bool shouldReduceUnnamedAddress(GlobalValue &GV) { in shouldReduceUnnamedAddress()
31 static bool shouldReduceDLLStorageClass(GlobalValue &GV) { in shouldReduceDLLStorageClass()
36 static bool shouldReduceThreadLocal(GlobalValue &GV) { in shouldReduceThreadLocal()
41 for (auto &GV : Program.getModule().global_values()) { in reduceGVs() local
H A DReduceGlobalVars.cpp21 static bool shouldAlwaysKeep(const GlobalVariable &GV) { in shouldAlwaysKeep()
31 for (auto &GV : Program.globals()) { in extractGVsFromModule() local
43 for (auto &GV : Program.globals()) { in extractGVsFromModule() local
51 for (auto *GV : ToRemove) { in extractGVsFromModule() local
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/
H A 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 …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A 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()
H A 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
H A DAMDGPULowerModuleLDSPass.cpp255 for (auto &GV : M.globals()) in eliminateConstantExprUsesOfLDSFromAllInstructions() local
327 for (auto &GV : M.globals()) { in getUsesOfLDSByFunction() local
469 GlobalVariable *GV = Variables[i]; in getAddressesOfVariablesInKernel() local
546 auto *GV = ModuleScopeVariables[Index]; in replaceUsesInInstructionsWithTableLookup() local
611 GlobalVariable *GV = nullptr; in chooseBestVariableForModuleStrategy() member
646 GlobalVariable *GV = K.first; in chooseBestVariableForModuleStrategy() local
707 GlobalVariable *GV = K.first; in runOnModule() local
872 for (auto &GV : KernelAccessVariables) { in runOnModule() local
945 for (auto &GV : make_early_inc_range(M.globals())) in runOnModule() local
967 for (auto &GV : M.globals()) { in superAlignLDSGlobals() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A 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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A 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
/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp449 auto mayPreserveGlobal = [&](GlobalValue &GV) { in preserveDiscardableGVs()
462 for (auto &GV : TheModule) in preserveDiscardableGVs() local
464 for (auto &GV : TheModule.globals()) in preserveDiscardableGVs() local
466 for (auto &GV : TheModule.aliases()) in preserveDiscardableGVs() local
483 auto mustPreserveGV = [&](const GlobalValue &GV) -> bool { in applyScopeRestrictions()
507 auto RecordLinkage = [&](const GlobalValue &GV) { in applyScopeRestrictions()
514 for (auto &GV : MergedModule->globals()) in applyScopeRestrictions() local
516 for (auto &GV : MergedModule->aliases()) in applyScopeRestrictions() local
540 auto externalize = [this](GlobalValue &GV) { in restoreLinkageForExternals()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp328 GenericValue GV; in lle_X_atexit() local
357 GenericValue GV; in lle_X_sprintf() local
437 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf() local
451 GenericValue GV; in lle_X_sscanf() local
465 GenericValue GV; in lle_X_scanf() local
480 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_fprintf() local
493 GenericValue GV; in lle_X_memset() local
505 GenericValue GV; in lle_X_memcpy() local
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A 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
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp82 GlobalVariable *GV = Const.first; in layoutBuffer() local
127 auto *GV = cast<GlobalVariable>(CGM.GetAddrOfGlobalVar(D)); in addConstant() local
177 GlobalVariable *GV = replaceBuffer(Buf); in finishCodeGen() local
195 void CGHLSLRuntime::addBufferResourceAnnotation(llvm::GlobalVariable *GV, in addBufferResourceAnnotation()
276 void CGHLSLRuntime::annotateHLSLResource(const VarDecl *D, GlobalVariable *GV) { in annotateHLSLResource()
402 const auto *GV = in gatherFunctions() local
454 if (auto *GV = M.getNamedGlobal("llvm.global_ctors")) in generateGlobalCtorDtorCalls() local
456 if (auto *GV = M.getNamedGlobal("llvm.global_dtors")) in generateGlobalCtorDtorCalls() local
H A DSanitizerMetadata.cpp37 void SanitizerMetadata::reportGlobal(llvm::GlobalVariable *GV, in reportGlobal()
78 void SanitizerMetadata::reportGlobal(llvm::GlobalVariable *GV, const VarDecl &D, in reportGlobal()
101 void SanitizerMetadata::disableSanitizerForGlobal(llvm::GlobalVariable *GV) { in disableSanitizerForGlobal()
H A DCodeGenModule.cpp304 void CodeGenModule::addGlobalValReplacement(llvm::GlobalValue *GV, llvm::Constant *C) { in addGlobalValReplacement()
310 llvm::GlobalValue *GV = I.first; in applyGlobalValReplacements() local
320 static const llvm::GlobalValue *getAliasedGlobal(const llvm::GlobalValue *GV) { in getAliasedGlobal()
343 const llvm::GlobalValue *&GV) { in checkAliasedGlobal()
391 const llvm::GlobalValue *GV = nullptr; in checkAliases() local
624 auto *GV = new llvm::GlobalVariable( in Release() local
1110 void CodeGenModule::setGlobalVisibility(llvm::GlobalValue *GV, in setGlobalVisibility()
1143 llvm::GlobalValue *GV) { in shouldAssumeDSOLocal()
1247 void CodeGenModule::setDLLImportDLLExport(llvm::GlobalValue *GV, in setDLLImportDLLExport()
1258 void CodeGenModule::setDLLImportDLLExport(llvm::GlobalValue *GV, in setDLLImportDLLExport()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DInternalize.cpp67 bool operator()(const GlobalValue &GV) { in operator ()()
104 bool InternalizePass::shouldPreserveGV(const GlobalValue &GV) { in shouldPreserveGV()
135 GlobalValue &GV, DenseMap<const Comdat *, ComdatInfo> &ComdatMap) { in maybeInternalize()
175 GlobalValue &GV, DenseMap<const Comdat *, ComdatInfo> &ComdatMap) { in checkComdat()
255 for (auto &GV : M.globals()) { in internalizeModule() local
H A DGlobalOpt.cpp111 static bool isLeakCheckerRoot(GlobalVariable *GV) { in isLeakCheckerRoot()
192 CleanupPointerRootUsers(GlobalVariable *GV, in CleanupPointerRootUsers()
277 static bool CleanupConstantGlobalUsers(GlobalVariable *GV, in CleanupConstantGlobalUsers()
340 static bool collectSRATypes(DenseMap<uint64_t, Type *> &Types, GlobalValue *GV, in collectSRATypes()
402 static void transferSRADebugInfo(GlobalVariable *GV, GlobalVariable *NGV, in transferSRADebugInfo()
458 static GlobalVariable *SRAGlobal(GlobalVariable *GV, const DataLayout &DL) { in SRAGlobal()
654 static bool allUsesOfLoadedValueWillTrapIfNull(const GlobalVariable *GV) { in allUsesOfLoadedValueWillTrapIfNull()
684 static void allUsesOfLoadAndStores(GlobalVariable *GV, in allUsesOfLoadAndStores()
775 GlobalVariable *GV, Constant *LV, const DataLayout &DL, in OptimizeAwayTrappingUsesOfLoads()
860 OptimizeGlobalAddressOfAllocation(GlobalVariable *GV, CallInst *CI, in OptimizeGlobalAddressOfAllocation()
[all …]
H A DConstantMerge.cpp53 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()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DGlobalsModRef.cpp180 void addModRefInfoForGlobal(const GlobalValue &GV, ModRefInfo NewMRI) { in addModRefInfoForGlobal()
192 void eraseModRefInfoForGlobal(const GlobalValue &GV) { in eraseModRefInfoForGlobal()
211 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { in deleted() local
405 bool GlobalsAAResult::AnalyzeIndirectGlobalMemory(GlobalVariable *GV) { in AnalyzeIndirectGlobalMemory()
625 static bool isNonEscapingGlobalNoAliasWithLoad(const GlobalValue *GV, in isNonEscapingGlobalNoAliasWithLoad()
707 bool GlobalsAAResult::isNonEscapingGlobalNoAlias(const GlobalValue *GV, in isNonEscapingGlobalNoAlias()
852 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias() local
867 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
871 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
899 const GlobalValue *GV, in getModRefInfoForArgument()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp19 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()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DCompileOnDemandLayer.cpp24 auto DeleteExtractedDefs = [](GlobalValue &GV) { in extractSubModule()
240 for (const auto *GV : Partition) in expandPartition() local
255 for (const auto *GV : GVsToAdd) in expandPartition() local
273 for (auto &GV : getStaticInitGVs(M)) in emitPartition() local
345 for (const auto *GV : HashGVs) { in emitPartition() local
359 auto ShouldExtract = [&](const GlobalValue &GV) -> bool { in emitPartition()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp84 auto *GV = dyn_cast<GlobalVariable>(PN->getIncomingValue(i)); in checkIR() local
111 auto *GV = dyn_cast<GlobalValue>(Call->getCalledOperand()); in removePassThroughBuiltin() local
141 auto *GV = dyn_cast<GlobalValue>(Call->getCalledOperand()); in removeCompareBuiltin() local
/openbsd-src/gnu/llvm/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp81 static bool isSuitableForBSS(const GlobalVariable *GV) { in isSuitableForBSS()
128 const GlobalValue *GV, StringRef Suffix, const TargetMachine &TM) const { in getSymbolWithGlobalValueBase() argument
139 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol()
404 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference()
439 SmallVectorImpl<char> &OutName, const GlobalValue *GV, in getNameWithPrefix()
/openbsd-src/gnu/llvm/llvm/tools/bugpoint/
H A DExtractFunction.cpp50 Function *globalInitUsesExternalBA(GlobalVariable *GV) { in globalInitUsesExternalBA()
179 static void eliminateAliases(GlobalValue *GV) { in eliminateAliases()
207 void llvm::DeleteGlobalInitializer(GlobalVariable *GV) { in DeleteGlobalInitializer()
249 GlobalVariable *GV = M1->getNamedGlobal(GlobalName); in SplitStaticCtorDtor() local
340 GlobalVariable *GV = cast<GlobalVariable>(NewVMap[&I]); in SplitFunctionsOutOfModule() local

12345678910>>...13