Home
last modified time | relevance | path

Searched refs:ResNo (Results 1 – 19 of 19) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
HDCodeGenDAGPatterns.h478 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
700 ValueTypeByHwMode getType(unsigned ResNo) const { in getType() argument
701 return Types[ResNo].getValueTypeByHwMode(); in getType()
704 const TypeSetByHwMode &getExtType(unsigned ResNo) const { in getExtType() argument
705 return Types[ResNo]; in getExtType()
707 TypeSetByHwMode &getExtType(unsigned ResNo) { return Types[ResNo]; } in getExtType() argument
708 void setType(unsigned ResNo, const TypeSetByHwMode &T) { Types[ResNo] = T; } in setType() argument
709 MVT::SimpleValueType getSimpleType(unsigned ResNo) const { in getSimpleType() argument
710 return Types[ResNo].getMachineValueType().SimpleTy; in getSimpleType()
713 bool hasConcreteType(unsigned ResNo) const { in hasConcreteType() argument
[all …]
HDCodeGenDAGPatterns.cpp1510 unsigned &ResNo) { in getOperandNum() argument
1513 ResNo = OpNo; in getOperandNum()
1540 unsigned ResNo = 0; // The result number being referenced. in ApplyTypeConstraint() local
1541 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
1547 return NodeToApply->UpdateNodeType(ResNo, VVT, TP); in ApplyTypeConstraint()
1550 return NodeToApply->UpdateNodeType(ResNo, MVT::iPTR, TP); in ApplyTypeConstraint()
1553 return TI.EnforceInteger(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1556 return TI.EnforceFloatingPoint(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1559 return TI.EnforceVector(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1564 return NodeToApply->UpdateNodeType(ResNo, OtherNode->getExtType(OResNo),TP)| in ApplyTypeConstraint()
[all …]
HDDAGISelMatcherGen.cpp1053 for (unsigned ResNo = 0; ResNo < Pattern.getDstPattern()->getNumResults(); in EmitResultCode() local
1054 ++ResNo) { in EmitResultCode()
1055 Results[ResNo] = Ops[Pattern.getDstPattern()->getResultIndex(ResNo)]; in EmitResultCode()
HDDAGISelMatcher.h493 unsigned ResNo; variable
496 : Matcher(CheckType), Type(type), ResNo(resno) {} in CheckTypeMatcher()
499 unsigned getResNo() const { return ResNo; } in getResNo()
HDDAGISelMatcher.cpp183 << ResNo << '\n'; in printImpl()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
HDLegalizeTypes.h215 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
281 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
282 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
287 SDValue PromoteIntRes_AtomicCmpSwap(AtomicSDNode *N, unsigned ResNo);
312 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo);
325 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo);
326 SDValue PromoteIntRes_ADDSUBCARRY(SDNode *N, unsigned ResNo);
329 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo);
391 void ExpandIntegerResult(SDNode *N, unsigned ResNo);
483 void SoftenFloatResult(SDNode *N, unsigned ResNo);
[all …]
HDSDNodeDbgValue.h42 unsigned ResNo; ///< Valid for expressions. member
64 u.s.ResNo = R; in SDDbgValue()
102 unsigned getResNo() const { assert (kind==SDNODE); return u.s.ResNo; } in getResNo()
HDLegalizeFloatTypes.cpp48 void DAGTypeLegalizer::SoftenFloatResult(SDNode *N, unsigned ResNo) { in SoftenFloatResult() argument
49 LLVM_DEBUG(dbgs() << "Soften float result " << ResNo << ": "; N->dump(&DAG); in SoftenFloatResult()
56 dbgs() << "SoftenFloatResult #" << ResNo << ": "; in SoftenFloatResult()
61 case ISD::MERGE_VALUES:R = SoftenFloatRes_MERGE_VALUES(N, ResNo); break; in SoftenFloatResult()
66 R = SoftenFloatRes_EXTRACT_VECTOR_ELT(N, ResNo); break; in SoftenFloatResult()
139 SetSoftenedFloat(SDValue(N, ResNo), R); in SoftenFloatResult()
188 unsigned ResNo) { in SoftenFloatRes_MERGE_VALUES() argument
189 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SoftenFloatRes_MERGE_VALUES()
226 SDValue DAGTypeLegalizer::SoftenFloatRes_EXTRACT_VECTOR_ELT(SDNode *N, unsigned ResNo) { in SoftenFloatRes_EXTRACT_VECTOR_ELT() argument
1100 void DAGTypeLegalizer::ExpandFloatResult(SDNode *N, unsigned ResNo) { in ExpandFloatResult() argument
[all …]
HDLegalizeVectorTypes.cpp35 void DAGTypeLegalizer::ScalarizeVectorResult(SDNode *N, unsigned ResNo) { in ScalarizeVectorResult() argument
36 LLVM_DEBUG(dbgs() << "Scalarize node result " << ResNo << ": "; N->dump(&DAG); in ScalarizeVectorResult()
43 dbgs() << "ScalarizeVectorResult #" << ResNo << ": "; in ScalarizeVectorResult()
50 case ISD::MERGE_VALUES: R = ScalarizeVecRes_MERGE_VALUES(N, ResNo);break; in ScalarizeVectorResult()
162 R = ScalarizeVecRes_OverflowOp(N, ResNo); in ScalarizeVectorResult()
176 SetScalarizedVector(SDValue(N, ResNo), R); in ScalarizeVectorResult()
233 unsigned ResNo) { in ScalarizeVecRes_OverflowOp() argument
256 unsigned OtherNo = 1 - ResNo; in ScalarizeVecRes_OverflowOp()
266 return SDValue(ScalarNode, ResNo); in ScalarizeVecRes_OverflowOp()
270 unsigned ResNo) { in ScalarizeVecRes_MERGE_VALUES() argument
[all …]
HDLegalizeTypesGeneric.cpp34 void DAGTypeLegalizer::ExpandRes_MERGE_VALUES(SDNode *N, unsigned ResNo, in ExpandRes_MERGE_VALUES() argument
36 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in ExpandRes_MERGE_VALUES()
499 void DAGTypeLegalizer::SplitRes_MERGE_VALUES(SDNode *N, unsigned ResNo, in SplitRes_MERGE_VALUES() argument
501 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SplitRes_MERGE_VALUES()
HDInstrEmitter.cpp86 EmitCopyFromReg(SDNode *Node, unsigned ResNo, bool IsClone, bool IsCloned, in EmitCopyFromReg() argument
91 SDValue Op(Node, ResNo); in EmitCopyFromReg()
104 MVT VT = Node->getSimpleValueType(ResNo); in EmitCopyFromReg()
115 User->getOperand(2).getResNo() == ResNo) { in EmitCopyFromReg()
125 if (Op.getNode() != Node || Op.getResNo() != ResNo) in EmitCopyFromReg()
181 SDValue Op(Node, ResNo); in EmitCopyFromReg()
HDInstrEmitter.h40 void EmitCopyFromReg(SDNode *Node, unsigned ResNo,
HDLegalizeIntegerTypes.cpp37 void DAGTypeLegalizer::PromoteIntegerResult(SDNode *N, unsigned ResNo) { in PromoteIntegerResult() argument
43 if (CustomLowerNode(N, N->getValueType(ResNo), true)) { in PromoteIntegerResult()
51 dbgs() << "PromoteIntegerResult #" << ResNo << ": "; in PromoteIntegerResult()
55 case ISD::MERGE_VALUES:Res = PromoteIntRes_MERGE_VALUES(N, ResNo); break; in PromoteIntegerResult()
142 case ISD::SSUBO: Res = PromoteIntRes_SADDSUBO(N, ResNo); break; in PromoteIntegerResult()
144 case ISD::USUBO: Res = PromoteIntRes_UADDSUBO(N, ResNo); break; in PromoteIntegerResult()
146 case ISD::UMULO: Res = PromoteIntRes_XMULO(N, ResNo); break; in PromoteIntegerResult()
151 case ISD::SUBCARRY: Res = PromoteIntRes_ADDSUBCARRY(N, ResNo); break; in PromoteIntegerResult()
187 Res = PromoteIntRes_AtomicCmpSwap(cast<AtomicSDNode>(N), ResNo); in PromoteIntegerResult()
205 SetPromotedInteger(SDValue(N, ResNo), Res); in PromoteIntegerResult()
[all …]
HDScheduleDAGSDNodes.cpp121 unsigned ResNo = User->getOperand(2).getResNo(); in CheckForPhysRegDependency() local
127 if (ResNo >= II.getNumDefs() && in CheckForPhysRegDependency()
128 II.ImplicitDefs[ResNo - II.getNumDefs()] == Reg) in CheckForPhysRegDependency()
134 TRI->getMinimalPhysRegClass(Reg, Def->getSimpleValueType(ResNo)); in CheckForPhysRegDependency()
HDLegalizeTypes.cpp941 SDValue DAGTypeLegalizer::DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo) { in DisintegrateMERGE_VALUES() argument
943 if (i != ResNo) in DisintegrateMERGE_VALUES()
945 return SDValue(N->getOperand(ResNo)); in DisintegrateMERGE_VALUES()
HDTargetLowering.cpp4257 unsigned ResNo = 0; // ResNo - The result number of the next output. in ParseConstraints() local
4284 getSimpleValueType(DL, STy->getElementType(ResNo)); in ParseConstraints()
4286 assert(ResNo == 0 && "Asm only has one result!"); in ParseConstraints()
4289 ++ResNo; in ParseConstraints()
HDSelectionDAGBuilder.cpp8119 unsigned ResNo = 0; // ResNo - The result number of the next output. in visitInlineAsm() local
8154 DAG.getDataLayout(), STy->getElementType(ResNo)); in visitInlineAsm()
8156 assert(ResNo == 0 && "Asm only has one result!"); in visitInlineAsm()
8160 ++ResNo; in visitInlineAsm()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
HDSelectionDAGNodes.h128 unsigned ResNo = 0; // Which return value of the node we are using.
135 unsigned getResNo() const { return ResNo; }
146 return Node == O.Node && ResNo == O.ResNo;
152 return std::tie(Node, ResNo) < std::tie(O.Node, O.ResNo);
221 V.ResNo = -1U;
227 V.ResNo = -2U;
1001 EVT getValueType(unsigned ResNo) const {
1002 assert(ResNo < NumValues && "Illegal result number!");
1003 return ValueList[ResNo];
1007 MVT getSimpleValueType(unsigned ResNo) const {
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
HDARMISelLowering.cpp13359 unsigned ResNo = UI.getUse().getResNo(); in CombineVLDDUP() local
13361 if (ResNo == NumVecs) in CombineVLDDUP()
13364 DCI.CombineTo(User, SDValue(VLDDup.getNode(), ResNo)); in CombineVLDDUP()