Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenDAGPatterns.h225 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
343 MVT::SimpleValueType getType(unsigned ResNo) const { in getType() argument
344 return Types[ResNo].getConcrete(); in getType()
347 const EEVT::TypeSet &getExtType(unsigned ResNo) const { return Types[ResNo]; } in getExtType() argument
348 EEVT::TypeSet &getExtType(unsigned ResNo) { return Types[ResNo]; } in getExtType() argument
349 void setType(unsigned ResNo, const EEVT::TypeSet &T) { Types[ResNo] = T; } in setType() argument
351 bool hasTypeSet(unsigned ResNo) const { in hasTypeSet() argument
352 return Types[ResNo].isConcrete(); in hasTypeSet()
354 bool isTypeCompletelyUnknown(unsigned ResNo) const { in isTypeCompletelyUnknown() argument
355 return Types[ResNo].isCompletelyUnknown(); in isTypeCompletelyUnknown()
[all …]
DCodeGenDAGPatterns.cpp811 unsigned &ResNo) { in getOperandNum() argument
814 ResNo = OpNo; in getOperandNum()
838 unsigned ResNo = 0; // The result number being referenced. in ApplyTypeConstraint() local
839 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
845 return NodeToApply->UpdateNodeType(ResNo, x.SDTCisVT_Info.VT, TP); in ApplyTypeConstraint()
848 return NodeToApply->UpdateNodeType(ResNo, MVT::iPTR, TP); in ApplyTypeConstraint()
851 return NodeToApply->getExtType(ResNo).EnforceInteger(TP); in ApplyTypeConstraint()
854 return NodeToApply->getExtType(ResNo).EnforceFloatingPoint(TP); in ApplyTypeConstraint()
857 return NodeToApply->getExtType(ResNo).EnforceVector(TP); in ApplyTypeConstraint()
862 return NodeToApply->UpdateNodeType(OResNo, OtherNode->getExtType(ResNo),TP)| in ApplyTypeConstraint()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenDAGPatterns.h442 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
622 ValueTypeByHwMode getType(unsigned ResNo) const { in getType() argument
623 return Types[ResNo].getValueTypeByHwMode(); in getType()
626 const TypeSetByHwMode &getExtType(unsigned ResNo) const { in getExtType() argument
627 return Types[ResNo]; in getExtType()
629 TypeSetByHwMode &getExtType(unsigned ResNo) { return Types[ResNo]; } in getExtType() argument
630 void setType(unsigned ResNo, const TypeSetByHwMode &T) { Types[ResNo] = T; } in setType() argument
631 MVT::SimpleValueType getSimpleType(unsigned ResNo) const { in getSimpleType() argument
632 return Types[ResNo].getMachineValueType().SimpleTy; in getSimpleType()
635 bool hasConcreteType(unsigned ResNo) const { in hasConcreteType() argument
[all …]
DCodeGenDAGPatterns.cpp1395 unsigned &ResNo) { in getOperandNum() argument
1398 ResNo = OpNo; in getOperandNum()
1425 unsigned ResNo = 0; // The result number being referenced. in ApplyTypeConstraint() local
1426 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
1432 return NodeToApply->UpdateNodeType(ResNo, VVT, TP); in ApplyTypeConstraint()
1435 return NodeToApply->UpdateNodeType(ResNo, MVT::iPTR, TP); in ApplyTypeConstraint()
1438 return TI.EnforceInteger(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1441 return TI.EnforceFloatingPoint(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1444 return TI.EnforceVector(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1449 return NodeToApply->UpdateNodeType(ResNo, OtherNode->getExtType(OResNo),TP)| in ApplyTypeConstraint()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h225 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
285 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
286 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
291 SDValue PromoteIntRes_AtomicCmpSwap(AtomicSDNode *N, unsigned ResNo);
315 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo);
328 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo);
329 SDValue PromoteIntRes_ADDSUBCARRY(SDNode *N, unsigned ResNo);
332 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo);
380 void ExpandIntegerResult(SDNode *N, unsigned ResNo);
469 bool SoftenFloatResult(SDNode *N, unsigned ResNo);
[all …]
DLegalizeFloatTypes.cpp49 bool DAGTypeLegalizer::SoftenFloatResult(SDNode *N, unsigned ResNo) { in SoftenFloatResult() argument
50 LLVM_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()
75 R = SoftenFloatRes_EXTRACT_VECTOR_ELT(N, ResNo); break; in SoftenFloatResult()
76 case ISD::FABS: R = SoftenFloatRes_FABS(N, ResNo); break; in SoftenFloatResult()
[all …]
DSDNodeDbgValue.h42 unsigned ResNo; ///< Valid for expressions. member
63 u.s.ResNo = R; in SDDbgValue()
101 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()
182 SDValue Op(Node, ResNo); in EmitCopyFromReg()
193 unsigned ResNo) const { in getDstOfOnlyCopyToRegUse()
200 User->getOperand(2).getResNo() == ResNo) { in getDstOfOnlyCopyToRegUse()
/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()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h155 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
215 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
216 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
242 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo);
254 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo);
258 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo);
304 void ExpandIntegerResult(SDNode *N, unsigned ResNo);
305 void ExpandIntRes_MERGE_VALUES (SDNode *N, unsigned ResNo,
383 SDValue SoftenFloatRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
451 void ExpandFloatResult(SDNode *N, unsigned ResNo);
[all …]
DSDNodeDbgValue.h42 unsigned ResNo; // valid for expressions member
59 u.s.ResNo = R; in SDDbgValue()
87 unsigned getResNo() { assert (kind==SDNODE); return u.s.ResNo; } in getResNo()
DInstrEmitter.h41 void EmitCopyFromReg(SDNode *Node, unsigned ResNo,
49 unsigned ResNo) const;
DInstrEmitter.cpp67 EmitCopyFromReg(SDNode *Node, unsigned ResNo, bool IsClone, bool IsCloned, in EmitCopyFromReg() argument
72 SDValue Op(Node, ResNo); in EmitCopyFromReg()
85 EVT VT = Node->getValueType(ResNo); in EmitCopyFromReg()
98 User->getOperand(2).getResNo() == ResNo) { in EmitCopyFromReg()
108 if (Op.getNode() != Node || Op.getResNo() != ResNo) in EmitCopyFromReg()
161 SDValue Op(Node, ResNo); in EmitCopyFromReg()
172 unsigned ResNo) const { in getDstOfOnlyCopyToRegUse()
179 User->getOperand(2).getResNo() == ResNo) { in getDstOfOnlyCopyToRegUse()
DLegalizeVectorTypes.cpp34 void DAGTypeLegalizer::ScalarizeVectorResult(SDNode *N, unsigned ResNo) { in ScalarizeVectorResult() argument
35 DEBUG(dbgs() << "Scalarize node result " << ResNo << ": "; in ScalarizeVectorResult()
43 dbgs() << "ScalarizeVectorResult #" << ResNo << ": "; in ScalarizeVectorResult()
50 case ISD::MERGE_VALUES: R = ScalarizeVecRes_MERGE_VALUES(N, ResNo);break; in ScalarizeVectorResult()
122 SetScalarizedVector(SDValue(N, ResNo), R); in ScalarizeVectorResult()
133 unsigned ResNo) { in ScalarizeVecRes_MERGE_VALUES() argument
134 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in ScalarizeVecRes_MERGE_VALUES()
403 void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) { in SplitVectorResult() argument
412 dbgs() << "SplitVectorResult #" << ResNo << ": "; in SplitVectorResult()
418 case ISD::MERGE_VALUES: SplitRes_MERGE_VALUES(N, ResNo, Lo, Hi); break; in SplitVectorResult()
[all …]
DLegalizeFloatTypes.cpp45 void DAGTypeLegalizer::SoftenFloatResult(SDNode *N, unsigned ResNo) { in SoftenFloatResult() argument
46 DEBUG(dbgs() << "Soften float result " << ResNo << ": "; N->dump(&DAG); in SoftenFloatResult()
53 dbgs() << "SoftenFloatResult #" << ResNo << ": "; in SoftenFloatResult()
58 case ISD::MERGE_VALUES:R = SoftenFloatRes_MERGE_VALUES(N, ResNo); break; in SoftenFloatResult()
104 SetSoftenedFloat(SDValue(N, ResNo), R); in SoftenFloatResult()
112 unsigned ResNo) { in SoftenFloatRes_MERGE_VALUES() argument
113 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SoftenFloatRes_MERGE_VALUES()
820 void DAGTypeLegalizer::ExpandFloatResult(SDNode *N, unsigned ResNo) { in ExpandFloatResult() argument
826 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in ExpandFloatResult()
832 dbgs() << "ExpandFloatResult #" << ResNo << ": "; in ExpandFloatResult()
[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-7.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);
216 V.ResNo = -1U;
222 V.ResNo = -2U;
961 EVT getValueType(unsigned ResNo) const {
962 assert(ResNo < NumValues && "Illegal result number!");
963 return ValueList[ResNo];
967 MVT getSimpleValueType(unsigned ResNo) const {
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h92 unsigned ResNo; // Which return value of the node we are using. variable
94 SDValue() : Node(0), ResNo(0) {} in SDValue()
95 SDValue(SDNode *node, unsigned resno) : Node(node), ResNo(resno) {} in SDValue()
98 unsigned getResNo() const { return ResNo; } in getResNo()
109 return Node == O.Node && ResNo == O.ResNo;
115 return Node < O.Node || (Node == O.Node && ResNo < O.ResNo);
588 EVT getValueType(unsigned ResNo) const {
589 assert(ResNo < NumValues && "Illegal result number!");
590 return ValueList[ResNo];
595 unsigned getValueSizeInBits(unsigned ResNo) const {
[all …]

123