Home
last modified time | relevance | path

Searched refs:GVE (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/llvm/test/Transforms/GlobalOpt/
H A Dmalloc-promote-3.ll16 ; CHECK-NEXT: [[GVE:%.*]] = getelementptr i32, i32* [[GV]], i32 40
17 ; CHECK-NEXT: store i32 20, i32* [[GVE]], align 4
H A Dmalloc-promote-2-no-null-opt.ll16 ; CHECK-NEXT: [[GVE:%.*]] = getelementptr i32, i32* [[GV]], i32 40
17 ; CHECK-NEXT: store i32 20, i32* [[GVE]], align 4
/llvm-project-15.0.7/llvm/test/DebugInfo/Generic/
H A Dglobal-sra-single-member.ll16 ; CHECK: @a.0 = internal unnamed_addr global i32 0, align 4, !dbg ![[GVE:.*]]
34 ; CHECK: ![[GVE]] = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
H A Dglobal-sra-struct-fwd-decl.ll26 ; CHECK: @d.0 = internal unnamed_addr global i64 0, align 8, !dbg ![[GVE:.*]]
48 ; CHECK: ![[GVE]] = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
H A Dglobal-sra-struct-zero-length.ll29 ; CHECK: @d.0 = internal unnamed_addr global i64 0, align 8, !dbg ![[GVE:.*]]
51 ; CHECK: ![[GVE]] = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp320 for (auto *GVE : GVEs) in stripDeadDebugInfoImpl() local
321 LiveGVs.insert(GVE); in stripDeadDebugInfoImpl()
H A DGlobalOpt.cpp404 for (auto *GVE : GVs) { in transferSRADebugInfo() local
405 DIVariable *Var = GVE->getVariable(); in transferSRADebugInfo()
406 DIExpression *Expr = GVE->getExpression(); in transferSRADebugInfo()
444 auto *NGVE = DIGlobalVariableExpression::get(GVE->getContext(), Var, Expr); in transferSRADebugInfo()
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DDebugInfo.h1148 LLVMMetadataRef LLVMDIGlobalVariableExpressionGetVariable(LLVMMetadataRef GVE);
1157 LLVMMetadataRef GVE);
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp3864 return GVE->getVariable(); in getDeclarationOrDefinition()
3875 return cast<llvm::DINode>(GVE); in getDeclarationOrDefinition()
5004 llvm::DIGlobalVariableExpression *GVE = nullptr; in CollectAnonRecordDecls() local
5018 GVE = DBuilder.createGlobalVariableExpression( in CollectAnonRecordDecls()
5021 Var->addDebugInfo(GVE); in CollectAnonRecordDecls()
5023 return GVE; in CollectAnonRecordDecls()
5315 Var->addDebugInfo(GVE); in EmitGlobalVariable()
5317 DeclCache[D->getCanonicalDecl()].reset(GVE); in EmitGlobalVariable()
5417 llvm::DIGlobalVariableExpression *GVE = in EmitExternalVariable() local
5421 Var->addDebugInfo(GVE); in EmitExternalVariable()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp1161 for (auto *GVE : GVs) in beginModule() local
1162 GVMap[GVE->getVariable()].push_back({&Global, GVE->getExpression()}); in beginModule()
1207 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule() local
1211 auto &GVMapEntry = GVMap[GVE->getVariable()]; in beginModule()
1212 auto *Expr = GVE->getExpression(); in beginModule()
1218 for (auto *GVE : CUNode->getGlobalVariables()) { in beginModule() local
1219 DIGlobalVariable *GV = GVE->getVariable(); in beginModule()
H A DCodeViewDebug.cpp3164 for (const auto *GVE : GVEs) in collectGlobalVariableInfo() local
3165 GlobalMap[GVE] = &GV; in collectGlobalVariableInfo()
3171 for (const auto *GVE : CU->getGlobalVariables()) { in collectGlobalVariableInfo() local
3172 const DIGlobalVariable *DIGV = GVE->getVariable(); in collectGlobalVariableInfo()
3173 const DIExpression *DIE = GVE->getExpression(); in collectGlobalVariableInfo()
3190 if (GlobalMap.count(GVE) == 0 && DIE->isConstant()) { in collectGlobalVariableInfo()
3195 const auto *GV = GlobalMap.lookup(GVE); in collectGlobalVariableInfo()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDebugInfo.cpp1461 LLVMMetadataRef LLVMDIGlobalVariableExpressionGetVariable(LLVMMetadataRef GVE) { in LLVMDIGlobalVariableExpressionGetVariable() argument
1462 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getVariable()); in LLVMDIGlobalVariableExpressionGetVariable()
1466 LLVMMetadataRef GVE) { in LLVMDIGlobalVariableExpressionGetExpression() argument
1467 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getExpression()); in LLVMDIGlobalVariableExpressionGetExpression()
H A DMetadata.cpp1580 auto *GVE = cast<DIGlobalVariableExpression>(Attachment); in copyMetadata() local
1581 GV = GVE->getVariable(); in copyMetadata()
1582 E = GVE->getExpression(); in copyMetadata()
H A DVerifier.cpp775 if (auto *GVE = dyn_cast<DIGlobalVariableExpression>(MD)) in visitGlobalVariable() local
776 visitDIGlobalVariableExpression(*GVE); in visitGlobalVariable()
1496 const DIGlobalVariableExpression &GVE) { in visitDIGlobalVariableExpression() argument
1497 CheckDI(GVE.getVariable(), "missing variable"); in visitDIGlobalVariableExpression()
1498 if (auto *Var = GVE.getVariable()) in visitDIGlobalVariableExpression()
1500 if (auto *Expr = GVE.getExpression()) { in visitDIGlobalVariableExpression()
1503 verifyFragmentExpression(*GVE.getVariable(), *Fragment, &GVE); in visitDIGlobalVariableExpression()
/llvm-project-15.0.7/llvm/bindings/ocaml/debuginfo/
H A Ddebuginfo_ocaml.c899 value llvm_di_global_variable_expression_get_variable(LLVMMetadataRef GVE) { in llvm_di_global_variable_expression_get_variable() argument
900 return (ptr_to_option(LLVMDIGlobalVariableExpressionGetVariable(GVE))); in llvm_di_global_variable_expression_get_variable()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1408 for (auto *GVE : GVs) { in processGlobals() local
1409 DIGlobal = GVE->getVariable(); in processGlobals()