Home
last modified time | relevance | path

Searched defs:GV (Results 1 – 25 of 367) 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.cpp97 GVMemoryBlock(const GlobalVariable *GV) in GVMemoryBlock()
103 static char *Create(const GlobalVariable *GV, const DataLayout& TD) { in Create()
122 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { in getMemoryForGV()
163 GlobalVariable *GV = M->getGlobalVariable(Name, AllowInternal); in FindGlobalVariableNamed() local
187 std::string ExecutionEngine::getMangledName(const GlobalValue *GV) { in getMangledName()
202 void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) { in addGlobalMapping()
240 uint64_t ExecutionEngine::updateGlobalMapping(const GlobalValue *GV, in updateGlobalMapping()
291 void *ExecutionEngine::getPointerToGlobalIfAvailable(const GlobalValue *GV) { in getPointerToGlobalIfAvailable()
317 if (GlobalValue *GV = M->getNamedValue(Name)) in getGlobalValueAtAddress() local
369 GlobalVariable *GV = module.getNamedGlobal(Name); in runStaticConstructorsDestructors() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInternalize.cpp65 bool operator()(const GlobalValue &GV) { in operator ()()
102 bool InternalizePass::shouldPreserveGV(const GlobalValue &GV) { in shouldPreserveGV()
133 GlobalValue &GV, DenseMap<const Comdat *, ComdatInfo> &ComdatMap) { in maybeInternalize()
172 GlobalValue &GV, DenseMap<const Comdat *, ComdatInfo> &ComdatMap) { in checkComdat()
251 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.cpp117 static bool isLeakCheckerRoot(GlobalVariable *GV) { in isLeakCheckerRoot()
198 CleanupPointerRootUsers(GlobalVariable *GV, in CleanupPointerRootUsers()
276 static bool CleanupConstantGlobalUsers(GlobalVariable *GV, in CleanupConstantGlobalUsers()
356 GlobalVariable *GV, const DataLayout &DL) { in collectSRATypes()
444 static void transferSRADebugInfo(GlobalVariable *GV, GlobalVariable *NGV, in transferSRADebugInfo()
524 static GlobalVariable *SRAGlobal(GlobalVariable *GV, const DataLayout &DL) { in SRAGlobal()
713 static bool allUsesOfLoadedValueWillTrapIfNull(const GlobalVariable *GV) { in allUsesOfLoadedValueWillTrapIfNull()
747 static void allUsesOfLoadAndStores(GlobalVariable *GV, in allUsesOfLoadAndStores()
837 GlobalVariable *GV, Constant *LV, const DataLayout &DL, in OptimizeAwayTrappingUsesOfLoads()
923 OptimizeGlobalAddressOfAllocation(GlobalVariable *GV, CallInst *CI, in OptimizeGlobalAddressOfAllocation()
[all …]
H A DGlobalDCE.cpp66 } else if (auto *GV = dyn_cast<GlobalValue>(V)) { in ComputeDependencies() local
80 void GlobalDCEPass::UpdateGVDependencies(GlobalValue &GV) { in UpdateGVDependencies()
100 void GlobalDCEPass::MarkLive(GlobalValue &GV, in MarkLive()
363 auto EraseUnusedGlobalValue = [&](GlobalValue *GV) { in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSplitModule.cpp72 const GlobalValue *GV, const User *U) { in addNonConstUser()
87 const GlobalValue *GV, const Value *V) { in addAllGlobalValueUsers()
103 static const GlobalObject *getGVPartitioningRoot(const GlobalValue *GV) { in getGVPartitioningRoot()
124 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions()
205 static void externalize(GlobalValue *GV) { in externalize()
218 static bool isInPartition(const GlobalValue *GV, unsigned I, unsigned N) { in isInPartition()
299 CloneModule(M, VMap, [&](const GlobalValue *GV) { in SplitModule()
H A DEvaluator.cpp62 if (auto *GV = dyn_cast<GlobalValue>(C)) in isSimpleEnoughValueToCommitHelper() local
221 if (auto *GV = dyn_cast<GlobalVariable>(P)) in ComputeLoadResult() local
226 Constant *Evaluator::ComputeLoadResult(GlobalVariable *GV, Type *Ty, in ComputeLoadResult()
298 auto *GV = dyn_cast<GlobalVariable>(Ptr); in EvaluateBlock() local
380 auto *GV = dyn_cast<GlobalVariable>(Ptr); in EvaluateBlock() local
433 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(Ptr)) { in EvaluateBlock() local
H A DCloneModule.cpp49 return CloneModule(M, VMap, [](const GlobalValue *GV) { return true; }); in CloneModule()
95 GlobalValue *GV; in CloneModule() local
194 GlobalVariable *GV = cast<GlobalVariable>(VMap[&G]); in CloneModule() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp20 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference()
38 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol()
44 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel()
66 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMemoryUtils.cpp29 Align getAlign(const DataLayout &DL, const GlobalVariable *GV) { in getAlign()
34 TargetExtType *isNamedBarrier(const GlobalVariable &GV) { in isNamedBarrier()
56 bool isDynamicLDS(const GlobalVariable &GV) { in isDynamicLDS()
65 bool isLDSVariableToLower(const GlobalVariable &GV) { in isLDSVariableToLower()
101 for (auto &GV : M.globals()) in eliminateConstantExprUsesOfLDSFromAllInstructions() local
112 for (auto &GV : M.globals()) { in getUsesOfLDSByFunction() local
269 for (auto *GV : GVs) { in getTransitiveUsesOfLDS() local
H A DAMDGPUMachineFunction.cpp94 const GlobalVariable &GV, in allocateLDSGlobal()
189 AMDGPUMachineFunction::getLDSAbsoluteAddress(const GlobalValue &GV) { in getLDSAbsoluteAddress()
208 const GlobalVariable &GV) { in setDynLDSAlign()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp426 auto mayPreserveGlobal = [&](GlobalValue &GV) { in preserveDiscardableGVs()
439 for (auto &GV : TheModule) in preserveDiscardableGVs() local
441 for (auto &GV : TheModule.globals()) in preserveDiscardableGVs() local
443 for (auto &GV : TheModule.aliases()) in preserveDiscardableGVs() local
460 auto mustPreserveGV = [&](const GlobalValue &GV) -> bool { in applyScopeRestrictions()
484 auto RecordLinkage = [&](const GlobalValue &GV) { in applyScopeRestrictions()
491 for (auto &GV : MergedModule->globals()) in applyScopeRestrictions() local
493 for (auto &GV : MergedModule->aliases()) in applyScopeRestrictions() local
517 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/NVPTX/
H A DNVPTXCtorDtorLowering.cpp108 auto *GV = new GlobalVariable( in createInitOrFiniCalls() local
121 auto *GV = new GlobalVariable( in createInitOrFiniCalls() local
175 static bool createInitOrFiniGlobals(Module &M, GlobalVariable *GV, in createInitOrFiniGlobals()
200 auto *GV = new GlobalVariable(M, F->getType(), /*IsConstant=*/true, in createInitOrFiniGlobals() local
216 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel() local
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DIRPartitionLayer.cpp20 auto DeleteExtractedDefs = [](GlobalValue &GV) { in extractSubModule()
164 for (const auto *GV : Partition) in expandPartition() local
179 for (const auto *GV : GVsToAdd) in expandPartition() local
197 for (auto &GV : getStaticInitGVs(M)) in emitPartition() local
268 for (const auto *GV : HashGVs) { in emitPartition() local
282 auto ShouldExtract = [&](const GlobalValue &GV) -> bool { in emitPartition()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DSanitizerMetadata.cpp35 void SanitizerMetadata::reportGlobal(llvm::GlobalVariable *GV, in reportGlobal()
97 void SanitizerMetadata::reportGlobal(llvm::GlobalVariable *GV, const VarDecl &D, in reportGlobal()
125 void SanitizerMetadata::disableSanitizerForGlobal(llvm::GlobalVariable *GV) { in disableSanitizerForGlobal()
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()
872 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias() local
887 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
891 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local
919 const GlobalValue *GV, in getModRefInfoForArgument()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWindowsSecureHotPatching.cpp294 static bool globalVariableNeedsRedirect(GlobalVariable *GV) { in globalVariableNeedsRedirect()
348 GlobalVariable *GV) { in getOrCreateRefVariable()
400 GlobalVariable *GV = cast<GlobalVariable>(C); in rewriteGlobalVariablesInConstant() local
453 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(V)) { in searchConstantExprForGlobalVariables() local
519 GlobalVariable *GV = cast<GlobalVariable>(V); in runOnFunction() local
587 GlobalVariable *GV = cast<GlobalVariable>(OperandValue); in runOnFunction() local
H A DStaticDataSplitter.cpp132 const GlobalVariable *GV = getLocalLinkageGlobalVariable(Op.getGlobal()); in getConstant() local
208 StaticDataSplitter::getLocalLinkageGlobalVariable(const GlobalValue *GV) { in getLocalLinkageGlobalVariable()
215 bool StaticDataSplitter::inStaticDataSection(const GlobalVariable &GV, in inStaticDataSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp60 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel()
74 const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, in getTTypeGlobalReference()
95 const GlobalValue *GV, const TargetMachine &TM, in getCFIPersonalitySymbol()
101 const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, in getIndirectSymViaGOTPCRel()
116 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/RISCV/
H A DRISCVConstantPoolValue.cpp22 RISCVConstantPoolValue::RISCVConstantPoolValue(Type *Ty, const GlobalValue *GV) in RISCVConstantPoolValue()
29 RISCVConstantPoolValue *RISCVConstantPoolValue::Create(const GlobalValue *GV) { in Create()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMangler.cpp121 void Mangler::getNameWithPrefix(raw_ostream &OS, const GlobalValue *GV, in getNameWithPrefix()
189 const GlobalValue *GV, in getNameWithPrefix()
214 void llvm::emitLinkerFlagsForGlobalCOFF(raw_ostream &OS, const GlobalValue *GV, in emitLinkerFlagsForGlobalCOFF()
280 void llvm::emitLinkerFlagsForUsedCOFF(raw_ostream &OS, const GlobalValue *GV, in emitLinkerFlagsForUsedCOFF()

12345678910>>...15