Lines Matching refs:OpVT
1212 EVT OpVT) { in getBoolExtOrTrunc() argument
1216 TargetLowering::BooleanContent BType = TLI->getBooleanContents(OpVT); in getBoolExtOrTrunc()
1221 EVT OpVT = Op.getValueType(); in getZeroExtendInReg() local
1222 assert(VT.isInteger() && OpVT.isInteger() && in getZeroExtendInReg()
1224 assert(VT.isVector() == OpVT.isVector() && in getZeroExtendInReg()
1228 VT.getVectorElementCount() == OpVT.getVectorElementCount()) && in getZeroExtendInReg()
1230 assert(VT.bitsLE(OpVT) && "Not extending!"); in getZeroExtendInReg()
1231 if (OpVT == VT) in getZeroExtendInReg()
1233 APInt Imm = APInt::getLowBitsSet(OpVT.getScalarSizeInBits(), in getZeroExtendInReg()
1235 return getNode(ISD::AND, DL, OpVT, Op, getConstant(Imm, DL, OpVT)); in getZeroExtendInReg()
1264 EVT OpVT) { in getBoolConstant() argument
1268 switch (TLI->getBooleanContents(OpVT)) { in getBoolConstant()
2114 EVT OpVT = N1.getValueType(); in FoldSetCC() local
2120 case ISD::SETFALSE2: return getBoolConstant(false, dl, VT, OpVT); in FoldSetCC()
2122 case ISD::SETTRUE2: return getBoolConstant(true, dl, VT, OpVT); in FoldSetCC()
2134 assert(!OpVT.isInteger() && "Illegal setcc for integer!"); in FoldSetCC()
2138 if (OpVT.isInteger()) { in FoldSetCC()
2155 return getBoolConstant(ISD::isTrueWhenEqual(Cond), dl, VT, OpVT); in FoldSetCC()
2165 case ISD::SETEQ: return getBoolConstant(C1 == C2, dl, VT, OpVT); in FoldSetCC()
2166 case ISD::SETNE: return getBoolConstant(C1 != C2, dl, VT, OpVT); in FoldSetCC()
2167 case ISD::SETULT: return getBoolConstant(C1.ult(C2), dl, VT, OpVT); in FoldSetCC()
2168 case ISD::SETUGT: return getBoolConstant(C1.ugt(C2), dl, VT, OpVT); in FoldSetCC()
2169 case ISD::SETULE: return getBoolConstant(C1.ule(C2), dl, VT, OpVT); in FoldSetCC()
2170 case ISD::SETUGE: return getBoolConstant(C1.uge(C2), dl, VT, OpVT); in FoldSetCC()
2171 case ISD::SETLT: return getBoolConstant(C1.slt(C2), dl, VT, OpVT); in FoldSetCC()
2172 case ISD::SETGT: return getBoolConstant(C1.sgt(C2), dl, VT, OpVT); in FoldSetCC()
2173 case ISD::SETLE: return getBoolConstant(C1.sle(C2), dl, VT, OpVT); in FoldSetCC()
2174 case ISD::SETGE: return getBoolConstant(C1.sge(C2), dl, VT, OpVT); in FoldSetCC()
2190 OpVT); in FoldSetCC()
2196 OpVT); in FoldSetCC()
2201 OpVT); in FoldSetCC()
2206 VT, OpVT); in FoldSetCC()
2212 OpVT); in FoldSetCC()
2217 R==APFloat::cmpEqual, dl, VT, OpVT); in FoldSetCC()
2219 OpVT); in FoldSetCC()
2221 OpVT); in FoldSetCC()
2224 OpVT); in FoldSetCC()
2226 OpVT); in FoldSetCC()
2229 OpVT); in FoldSetCC()
2232 OpVT); in FoldSetCC()
2234 VT, OpVT); in FoldSetCC()
2236 OpVT); in FoldSetCC()
2238 } else if (N1CFP && OpVT.isSimple() && !N2.isUndef()) { in FoldSetCC()
2241 if (!TLI->isCondCodeLegal(SwappedCond, OpVT.getSimpleVT())) in FoldSetCC()
2245 (OpVT.isFloatingPoint() && (N1.isUndef() || N2.isUndef()))) { in FoldSetCC()
2255 return getBoolConstant(false, dl, VT, OpVT); in FoldSetCC()
2257 return getBoolConstant(true, dl, VT, OpVT); in FoldSetCC()
3427 EVT OpVT = Val.getValueType(); in isKnownToBeAPowerOfTwo() local
3428 unsigned BitWidth = OpVT.getScalarSizeInBits(); in isKnownToBeAPowerOfTwo()
4299 EVT OpVT = Op.getValueType(); in foldCONCAT_VECTORS() local
4301 Elts.append(OpVT.getVectorNumElements(), DAG.getUNDEF(SVT)); in foldCONCAT_VECTORS()
5386 llvm::EVT OpVT = N1.getOperand(0).getValueType(); in getNode() local
5390 Ops.push_back(getUNDEF(OpVT)); in getNode()
5395 Ops.push_back(SignExtendInReg(Val, OpVT)); in getNode()
9400 EVT OpVT = Op.getValueType(); in matchBinOpReduction() local
9401 EVT OpSVT = OpVT.getScalarType(); in matchBinOpReduction()
9403 if (!TLI->isExtractSubvectorCheap(SubVT, OpVT, 0)) in matchBinOpReduction()