Home
last modified time | relevance | path

Searched refs:getValueSizeInBits (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-14-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
HDLegalizeTypes.cpp762 assert(Result.getValueSizeInBits().getFixedValue() >= 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()
1024 Op.getValueSizeInBits() && "Invalid integer splitting!"); in SplitInteger()
1042 EVT::getIntegerVT(*DAG.getContext(), Op.getValueSizeInBits() / 2); in SplitInteger()
HDSelectionDAG.cpp1132 assert(VT.getSizeInBits() == 2 * N->getOperand(0).getValueSizeInBits() && in VerifySDNode()
1479 auto Size = Op.getValueSizeInBits(); in getBitcastedAnyExtOrTrunc()
1494 auto Size = Op.getValueSizeInBits(); in getBitcastedSExtOrTrunc()
1509 auto Size = Op.getValueSizeInBits(); in getBitcastedZExtOrTrunc()
3178 assert(SrcOp.getValueSizeInBits() >= BitWidth && in computeKnownBits()
3233 if (SrcOp.getValueSizeInBits() != BitWidth) { in computeKnownBits()
3234 assert(SrcOp.getValueSizeInBits() > BitWidth && in computeKnownBits()
3351 if (N0.getValueSizeInBits() != BitWidth) in computeKnownBits()
3982 const unsigned EltBitWidth = Op.getValueSizeInBits(); in computeKnownBits()
4486 unsigned NumSrcBits = Op.getOperand(0).getValueSizeInBits(); in ComputeNumSignBits()
[all …]
HDLegalizeTypesGeneric.cpp141 EVT::getIntegerVT(*DAG.getContext(), LHS.getValueSizeInBits() << 1), in ExpandRes_BITCAST()
HDTargetLowering.cpp1190 APInt DemandedSclBits = DemandedBits.zextOrTrunc(Scl.getValueSizeInBits()); in SimplifyDemandedBits()
2689 DemandedBits == APInt::getSignMask(Op.getValueSizeInBits()) && in SimplifyDemandedBits()
2700 unsigned OpVTSizeInBits = Op.getValueSizeInBits(); in SimplifyDemandedBits()
2703 unsigned ShVal = Op.getValueSizeInBits() - 1; in SimplifyDemandedBits()
3535 Op.getValueSizeInBits() == Src.getValueSizeInBits() && in SimplifyDemandedVectorElts()
3551 Op.getValueSizeInBits() == Src.getValueSizeInBits()) { in SimplifyDemandedVectorElts()
4561 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC()
4566 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
4577 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
4661 unsigned origWidth = N0.getValueSizeInBits(); in SimplifySetCC()
[all …]
HDLegalizeIntegerTypes.cpp2196 assert(N->getOperand(0).getValueSizeInBits() >= in PromoteIntOp_BUILD_VECTOR()
2214 assert(N->getOperand(1).getValueSizeInBits() >= in PromoteIntOp_INSERT_VECTOR_ELT()
4078 unsigned LoSize = Lo.getValueSizeInBits(); in ExpandIntRes_LOAD()
4833 unsigned ExcessBits = Op.getValueSizeInBits() - NVT.getSizeInBits(); in ExpandIntRes_SIGN_EXTEND()
4854 DAG.getConstant(Hi.getValueSizeInBits() - 1, dl, in ExpandIntRes_SIGN_EXTEND_INREG()
4859 unsigned ExcessBits = EVT.getSizeInBits() - Lo.getValueSizeInBits(); in ExpandIntRes_SIGN_EXTEND_INREG()
5150 unsigned ExcessBits = Op.getValueSizeInBits() - NVT.getSizeInBits(); in ExpandIntRes_ZERO_EXTEND()
5227 EVT::getIntegerVT(*DAG.getContext(), N->getValueSizeInBits(0) / 2); in ExpandIntRes_VSCALE()
HDDAGCombiner.cpp7084 N0.getValueSizeInBits() == N0.getOperand(0).getScalarValueSizeInBits() && in visitAND()
8696 unsigned BitWidth = Op.getValueSizeInBits(); in calculateByteProvider()
14119 unsigned KnownZeroBits = ShVal.getValueSizeInBits() - in visitZERO_EXTEND()
14120 ShVal.getOperand(0).getValueSizeInBits(); in visitZERO_EXTEND()
14126 APInt::getHighBitsSet(ShVal.getValueSizeInBits(), in visitZERO_EXTEND()
14136 if (Log2_32_Ceil(VT.getSizeInBits()) > ShAmt.getValueSizeInBits()) in visitZERO_EXTEND()
15523 unsigned OrigXWidth = N0.getOperand(1).getValueSizeInBits(); in visitBITCAST()
19299 unsigned BitWidth = Origin->getValueSizeInBits(0); in getUsedBits()
19301 assert(Inst->getValueSizeInBits(0) <= BitWidth && in getUsedBits()
19303 APInt UsedBits(Inst->getValueSizeInBits(0), 0); in getUsedBits()
[all …]
HDStatepointLowering.cpp398 (int64_t)Incoming.getValueSizeInBits())) && in spillIncomingStatepointValue()
HDSelectionDAGISel.cpp2169 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS); in CheckAndMask()
2198 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS); in CheckOrMask()
4253 Res.getValueSizeInBits()) && in SelectCodeCommon()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
HDSystemZISelDAGToDAG.cpp121 : Opcode(Op), BitSize(N.getValueSizeInBits()), in RxSBGOperands()
484 if (Opcode == ISD::TRUNCATE && N.getOperand(0).getValueSizeInBits() <= 64) { in expandAddress()
766 uint64_t Used = allOnes(Op.getValueSizeInBits()); in detectOrAndInsertion()
805 if (N.getOperand(0).getValueSizeInBits() > 64) in expandRxSBG()
807 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG()
881 unsigned InnerBitSize = N.getOperand(0).getValueSizeInBits(); in expandRxSBG()
893 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG()
894 unsigned InnerBitSize = N.getOperand(0).getValueSizeInBits(); in expandRxSBG()
914 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG()
941 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG()
[all …]
HDSystemZISelLowering.cpp2471 if (!ConstOp1 || ConstOp1->getValueSizeInBits(0) > 64) in adjustZeroCmp()
2505 if (!ConstOp1 || ConstOp1->getValueSizeInBits(0) > 64) in adjustSubwordCmp()
2721 cast<ConstantSDNode>(C.Op1)->getValueSizeInBits(0) <= 64 && in adjustICmpTruncate()
2725 C.Op0.getValueSizeInBits().getFixedValue()) { in adjustICmpTruncate()
2744 if (Amount >= N.getValueSizeInBits()) in isSimpleShift()
2915 unsigned BitSize = NewC.Op0.getValueSizeInBits(); in adjustForTestUnderMask()
3010 if (!Mask || Mask->getValueSizeInBits(0) > 64) in adjustForRedundantAnd()
3492 cast<ConstantSDNode>(C.Op1)->getValueSizeInBits(0) <= 64 && in lowerSELECT_CC()
6580 EVT VT = MVT::getIntegerVT(Op.getValueSizeInBits()); in combineExtract()
6700 if (VT.isScalarInteger() && VT.getSizeInBits() < X.getValueSizeInBits()) { in combineZERO_EXTEND()
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/XCore/
HDXCoreSelectionDAGInfo.cpp22 unsigned SizeBitWidth = Size.getValueSizeInBits(); in EmitTargetCodeForMemcpy()
HDXCoreISelLowering.cpp1506 unsigned BitWidth = OutVal.getValueSizeInBits(); in PerformDAGCombine()
1522 unsigned BitWidth = Time.getValueSizeInBits(); in PerformDAGCombine()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPUISelDAGToDAG.cpp86 if (isNullConstant(Idx) && In.getValueSizeInBits() <= 32) in stripExtractLoElt()
3016 unsigned VecSize = Src.getValueSizeInBits(); in SelectVOP3PMods()
3020 if (Lo.getValueSizeInBits() > VecSize) { in SelectVOP3PMods()
3026 if (Hi.getValueSizeInBits() > VecSize) { in SelectVOP3PMods()
3032 assert(Lo.getValueSizeInBits() <= VecSize && in SelectVOP3PMods()
3033 Hi.getValueSizeInBits() <= VecSize); in SelectVOP3PMods()
3039 if (VecSize == 32 || VecSize == Lo.getValueSizeInBits()) { in SelectVOP3PMods()
3042 assert(Lo.getValueSizeInBits() == 32 && VecSize == 64); in SelectVOP3PMods()
HDSIISelLowering.cpp7933 bool Is64Bit = VData.getValueSizeInBits() == 64; in lowerImage()
9206 if (Lanes[0].getValueSizeInBits() == 32) { in LowerINTRINSIC_W_CHAIN()
11464 assert(V.getValueSizeInBits() == 32); in getPermuteMask()
11738 if (Op.getValueSizeInBits() < 8) in calculateSrcByte()
11867 uint64_t BitsProvided = Op.getValueSizeInBits(); in calculateByteProvider()
11946 unsigned NarrowBitWidth = NarrowOp.getValueSizeInBits(); in calculateByteProvider()
12115 TempOtherOp.getValueSizeInBits() == 16 || isExtendedFrom16Bits(TempOp); in hasNon16BitAccesses()
12119 auto OtherOpIs16Bit = TempOtherOp.getValueSizeInBits() == 16 || in hasNon16BitAccesses()
12132 auto TypeSize = Src.getValueSizeInBits().getFixedValue(); in getDWordFromOffset()
12134 assert(Src.getValueSizeInBits().isKnownMultipleOf(8)); in getDWordFromOffset()
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86ISelLowering.cpp2650 Ld->getValueSizeInBits(0) == 128 && Ld->getAlign() < Align(16)) in mayFoldLoad()
2670 Ld->getValueSizeInBits(0) == EltVT.getScalarSizeInBits(); in mayFoldLoadIntoBroadcastFromMem()
3901 if (Src.getValueSizeInBits() != (LHS.getValueSizeInBits() * 2)) in getSplitVectorSrc()
4006 assert(Vec.getValueSizeInBits().getFixedValue() <= VT.getFixedSizeInBits() && in widenSubVector()
4020 assert(Vec.getValueSizeInBits() <= WideSizeInBits && in widenSubVector()
5560 int VectorSizeInBits = V1.getValueSizeInBits(); in computeZeroableShuffleElements()
5912 SubBC.getOperand(0).getValueSizeInBits() == NumSizeInBits) { in getFauxShuffleMask()
5965 SubInput.getValueSizeInBits().getFixedValue(); in getFauxShuffleMask()
6048 Scl.getOperand(0).getValueSizeInBits() == NumSizeInBits) { in getFauxShuffleMask()
6930 unsigned EltSizeInBits = Elt.getValueSizeInBits(); in EltsFromConsecutiveLoads()
[all …]
HDX86ISelLoweringCall.cpp2635 unsigned Bytes = Arg.getValueSizeInBits() / 8; in MatchingStackOffset()
2713 Arg.getValueSizeInBits().getFixedValue()) { in MatchingStackOffset()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/Mips/
HDMipsISelLowering.cpp2396 unsigned WidthX = Op.getOperand(0).getValueSizeInBits(); in lowerFCOPYSIGN64()
2397 unsigned WidthY = Op.getOperand(1).getValueSizeInBits(); in lowerFCOPYSIGN64()
2819 (Val.getValueSizeInBits() > 32 && SingleFloat)) in lowerFP_TO_SINT_STORE()
2822 EVT FPTy = EVT::getFloatingPointVT(Val.getValueSizeInBits()); in lowerFP_TO_SINT_STORE()
2850 int FI = MFI.CreateFixedObject(Op.getValueSizeInBits() / 8, 0, false); in lowerEH_DWARF_CFA()
2856 if (Op.getValueSizeInBits() > 32 && Subtarget.isSingleFloat()) in lowerFP_TO_SINT()
2859 EVT FPTy = EVT::getFloatingPointVT(Op.getValueSizeInBits()); in lowerFP_TO_SINT()
3056 int FI = MFI.CreateFixedObject(Arg.getValueSizeInBits() / 8, Offset, false); in passArgOnStack()
HDMipsSEISelDAGToDAG.cpp806 unsigned Size = CN->getValueSizeInBits(0); in trySelect()
/freebsd-14-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGAtomic.cpp136 uint64_t getValueSizeInBits() const { return ValueSizeInBits; } in getValueSizeInBits() function in __anon9b5f6b1f0111::AtomicInfo
1347 assert(Atomics.getValueSizeInBits() <= Atomics.getAtomicSizeInBits()); in EmitAtomicExpr()
1624 LVal.isSimple() ? getValueSizeInBits() : getAtomicSizeInBits()); in convertRValueToInt()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/M68k/
HDM68kISelLowering.cpp1691 unsigned BitWidth = Op0.getValueSizeInBits(); in LowerAndToBTST()
1692 unsigned AndBitWidth = And.getValueSizeInBits(); in LowerAndToBTST()
2254 unsigned InBits = VOp0.getValueSizeInBits(); in isTruncWithZeroHighBitsInput()
2255 unsigned Bits = V.getValueSizeInBits(); in isTruncWithZeroHighBitsInput()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
HDPPCISelDAGToDAG.cpp2134 if (V.getValueSizeInBits() == 64) in ExtendToInt64()
2137 assert(V.getValueSizeInBits() == 32); in ExtendToInt64()
2148 if (V.getValueSizeInBits() == 32) in TruncateToInt32()
2151 assert(V.getValueSizeInBits() == 64); in TruncateToInt32()
6429 unsigned Bits = Op0.getValueSizeInBits(); in combineToCMPB()
6457 unsigned Bits = Op0.getValueSizeInBits(); in combineToCMPB()
6492 unsigned Bits = Op.getValueSizeInBits(); in combineToCMPB()
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
HDSelectionDAGNodes.h199 TypeSize getValueSizeInBits() const {
1046 TypeSize getValueSizeInBits(unsigned ResNo) const {
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
HDNVPTXISelDAGToDAG.cpp3521 int64_t GoodBits = Start.getValueSizeInBits() - StartVal; in tryBFE()
3629 if (OuterShiftAmt >= Val.getValueSizeInBits()) { in tryBFE()
3635 Len = CurDAG->getTargetConstant(Val.getValueSizeInBits() - OuterShiftAmt, in tryBFE()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
HDAArch64ISelLowering.cpp2316 if (SrcOp.getValueSizeInBits() != Op.getScalarValueSizeInBits()) { in computeKnownBitsForTargetNode()
2317 assert(SrcOp.getValueSizeInBits() > Op.getScalarValueSizeInBits() && in computeKnownBitsForTargetNode()
7522 APInt(Ptr.getValueSizeInBits().getFixedValue(), PartSize)); in LowerFormalArguments()
7525 APInt(Ptr.getValueSizeInBits().getFixedValue(), PartSize), DL, in LowerFormalArguments()
8581 APInt(Ptr.getValueSizeInBits().getFixedValue(), PartSize)); in LowerCall()
8584 APInt(Ptr.getValueSizeInBits().getFixedValue(), PartSize), DL, in LowerCall()
9798 return {Val, Val.getValueSizeInBits() - 1}; in lookThroughSignExtension()
12662 bool SplitV0 = V0.getValueSizeInBits() == 128; in tryFormConcatFromShuffle()
12672 if (V1.getValueSizeInBits() == 128) { in tryFormConcatFromShuffle()
12867 if (Op.getValueSizeInBits() == 128) { in GenerateTBL()
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
HDRISCVISelLowering.cpp2399 ShAmt = LHS.getValueSizeInBits() - 1 - Log2_64(Mask); in translateSetCCForBranch()
2401 ShAmt = LHS.getValueSizeInBits() - llvm::bit_width(Mask); in translateSetCCForBranch()
13532 unsigned ShAmt = N0.getValueSizeInBits() - 1; in performSUBCombine()
14508 unsigned ScalarBits = Op.getValueSizeInBits(); in fillUpExtensionSupportForSplat()
14594 unsigned ScalarBits = Op.getOperand(0).getValueSizeInBits(); in fillUpExtensionSupport()
15830 ShAmt = LHS.getValueSizeInBits() - 1 - ShAmt; in combine_CC()
15843 APInt Mask = APInt::getBitsSetFrom(LHS.getValueSizeInBits(), 1); in combine_CC()
15968 unsigned BitWidth = CountZeroes.getValueSizeInBits(); in foldSelectOfCTTZOrCTLZ()
16668 APInt Mask = APInt::getLowBitsSet(Op.getValueSizeInBits(), LowBits); in PerformDAGCombine()
16899 APInt Mask = APInt::getBitsSetFrom(NewCond.getValueSizeInBits(), 1); in PerformDAGCombine()
[all …]

12