Home
last modified time | relevance | path

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

/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 …]
DDAGISelMatcher.h532 unsigned ResNo; variable
535 : Matcher(CheckType), Type(type), ResNo(resno) {} in CheckTypeMatcher()
538 unsigned getResNo() const { return ResNo; } in getResNo()
DDAGISelMatcher.cpp175 << ResNo << '\n'; in printImpl()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h179 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
241 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
242 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
247 SDValue PromoteIntRes_AtomicCmpSwap(AtomicSDNode *N, unsigned ResNo);
271 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo);
284 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo);
287 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo);
335 void ExpandIntegerResult(SDNode *N, unsigned ResNo);
417 void ReplaceSoftenFloatResult(SDNode *N, unsigned ResNo, SDValue &NewRes) { in ReplaceSoftenFloatResult() argument
422 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
62 u.s.ResNo = R; in SDDbgValue()
94 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.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()
180 SDValue Op(Node, ResNo); in EmitCopyFromReg()
191 unsigned ResNo) const { in getDstOfOnlyCopyToRegUse()
198 User->getOperand(2).getResNo() == ResNo) { in getDstOfOnlyCopyToRegUse()
DLegalizeIntegerTypes.cpp37 void DAGTypeLegalizer::PromoteIntegerResult(SDNode *N, unsigned ResNo) { in PromoteIntegerResult() argument
42 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in PromoteIntegerResult()
48 dbgs() << "PromoteIntegerResult #" << ResNo << ": "; in PromoteIntegerResult()
52 case ISD::MERGE_VALUES:Res = PromoteIntRes_MERGE_VALUES(N, ResNo); break; in PromoteIntegerResult()
128 case ISD::SSUBO: Res = PromoteIntRes_SADDSUBO(N, ResNo); break; in PromoteIntegerResult()
130 case ISD::USUBO: Res = PromoteIntRes_UADDSUBO(N, ResNo); break; in PromoteIntegerResult()
132 case ISD::UMULO: Res = PromoteIntRes_XMULO(N, ResNo); break; in PromoteIntegerResult()
152 Res = PromoteIntRes_AtomicCmpSwap(cast<AtomicSDNode>(N), ResNo); in PromoteIntegerResult()
158 SetPromotedInteger(SDValue(N, ResNo), Res); in PromoteIntegerResult()
162 unsigned ResNo) { in PromoteIntRes_MERGE_VALUES() argument
[all …]
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()
DLegalizeVectorTypes.cpp35 void DAGTypeLegalizer::ScalarizeVectorResult(SDNode *N, unsigned ResNo) { in ScalarizeVectorResult() argument
36 DEBUG(dbgs() << "Scalarize node result " << ResNo << ": "; in ScalarizeVectorResult()
44 dbgs() << "ScalarizeVectorResult #" << ResNo << ": "; in ScalarizeVectorResult()
51 case ISD::MERGE_VALUES: R = ScalarizeVecRes_MERGE_VALUES(N, ResNo);break; in ScalarizeVectorResult()
142 SetScalarizedVector(SDValue(N, ResNo), R); in ScalarizeVectorResult()
161 unsigned ResNo) { in ScalarizeVecRes_MERGE_VALUES() argument
162 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in ScalarizeVecRes_MERGE_VALUES()
572 void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) { in SplitVectorResult() argument
579 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in SplitVectorResult()
585 dbgs() << "SplitVectorResult #" << ResNo << ": "; in SplitVectorResult()
[all …]
DScheduleDAGSDNodes.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()
DLegalizeTypes.cpp1006 SDValue DAGTypeLegalizer::DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo) { in DisintegrateMERGE_VALUES() argument
1008 if (i != ResNo) in DisintegrateMERGE_VALUES()
1010 return SDValue(N->getOperand(ResNo)); in DisintegrateMERGE_VALUES()
DTargetLowering.cpp2330 unsigned ResNo = 0; // ResNo - The result number of the next output. in ParseConstraints() local
2357 getSimpleValueType(DL, STy->getElementType(ResNo)); in ParseConstraints()
2359 assert(ResNo == 0 && "Asm only has one result!"); in ParseConstraints()
2362 ++ResNo; in ParseConstraints()
DSelectionDAGBuilder.cpp6119 unsigned ResNo = 0; // ResNo - The result number of the next output. in visitInlineAsm() local
6140 STy->getElementType(ResNo)); in visitInlineAsm()
6142 assert(ResNo == 0 && "Asm only has one result!"); in visitInlineAsm()
6145 ++ResNo; in visitInlineAsm()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h105 unsigned ResNo; // Which return value of the node we are using.
107 SDValue() : Node(nullptr), ResNo(0) {}
111 unsigned getResNo() const { return ResNo; }
122 return Node == O.Node && ResNo == O.ResNo;
128 return std::tie(Node, ResNo) < std::tie(O.Node, O.ResNo);
191 V.ResNo = -1U;
196 V.ResNo = -2U;
689 EVT getValueType(unsigned ResNo) const {
690 assert(ResNo < NumValues && "Illegal result number!");
691 return ValueList[ResNo];
[all …]
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9761 unsigned ResNo = UI.getUse().getResNo(); in CombineVLDDUP() local
9763 if (ResNo == NumVecs) in CombineVLDDUP()
9766 DCI.CombineTo(User, SDValue(VLDDup.getNode(), ResNo)); in CombineVLDDUP()