Home
last modified time | relevance | path

Searched refs:VTBits (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3508 unsigned VTBits = VT.getScalarSizeInBits(); in ComputeNumSignBits() local
3529 return VTBits-Tmp+1; in ComputeNumSignBits()
3532 return VTBits-Tmp; in ComputeNumSignBits()
3535 Tmp = VTBits; in ComputeNumSignBits()
3544 if (SrcOp.getValueSizeInBits() != VTBits) { in ComputeNumSignBits()
3545 assert(SrcOp.getValueSizeInBits() > VTBits && in ComputeNumSignBits()
3547 unsigned ExtraBits = SrcOp.getValueSizeInBits() - VTBits; in ComputeNumSignBits()
3583 assert(Tmp <= VTBits && "Failed to determine minimum sign bits"); in ComputeNumSignBits()
3597 if (VTBits == SrcBits) in ComputeNumSignBits()
3603 if ((SrcBits % VTBits) == 0) { in ComputeNumSignBits()
[all …]
DLegalizeIntegerTypes.cpp1967 unsigned VTBits = N->getValueType(0).getSizeInBits(); in ExpandShiftByConstant() local
1972 if (Amt.ugt(VTBits)) { in ExpandShiftByConstant()
1993 if (Amt.ugt(VTBits)) { in ExpandShiftByConstant()
2014 if (Amt.ugt(VTBits)) { in ExpandShiftByConstant()
DDAGCombiner.cpp9128 unsigned VTBits = SVT.getSizeInBits(); in tryToFoldExtendOfConstant() local
9150 Elts.push_back(DAG.getConstant(C.sext(VTBits), DL, SVT)); in tryToFoldExtendOfConstant()
9152 Elts.push_back(DAG.getConstant(C.zext(VTBits), DL, SVT)); in tryToFoldExtendOfConstant()
10565 unsigned VTBits = VT.getScalarSizeInBits(); in visitSIGN_EXTEND_INREG() local
10576 if (DAG.ComputeNumSignBits(N0) >= VTBits-EVTBits+1) in visitSIGN_EXTEND_INREG()
10619 if (DAG.MaskedValueIsZero(N0, APInt::getOneBitSet(VTBits, EVTBits - 1))) in visitSIGN_EXTEND_INREG()
10637 if (ShAmt->getAPIntValue().ule(VTBits - EVTBits)) { in visitSIGN_EXTEND_INREG()
10641 if (((VTBits - EVTBits) - ShAmt->getZExtValue()) < InSignBits) in visitSIGN_EXTEND_INREG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp1238 unsigned VTBits = VT.getSizeInBits(); in LowerSHL_PARTS() local
1253 DAG.getConstant(VTBits, dl, MVT::i32), ShAmt); in LowerSHL_PARTS()
1263 DAG.getConstant(VTBits, dl, MVT::i32)); in LowerSHL_PARTS()
1287 unsigned VTBits = VT.getSizeInBits(); in LowerSRL_PARTS() local
1306 ISD::SUB, dl, MVT::i32, DAG.getConstant(VTBits, dl, MVT::i32), ShAmt); in LowerSRL_PARTS()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1968 unsigned VTBits = VT.getSizeInBits(); in LowerShiftRightParts() local
1975 if (VTBits == 32 && STI.getSmVersion() >= 35) { in LowerShiftRightParts()
1998 DAG.getConstant(VTBits, dl, MVT::i32), in LowerShiftRightParts()
2002 DAG.getConstant(VTBits, dl, MVT::i32)); in LowerShiftRightParts()
2008 DAG.getConstant(VTBits, dl, MVT::i32), in LowerShiftRightParts()
2029 unsigned VTBits = VT.getSizeInBits(); in LowerShiftLeftParts() local
2035 if (VTBits == 32 && STI.getSmVersion() >= 35) { in LowerShiftLeftParts()
2058 DAG.getConstant(VTBits, dl, MVT::i32), in LowerShiftLeftParts()
2062 DAG.getConstant(VTBits, dl, MVT::i32)); in LowerShiftLeftParts()
2068 DAG.getConstant(VTBits, dl, MVT::i32), in LowerShiftLeftParts()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp3100 unsigned VTBits = 2 * NVTBits; in narrowScalarShiftByConstant() local
3104 if (Amt.ugt(VTBits)) { in narrowScalarShiftByConstant()
3122 if (Amt.ugt(VTBits)) { in narrowScalarShiftByConstant()
3142 if (Amt.ugt(VTBits)) { in narrowScalarShiftByConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp6627 unsigned VTBits = VT.getScalarSizeInBits(); in computeNumSignBitsBinOp() local
6628 if (SrcBitWidth > VTBits) { // PACK in computeNumSignBitsBinOp()
6629 unsigned SrcExtraBits = SrcBitWidth - VTBits; in computeNumSignBitsBinOp()
6634 assert (SrcBitWidth == VTBits && "Expected operands of same bitwidth."); in computeNumSignBitsBinOp()
6674 unsigned VTBits = VT.getScalarSizeInBits(); in ComputeNumSignBitsForTargetNode() local
6675 Tmp += VTBits - PackedOp.getScalarValueSizeInBits(); in ComputeNumSignBitsForTargetNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5884 unsigned VTBits = VT.getSizeInBits(); in LowerShiftRightParts() local
5894 DAG.getConstant(VTBits, dl, MVT::i64), ShAmt); in LowerShiftRightParts()
5907 DAG.getConstant(VTBits, dl, MVT::i64)); in LowerShiftRightParts()
5926 DAG.getConstant(VTBits - 1, dl, MVT::i64)) in LowerShiftRightParts()
5941 unsigned VTBits = VT.getSizeInBits(); in LowerShiftLeftParts() local
5949 DAG.getConstant(VTBits, dl, MVT::i64), ShAmt); in LowerShiftLeftParts()
5962 DAG.getConstant(VTBits, dl, MVT::i64)); in LowerShiftLeftParts()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp5849 unsigned VTBits = VT.getSizeInBits(); in LowerShiftRightParts() local
5861 DAG.getConstant(VTBits, dl, MVT::i32), ShAmt); in LowerShiftRightParts()
5864 DAG.getConstant(VTBits, dl, MVT::i32)); in LowerShiftRightParts()
5876 DAG.getConstant(VTBits - 1, dl, VT)) in LowerShiftRightParts()
5893 unsigned VTBits = VT.getSizeInBits(); in LowerShiftLeftParts() local
5903 DAG.getConstant(VTBits, dl, MVT::i32), ShAmt); in LowerShiftLeftParts()
5909 DAG.getConstant(VTBits, dl, MVT::i32)); in LowerShiftLeftParts()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp18484 unsigned VTBits = VT.getSizeInBits(); in LowerShiftParts() local
18494 DAG.getConstant(VTBits - 1, dl, MVT::i8)); in LowerShiftParts()
18496 DAG.getConstant(VTBits - 1, dl, MVT::i8)) in LowerShiftParts()
18512 DAG.getConstant(VTBits, dl, MVT::i8)); in LowerShiftParts()
32728 unsigned VTBits = VT.getScalarSizeInBits(); in ComputeNumSignBitsForTargetNode() local
32733 return VTBits; in ComputeNumSignBitsForTargetNode()
32739 assert(VTBits < NumSrcBits && "Illegal truncation input type"); in ComputeNumSignBitsForTargetNode()
32741 if (Tmp > (NumSrcBits - VTBits)) in ComputeNumSignBitsForTargetNode()
32742 return Tmp - (NumSrcBits - VTBits); in ComputeNumSignBitsForTargetNode()
32759 if (Tmp > (SrcBits - VTBits)) in ComputeNumSignBitsForTargetNode()
[all …]