Home
last modified time | relevance | path

Searched refs:SDDbgOperand (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h31 class SDDbgOperand {
71 static SDDbgOperand fromNode(SDNode *Node, unsigned ResNo) { in fromNode()
72 return SDDbgOperand(Node, ResNo); in fromNode()
74 static SDDbgOperand fromFrameIdx(unsigned FrameIdx) { in fromFrameIdx()
75 return SDDbgOperand(FrameIdx, FRAMEIX); in fromFrameIdx()
77 static SDDbgOperand fromVReg(unsigned VReg) { in fromVReg()
78 return SDDbgOperand(VReg, VREG); in fromVReg()
80 static SDDbgOperand fromConst(const Value *Const) { in fromConst()
81 return SDDbgOperand(Const); in fromConst()
84 bool operator!=(const SDDbgOperand &Other) const { return !(*this == Other); }
[all …]
H A DInstrEmitter.cpp735 MachineOperand GetMOForConstDbgOp(const SDDbgOperand &Op) { in GetMOForConstDbgOp()
757 ArrayRef<SDDbgOperand> LocationOps, in AddDbgValueLocationOps()
759 for (const SDDbgOperand &Op : LocationOps) { in AddDbgValueLocationOps()
761 case SDDbgOperand::FRAMEIX: in AddDbgValueLocationOps()
764 case SDDbgOperand::VREG: in AddDbgValueLocationOps()
767 case SDDbgOperand::SDNODE: { in AddDbgValueLocationOps()
780 case SDDbgOperand::CONST: in AddDbgValueLocationOps()
797 auto IsInvalidOp = [](SDDbgOperand DbgOp) { in EmitDbgInstrRef()
798 return DbgOp.getKind() == SDDbgOperand::FRAMEIX; in EmitDbgInstrRef()
802 auto IsNonInstrRefOp = [](SDDbgOperand DbgOp) { in EmitDbgInstrRef()
[all …]
H A DInstrEmitter.h28 class SDDbgOperand; variable
112 ArrayRef<SDDbgOperand> Locations,
H A DSelectionDAGDumper.cpp951 for (const SDDbgOperand &Op : getLocationOps()) { in print()
955 case SDDbgOperand::SDNODE: in print()
961 case SDDbgOperand::CONST: in print()
964 case SDDbgOperand::FRAMEIX: in print()
967 case SDDbgOperand::VREG: in print()
H A DScheduleDAGSDNodes.cpp747 for (const SDDbgOperand &L : DV->getLocationOps()) { in ProcessSDDbgValues()
748 if (L.getKind() == SDDbgOperand::SDNODE && in ProcessSDDbgValues()
H A DSelectionDAG.cpp11011 SDDbgValue(DbgInfo->getAlloc(), Var, Expr, SDDbgOperand::fromNode(N, R), in getDbgValue()
11024 SDDbgValue(DbgInfo->getAlloc(), Var, Expr, SDDbgOperand::fromConst(C), {}, in getConstantDbgValue()
11050 SDDbgValue(DbgInfo->getAlloc(), Var, Expr, SDDbgOperand::fromFrameIdx(FI), in getFrameIndexDbgValue()
11062 SDDbgValue(DbgInfo->getAlloc(), Var, Expr, SDDbgOperand::fromVReg(VReg), in getVRegDbgValue()
11068 ArrayRef<SDDbgOperand> Locs, in getDbgValueList()
11095 SDDbgOperand FromLocOp = in transferDbgValues()
11096 SDDbgOperand::fromNode(From.getNode(), From.getResNo()); in transferDbgValues()
11097 SDDbgOperand ToLocOp = SDDbgOperand::fromNode(To.getNode(), To.getResNo()); in transferDbgValues()
11112 [&Changed, FromLocOp](const SDDbgOperand &Op) { in transferDbgValues()
11197 if (NewLocOps[i].getKind() != SDDbgOperand::SDNODE || in salvageDebugInfo()
[all …]
H A DSelectionDAGBuilder.cpp1396 SmallVector<SDDbgOperand, 2> Locs; in handleDanglingVariadicDebugInfo()
1399 Locs.push_back(SDDbgOperand::fromConst(Undef)); in handleDanglingVariadicDebugInfo()
1595 SmallVector<SDDbgOperand> LocationOps; in handleDebugValue()
1601 LocationOps.emplace_back(SDDbgOperand::fromConst(V)); in handleDebugValue()
1608 LocationOps.emplace_back(SDDbgOperand::fromConst(CE->getOperand(0))); in handleDebugValue()
1617 LocationOps.emplace_back(SDDbgOperand::fromFrameIdx(SI->second)); in handleDebugValue()
1645 LocationOps.emplace_back(SDDbgOperand::fromFrameIdx(FISDN->getIndex())); in handleDebugValue()
1649 SDDbgOperand::fromNode(N.getNode(), N.getResNo())); in handleDebugValue()
1704 LocationOps.emplace_back(SDDbgOperand::fromVReg(Reg)); in handleDebugValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h83 class SDDbgOperand; variable
1746 ArrayRef<SDDbgOperand> Locs,