| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypes.cpp | 762 assert(Result.getValueSizeInBits().getFixedSize() >= in SetScalarizedVector() 793 DAG.transferDbgValues(Op, Hi, 0, Hi.getValueSizeInBits(), false); in SetExpandedInteger() 794 DAG.transferDbgValues(Op, Lo, Hi.getValueSizeInBits(), in SetExpandedInteger() 795 Lo.getValueSizeInBits()); in SetExpandedInteger() 797 DAG.transferDbgValues(Op, Lo, 0, Lo.getValueSizeInBits(), false); in SetExpandedInteger() 798 DAG.transferDbgValues(Op, Hi, Lo.getValueSizeInBits(), in SetExpandedInteger() 799 Hi.getValueSizeInBits()); in SetExpandedInteger() 879 unsigned BitWidth = Op.getValueSizeInBits(); in BitConvertToInteger() 1027 Op.getValueSizeInBits() && "Invalid integer splitting!"); in SplitInteger() 1045 EVT::getIntegerVT(*DAG.getContext(), Op.getValueSizeInBits() / 2); in SplitInteger()
|
| H A D | TargetLowering.cpp | 2485 unsigned OpVTSizeInBits = Op.getValueSizeInBits(); in SimplifyDemandedBits() 2488 unsigned ShVal = Op.getValueSizeInBits() - 1; in SimplifyDemandedBits() 3265 Op.getValueSizeInBits() == Src.getValueSizeInBits() && in SimplifyDemandedVectorElts() 3281 Op.getValueSizeInBits() == Src.getValueSizeInBits()) { in SimplifyDemandedVectorElts() 4218 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC() 4223 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC() 4234 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC() 4315 unsigned origWidth = N0.getValueSizeInBits(); in SimplifySetCC() 4361 unsigned InSize = N0.getOperand(0).getValueSizeInBits(); in SimplifySetCC() 4463 unsigned BitWidth = N0.getValueSizeInBits(); in SimplifySetCC() [all …]
|
| H A D | LegalizeTypesGeneric.cpp | 141 EVT::getIntegerVT(*DAG.getContext(), LHS.getValueSizeInBits() << 1), in ExpandRes_BITCAST()
|
| H A D | DAGCombiner.cpp | 7788 unsigned BitWidth = Op.getValueSizeInBits(); in calculateByteProvider() 12459 InnerZExt.getOperand(0).getValueSizeInBits(); in visitZERO_EXTEND() 17024 APInt UsedBits(Inst->getValueSizeInBits(0), 0); in getUsedBits() 17108 assert(!(Origin->getValueSizeInBits(0) & 0x7) && in getOffsetFromBase() 17367 APInt UsedBits(LD->getValueSizeInBits(0), 0); in SliceUpLoad() 17399 unsigned Width = User->getValueSizeInBits(0); in SliceUpLoad() 17488 NotMaskLZ -= 64-V.getValueSizeInBits(); in CheckForMaskedLoad() 17654 unsigned BitWidth = N1.getValueSizeInBits(); in ReduceLoadOpStoreWidth() 19858 unsigned XBitWidth = X.getValueSizeInBits(); in visitEXTRACT_VECTOR_ELT() 20421 unsigned DestSize = Zext.getValueSizeInBits(); in reduceBuildVecToShuffleWithZero() [all …]
|
| H A D | SelectionDAG.cpp | 2957 if (SrcOp.getValueSizeInBits() != BitWidth) { in computeKnownBits() 2958 assert(SrcOp.getValueSizeInBits() > BitWidth && in computeKnownBits() 3077 if (N0.getValueSizeInBits() != BitWidth) in computeKnownBits() 3616 const unsigned EltBitWidth = Op.getValueSizeInBits(); in computeKnownBits() 3969 if (SrcOp.getValueSizeInBits() != VTBits) { in ComputeNumSignBits() 3970 assert(SrcOp.getValueSizeInBits() > VTBits && in ComputeNumSignBits() 3972 unsigned ExtraBits = SrcOp.getValueSizeInBits() - VTBits; in ComputeNumSignBits() 4288 const int BitWidth = Op.getValueSizeInBits(); in ComputeNumSignBits() 4336 const unsigned BitWidth = Op.getValueSizeInBits(); in ComputeNumSignBits() 5340 assert(VT.getSizeInBits() == Operand.getValueSizeInBits() && in getNode() [all …]
|
| H A D | LegalizeIntegerTypes.cpp | 1891 assert(N->getOperand(0).getValueSizeInBits() >= in PromoteIntOp_BUILD_VECTOR() 1909 assert(N->getOperand(1).getValueSizeInBits() >= in PromoteIntOp_INSERT_VECTOR_ELT() 3554 unsigned LoSize = Lo.getValueSizeInBits(); in ExpandIntRes_LOAD() 4279 unsigned ExcessBits = Op.getValueSizeInBits() - NVT.getSizeInBits(); in ExpandIntRes_SIGN_EXTEND() 4300 DAG.getConstant(Hi.getValueSizeInBits() - 1, dl, in ExpandIntRes_SIGN_EXTEND_INREG() 4305 unsigned ExcessBits = EVT.getSizeInBits() - Lo.getValueSizeInBits(); in ExpandIntRes_SIGN_EXTEND_INREG() 4588 unsigned ExcessBits = Op.getValueSizeInBits() - NVT.getSizeInBits(); in ExpandIntRes_ZERO_EXTEND() 4665 EVT::getIntegerVT(*DAG.getContext(), N->getValueSizeInBits(0) / 2); in ExpandIntRes_VSCALE()
|
| H A D | SelectionDAGISel.cpp | 1888 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS); in CheckAndMask() 1917 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS); in CheckOrMask() 3633 Res.getValueSizeInBits()) && in SelectCodeCommon()
|
| H A D | StatepointLowering.cpp | 398 (int64_t)Incoming.getValueSizeInBits())) && in spillIncomingStatepointValue()
|
| H A D | LegalizeVectorOps.cpp | 1222 if (VT.getSizeInBits() != Op1.getValueSizeInBits()) in ExpandVSELECT()
|
| /llvm-project-15.0.7/llvm/lib/Target/XCore/ |
| H A D | XCoreSelectionDAGInfo.cpp | 22 unsigned SizeBitWidth = Size.getValueSizeInBits(); in EmitTargetCodeForMemcpy()
|
| H A D | XCoreISelLowering.cpp | 1601 unsigned BitWidth = OutVal.getValueSizeInBits(); in PerformDAGCombine() 1617 unsigned BitWidth = Time.getValueSizeInBits(); in PerformDAGCombine()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 120 : Opcode(Op), BitSize(N.getValueSizeInBits()), in RxSBGOperands() 743 uint64_t Used = allOnes(Op.getValueSizeInBits()); in detectOrAndInsertion() 782 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG() 856 unsigned InnerBitSize = N.getOperand(0).getValueSizeInBits(); in expandRxSBG() 868 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() 869 unsigned InnerBitSize = N.getOperand(0).getValueSizeInBits(); in expandRxSBG() 889 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() 916 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG() 1216 if (Store->getMemoryVT().getSizeInBits() != Value.getValueSizeInBits()) in tryScatter() 1658 unsigned ElemBitSize = Store->getValue().getValueSizeInBits(); in Select()
|
| H A D | SystemZISelLowering.cpp | 2495 C.Op0.getValueSizeInBits().getFixedSize()) { in adjustICmpTruncate() 2514 if (Amount >= N.getValueSizeInBits()) in isSimpleShift() 2665 unsigned BitSize = NewC.Op0.getValueSizeInBits(); in adjustForTestUnderMask() 6104 EVT VT = MVT::getIntegerVT(Op.getValueSizeInBits()); in combineExtract() 6252 unsigned Extra = (VT.getSizeInBits() - N0.getValueSizeInBits()); in combineSIGN_EXTEND()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelDAGToDAG.cpp | 84 if (Idx->isZero() && In.getValueSizeInBits() <= 32) in stripExtractLoElt() 2730 unsigned VecSize = Src.getValueSizeInBits(); in SelectVOP3PMods() 2734 if (Lo.getValueSizeInBits() > VecSize) { in SelectVOP3PMods() 2740 if (Hi.getValueSizeInBits() > VecSize) { in SelectVOP3PMods() 2746 assert(Lo.getValueSizeInBits() <= VecSize && in SelectVOP3PMods() 2747 Hi.getValueSizeInBits() <= VecSize); in SelectVOP3PMods() 2753 if (VecSize == 32 || VecSize == Lo.getValueSizeInBits()) { in SelectVOP3PMods() 2756 assert(Lo.getValueSizeInBits() == 32 && VecSize == 64); in SelectVOP3PMods()
|
| /llvm-project-15.0.7/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 179 if (Op.getValueSizeInBits() > 32 && Subtarget.hasBasicF() && in lowerFP_TO_SINT() 186 EVT FPTy = EVT::getFloatingPointVT(Op.getValueSizeInBits()); in lowerFP_TO_SINT() 373 EVT VT = EVT::getFloatingPointVT(N->getValueSizeInBits(0)); in ReplaceNodeResults()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 6364 if (Src.getValueSizeInBits() != (LHS.getValueSizeInBits() * 2)) in getSplitVectorSrc() 10472 if (V0.getValueSizeInBits() > Width) in getHopForBuildVector() 10474 else if (V0.getValueSizeInBits() < Width) in getHopForBuildVector() 10477 if (V1.getValueSizeInBits() > Width) in getHopForBuildVector() 10479 else if (V1.getValueSizeInBits() < Width) in getHopForBuildVector() 14598 assert((V.getValueSizeInBits() == 256 || V.getValueSizeInBits() == 512) && in lowerShuffleAsBroadcast() 14626 if (V.getValueSizeInBits() > 128) in lowerShuffleAsBroadcast() 25029 unsigned Bits = V.getValueSizeInBits(); in isTruncWithZeroHighBitsInput() 49696 return Op.getValueSizeInBits() == BC.getValueSizeInBits(); in isHorizontalBinOp() 54305 Vec.getValueSizeInBits() == (2 * SubVec.getValueSizeInBits())) { in combineINSERT_SUBVECTOR() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsISelLowering.cpp | 2373 unsigned WidthX = Op.getOperand(0).getValueSizeInBits(); in lowerFCOPYSIGN64() 2374 unsigned WidthY = Op.getOperand(1).getValueSizeInBits(); in lowerFCOPYSIGN64() 2794 (Val.getValueSizeInBits() > 32 && SingleFloat)) in lowerFP_TO_SINT_STORE() 2797 EVT FPTy = EVT::getFloatingPointVT(Val.getValueSizeInBits()); in lowerFP_TO_SINT_STORE() 2825 int FI = MFI.CreateFixedObject(Op.getValueSizeInBits() / 8, 0, false); in lowerEH_DWARF_CFA() 2831 if (Op.getValueSizeInBits() > 32 && Subtarget.isSingleFloat()) in lowerFP_TO_SINT() 2834 EVT FPTy = EVT::getFloatingPointVT(Op.getValueSizeInBits()); in lowerFP_TO_SINT() 3031 int FI = MFI.CreateFixedObject(Arg.getValueSizeInBits() / 8, Offset, false); in passArgOnStack()
|
| H A D | MipsSEISelDAGToDAG.cpp | 796 unsigned Size = CN->getValueSizeInBits(0); in trySelect()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 136 uint64_t getValueSizeInBits() const { return ValueSizeInBits; } in getValueSizeInBits() function in __anondd1f4e750111::AtomicInfo 1463 assert(Atomics.getValueSizeInBits() <= Atomics.getAtomicSizeInBits()); in EmitAtomicExpr() 1723 LVal.isSimple() ? getValueSizeInBits() : getAtomicSizeInBits()); in convertRValueToInt()
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/ |
| H A D | M68kISelLowering.cpp | 1461 unsigned BitWidth = Op0.getValueSizeInBits(); in LowerAndToBTST() 1462 unsigned AndBitWidth = And.getValueSizeInBits(); in LowerAndToBTST() 2024 unsigned InBits = VOp0.getValueSizeInBits(); in isTruncWithZeroHighBitsInput() 2025 unsigned Bits = V.getValueSizeInBits(); in isTruncWithZeroHighBitsInput()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 1970 if (V.getValueSizeInBits() == 64) in ExtendToInt64() 1973 assert(V.getValueSizeInBits() == 32); in ExtendToInt64() 1984 if (V.getValueSizeInBits() == 32) in TruncateToInt32() 1987 assert(V.getValueSizeInBits() == 64); in TruncateToInt32() 6121 unsigned Bits = Op0.getValueSizeInBits(); in combineToCMPB() 6149 unsigned Bits = Op0.getValueSizeInBits(); in combineToCMPB() 6184 unsigned Bits = Op.getValueSizeInBits(); in combineToCMPB()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 192 TypeSize getValueSizeInBits() const { 986 TypeSize getValueSizeInBits(unsigned ResNo) const {
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelDAGToDAG.cpp | 3415 uint64_t GoodBits = Start.getValueSizeInBits() - StartVal; in tryBFE() 3523 if (OuterShiftAmt >= Val.getValueSizeInBits()) { in tryBFE() 3529 Len = CurDAG->getTargetConstant(Val.getValueSizeInBits() - OuterShiftAmt, in tryBFE()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 1400 unsigned ShAmt = LHS.getValueSizeInBits() - 1 - Log2_64(Mask); in translateSetCCForBranch() 4870 unsigned BitWidth = Op.getValueSizeInBits(); in LowerINTRINSIC_WO_CHAIN() 8363 unsigned ScalarBits = Op0.getValueSizeInBits(); in combineVWADD_W_VL_VWSUB_W_VL() 8444 unsigned ScalarBits = Op1.getValueSizeInBits(); in combineMUL_VLToVWMUL_VL() 8795 ShAmt = LHS.getValueSizeInBits() - 1 - ShAmt; in combine_CC() 8808 APInt Mask = APInt::getBitsSetFrom(LHS.getValueSizeInBits(), 1); in combine_CC() 8828 APInt Mask = APInt::getLowBitsSet(Op.getValueSizeInBits(), LowBits); in PerformDAGCombine() 8921 unsigned BitWidth = N->getOperand(1).getValueSizeInBits(); in PerformDAGCombine() 8940 unsigned BitWidth = N->getOperand(1).getValueSizeInBits(); in PerformDAGCombine() 9323 unsigned ScalarSize = N->getOperand(1).getValueSizeInBits(); in PerformDAGCombine()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 7579 return {Val, Val.getValueSizeInBits() - 1}; in lookThroughSignExtension() 10033 bool SplitV0 = V0.getValueSizeInBits() == 128; in tryFormConcatFromShuffle() 10043 if (V1.getValueSizeInBits() == 128) { in tryFormConcatFromShuffle() 10244 if (Op.getValueSizeInBits() == 128) { in GenerateTBL() 11323 if (Value.getValueSizeInBits() == 64) { in LowerBUILD_VECTOR() 11621 unsigned Size = Op.getValueSizeInBits(); in LowerEXTRACT_SUBVECTOR() 14427 if (VT.getSizeInBits() != N->getOperand(0).getValueSizeInBits()) in performIntToFpCombine() 15442 if (Vec.getValueSizeInBits() != 128) in tryCombineFixedPointConvert() 18281 ? CTTZ.getOperand(0).getValueSizeInBits() in foldCSELofCTTZ() 18282 : CTTZ.getValueSizeInBits(); in foldCSELofCTTZ() [all …]
|