| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SDNodeDbgValue.h | 23 class DIVariable; variable 146 DIVariable *Var; 156 SDDbgValue(BumpPtrAllocator &Alloc, DIVariable *Var, DIExpression *Expr, in SDDbgValue() 180 DIVariable *getVariable() const { return Var; } in getVariable()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DebugInfoMetadata.cpp | 390 if (auto *MD = dyn_cast<DIVariable>(CB)) in getCount() 411 if (auto *MD = dyn_cast<DIVariable>(LB)) in getLowerBound() 432 if (auto *MD = dyn_cast<DIVariable>(UB)) in getUpperBound() 453 if (auto *MD = dyn_cast<DIVariable>(ST)) in getStride() 481 assert((isa<DIVariable>(CB) || isa<DIExpression>(CB)) && in getCount() 484 if (auto *MD = dyn_cast<DIVariable>(CB)) in getCount() 501 if (auto *MD = dyn_cast<DIVariable>(LB)) in getLowerBound() 518 if (auto *MD = dyn_cast<DIVariable>(UB)) in getUpperBound() 535 if (auto *MD = dyn_cast<DIVariable>(ST)) in getStride() 1171 DIVariable::DIVariable(LLVMContext &C, unsigned ID, StorageType Storage, in DIVariable() function in DIVariable [all …]
|
| H A D | DIBuilder.cpp | 296 DIVariable *StringLength, in createStringType() 579 PointerUnion<DIExpression *, DIVariable *> DL, in createArrayType() 580 PointerUnion<DIExpression *, DIVariable *> AS, in createArrayType() 581 PointerUnion<DIExpression *, DIVariable *> AL, in createArrayType() 582 PointerUnion<DIExpression *, DIVariable *> RK) { in createArrayType() 588 : (Metadata *)DL.get<DIVariable *>(), in createArrayType() 590 : (Metadata *)AS.get<DIVariable *>(), in createArrayType() 592 : (Metadata *)AL.get<DIVariable *>(), in createArrayType() 594 : (Metadata *)RK.get<DIVariable *>()); in createArrayType() 720 : (Metadata *)Bound.get<DIVariable *>(); in getOrCreateGenericSubrange()
|
| H A D | Verifier.cpp | 484 void visitDIVariable(const DIVariable &N); 576 void verifyFragmentExpression(const DIVariable &V, 1013 isa<DIVariable>(CBound) || isa<DIExpression>(CBound), in visitDISubrange() 1021 isa<DIVariable>(LBound) || isa<DIExpression>(LBound), in visitDISubrange() 1026 isa<DIVariable>(UBound) || isa<DIExpression>(UBound), in visitDISubrange() 1031 isa<DIVariable>(Stride) || isa<DIExpression>(Stride), in visitDISubrange() 1042 CheckDI(!CBound || isa<DIVariable>(CBound) || isa<DIExpression>(CBound), in visitDIGenericSubrange() 1046 CheckDI(isa<DIVariable>(LBound) || isa<DIExpression>(LBound), in visitDIGenericSubrange() 1055 CheckDI(isa<DIVariable>(Stride) || isa<DIExpression>(Stride), in visitDIGenericSubrange() 1446 void Verifier::visitDIVariable(const DIVariable &N) { in visitDIVariable() [all …]
|
| H A D | DebugInfo.cpp | 1471 return wrap(unwrapDI<DIVariable>(Var)->getFile()); in LLVMDIVariableGetFile() 1475 return wrap(unwrapDI<DIVariable>(Var)->getScope()); in LLVMDIVariableGetScope() 1479 return unwrapDI<DIVariable>(Var)->getLine(); in LLVMDIVariableGetLine()
|
| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | invalid-disubrange-lowerBound.ll | 4 ; CHECK: LowerBound must be signed constant or DIVariable or DIExpression
|
| H A D | invalid-disubrange-upperBound.ll | 4 ; CHECK: UpperBound must be signed constant or DIVariable or DIExpression
|
| H A D | invalid-disubrange-stride.ll | 4 ; CHECK: Stride must be signed constant or DIVariable or DIExpression
|
| H A D | invalid-disubrange-count-node.ll | 36 ; CHECK: Count must be signed constant or DIVariable or DIExpression
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 229 DIStringType *createStringType(StringRef Name, DIVariable *StringLength, 552 PointerUnion<DIExpression *, DIVariable *> DataLocation = nullptr, 553 PointerUnion<DIExpression *, DIVariable *> Associated = nullptr, 554 PointerUnion<DIExpression *, DIVariable *> Allocated = nullptr, 555 PointerUnion<DIExpression *, DIVariable *> Rank = nullptr);
|
| H A D | DebugInfoMetadata.h | 897 DIVariable *getStringLength() const { in getStringLength() 898 return cast_or_null<DIVariable>(getRawStringLength()); in getStringLength() 1198 DIVariable *getDataLocation() const { in getDataLocation() 1205 DIVariable *getAssociated() const { in getAssociated() 1212 DIVariable *getAllocated() const { in getAllocated() 1213 return dyn_cast_or_null<DIVariable>(getRawAllocated()); in getAllocated() 2492 class DIVariable : public DINode { 2499 ~DIVariable() = default; 2914 class DIGlobalVariable : public DIVariable { 3058 class DILocalVariable : public DIVariable { [all …]
|
| H A D | Metadata.def | 107 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIVariable)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Generic/ |
| H A D | dbg_value.ll | 13 ; !0 should conform to the format of DIVariable.
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | DebugInfoTest.cpp | 216 DIVariable *DataLocation = in TEST() 233 DIVariable::deleteTemporary(DataLocation); in TEST() 259 DIVariable *StringLen = DIB.createAutoVariable(Scope, StrName, F, 0, nullptr, in TEST()
|
| H A D | MetadataTest.cpp | 1240 ASSERT_TRUE(Count.is<DIVariable*>()); in TEST_F() 1323 ASSERT_TRUE(Lower.is<DIVariable *>()); in TEST_F() 1324 EXPECT_EQ(LV, Lower.get<DIVariable *>()); in TEST_F() 1328 ASSERT_TRUE(Upper.is<DIVariable *>()); in TEST_F() 1329 EXPECT_EQ(UV, Upper.get<DIVariable *>()); in TEST_F() 1333 ASSERT_TRUE(Stride.is<DIVariable *>()); in TEST_F() 1455 ASSERT_TRUE(Lower.is<DIVariable *>()); in TEST_F() 1456 EXPECT_EQ(LV, Lower.get<DIVariable *>()); in TEST_F() 1460 ASSERT_TRUE(Upper.is<DIVariable *>()); in TEST_F() 1465 ASSERT_TRUE(Stride.is<DIVariable *>()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfCompileUnit.cpp | 916 static SmallVector<const DIVariable *, 2> dependencies(DbgVariable *Var) { in dependencies() 917 SmallVector<const DIVariable *, 2> Result; in dependencies() 930 if (auto *Dependency = Count.dyn_cast<DIVariable *>()) in dependencies() 933 if (auto *Dependency = LB.dyn_cast<DIVariable *>()) in dependencies() 936 if (auto *Dependency = UB.dyn_cast<DIVariable *>()) in dependencies() 939 if (auto *Dependency = ST.dyn_cast<DIVariable *>()) in dependencies() 943 if (auto *Dependency = Count.dyn_cast<DIVariable *>()) in dependencies() 946 if (auto *Dependency = LB.dyn_cast<DIVariable *>()) in dependencies() 949 if (auto *Dependency = UB.dyn_cast<DIVariable *>()) in dependencies() 952 if (auto *Dependency = ST.dyn_cast<DIVariable *>()) in dependencies()
|
| H A D | DwarfUnit.cpp | 723 if (DIVariable *Var = STy->getStringLength()) { in constructTypeDIE() 1367 if (auto *BV = Bound.dyn_cast<DIVariable *>()) { in constructSubrangeDIE() 1406 if (auto *BV = Bound.dyn_cast<DIVariable *>()) { in constructGenericSubrangeDIE() 1485 if (DIVariable *Var = CTy->getDataLocation()) { in constructArrayTypeDIE() 1496 if (DIVariable *Var = CTy->getAssociated()) { in constructArrayTypeDIE() 1507 if (DIVariable *Var = CTy->getAllocated()) { in constructArrayTypeDIE()
|
| /llvm-project-15.0.7/llvm/test/Bitcode/ |
| H A D | disubrange.ll | 2 ; since it can take the value of either a signed integer or a DIVariable.
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/ |
| H A D | dwarfdump-dataLocationVar.ll | 2 ;; accepts DIVariable
|
| H A D | fortranSubrangeVar.ll | 1 ;; This test checks DISubrange bounds for DIVariable
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/X86/ |
| H A D | dwarfdump-associatedVar.ll | 2 ;; accepts DIVariable
|
| H A D | dwarfdump-allocatedVar.ll | 2 ;; accepts DIVariable
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 55 class DIVariable; variable 1656 SDDbgValue *getDbgValue(DIVariable *Var, DIExpression *Expr, SDNode *N, 1661 SDDbgValue *getConstantDbgValue(DIVariable *Var, DIExpression *Expr, 1666 SDDbgValue *getFrameIndexDbgValue(DIVariable *Var, DIExpression *Expr, 1671 SDDbgValue *getFrameIndexDbgValue(DIVariable *Var, DIExpression *Expr, 1678 SDDbgValue *getVRegDbgValue(DIVariable *Var, DIExpression *Expr, 1683 SDDbgValue *getDbgValueList(DIVariable *Var, DIExpression *Expr,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LoopUtils.cpp | 594 llvm::SmallDenseSet<std::pair<DIVariable *, DIExpression *>, 4> DeadDebugSet; in deleteDeadLoop()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | pr15031.ll | 279 %"class.llvm::DIVariable" = type { %"class.llvm::DIDescriptor" }
|