Home
last modified time | relevance | path

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

123

/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.h250 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
369 MVT::SimpleValueType getType(unsigned ResNo) const { in getType() argument
370 return Types[ResNo].getConcrete(); in getType()
373 const EEVT::TypeSet &getExtType(unsigned ResNo) const { return Types[ResNo]; } in getExtType() argument
374 EEVT::TypeSet &getExtType(unsigned ResNo) { return Types[ResNo]; } in getExtType() argument
375 void setType(unsigned ResNo, const EEVT::TypeSet &T) { Types[ResNo] = T; } in setType() argument
377 bool hasTypeSet(unsigned ResNo) const { in hasTypeSet() argument
378 return Types[ResNo].isConcrete(); in hasTypeSet()
380 bool isTypeCompletelyUnknown(unsigned ResNo) const { in isTypeCompletelyUnknown() argument
381 return Types[ResNo].isCompletelyUnknown(); in isTypeCompletelyUnknown()
[all …]
DCodeGenDAGPatterns.cpp963 unsigned &ResNo) { in getOperandNum() argument
966 ResNo = OpNo; in getOperandNum()
993 unsigned ResNo = 0; // The result number being referenced. in ApplyTypeConstraint() local
994 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
999 return NodeToApply->UpdateNodeType(ResNo, x.SDTCisVT_Info.VT, TP); in ApplyTypeConstraint()
1002 return NodeToApply->UpdateNodeType(ResNo, MVT::iPTR, TP); in ApplyTypeConstraint()
1005 return NodeToApply->getExtType(ResNo).EnforceInteger(TP); in ApplyTypeConstraint()
1008 return NodeToApply->getExtType(ResNo).EnforceFloatingPoint(TP); in ApplyTypeConstraint()
1011 return NodeToApply->getExtType(ResNo).EnforceVector(TP); in ApplyTypeConstraint()
1016 return NodeToApply->UpdateNodeType(ResNo, OtherNode->getExtType(OResNo),TP)| in ApplyTypeConstraint()
[all …]
/external/llvm-project/llvm/utils/TableGen/
DCodeGenDAGPatterns.h474 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
696 ValueTypeByHwMode getType(unsigned ResNo) const { in getType() argument
697 return Types[ResNo].getValueTypeByHwMode(); in getType()
700 const TypeSetByHwMode &getExtType(unsigned ResNo) const { in getExtType() argument
701 return Types[ResNo]; in getExtType()
703 TypeSetByHwMode &getExtType(unsigned ResNo) { return Types[ResNo]; } in getExtType() argument
704 void setType(unsigned ResNo, const TypeSetByHwMode &T) { Types[ResNo] = T; } in setType() argument
705 MVT::SimpleValueType getSimpleType(unsigned ResNo) const { in getSimpleType() argument
706 return Types[ResNo].getMachineValueType().SimpleTy; in getSimpleType()
709 bool hasConcreteType(unsigned ResNo) const { in hasConcreteType() argument
[all …]
DCodeGenDAGPatterns.cpp1515 unsigned &ResNo) { in getOperandNum() argument
1518 ResNo = OpNo; in getOperandNum()
1545 unsigned ResNo = 0; // The result number being referenced. in ApplyTypeConstraint() local
1546 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
1552 return NodeToApply->UpdateNodeType(ResNo, VVT, TP); in ApplyTypeConstraint()
1555 return NodeToApply->UpdateNodeType(ResNo, MVT::iPTR, TP); in ApplyTypeConstraint()
1558 return TI.EnforceInteger(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1561 return TI.EnforceFloatingPoint(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1564 return TI.EnforceVector(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1569 return NodeToApply->UpdateNodeType(ResNo, OtherNode->getExtType(OResNo),TP)| in ApplyTypeConstraint()
[all …]
DDAGISelMatcherGen.cpp1075 for (unsigned ResNo = 0; ResNo < Pattern.getDstPattern()->getNumResults(); in EmitResultCode() local
1076 ++ResNo) { in EmitResultCode()
1077 Results[ResNo] = Ops[Pattern.getDstPattern()->getResultIndex(ResNo)]; in EmitResultCode()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h174 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
234 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
235 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
240 SDValue PromoteIntRes_AtomicCmpSwap(AtomicSDNode *N, unsigned ResNo);
265 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo);
278 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo);
281 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo);
329 void ExpandIntegerResult(SDNode *N, unsigned ResNo);
413 void ReplaceSoftenFloatResult(SDNode *N, unsigned ResNo, SDValue &NewRes) { in ReplaceSoftenFloatResult() argument
418 if (NewRes.getNode() != N && isLegalInHWReg(N->getValueType(ResNo))) in ReplaceSoftenFloatResult()
[all …]
DLegalizeFloatTypes.cpp49 bool DAGTypeLegalizer::SoftenFloatResult(SDNode *N, unsigned ResNo) { in SoftenFloatResult() argument
50 DEBUG(dbgs() << "Soften float result " << ResNo << ": "; N->dump(&DAG); in SoftenFloatResult()
57 dbgs() << "SoftenFloatResult #" << ResNo << ": "; in SoftenFloatResult()
65 assert(isLegalInHWReg(N->getValueType(ResNo)) && in SoftenFloatResult()
68 R = SDValue(N, ResNo); in SoftenFloatResult()
70 case ISD::MERGE_VALUES:R = SoftenFloatRes_MERGE_VALUES(N, ResNo); break; in SoftenFloatResult()
71 case ISD::BITCAST: R = SoftenFloatRes_BITCAST(N, ResNo); break; in SoftenFloatResult()
73 case ISD::ConstantFP: R = SoftenFloatRes_ConstantFP(N, ResNo); break; in SoftenFloatResult()
76 case ISD::FABS: R = SoftenFloatRes_FABS(N, ResNo); break; in SoftenFloatResult()
81 case ISD::FCOPYSIGN: R = SoftenFloatRes_FCOPYSIGN(N, ResNo); break; in SoftenFloatResult()
[all …]
DSDNodeDbgValue.h41 unsigned ResNo; // valid for expressions member
63 u.s.ResNo = R; in SDDbgValue()
97 unsigned getResNo() const { assert (kind==SDNODE); return u.s.ResNo; } in getResNo()
DInstrEmitter.h41 void EmitCopyFromReg(SDNode *Node, unsigned ResNo,
49 unsigned ResNo) const;
DInstrEmitter.cpp87 EmitCopyFromReg(SDNode *Node, unsigned ResNo, bool IsClone, bool IsCloned, in EmitCopyFromReg() argument
92 SDValue Op(Node, ResNo); in EmitCopyFromReg()
105 MVT VT = Node->getSimpleValueType(ResNo); in EmitCopyFromReg()
116 User->getOperand(2).getResNo() == ResNo) { in EmitCopyFromReg()
126 if (Op.getNode() != Node || Op.getResNo() != ResNo) in EmitCopyFromReg()
181 SDValue Op(Node, ResNo); in EmitCopyFromReg()
192 unsigned ResNo) const { in getDstOfOnlyCopyToRegUse()
199 User->getOperand(2).getResNo() == ResNo) { in getDstOfOnlyCopyToRegUse()
DLegalizeTypesGeneric.cpp35 void DAGTypeLegalizer::ExpandRes_MERGE_VALUES(SDNode *N, unsigned ResNo, in ExpandRes_MERGE_VALUES() argument
37 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in ExpandRes_MERGE_VALUES()
517 void DAGTypeLegalizer::SplitRes_MERGE_VALUES(SDNode *N, unsigned ResNo, in SplitRes_MERGE_VALUES() argument
519 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SplitRes_MERGE_VALUES()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.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 …]
DSDNodeDbgValue.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()
DLegalizeFloatTypes.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 …]
DLegalizeVectorTypes.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 …]
DInstrEmitter.h40 void EmitCopyFromReg(SDNode *Node, unsigned ResNo,
DLegalizeTypesGeneric.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()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h227 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
293 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
294 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
299 SDValue PromoteIntRes_AtomicCmpSwap(AtomicSDNode *N, unsigned ResNo);
325 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo);
339 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo);
340 SDValue PromoteIntRes_ADDSUBCARRY(SDNode *N, unsigned ResNo);
341 SDValue PromoteIntRes_SADDSUBO_CARRY(SDNode *N, unsigned ResNo);
345 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo);
409 void ExpandIntegerResult(SDNode *N, unsigned ResNo);
[all …]
DSDNodeDbgValue.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()
DLegalizeFloatTypes.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()
152 SetSoftenedFloat(SDValue(N, ResNo), R); in SoftenFloatResult()
207 unsigned ResNo) { in SoftenFloatRes_MERGE_VALUES() argument
208 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SoftenFloatRes_MERGE_VALUES()
245 SDValue DAGTypeLegalizer::SoftenFloatRes_EXTRACT_VECTOR_ELT(SDNode *N, unsigned ResNo) { in SoftenFloatRes_EXTRACT_VECTOR_ELT() argument
1138 void DAGTypeLegalizer::ExpandFloatResult(SDNode *N, unsigned ResNo) { in ExpandFloatResult() argument
[all …]
DLegalizeVectorTypes.cpp36 void DAGTypeLegalizer::ScalarizeVectorResult(SDNode *N, unsigned ResNo) { in ScalarizeVectorResult() argument
37 LLVM_DEBUG(dbgs() << "Scalarize node result " << ResNo << ": "; N->dump(&DAG); in ScalarizeVectorResult()
44 dbgs() << "ScalarizeVectorResult #" << ResNo << ": "; in ScalarizeVectorResult()
51 case ISD::MERGE_VALUES: R = ScalarizeVecRes_MERGE_VALUES(N, ResNo);break; in ScalarizeVectorResult()
171 R = ScalarizeVecRes_OverflowOp(N, ResNo); in ScalarizeVectorResult()
187 SetScalarizedVector(SDValue(N, ResNo), R); in ScalarizeVectorResult()
245 unsigned ResNo) { in ScalarizeVecRes_OverflowOp() argument
269 unsigned OtherNo = 1 - ResNo; in ScalarizeVecRes_OverflowOp()
279 return SDValue(ScalarNode, ResNo); in ScalarizeVecRes_OverflowOp()
283 unsigned ResNo) { in ScalarizeVecRes_MERGE_VALUES() argument
[all …]
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h109 unsigned ResNo; // Which return value of the node we are using.
111 SDValue() : Node(nullptr), ResNo(0) {}
115 unsigned getResNo() const { return ResNo; }
126 return Node == O.Node && ResNo == O.ResNo;
132 return std::tie(Node, ResNo) < std::tie(O.Node, O.ResNo);
195 V.ResNo = -1U;
200 V.ResNo = -2U;
726 EVT getValueType(unsigned ResNo) const {
727 assert(ResNo < NumValues && "Illegal result number!");
728 return ValueList[ResNo];
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.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 …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.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;
946 EVT getValueType(unsigned ResNo) const {
947 assert(ResNo < NumValues && "Illegal result number!");
948 return ValueList[ResNo];
952 MVT getSimpleValueType(unsigned ResNo) const {
[all …]
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DInlineAsmLowering.cpp294 unsigned ResNo = 0; // ResNo - The result number of the next output. in lowerInlineAsm() local
334 TLI->getSimpleValueType(DL, STy->getElementType(ResNo)); in lowerInlineAsm()
336 assert(ResNo == 0 && "Asm only has one result!"); in lowerInlineAsm()
339 ++ResNo; in lowerInlineAsm()

123