Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.h244 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
363 MVT::SimpleValueType getType(unsigned ResNo) const { in getType() argument
364 return Types[ResNo].getConcrete(); in getType()
367 const EEVT::TypeSet &getExtType(unsigned ResNo) const { return Types[ResNo]; } in getExtType() argument
368 EEVT::TypeSet &getExtType(unsigned ResNo) { return Types[ResNo]; } in getExtType() argument
369 void setType(unsigned ResNo, const EEVT::TypeSet &T) { Types[ResNo] = T; } in setType() argument
371 bool hasTypeSet(unsigned ResNo) const { in hasTypeSet() argument
372 return Types[ResNo].isConcrete(); in hasTypeSet()
374 bool isTypeCompletelyUnknown(unsigned ResNo) const { in isTypeCompletelyUnknown() argument
375 return Types[ResNo].isCompletelyUnknown(); in isTypeCompletelyUnknown()
[all …]
DCodeGenDAGPatterns.cpp925 unsigned &ResNo) { in getOperandNum() argument
928 ResNo = OpNo; in getOperandNum()
954 unsigned ResNo = 0; // The result number being referenced. in ApplyTypeConstraint() local
955 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
960 return NodeToApply->UpdateNodeType(ResNo, x.SDTCisVT_Info.VT, TP); in ApplyTypeConstraint()
963 return NodeToApply->UpdateNodeType(ResNo, MVT::iPTR, TP); in ApplyTypeConstraint()
966 return NodeToApply->getExtType(ResNo).EnforceInteger(TP); in ApplyTypeConstraint()
969 return NodeToApply->getExtType(ResNo).EnforceFloatingPoint(TP); in ApplyTypeConstraint()
972 return NodeToApply->getExtType(ResNo).EnforceVector(TP); in ApplyTypeConstraint()
977 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.h165 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
222 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
223 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
228 SDValue PromoteIntRes_AtomicCmpSwap(AtomicSDNode *N, unsigned ResNo);
250 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo);
262 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo);
266 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo);
313 void ExpandIntegerResult(SDNode *N, unsigned ResNo);
314 void ExpandIntRes_MERGE_VALUES (SDNode *N, unsigned ResNo,
392 SDValue SoftenFloatRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
[all …]
DSDNodeDbgValue.h42 unsigned ResNo; // valid for expressions member
62 u.s.ResNo = R; in SDDbgValue()
96 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()
119 case ISD::SSUBO: Res = PromoteIntRes_SADDSUBO(N, ResNo); break; in PromoteIntegerResult()
121 case ISD::USUBO: Res = PromoteIntRes_UADDSUBO(N, ResNo); break; in PromoteIntegerResult()
123 case ISD::UMULO: Res = PromoteIntRes_XMULO(N, ResNo); break; in PromoteIntegerResult()
143 Res = PromoteIntRes_AtomicCmpSwap(cast<AtomicSDNode>(N), ResNo); in PromoteIntegerResult()
149 SetPromotedInteger(SDValue(N, ResNo), Res); in PromoteIntegerResult()
153 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()
510 void DAGTypeLegalizer::SplitRes_MERGE_VALUES(SDNode *N, unsigned ResNo, in SplitRes_MERGE_VALUES() argument
512 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SplitRes_MERGE_VALUES()
DLegalizeFloatTypes.cpp49 void 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()
62 case ISD::MERGE_VALUES:R = SoftenFloatRes_MERGE_VALUES(N, ResNo); break; in SoftenFloatResult()
111 SetSoftenedFloat(SDValue(N, ResNo), R); in SoftenFloatResult()
119 unsigned ResNo) { in SoftenFloatRes_MERGE_VALUES() argument
120 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SoftenFloatRes_MERGE_VALUES()
857 void DAGTypeLegalizer::ExpandFloatResult(SDNode *N, unsigned ResNo) { in ExpandFloatResult() argument
863 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in ExpandFloatResult()
869 dbgs() << "ExpandFloatResult #" << ResNo << ": "; in ExpandFloatResult()
[all …]
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()
135 SetScalarizedVector(SDValue(N, ResNo), R); in ScalarizeVectorResult()
154 unsigned ResNo) { in ScalarizeVecRes_MERGE_VALUES() argument
155 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in ScalarizeVecRes_MERGE_VALUES()
562 void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) { in SplitVectorResult() argument
569 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in SplitVectorResult()
575 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.cpp986 SDValue DAGTypeLegalizer::DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo) { in DisintegrateMERGE_VALUES() argument
988 if (i != ResNo) in DisintegrateMERGE_VALUES()
990 return SDValue(N->getOperand(ResNo)); in DisintegrateMERGE_VALUES()
DTargetLowering.cpp2271 unsigned ResNo = 0; // ResNo - The result number of the next output. in ParseConstraints() local
2297 OpInfo.ConstraintVT = getSimpleValueType(STy->getElementType(ResNo)); in ParseConstraints()
2299 assert(ResNo == 0 && "Asm only has one result!"); in ParseConstraints()
2302 ++ResNo; in ParseConstraints()
DSelectionDAGBuilder.cpp6303 unsigned ResNo = 0; // ResNo - The result number of the next output. in visitInlineAsm() local
6323 OpVT = TLI.getSimpleValueType(STy->getElementType(ResNo)); in visitInlineAsm()
6325 assert(ResNo == 0 && "Asm only has one result!"); in visitInlineAsm()
6328 ++ResNo; in visitInlineAsm()
/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);
194 V.ResNo = -1U;
199 V.ResNo = -2U;
625 EVT getValueType(unsigned ResNo) const {
626 assert(ResNo < NumValues && "Illegal result number!");
627 return ValueList[ResNo];
[all …]
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9026 unsigned ResNo = UI.getUse().getResNo(); in CombineVLDDUP() local
9028 if (ResNo == NumVecs) in CombineVLDDUP()
9031 DCI.CombineTo(User, SDValue(VLDDup.getNode(), ResNo)); in CombineVLDDUP()