Home
last modified time | relevance | path

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

/external/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 …]
DDAGISelMatcher.h500 unsigned ResNo; variable
503 : Matcher(CheckType), Type(type), ResNo(resno) {} in CheckTypeMatcher()
506 unsigned getResNo() const { return ResNo; } in getResNo()
DDAGISelMatcher.cpp160 << ResNo << '\n'; in printImpl()
/external/llvm/lib/CodeGen/SelectionDAG/
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;
DLegalizeTypes.h208 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
232 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo);
243 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo);
247 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo);
291 void ExpandIntegerResult(SDNode *N, unsigned ResNo);
432 void ExpandFloatResult(SDNode *N, unsigned ResNo);
583 void WidenVectorResult(SDNode *N, unsigned ResNo);
608 bool WidenVectorOperand(SDNode *N, unsigned ResNo);
DInstrEmitter.cpp61 EmitCopyFromReg(SDNode *Node, unsigned ResNo, bool IsClone, bool IsCloned, in EmitCopyFromReg() argument
66 SDValue Op(Node, ResNo); in EmitCopyFromReg()
79 EVT VT = Node->getValueType(ResNo); in EmitCopyFromReg()
92 User->getOperand(2).getResNo() == ResNo) { in EmitCopyFromReg()
102 if (Op.getNode() != Node || Op.getResNo() != ResNo) in EmitCopyFromReg()
154 SDValue Op(Node, ResNo); in EmitCopyFromReg()
165 unsigned ResNo) const { in getDstOfOnlyCopyToRegUse()
172 User->getOperand(2).getResNo() == ResNo) { in getDstOfOnlyCopyToRegUse()
DScheduleDAGSDNodes.cpp113 unsigned ResNo = User->getOperand(2).getResNo(); in CheckForPhysRegDependency() local
116 if (ResNo >= II.getNumDefs() && in CheckForPhysRegDependency()
117 II.ImplicitDefs[ResNo - II.getNumDefs()] == Reg) { in CheckForPhysRegDependency()
120 TRI->getMinimalPhysRegClass(Reg, Def->getValueType(ResNo)); in CheckForPhysRegDependency()
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()
122 SetScalarizedVector(SDValue(N, ResNo), R); in ScalarizeVectorResult()
403 void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) { in SplitVectorResult() argument
412 dbgs() << "SplitVectorResult #" << ResNo << ": "; in SplitVectorResult()
499 SetSplitVector(SDValue(N, ResNo), Lo, Hi); in SplitVectorResult()
1189 void DAGTypeLegalizer::WidenVectorResult(SDNode *N, unsigned ResNo) { in WidenVectorResult() argument
1190 DEBUG(dbgs() << "Widen node result " << ResNo << ": "; in WidenVectorResult()
1195 if (CustomWidenLowerNode(N, N->getValueType(ResNo))) in WidenVectorResult()
[all …]
DLegalizeIntegerTypes.cpp36 void DAGTypeLegalizer::PromoteIntegerResult(SDNode *N, unsigned ResNo) { in PromoteIntegerResult() argument
41 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in PromoteIntegerResult()
47 dbgs() << "PromoteIntegerResult #" << ResNo << ": "; in PromoteIntegerResult()
111 case ISD::SSUBO: Res = PromoteIntRes_SADDSUBO(N, ResNo); break; in PromoteIntegerResult()
113 case ISD::USUBO: Res = PromoteIntRes_UADDSUBO(N, ResNo); break; in PromoteIntegerResult()
115 case ISD::UMULO: Res = PromoteIntRes_XMULO(N, ResNo); break; in PromoteIntegerResult()
136 SetPromotedInteger(SDValue(N, ResNo), Res); in PromoteIntegerResult()
416 SDValue DAGTypeLegalizer::PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo) { in PromoteIntRes_SADDSUBO() argument
417 if (ResNo == 1) in PromoteIntRes_SADDSUBO()
563 SDValue DAGTypeLegalizer::PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo) { in PromoteIntRes_UADDSUBO() argument
[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()
103 SetSoftenedFloat(SDValue(N, ResNo), R); in SoftenFloatResult()
813 void DAGTypeLegalizer::ExpandFloatResult(SDNode *N, unsigned ResNo) { in ExpandFloatResult() argument
819 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in ExpandFloatResult()
825 dbgs() << "ExpandFloatResult #" << ResNo << ": "; in ExpandFloatResult()
873 SetExpandedFloat(SDValue(N, ResNo), Lo, Hi); in ExpandFloatResult()
DTargetLowering.cpp2818 unsigned ResNo = 0; // ResNo - The result number of the next output. in ParseConstraints() local
2844 OpInfo.ConstraintVT = getValueType(STy->getElementType(ResNo)); in ParseConstraints()
2846 assert(ResNo == 0 && "Asm only has one result!"); in ParseConstraints()
2849 ++ResNo; in ParseConstraints()
DSelectionDAGBuilder.cpp5622 unsigned ResNo = 0; // ResNo - The result number of the next output. in visitInlineAsm() local
5643 OpVT = TLI.getValueType(STy->getElementType(ResNo)); in visitInlineAsm()
5645 assert(ResNo == 0 && "Asm only has one result!"); in visitInlineAsm()
5648 ++ResNo; in visitInlineAsm()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h91 unsigned ResNo; // Which return value of the node we are using. variable
93 SDValue() : Node(0), ResNo(0) {} in SDValue()
94 SDValue(SDNode *node, unsigned resno) : Node(node), ResNo(resno) {} in SDValue()
97 unsigned getResNo() const { return ResNo; } in getResNo()
108 return Node == O.Node && ResNo == O.ResNo;
114 return Node < O.Node || (Node == O.Node && ResNo < O.ResNo);
587 EVT getValueType(unsigned ResNo) const {
588 assert(ResNo < NumValues && "Illegal result number!");
589 return ValueList[ResNo];
594 unsigned getValueSizeInBits(unsigned ResNo) const {
[all …]
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp6442 unsigned ResNo = UI.getUse().getResNo(); in CombineVLDDUP() local
6444 if (ResNo == NumVecs) in CombineVLDDUP()
6447 DCI.CombineTo(User, SDValue(VLDDup.getNode(), ResNo)); in CombineVLDDUP()