Home
last modified time | relevance | path

Searched refs:LowBits (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp177 int LowBits = Offset < Start ? (Start - Offset) * 8 : 0; in applyMemSet() local
178 if (LowBits) in applyMemSet()
179 Cst = (Cst >> LowBits) << LowBits; in applyMemSet()
H A DAArch64ISelLowering.cpp13851 APInt LowBits(EltTy.getSizeInBits(), in NormalizeBuildVector() local
13853 Lane = DAG.getConstant(LowBits.getZExtValue(), dl, MVT::i32); in NormalizeBuildVector()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp545 unsigned LowBits = llvm::bit_width(BitsPossiblySet); in computeKnownBitsImpl() local
546 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsImpl()
606 unsigned LowBits = llvm::bit_width(PossibleLZ); in computeKnownBitsImpl() local
607 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsImpl()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp1063 APInt LowBits = RHS.getConstant() - 1; in srem() local
1066 if (LHS.isNonNegative() || LowBits.isSubsetOf(LHS.Zero)) in srem()
1067 Known.Zero |= ~LowBits; in srem()
1071 if (LHS.isNegative() && LowBits.intersects(LHS.One)) in srem()
1072 Known.One |= ~LowBits; in srem()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp872 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local
873 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits()
878 Known.Zero = LHSKnown.Zero & LowBits; in SimplifyDemandedUseBits()
879 Known.One = LHSKnown.One & LowBits; in SimplifyDemandedUseBits()
883 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits()
884 Known.Zero |= ~LowBits; in SimplifyDemandedUseBits()
888 if (LHSKnown.isNegative() && LowBits.intersects(LHSKnown.One)) in SimplifyDemandedUseBits()
889 Known.One |= ~LowBits; in SimplifyDemandedUseBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.cpp92 uint32_t LowBits = FullImm & 0xffffffff; in addNumImm() local
94 MIB.addImm(LowBits).addImm(HighBits); in addNumImm()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h57 Value *LowBits = ConstantInt::get( in Convert() local
59 Value *Rounded = B.CreateAdd(Result, LowBits); in Convert()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1655 unsigned LowBits = llvm::bit_width(PossibleLZ); in computeKnownBitsFromOperator() local
1656 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator()
1666 unsigned LowBits = llvm::bit_width(PossibleTZ); in computeKnownBitsFromOperator() local
1667 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator()
1675 unsigned LowBits = llvm::bit_width(BitsPossiblySet); in computeKnownBitsFromOperator() local
1676 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp2454 SDValue LowBits = DAG.getConstant((1ull << (Amt - 1)) - 1, dl, IntTy); in emitHvxShiftRightRnd()
2461 auto [Tmp0, Ovf] = emitHvxAddWithOverflow(Inp, LowBits, dl, Signed, DAG); in emitHvxShiftRightRnd()
2455 SDValue LowBits = DAG.getConstant((1ull << (Amt - 1)) - 1, dl, IntTy); emitHvxShiftRightRnd() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3689 unsigned LowBits = llvm::bit_width(PossibleTZ); in computeKnownBits() local
3690 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
3698 unsigned LowBits = llvm::bit_width(PossibleLZ); in computeKnownBits() local
3699 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
H A DTargetLowering.cpp2050 unsigned LowBits = BitWidth - ShAmt; in SimplifyDemandedBits() local
2051 EVT ExtVT = EVT::getIntegerVT(*TLO.DAG.getContext(), LowBits); in SimplifyDemandedBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp16663 auto SimplifyDemandedLowBitsHelper = [&](unsigned OpNo, unsigned LowBits) { in PerformDAGCombine() argument
16665 APInt Mask = APInt::getLowBitsSet(Op.getValueSizeInBits(), LowBits); in PerformDAGCombine()
17874 unsigned LowBits = llvm::bit_width(PossibleTZ); in computeKnownBitsForTargetNode() local
17875 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsForTargetNode()
17881 unsigned LowBits = llvm::bit_width(PossibleLZ); in computeKnownBitsForTargetNode() local
17882 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsForTargetNode()