/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | CodeGenDAGPatterns.h | 225 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 …]
|
D | CodeGenDAGPatterns.cpp | 811 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 …]
|
/external/llvm/utils/TableGen/ |
D | CodeGenDAGPatterns.h | 250 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 …]
|
D | CodeGenDAGPatterns.cpp | 963 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 …]
|
D | DAGISelMatcher.h | 484 unsigned ResNo; variable 487 : Matcher(CheckType), Type(type), ResNo(resno) {} in CheckTypeMatcher() 490 unsigned getResNo() const { return ResNo; } in getResNo()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.h | 174 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo); 234 void PromoteIntegerResult(SDNode *N, unsigned ResNo); 235 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo); 240 SDValue PromoteIntRes_AtomicCmpSwap(AtomicSDNode *N, unsigned ResNo); 265 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo); 278 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo); 281 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo); 329 void ExpandIntegerResult(SDNode *N, unsigned ResNo); 413 void ReplaceSoftenFloatResult(SDNode *N, unsigned ResNo, SDValue &NewRes) { in ReplaceSoftenFloatResult() argument 418 if (NewRes.getNode() != N && isLegalInHWReg(N->getValueType(ResNo))) in ReplaceSoftenFloatResult() [all …]
|
D | LegalizeFloatTypes.cpp | 49 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 …]
|
D | SDNodeDbgValue.h | 41 unsigned ResNo; // valid for expressions member 63 u.s.ResNo = R; in SDDbgValue() 97 unsigned getResNo() const { assert (kind==SDNODE); return u.s.ResNo; } in getResNo()
|
D | InstrEmitter.h | 41 void EmitCopyFromReg(SDNode *Node, unsigned ResNo, 49 unsigned ResNo) const;
|
D | InstrEmitter.cpp | 87 EmitCopyFromReg(SDNode *Node, unsigned ResNo, bool IsClone, bool IsCloned, in EmitCopyFromReg() argument 92 SDValue Op(Node, ResNo); in EmitCopyFromReg() 105 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()
|
D | LegalizeTypesGeneric.cpp | 35 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()
|
D | LegalizeIntegerTypes.cpp | 37 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() 133 case ISD::SSUBO: Res = PromoteIntRes_SADDSUBO(N, ResNo); break; in PromoteIntegerResult() 135 case ISD::USUBO: Res = PromoteIntRes_UADDSUBO(N, ResNo); break; in PromoteIntegerResult() 137 case ISD::UMULO: Res = PromoteIntRes_XMULO(N, ResNo); break; in PromoteIntegerResult() 157 Res = PromoteIntRes_AtomicCmpSwap(cast<AtomicSDNode>(N), ResNo); in PromoteIntegerResult() 163 SetPromotedInteger(SDValue(N, ResNo), Res); in PromoteIntegerResult() 167 unsigned ResNo) { in PromoteIntRes_MERGE_VALUES() argument [all …]
|
D | ScheduleDAGSDNodes.cpp | 121 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()
|
D | LegalizeVectorTypes.cpp | 35 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() 569 void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) { in SplitVectorResult() argument 576 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in SplitVectorResult() 582 dbgs() << "SplitVectorResult #" << ResNo << ": "; in SplitVectorResult() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SDNodeDbgValue.h | 42 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()
|
D | LegalizeTypes.h | 155 SDValue DisintegrateMERGE_VALUES(SDNode *N, unsigned ResNo); 215 void PromoteIntegerResult(SDNode *N, unsigned ResNo); 216 SDValue PromoteIntRes_MERGE_VALUES(SDNode *N, unsigned ResNo); 242 SDValue PromoteIntRes_SADDSUBO(SDNode *N, unsigned ResNo); 254 SDValue PromoteIntRes_UADDSUBO(SDNode *N, unsigned ResNo); 258 SDValue PromoteIntRes_XMULO(SDNode *N, unsigned ResNo); 304 void ExpandIntegerResult(SDNode *N, unsigned ResNo); 305 void ExpandIntRes_MERGE_VALUES (SDNode *N, unsigned ResNo, 383 SDValue SoftenFloatRes_MERGE_VALUES(SDNode *N, unsigned ResNo); 451 void ExpandFloatResult(SDNode *N, unsigned ResNo); [all …]
|
D | InstrEmitter.h | 41 void EmitCopyFromReg(SDNode *Node, unsigned ResNo, 49 unsigned ResNo) const;
|
D | InstrEmitter.cpp | 67 EmitCopyFromReg(SDNode *Node, unsigned ResNo, bool IsClone, bool IsCloned, in EmitCopyFromReg() argument 72 SDValue Op(Node, ResNo); in EmitCopyFromReg() 85 EVT VT = Node->getValueType(ResNo); in EmitCopyFromReg() 98 User->getOperand(2).getResNo() == ResNo) { in EmitCopyFromReg() 108 if (Op.getNode() != Node || Op.getResNo() != ResNo) in EmitCopyFromReg() 161 SDValue Op(Node, ResNo); in EmitCopyFromReg() 172 unsigned ResNo) const { in getDstOfOnlyCopyToRegUse() 179 User->getOperand(2).getResNo() == ResNo) { in getDstOfOnlyCopyToRegUse()
|
D | LegalizeVectorTypes.cpp | 34 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() 50 case ISD::MERGE_VALUES: R = ScalarizeVecRes_MERGE_VALUES(N, ResNo);break; in ScalarizeVectorResult() 122 SetScalarizedVector(SDValue(N, ResNo), R); in ScalarizeVectorResult() 133 unsigned ResNo) { in ScalarizeVecRes_MERGE_VALUES() argument 134 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in ScalarizeVecRes_MERGE_VALUES() 403 void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) { in SplitVectorResult() argument 412 dbgs() << "SplitVectorResult #" << ResNo << ": "; in SplitVectorResult() 418 case ISD::MERGE_VALUES: SplitRes_MERGE_VALUES(N, ResNo, Lo, Hi); break; in SplitVectorResult() [all …]
|
D | LegalizeFloatTypes.cpp | 45 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() 58 case ISD::MERGE_VALUES:R = SoftenFloatRes_MERGE_VALUES(N, ResNo); break; in SoftenFloatResult() 104 SetSoftenedFloat(SDValue(N, ResNo), R); in SoftenFloatResult() 112 unsigned ResNo) { in SoftenFloatRes_MERGE_VALUES() argument 113 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SoftenFloatRes_MERGE_VALUES() 820 void DAGTypeLegalizer::ExpandFloatResult(SDNode *N, unsigned ResNo) { in ExpandFloatResult() argument 826 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in ExpandFloatResult() 832 dbgs() << "ExpandFloatResult #" << ResNo << ": "; in ExpandFloatResult() [all …]
|
D | LegalizeIntegerTypes.cpp | 36 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() 51 case ISD::MERGE_VALUES:Res = PromoteIntRes_MERGE_VALUES(N, ResNo); break; in PromoteIntegerResult() 115 case ISD::SSUBO: Res = PromoteIntRes_SADDSUBO(N, ResNo); break; in PromoteIntegerResult() 117 case ISD::USUBO: Res = PromoteIntRes_UADDSUBO(N, ResNo); break; in PromoteIntegerResult() 119 case ISD::UMULO: Res = PromoteIntRes_XMULO(N, ResNo); break; in PromoteIntegerResult() 143 SetPromotedInteger(SDValue(N, ResNo), Res); in PromoteIntegerResult() 147 unsigned ResNo) { in PromoteIntRes_MERGE_VALUES() argument 148 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in PromoteIntRes_MERGE_VALUES() [all …]
|
D | LegalizeTypesGeneric.cpp | 34 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() 434 void DAGTypeLegalizer::SplitRes_MERGE_VALUES(SDNode *N, unsigned ResNo, in SplitRes_MERGE_VALUES() argument 436 SDValue Op = DisintegrateMERGE_VALUES(N, ResNo); in SplitRes_MERGE_VALUES()
|
D | ScheduleDAGSDNodes.cpp | 113 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()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 109 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); 195 V.ResNo = -1U; 200 V.ResNo = -2U; 726 EVT getValueType(unsigned ResNo) const { 727 assert(ResNo < NumValues && "Illegal result number!"); 728 return ValueList[ResNo]; [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 92 unsigned ResNo; // Which return value of the node we are using. variable 94 SDValue() : Node(0), ResNo(0) {} in SDValue() 95 SDValue(SDNode *node, unsigned resno) : Node(node), ResNo(resno) {} in SDValue() 98 unsigned getResNo() const { return ResNo; } in getResNo() 109 return Node == O.Node && ResNo == O.ResNo; 115 return Node < O.Node || (Node == O.Node && ResNo < O.ResNo); 588 EVT getValueType(unsigned ResNo) const { 589 assert(ResNo < NumValues && "Illegal result number!"); 590 return ValueList[ResNo]; 595 unsigned getValueSizeInBits(unsigned ResNo) const { [all …]
|