Home
last modified time | relevance | path

Searched refs:DIVariable (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h23 class DIVariable; variable
146 DIVariable *Var;
156 SDDbgValue(BumpPtrAllocator &Alloc, DIVariable *Var, DIExpression *Expr, in SDDbgValue()
180 DIVariable *getVariable() const { return Var; } in getVariable()
H A DInstrEmitter.cpp921 DIVariable *Var = SD->getVariable(); in EmitDbgNoLocation()
H A DSelectionDAG.cpp11005 SDDbgValue *SelectionDAG::getDbgValue(DIVariable *Var, DIExpression *Expr, in getDbgValue()
11017 SDDbgValue *SelectionDAG::getConstantDbgValue(DIVariable *Var, in getConstantDbgValue()
11030 SDDbgValue *SelectionDAG::getFrameIndexDbgValue(DIVariable *Var, in getFrameIndexDbgValue()
11041 SDDbgValue *SelectionDAG::getFrameIndexDbgValue(DIVariable *Var, in getFrameIndexDbgValue()
11056 SDDbgValue *SelectionDAG::getVRegDbgValue(DIVariable *Var, DIExpression *Expr, in getVRegDbgValue()
11067 SDDbgValue *SelectionDAG::getDbgValueList(DIVariable *Var, DIExpression *Expr, in getDbgValueList()
11122 DIVariable *Var = Dbg->getVariable(); in transferDbgValues()
H A DSelectionDAGBuilder.cpp1428 DIVariable *DanglingVariable = DDI.getVariable(); in dropDanglingDebugInfo()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp486 assert((isa<ConstantAsMetadata>(CB) || isa<DIVariable>(CB) || in getCount()
493 if (auto *MD = dyn_cast<DIVariable>(CB)) in getCount()
507 assert((isa<ConstantAsMetadata>(LB) || isa<DIVariable>(LB) || in getLowerBound()
514 if (auto *MD = dyn_cast<DIVariable>(LB)) in getLowerBound()
528 assert((isa<ConstantAsMetadata>(UB) || isa<DIVariable>(UB) || in getUpperBound()
535 if (auto *MD = dyn_cast<DIVariable>(UB)) in getUpperBound()
549 assert((isa<ConstantAsMetadata>(ST) || isa<DIVariable>(ST) || in getStride()
556 if (auto *MD = dyn_cast<DIVariable>(ST)) in getStride()
584 assert((isa<DIVariable>(CB) || isa<DIExpression>(CB)) && in getCount()
587 if (auto *MD = dyn_cast<DIVariable>(CB)) in getCount()
[all …]
H A DDIBuilder.cpp282 DIVariable *StringLength, in createStringType()
596 PointerUnion<DIExpression *, DIVariable *> DL, in createArrayType()
597 PointerUnion<DIExpression *, DIVariable *> AS, in createArrayType()
598 PointerUnion<DIExpression *, DIVariable *> AL, in createArrayType()
599 PointerUnion<DIExpression *, DIVariable *> RK) { in createArrayType()
605 : (Metadata *)cast<DIVariable *>(DL), in createArrayType()
607 : (Metadata *)cast<DIVariable *>(AS), in createArrayType()
609 : (Metadata *)cast<DIVariable *>(AL), in createArrayType()
611 : (Metadata *)cast<DIVariable *>(RK)); in createArrayType()
737 : (Metadata *)cast<DIVariable *>(Bound); in getOrCreateGenericSubrange()
H A DVerifier.cpp536 void visitDIVariable(const DIVariable &N);
633 void verifyFragmentExpression(const DIVariable &V,
1153 isa<DIVariable>(CBound) || isa<DIExpression>(CBound), in visitDISubrange()
1161 isa<DIVariable>(LBound) || isa<DIExpression>(LBound), in visitDISubrange()
1166 isa<DIVariable>(UBound) || isa<DIExpression>(UBound), in visitDISubrange()
1171 isa<DIVariable>(Stride) || isa<DIExpression>(Stride), in visitDISubrange()
1180 CheckDI(!CBound || isa<DIVariable>(CBound) || isa<DIExpression>(CBound), in visitDIGenericSubrange()
1184 CheckDI(isa<DIVariable>(LBound) || isa<DIExpression>(LBound), in visitDIGenericSubrange()
1188 CheckDI(!UBound || isa<DIVariable>(UBound) || isa<DIExpression>(UBound), in visitDIGenericSubrange()
1193 CheckDI(isa<DIVariable>(Stride) || isa<DIExpression>(Stride), in visitDIGenericSubrange()
[all …]
H A DDebugInfo.cpp1626 return wrap(unwrapDI<DIVariable>(Var)->getFile()); in LLVMDIVariableGetFile()
1630 return wrap(unwrapDI<DIVariable>(Var)->getScope()); in LLVMDIVariableGetScope()
1634 return unwrapDI<DIVariable>(Var)->getLine(); in LLVMDIVariableGetLine()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h243 DIStringType *createStringType(StringRef Name, DIVariable *StringLength,
594 PointerUnion<DIExpression *, DIVariable *> DataLocation = nullptr,
595 PointerUnion<DIExpression *, DIVariable *> Associated = nullptr,
596 PointerUnion<DIExpression *, DIVariable *> Allocated = nullptr,
597 PointerUnion<DIExpression *, DIVariable *> Rank = nullptr);
H A DDebugInfoMetadata.h396 typedef PointerUnion<ConstantInt *, DIVariable *, DIExpression *> BoundType;
443 using BoundType = PointerUnion<DIVariable *, DIExpression *>;
948 DIVariable *getStringLength() const { in getStringLength()
949 return cast_or_null<DIVariable>(getRawStringLength()); in getStringLength()
1308 DIVariable *getDataLocation() const { in getDataLocation()
1309 return dyn_cast_or_null<DIVariable>(getRawDataLocation()); in getDataLocation()
1315 DIVariable *getAssociated() const { in getAssociated()
1316 return dyn_cast_or_null<DIVariable>(getRawAssociated()); in getAssociated()
1322 DIVariable *getAllocated() const { in getAllocated()
1323 return dyn_cast_or_null<DIVariable>(getRawAllocated()); in getAllocated()
[all …]
H A DMetadata.def108 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIVariable)
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp989 static SmallVector<const DIVariable *, 2> dependencies(DbgVariable *Var) { in dependencies()
990 SmallVector<const DIVariable *, 2> Result; in dependencies()
1003 if (auto *Dependency = dyn_cast_if_present<DIVariable *>(Count)) in dependencies()
1006 if (auto *Dependency = dyn_cast_if_present<DIVariable *>(LB)) in dependencies()
1009 if (auto *Dependency = dyn_cast_if_present<DIVariable *>(UB)) in dependencies()
1012 if (auto *Dependency = dyn_cast_if_present<DIVariable *>(ST)) in dependencies()
1016 if (auto *Dependency = dyn_cast_if_present<DIVariable *>(Count)) in dependencies()
1019 if (auto *Dependency = dyn_cast_if_present<DIVariable *>(LB)) in dependencies()
1022 if (auto *Dependency = dyn_cast_if_present<DIVariable *>(UB)) in dependencies()
1025 if (auto *Dependency = dyn_cast_if_present<DIVariable *>(ST)) in dependencies()
H A DDwarfUnit.cpp739 if (DIVariable *Var = STy->getStringLength()) { in constructTypeDIE()
1399 if (auto *BV = dyn_cast_if_present<DIVariable *>(Bound)) { in constructSubrangeDIE()
1438 if (auto *BV = dyn_cast_if_present<DIVariable *>(Bound)) { in constructGenericSubrangeDIE()
1518 if (DIVariable *Var = CTy->getDataLocation()) { in constructArrayTypeDIE()
1529 if (DIVariable *Var = CTy->getAssociated()) { in constructArrayTypeDIE()
1540 if (DIVariable *Var = CTy->getAllocated()) { in constructArrayTypeDIE()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h57 class DIVariable; variable
1718 SDDbgValue *getDbgValue(DIVariable *Var, DIExpression *Expr, SDNode *N,
1723 SDDbgValue *getConstantDbgValue(DIVariable *Var, DIExpression *Expr,
1728 SDDbgValue *getFrameIndexDbgValue(DIVariable *Var, DIExpression *Expr,
1733 SDDbgValue *getFrameIndexDbgValue(DIVariable *Var, DIExpression *Expr,
1740 SDDbgValue *getVRegDbgValue(DIVariable *Var, DIExpression *Expr,
1745 SDDbgValue *getDbgValueList(DIVariable *Var, DIExpression *Expr,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp445 DIVariable *Var = GVE->getVariable(); in transferSRADebugInfo()