Lines Matching refs:VT

32 static inline bool isInteger(MVT::SimpleValueType VT) {
33 return EVT(VT).isInteger();
35 static inline bool isFloatingPoint(MVT::SimpleValueType VT) {
36 return EVT(VT).isFloatingPoint();
38 static inline bool isVector(MVT::SimpleValueType VT) {
39 return EVT(VT).isVector();
41 static inline bool isScalar(MVT::SimpleValueType VT) {
42 return !EVT(VT).isVector();
45 EEVT::TypeSet::TypeSet(MVT::SimpleValueType VT, TreePattern &TP) {
46 if (VT == MVT::iAny)
48 else if (VT == MVT::fAny)
50 else if (VT == MVT::vAny)
53 assert((VT < MVT::LAST_VALUETYPE || VT == MVT::iPTR ||
54 VT == MVT::iPTRAny) && "Not a concrete type!");
55 TypeVec.push_back(VT);
319 /// EnforceSmallerThan - 'this' must be a smaller VT than Other. Update
525 MVT::SimpleValueType VT = VTOperand.getConcrete();
532 if (EVT(TypeVec[i]).getVectorElementType().getSimpleVT().SimpleTy != VT) {
774 x.SDTCisVT_Info.VT = getValueType(R->getValueAsDef("VT"));
775 if (x.SDTCisVT_Info.VT == MVT::isVoid)
847 return NodeToApply->UpdateNodeType(ResNo, x.SDTCisVT_Info.VT, TP);
868 // The NodeToApply must be a leaf node that is a VT. OtherOperandNum must
869 // have an integer type that is smaller than the VT.
874 TP.error(N->getOperator()->getName() + " expects a VT operand!");
875 MVT::SimpleValueType VT =
878 EEVT::TypeSet TypeListTmp(VT, TP);
988 return TypeConstraints[i].x.SDTCisVT_Info.VT;
1405 MVT::SimpleValueType VT = getType(0);
1406 if (VT == MVT::iPTR || VT == MVT::iPTRAny)
1409 unsigned Size = EVT(VT).getSizeInBits();
1556 MVT::SimpleValueType VT =
1559 if (VT != MVT::Other)
1560 MadeChange |= UpdateNodeType(ResNo, VT, TP);
1587 MVT::SimpleValueType VT;
1601 VT = getValueType(OperandNode->getValueAsDef("Type"));
1602 MadeChange |= Child->UpdateNodeType(ChildResNo, VT, TP);