Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h472 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
694 ValueTypeByHwMode getType(unsigned ResNo) const { in getType() argument
695 return Types[ResNo].getValueTypeByHwMode(); in getType()
698 const TypeSetByHwMode &getExtType(unsigned ResNo) const { in getExtType() argument
699 return Types[ResNo]; in getExtType()
701 TypeSetByHwMode &getExtType(unsigned ResNo) { return Types[ResNo]; } in getExtType() argument
702 void setType(unsigned ResNo, const TypeSetByHwMode &T) { Types[ResNo] = T; } in setType() argument
703 MVT::SimpleValueType getSimpleType(unsigned ResNo) const { in getSimpleType() argument
704 return Types[ResNo].getMachineValueType().SimpleTy; in getSimpleType()
707 bool hasConcreteType(unsigned ResNo) const { in hasConcreteType() argument
[all …]
H A DCodeGenDAGPatterns.cpp1561 unsigned &ResNo) { in getOperandNum() argument
1564 ResNo = OpNo; in getOperandNum()
1591 unsigned ResNo = 0; // The result number being referenced. in ApplyTypeConstraint() local
1592 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
1598 return NodeToApply->UpdateNodeType(ResNo, VVT, TP); in ApplyTypeConstraint()
1601 return NodeToApply->UpdateNodeType(ResNo, MVT::iPTR, TP); in ApplyTypeConstraint()
1604 return TI.EnforceInteger(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1607 return TI.EnforceFloatingPoint(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1610 return TI.EnforceVector(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1615 return NodeToApply->UpdateNodeType(ResNo, OtherNode->getExtType(OResNo),TP)| in ApplyTypeConstraint()
[all …]
H A DDAGISelMatcherGen.cpp1079 for (unsigned ResNo = 0; ResNo < Pattern.getDstPattern()->getNumResults(); in EmitResultCode() local
1080 ++ResNo) { in EmitResultCode()
1081 Results[ResNo] = Ops[Pattern.getDstPattern()->getResultIndex(ResNo)]; in EmitResultCode()
H A DDAGISelMatcher.h499 unsigned ResNo; variable
502 : Matcher(CheckType), Type(type), ResNo(resno) {} in CheckTypeMatcher()
505 unsigned getResNo() const { return ResNo; } in getResNo()
H A DDAGISelMatcher.cpp183 << ResNo << '\n'; in printImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.h227 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo);
293 void PromoteIntegerResult(SDNode *N, unsigned ResNo);
294 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo);
299 SDValue PromoteIntRes_AtomicCmpSwap(AtomicSDNode *N, unsigned ResNo);
329 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo);
343 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo);
344 SDValue PromoteIntRes_ADDSUBCARRY(SDNode *N, unsigned ResNo);
345 SDValue PromoteIntRes_SADDSUBO_CARRY(SDNode *N, unsigned ResNo);
349 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo);
414 void ExpandIntegerResult(SDNode *N, unsigned ResNo);
[all …]
H A DSDNodeDbgValue.h49 return u.s.ResNo; in getResNo()
70 static SDDbgOperand fromNode(SDNode *Node, unsigned ResNo) { in fromNode() argument
71 return SDDbgOperand(Node, ResNo); in fromNode()
105 unsigned ResNo; ///< Valid for expressions. member
115 u.s.ResNo = R; in SDDbgOperand()
H A DLegalizeFloatTypes.cpp48 void DAGTypeLegalizer::SoftenFloatResult(SDNode *N, unsigned ResNo) { in SoftenFloatResult() argument
49 LLVM_DEBUG(dbgs() << "Soften float result " << ResNo << ": "; N->dump(&DAG); in SoftenFloatResult()
56 dbgs() << "SoftenFloatResult #" << ResNo << ": "; in SoftenFloatResult()
61 case ISD::MERGE_VALUES:R = SoftenFloatRes_MERGE_VALUES(N, ResNo); break; in SoftenFloatResult()
66 R = SoftenFloatRes_EXTRACT_VECTOR_ELT(N, ResNo); break; in SoftenFloatResult()
152 SetSoftenedFloat(SDValue(N, ResNo), R); in SoftenFloatResult()
207 unsigned ResNo) { in SoftenFloatRes_MERGE_VALUES() argument
208 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SoftenFloatRes_MERGE_VALUES()
245 SDValue DAGTypeLegalizer::SoftenFloatRes_EXTRACT_VECTOR_ELT(SDNode *N, unsigned ResNo) { in SoftenFloatRes_EXTRACT_VECTOR_ELT() argument
1157 void DAGTypeLegalizer::ExpandFloatResult(SDNode *N, unsigned ResNo) { in ExpandFloatResult() argument
[all …]
H A DLegalizeVectorTypes.cpp36 void DAGTypeLegalizer::ScalarizeVectorResult(SDNode *N, unsigned ResNo) { in ScalarizeVectorResult() argument
37 LLVM_DEBUG(dbgs() << "Scalarize node result " << ResNo << ": "; N->dump(&DAG); in ScalarizeVectorResult()
44 dbgs() << "ScalarizeVectorResult #" << ResNo << ": "; in ScalarizeVectorResult()
51 case ISD::MERGE_VALUES: R = ScalarizeVecRes_MERGE_VALUES(N, ResNo);break; in ScalarizeVectorResult()
176 R = ScalarizeVecRes_OverflowOp(N, ResNo); in ScalarizeVectorResult()
192 SetScalarizedVector(SDValue(N, ResNo), R); in ScalarizeVectorResult()
250 unsigned ResNo) { in ScalarizeVecRes_OverflowOp() argument
274 unsigned OtherNo = 1 - ResNo; in ScalarizeVecRes_OverflowOp()
284 return SDValue(ScalarNode, ResNo); in ScalarizeVecRes_OverflowOp()
288 unsigned ResNo) { in ScalarizeVecRes_MERGE_VALUES() argument
[all …]
H A DLegalizeTypesGeneric.cpp34 void DAGTypeLegalizer::ExpandRes_MERGE_VALUES(SDNode *N, unsigned ResNo, in ExpandRes_MERGE_VALUES() argument
36 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in ExpandRes_MERGE_VALUES()
503 void DAGTypeLegalizer::SplitRes_MERGE_VALUES(SDNode *N, unsigned ResNo, in SplitRes_MERGE_VALUES() argument
505 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SplitRes_MERGE_VALUES()
H A DInstrEmitter.cpp89 EmitCopyFromReg(SDNode *Node, unsigned ResNo, bool IsClone, bool IsCloned, in EmitCopyFromReg() argument
94 SDValue Op(Node, ResNo); in EmitCopyFromReg()
107 MVT VT = Node->getSimpleValueType(ResNo); in EmitCopyFromReg()
118 User->getOperand(2).getResNo() == ResNo) { in EmitCopyFromReg()
128 if (Op.getNode() != Node || Op.getResNo() != ResNo) in EmitCopyFromReg()
184 SDValue Op(Node, ResNo); in EmitCopyFromReg()
H A DLegalizeIntegerTypes.cpp37 void DAGTypeLegalizer::PromoteIntegerResult(SDNode *N, unsigned ResNo) { in PromoteIntegerResult() argument
43 if (CustomLowerNode(N, N->getValueType(ResNo), true)) { in PromoteIntegerResult()
51 dbgs() << "PromoteIntegerResult #" << ResNo << ": "; in PromoteIntegerResult()
55 case ISD::MERGE_VALUES:Res = PromoteIntRes_MERGE_VALUES(N, ResNo); break; in PromoteIntegerResult()
153 case ISD::SSUBO: Res = PromoteIntRes_SADDSUBO(N, ResNo); break; in PromoteIntegerResult()
155 case ISD::USUBO: Res = PromoteIntRes_UADDSUBO(N, ResNo); break; in PromoteIntegerResult()
157 case ISD::UMULO: Res = PromoteIntRes_XMULO(N, ResNo); break; in PromoteIntegerResult()
162 case ISD::SUBCARRY: Res = PromoteIntRes_ADDSUBCARRY(N, ResNo); break; in PromoteIntegerResult()
165 case ISD::SSUBO_CARRY: Res = PromoteIntRes_SADDSUBO_CARRY(N, ResNo); break; in PromoteIntegerResult()
205 Res = PromoteIntRes_AtomicCmpSwap(cast<AtomicSDNode>(N), ResNo); in PromoteIntegerResult()
[all …]
H A DInstrEmitter.h47 void EmitCopyFromReg(SDNode *Node, unsigned ResNo,
H A DLegalizeTypes.cpp967 SDValue DAGTypeLegalizer::DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo) { in DisintegrateMERGE_VALUES() argument
969 if (i != ResNo) in DisintegrateMERGE_VALUES()
971 return SDValue(N->getOperand(ResNo)); in DisintegrateMERGE_VALUES()
H A DScheduleDAGSDNodes.cpp122 unsigned ResNo = User->getOperand(2).getResNo(); in CheckForPhysRegDependency() local
128 if (ResNo >= II.getNumDefs() && II.hasImplicitDefOfPhysReg(Reg)) in CheckForPhysRegDependency()
134 TRI->getMinimalPhysRegClass(Reg, Def->getSimpleValueType(ResNo)); in CheckForPhysRegDependency()
H A DTargetLowering.cpp4636 unsigned ResNo = 0; // ResNo - The result number of the next output. in ParseConstraints() local
4662 getSimpleValueType(DL, STy->getElementType(ResNo)); in ParseConstraints()
4664 assert(ResNo == 0 && "Asm only has one result!"); in ParseConstraints()
4667 ++ResNo; in ParseConstraints()
H A DSelectionDAGBuilder.cpp8382 unsigned ResNo = 0; // ResNo - The result number of the next output. in visitInlineAsm() local
8420 DAG.getDataLayout(), STy->getElementType(ResNo)); in visitInlineAsm()
8422 assert(ResNo == 0 && "Asm only has one result!"); in visitInlineAsm()
8426 ++ResNo; in visitInlineAsm()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h142 unsigned ResNo = 0; // Which return value of the node we are using.
149 unsigned getResNo() const { return ResNo; }
160 return Node == O.Node && ResNo == O.ResNo;
166 return std::tie(Node, ResNo) < std::tie(O.Node, O.ResNo);
235 V.ResNo = -1U;
241 V.ResNo = -2U;
958 EVT getValueType(unsigned ResNo) const {
959 assert(ResNo < NumValues && "Illegal result number!");
960 return ValueList[ResNo];
964 MVT getSimpleValueType(unsigned ResNo) const {
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DInlineAsmLowering.cpp294 unsigned ResNo = 0; // ResNo - The result number of the next output. in lowerInlineAsm() local
334 TLI->getSimpleValueType(DL, STy->getElementType(ResNo)); in lowerInlineAsm()
336 assert(ResNo == 0 && "Asm only has one result!"); in lowerInlineAsm()
339 ++ResNo; in lowerInlineAsm()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp15018 unsigned ResNo = UI.getUse().getResNo(); in CombineVLDDUP() local
15020 if (ResNo == NumVecs) in CombineVLDDUP()
15023 DCI.CombineTo(User, SDValue(VLDDup.getNode(), ResNo)); in CombineVLDDUP()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp41101 unsigned ResNo = InputVector.getResNo(); in combineExtractVectorElt() local
41102 auto IsBoolExtract = [&BoolExtracts, &ResNo](SDNode *Use) { in combineExtractVectorElt()
41105 Use->getOperand(0).getResNo() == ResNo && in combineExtractVectorElt()