Home
last modified time | relevance | path

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

12345678910>>...15

/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/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 = M->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 = M->getNamedValue(Name)) in getGlobalValueAtAddress() local
370 GlobalVariable *GV = module.getNamedGlobal(Name); in runStaticConstructorsDestructors() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInternalize.cpp66 bool operator()(const GlobalValue &GV) { in operator ()()
103 bool InternalizePass::shouldPreserveGV(const GlobalValue &GV) { in shouldPreserveGV()
134 GlobalValue &GV, DenseMap<const Comdat *, ComdatInfo> &ComdatMap) { in maybeInternalize()
174 GlobalValue &GV, DenseMap<const Comdat *, ComdatInfo> &ComdatMap) { in checkComdat()
249 for (auto &GV : M.globals()) { in internalizeModule() local
H A DConstantMerge.cpp52 GlobalValue *GV = cast<GlobalValue>(Operand); in FindUsedValues() local
69 static bool hasMetadataOtherThanDebugLoc(const GlobalVariable *GV) { in hasMetadataOtherThanDebugLoc()
86 static Align getAlign(GlobalVariable *GV) { in getAlign()
92 isUnmergeableGlobal(GlobalVariable *GV, in isUnmergeableGlobal()
H A DGlobalOpt.cpp111 static bool isLeakCheckerRoot(GlobalVariable *GV) { in isLeakCheckerRoot()
192 CleanupPointerRootUsers(GlobalVariable *GV, in CleanupPointerRootUsers()
270 static bool CleanupConstantGlobalUsers(GlobalVariable *GV, in CleanupConstantGlobalUsers()
350 GlobalVariable *GV, const DataLayout &DL) { in collectSRATypes()
438 static void transferSRADebugInfo(GlobalVariable *GV, GlobalVariable *NGV, in transferSRADebugInfo()
518 static GlobalVariable *SRAGlobal(GlobalVariable *GV, const DataLayout &DL) { in SRAGlobal()
706 static bool allUsesOfLoadedValueWillTrapIfNull(const GlobalVariable *GV) { in allUsesOfLoadedValueWillTrapIfNull()
736 static void allUsesOfLoadAndStores(GlobalVariable *GV, in allUsesOfLoadAndStores()
826 GlobalVariable *GV, Constant *LV, const DataLayout &DL, in OptimizeAwayTrappingUsesOfLoads()
912 OptimizeGlobalAddressOfAllocation(GlobalVariable *GV, CallInst *CI, in OptimizeGlobalAddressOfAllocation()
[all …]
H A DGlobalDCE.cpp66 } else if (auto *GV = dyn_cast<GlobalValue>(V)) { in ComputeDependencies() local
83 void GlobalDCEPass::UpdateGVDependencies(GlobalValue &GV) { in UpdateGVDependencies()
103 void GlobalDCEPass::MarkLive(GlobalValue &GV, in MarkLive()
366 auto EraseUnusedGlobalValue = [&](GlobalValue *GV) { in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSplitModule.cpp73 const GlobalValue *GV, const User *U) { in addNonConstUser()
88 const GlobalValue *GV, const Value *V) { in addAllGlobalValueUsers()
104 static const GlobalObject *getGVPartitioningRoot(const GlobalValue *GV) { in getGVPartitioningRoot()
125 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions()
222 static void externalize(GlobalValue *GV) { in externalize()
235 static bool isInPartition(const GlobalValue *GV, unsigned I, unsigned N) { in isInPartition()
316 CloneModule(M, VMap, [&](const GlobalValue *GV) { in SplitModule()
H A DCloneModule.cpp48 return CloneModule(M, VMap, [](const GlobalValue *GV) { return true; }); in CloneModule()
95 GlobalValue *GV; in CloneModule() local
132 GlobalVariable *GV = cast<GlobalVariable>(VMap[&G]); in CloneModule() local
H A DEvaluator.cpp63 if (auto *GV = dyn_cast<GlobalValue>(C)) in isSimpleEnoughValueToCommitHelper() local
220 if (auto *GV = dyn_cast<GlobalVariable>(P)) in ComputeLoadResult() local
225 Constant *Evaluator::ComputeLoadResult(GlobalVariable *GV, Type *Ty, in ComputeLoadResult()
320 auto *GV = dyn_cast<GlobalVariable>(Ptr); in EvaluateBlock() local
409 auto *GV = dyn_cast<GlobalVariable>(Ptr); in EvaluateBlock() local
462 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(Ptr)) { in EvaluateBlock() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTLSVariableHoist.cpp117 if (!GV || !GV->isThreadLocal()) in collectTLSCandidate() local
131 __anonb558e3f30202(GlobalVariable &GV) collectTLSCandidates() argument
194 findInsertPos(Function & Fn,GlobalVariable * GV,BasicBlock * & PosBB) findInsertPos() argument
220 genBitCastInst(Function & Fn,GlobalVariable * GV) genBitCastInst() argument
230 tryReplaceTLSCandidate(Function & Fn,GlobalVariable * GV) tryReplaceTLSCandidate() argument
254 GlobalVariable *GV = GV2Cand.first; tryReplaceTLSCandidates() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUMemoryUtils.cpp30 Align getAlign(const DataLayout &DL, const GlobalVariable *GV) { in getAlign()
35 bool isDynamicLDS(const GlobalVariable &GV) { in isDynamicLDS()
44 bool isLDSVariableToLower(const GlobalVariable &GV) { in isLDSVariableToLower()
80 for (auto &GV : M.globals()) in eliminateConstantExprUsesOfLDSFromAllInstructions() local
91 for (auto &GV : M.globals()) { in getUsesOfLDSByFunction() local
216 for (auto *GV : GVs) { in getTransitiveUsesOfLDS() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp19 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference() argument
37 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
43 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXCtorDtorLowering.cpp52 static void addKernelMetadata(Module &M, GlobalValue *GV) { in addKernelMetadata()
140 auto *GV = new GlobalVariable( in createInitOrFiniCalls() local
153 auto *GV = new GlobalVariable( in createInitOrFiniCalls() local
207 static bool createInitOrFiniGlobals(Module &M, GlobalVariable *GV, in createInitOrFiniGlobals()
232 auto *GV = new GlobalVariable(M, F->getType(), /*IsConstant=*/true, in createInitOrFiniGlobals() local
248 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel() local
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp439 auto mayPreserveGlobal = [&](GlobalValue &GV) { in preserveDiscardableGVs()
452 for (auto &GV : TheModule) in preserveDiscardableGVs() local
454 for (auto &GV : TheModule.globals()) in preserveDiscardableGVs() local
456 for (auto &GV : TheModule.aliases()) in preserveDiscardableGVs() local
473 auto mustPreserveGV = [&](const GlobalValue &GV) -> bool { in applyScopeRestrictions()
497 auto RecordLinkage = [&](const GlobalValue &GV) { in applyScopeRestrictions()
504 for (auto &GV : MergedModule->globals()) in applyScopeRestrictions() local
506 for (auto &GV : MergedModule->aliases()) in applyScopeRestrictions() local
530 auto externalize = [this](GlobalValue &GV) { in restoreLinkageForExternals()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp328 GenericValue GV; in lle_X_atexit() local
363 GenericValue GV; in lle_X_sprintf() local
446 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf() local
460 GenericValue GV; in lle_X_sscanf() local
474 GenericValue GV; in lle_X_scanf() local
489 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_fprintf() local
502 GenericValue GV; in lle_X_memset() local
514 GenericValue GV; in lle_X_memcpy() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp33 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel()
47 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference()
68 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol()
74 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel()
89 SmallVectorImpl<char> &OutName, const GlobalValue *GV, in getNameWithPrefix()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
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 DCGHLSLRuntime.cpp81 GlobalVariable *GV = Const.first; in layoutBuffer() local
130 auto *GV = cast<GlobalVariable>(CGM.GetAddrOfGlobalVar(D)); in addConstant() local
180 GlobalVariable *GV = replaceBuffer(Buf); in finishCodeGen() local
197 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 DConstantInitBuilder.cpp38 void ConstantInitFuture::installInGlobal(llvm::GlobalVariable *GV) { in installInGlobal()
73 auto GV = new llvm::GlobalVariable(CGM.getModule(), in createGlobal() local
87 void ConstantInitBuilderBase::setGlobalInitializer(llvm::GlobalVariable *GV, in setGlobalInitializer()
95 void ConstantInitBuilderBase::resolveSelfReferences(llvm::GlobalVariable *GV) { in resolveSelfReferences()
/freebsd/contrib/llvm-project/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
413 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()
857 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias() local
872 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
876 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
904 const GlobalValue *GV, in getModRefInfoForArgument()
[all …]
/freebsd/contrib/llvm-project/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()
H A DThreadSafeModule.cpp32 auto Tmp = CloneModule(M, VMap, [&](const GlobalValue *GV) { in cloneToNewContext()
41 for (auto *GV : ClonedDefsInSrc) in cloneToNewContext() local
/freebsd/contrib/llvm-project/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()
399 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference()
434 SmallVectorImpl<char> &OutName, const GlobalValue *GV, in getNameWithPrefix()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp50 Function *globalInitUsesExternalBA(GlobalVariable *GV) { in globalInitUsesExternalBA()
178 static void eliminateAliases(GlobalValue *GV) { in eliminateAliases()
206 void llvm::DeleteGlobalInitializer(GlobalVariable *GV) { in DeleteGlobalInitializer()
248 GlobalVariable *GV = M1->getNamedGlobal(GlobalName); in SplitStaticCtorDtor() local
339 GlobalVariable *GV = cast<GlobalVariable>(NewVMap[&I]); in SplitFunctionsOutOfModule() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp94 const GlobalVariable &GV, in allocateLDSGlobal()
182 AMDGPUMachineFunction::getLDSAbsoluteAddress(const GlobalValue &GV) { in getLDSAbsoluteAddress()
201 const GlobalVariable &GV) { in setDynLDSAlign()

12345678910>>...15