Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/utils/TableGen/
DCodeGenDAGPatterns.h226 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
345 MVT::SimpleValueType getType(unsigned ResNo) const { in getType() argument
346 return Types[ResNo].getConcrete(); in getType()
349 const EEVT::TypeSet &getExtType(unsigned ResNo) const { return Types[ResNo]; } in getExtType() argument
350 EEVT::TypeSet &getExtType(unsigned ResNo) { return Types[ResNo]; } in getExtType() argument
351 void setType(unsigned ResNo, const EEVT::TypeSet &T) { Types[ResNo] = T; } in setType() argument
353 bool hasTypeSet(unsigned ResNo) const { in hasTypeSet() argument
354 return Types[ResNo].isConcrete(); in hasTypeSet()
356 bool isTypeCompletelyUnknown(unsigned ResNo) const { in isTypeCompletelyUnknown() argument
357 return Types[ResNo].isCompletelyUnknown(); in isTypeCompletelyUnknown()
[all …]
DCodeGenDAGPatterns.cpp845 unsigned &ResNo) { in getOperandNum() argument
848 ResNo = OpNo; in getOperandNum()
874 unsigned ResNo = 0; // The result number being referenced. in ApplyTypeConstraint() local
875 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
880 return NodeToApply->UpdateNodeType(ResNo, x.SDTCisVT_Info.VT, TP); in ApplyTypeConstraint()
883 return NodeToApply->UpdateNodeType(ResNo, MVT::iPTR, TP); in ApplyTypeConstraint()
886 return NodeToApply->getExtType(ResNo).EnforceInteger(TP); in ApplyTypeConstraint()
889 return NodeToApply->getExtType(ResNo).EnforceFloatingPoint(TP); in ApplyTypeConstraint()
892 return NodeToApply->getExtType(ResNo).EnforceVector(TP); in ApplyTypeConstraint()
897 return NodeToApply->UpdateNodeType(OResNo, OtherNode->getExtType(ResNo),TP)| in ApplyTypeConstraint()
[all …]
DDAGISelMatcher.h529 unsigned ResNo; variable
532 : Matcher(CheckType), Type(type), ResNo(resno) {} in CheckTypeMatcher()
535 unsigned getResNo() const { return ResNo; } in getResNo()
DDAGISelMatcher.cpp166 << ResNo << '\n'; in printImpl()
/freebsd-9-stable/contrib/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()
DLegalizeTypes.h161 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
218 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
219 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
245 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo);
257 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo);
261 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo);
306 void ExpandIntegerResult(SDNode *N, unsigned ResNo);
307 void ExpandIntRes_MERGE_VALUES (SDNode *N, unsigned ResNo,
385 SDValue SoftenFloatRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
451 void ExpandFloatResult(SDNode *N, unsigned ResNo);
[all …]
DInstrEmitter.h42 void EmitCopyFromReg(SDNode *Node, unsigned ResNo,
50 unsigned ResNo) const;
DInstrEmitter.cpp85 EmitCopyFromReg(SDNode *Node, unsigned ResNo, bool IsClone, bool IsCloned, in EmitCopyFromReg() argument
90 SDValue Op(Node, ResNo); in EmitCopyFromReg()
103 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()
DLegalizeFloatTypes.cpp47 void DAGTypeLegalizer::SoftenFloatResult(SDNode *N, unsigned ResNo) { in SoftenFloatResult() argument
48 DEBUG(dbgs() << "Soften float result " << ResNo << ": "; N->dump(&DAG); in SoftenFloatResult()
55 dbgs() << "SoftenFloatResult #" << ResNo << ": "; in SoftenFloatResult()
60 case ISD::MERGE_VALUES:R = SoftenFloatRes_MERGE_VALUES(N, ResNo); break; in SoftenFloatResult()
107 SetSoftenedFloat(SDValue(N, ResNo), R); in SoftenFloatResult()
115 unsigned ResNo) { in SoftenFloatRes_MERGE_VALUES() argument
116 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SoftenFloatRes_MERGE_VALUES()
784 void DAGTypeLegalizer::ExpandFloatResult(SDNode *N, unsigned ResNo) { in ExpandFloatResult() argument
790 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in ExpandFloatResult()
796 dbgs() << "ExpandFloatResult #" << ResNo << ": "; in ExpandFloatResult()
[all …]
DLegalizeIntegerTypes.cpp35 void DAGTypeLegalizer::PromoteIntegerResult(SDNode *N, unsigned ResNo) { in PromoteIntegerResult() argument
40 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in PromoteIntegerResult()
46 dbgs() << "PromoteIntegerResult #" << ResNo << ": "; in PromoteIntegerResult()
50 case ISD::MERGE_VALUES:Res = PromoteIntRes_MERGE_VALUES(N, ResNo); break; in PromoteIntegerResult()
116 case ISD::SSUBO: Res = PromoteIntRes_SADDSUBO(N, ResNo); break; in PromoteIntegerResult()
118 case ISD::USUBO: Res = PromoteIntRes_UADDSUBO(N, ResNo); break; in PromoteIntegerResult()
120 case ISD::UMULO: Res = PromoteIntRes_XMULO(N, ResNo); break; in PromoteIntegerResult()
144 SetPromotedInteger(SDValue(N, ResNo), Res); in PromoteIntegerResult()
148 unsigned ResNo) { in PromoteIntRes_MERGE_VALUES() argument
149 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in PromoteIntRes_MERGE_VALUES()
[all …]
DLegalizeVectorTypes.cpp33 void DAGTypeLegalizer::ScalarizeVectorResult(SDNode *N, unsigned ResNo) { in ScalarizeVectorResult() argument
34 DEBUG(dbgs() << "Scalarize node result " << ResNo << ": "; in ScalarizeVectorResult()
42 dbgs() << "ScalarizeVectorResult #" << ResNo << ": "; in ScalarizeVectorResult()
49 case ISD::MERGE_VALUES: R = ScalarizeVecRes_MERGE_VALUES(N, ResNo);break; in ScalarizeVectorResult()
127 SetScalarizedVector(SDValue(N, ResNo), R); in ScalarizeVectorResult()
146 unsigned ResNo) { in ScalarizeVecRes_MERGE_VALUES() argument
147 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in ScalarizeVecRes_MERGE_VALUES()
480 void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) { in SplitVectorResult() argument
487 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in SplitVectorResult()
493 dbgs() << "SplitVectorResult #" << ResNo << ": "; in SplitVectorResult()
[all …]
DLegalizeTypesGeneric.cpp33 void DAGTypeLegalizer::ExpandRes_MERGE_VALUES(SDNode *N, unsigned ResNo, in ExpandRes_MERGE_VALUES() argument
35 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in ExpandRes_MERGE_VALUES()
500 void DAGTypeLegalizer::SplitRes_MERGE_VALUES(SDNode *N, unsigned ResNo, in SplitRes_MERGE_VALUES() argument
502 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SplitRes_MERGE_VALUES()
DScheduleDAGSDNodes.cpp121 unsigned ResNo = User->getOperand(2).getResNo(); in CheckForPhysRegDependency() local
124 if (ResNo >= II.getNumDefs() && in CheckForPhysRegDependency()
125 II.ImplicitDefs[ResNo - II.getNumDefs()] == Reg) { in CheckForPhysRegDependency()
128 TRI->getMinimalPhysRegClass(Reg, Def->getValueType(ResNo)); in CheckForPhysRegDependency()
DLegalizeTypes.cpp954 SDValue DAGTypeLegalizer::DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo) { in DisintegrateMERGE_VALUES() argument
956 if (i != ResNo) in DisintegrateMERGE_VALUES()
958 return SDValue(N->getOperand(ResNo)); in DisintegrateMERGE_VALUES()
DTargetLowering.cpp2141 unsigned ResNo = 0; // ResNo - The result number of the next output. in ParseConstraints() local
2167 OpInfo.ConstraintVT = getSimpleValueType(STy->getElementType(ResNo)); in ParseConstraints()
2169 assert(ResNo == 0 && "Asm only has one result!"); in ParseConstraints()
2172 ++ResNo; in ParseConstraints()
DSelectionDAGBuilder.cpp6206 unsigned ResNo = 0; // ResNo - The result number of the next output. in visitInlineAsm() local
6226 OpVT = TLI->getSimpleValueType(STy->getElementType(ResNo)); in visitInlineAsm()
6228 assert(ResNo == 0 && "Asm only has one result!"); in visitInlineAsm()
6231 ++ResNo; in visitInlineAsm()
/freebsd-9-stable/contrib/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h96 unsigned ResNo; // Which return value of the node we are using. variable
98 SDValue() : Node(0), ResNo(0) {} in SDValue()
99 SDValue(SDNode *node, unsigned resno) : Node(node), ResNo(resno) {} in SDValue()
102 unsigned getResNo() const { return ResNo; } in getResNo()
113 return Node == O.Node && ResNo == O.ResNo;
119 return Node < O.Node || (Node == O.Node && ResNo < O.ResNo);
609 EVT getValueType(unsigned ResNo) const {
610 assert(ResNo < NumValues && "Illegal result number!");
611 return ValueList[ResNo];
616 MVT getSimpleValueType(unsigned ResNo) const {
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp3776 unsigned ResNo = UI.getUse().getResNo(); in CombineVLDDUP() local
3778 if (ResNo == NumVecs) in CombineVLDDUP()
3781 DCI.CombineTo(User, SDValue(VLDDup.getNode(), ResNo)); in CombineVLDDUP()
/freebsd-9-stable/contrib/llvm/lib/Target/ARM/
DARMISelLowering.cpp9519 unsigned ResNo = UI.getUse().getResNo(); in CombineVLDDUP() local
9521 if (ResNo == NumVecs) in CombineVLDDUP()
9524 DCI.CombineTo(User, SDValue(VLDDup.getNode(), ResNo)); in CombineVLDDUP()