Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2526 unsigned VTBits = VT.getScalarType().getSizeInBits(); in ComputeNumSignBits() local
2537 return VTBits-Tmp+1; in ComputeNumSignBits()
2540 return VTBits-Tmp; in ComputeNumSignBits()
2549 VTBits-Op.getOperand(0).getValueType().getScalarType().getSizeInBits(); in ComputeNumSignBits()
2556 Tmp = VTBits-Tmp+1; in ComputeNumSignBits()
2566 if (Tmp > VTBits) Tmp = VTBits; in ComputeNumSignBits()
2573 if (C->getZExtValue() >= VTBits || // Bad shift. in ComputeNumSignBits()
2625 return VTBits; in ComputeNumSignBits()
2631 return VTBits; in ComputeNumSignBits()
2636 unsigned RotAmt = C->getZExtValue() & (VTBits-1); in ComputeNumSignBits()
[all …]
DLegalizeIntegerTypes.cpp1428 unsigned VTBits = N->getValueType(0).getSizeInBits(); in ExpandShiftByConstant() local
1433 if (Amt.ugt(VTBits)) { in ExpandShiftByConstant()
1463 if (Amt.ugt(VTBits)) { in ExpandShiftByConstant()
1484 if (Amt.ugt(VTBits)) { in ExpandShiftByConstant()
DTargetLowering.cpp830 unsigned VTBits = Op->getValueType(0).getScalarType().getSizeInBits(); in SimplifyDemandedBits() local
832 TLO.DAG.ComputeNumSignBits(InOp) >= VTBits-ShAmt+1; in SimplifyDemandedBits()
DDAGCombiner.cpp5752 unsigned VTBits = SVT.getSizeInBits(); in tryToFoldExtendOfConstant() local
5770 Elts.push_back(DAG.getConstant(C.sext(VTBits), DL, SVT)); in tryToFoldExtendOfConstant()
5772 Elts.push_back(DAG.getConstant(C.zext(VTBits), DL, SVT)); in tryToFoldExtendOfConstant()
6895 unsigned VTBits = VT.getScalarType().getSizeInBits(); in visitSIGN_EXTEND_INREG() local
6906 if (DAG.ComputeNumSignBits(N0) >= VTBits-EVTBits+1) in visitSIGN_EXTEND_INREG()
6926 if (DAG.MaskedValueIsZero(N0, APInt::getBitsSet(VTBits, EVTBits-1, EVTBits))) in visitSIGN_EXTEND_INREG()
6944 if (ShAmt->getZExtValue()+EVTBits <= VTBits) { in visitSIGN_EXTEND_INREG()
6948 if (VTBits-(ShAmt->getZExtValue()+EVTBits) < InSignBits) in visitSIGN_EXTEND_INREG()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1695 unsigned VTBits = VT.getSizeInBits(); in LowerShiftRightParts() local
1702 if (VTBits == 32 && STI.getSmVersion() >= 35) { in LowerShiftRightParts()
1727 DAG.getConstant(VTBits, dl, MVT::i32), in LowerShiftRightParts()
1731 DAG.getConstant(VTBits, dl, MVT::i32)); in LowerShiftRightParts()
1737 DAG.getConstant(VTBits, dl, MVT::i32), in LowerShiftRightParts()
1758 unsigned VTBits = VT.getSizeInBits(); in LowerShiftLeftParts() local
1764 if (VTBits == 32 && STI.getSmVersion() >= 35) { in LowerShiftLeftParts()
1789 DAG.getConstant(VTBits, dl, MVT::i32), in LowerShiftLeftParts()
1793 DAG.getConstant(VTBits, dl, MVT::i32)); in LowerShiftLeftParts()
1799 DAG.getConstant(VTBits, dl, MVT::i32), in LowerShiftLeftParts()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp4398 unsigned VTBits = VT.getSizeInBits(); in LowerShiftRightParts() local
4408 DAG.getConstant(VTBits, dl, MVT::i64), ShAmt); in LowerShiftRightParts()
4421 DAG.getConstant(VTBits, dl, MVT::i64)); in LowerShiftRightParts()
4440 DAG.getConstant(VTBits - 1, dl, MVT::i64)) in LowerShiftRightParts()
4456 unsigned VTBits = VT.getSizeInBits(); in LowerShiftLeftParts() local
4464 DAG.getConstant(VTBits, dl, MVT::i64), ShAmt); in LowerShiftLeftParts()
4477 DAG.getConstant(VTBits, dl, MVT::i64)); in LowerShiftLeftParts()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp4258 unsigned VTBits = VT.getSizeInBits(); in LowerShiftRightParts() local
4269 DAG.getConstant(VTBits, dl, MVT::i32), ShAmt); in LowerShiftRightParts()
4272 DAG.getConstant(VTBits, dl, MVT::i32)); in LowerShiftRightParts()
4294 unsigned VTBits = VT.getSizeInBits(); in LowerShiftLeftParts() local
4303 DAG.getConstant(VTBits, dl, MVT::i32), ShAmt); in LowerShiftLeftParts()
4306 DAG.getConstant(VTBits, dl, MVT::i32)); in LowerShiftLeftParts()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp12462 unsigned VTBits = VT.getSizeInBits(); in LowerShiftParts() local
12472 DAG.getConstant(VTBits - 1, dl, MVT::i8)); in LowerShiftParts()
12474 DAG.getConstant(VTBits - 1, dl, MVT::i8)) in LowerShiftParts()
12490 DAG.getConstant(VTBits, dl, MVT::i8)); in LowerShiftParts()