Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Support/
H A DKnownBits.cpp556 APInt LowBits = RHS.getConstant() - 1; in urem() local
557 Known.Zero = LHS.Zero | ~LowBits; in urem()
558 Known.One = LHS.One & LowBits; in urem()
577 APInt LowBits = RHS.getConstant() - 1; in srem() local
578 Known.Zero = LHS.Zero & LowBits; in srem()
579 Known.One = LHS.One & LowBits; in srem()
583 if (LHS.isNonNegative() || LowBits.isSubsetOf(LHS.Zero)) in srem()
584 Known.Zero |= ~LowBits; in srem()
588 if (LHS.isNegative() && LowBits.intersects(LHS.One)) in srem()
589 Known.One |= ~LowBits; in srem()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp158 int LowBits = Offset < Start ? (Start - Offset) * 8 : 0; in applyMemSet() local
159 if (LowBits) in applyMemSet()
160 Cst = (Cst >> LowBits) << LowBits; in applyMemSet()
H A DAArch64ISelLowering.cpp12110 APInt LowBits(EltTy.getSizeInBits(), in NormalizeBuildVector() local
12112 Lane = DAG.getConstant(LowBits.getZExtValue(), dl, MVT::i32); in NormalizeBuildVector()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp830 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local
831 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits()
836 Known.Zero = LHSKnown.Zero & LowBits; in SimplifyDemandedUseBits()
837 Known.One = LHSKnown.One & LowBits; in SimplifyDemandedUseBits()
841 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits()
842 Known.Zero |= ~LowBits; in SimplifyDemandedUseBits()
846 if (LHSKnown.isNegative() && LowBits.intersects(LHSKnown.One)) in SimplifyDemandedUseBits()
847 Known.One |= ~LowBits; in SimplifyDemandedUseBits()
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.cpp90 uint32_t LowBits = FullImm & 0xffffffff; in addNumImm() local
92 MIB.addImm(LowBits).addImm(HighBits); in addNumImm()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DFixedPointBuilder.h57 Value *LowBits = ConstantInt::get( in Convert() local
59 Value *Rounded = B.CreateAdd(Result, LowBits); in Convert()
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp533 unsigned LowBits = llvm::bit_width(BitsPossiblySet); in computeKnownBitsImpl() local
534 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsImpl()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DValueTracking.cpp1636 unsigned LowBits = llvm::bit_width(PossibleLZ); in computeKnownBitsFromOperator() local
1637 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator()
1647 unsigned LowBits = llvm::bit_width(PossibleTZ); in computeKnownBitsFromOperator() local
1648 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator()
1656 unsigned LowBits = llvm::bit_width(BitsPossiblySet); in computeKnownBitsFromOperator() local
1657 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp2454 SDValue LowBits = DAG.getConstant((1ull << (Amt - 1)) - 1, dl, IntTy); in emitHvxShiftRightRnd() local
2461 auto [Tmp0, Ovf] = emitHvxAddWithOverflow(Inp, LowBits, dl, Signed, DAG); in emitHvxShiftRightRnd()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp10090 auto SimplifyDemandedLowBitsHelper = [&](unsigned OpNo, unsigned LowBits) { in PerformDAGCombine() argument
10092 APInt Mask = APInt::getLowBitsSet(Op.getValueSizeInBits(), LowBits); in PerformDAGCombine()
10850 unsigned LowBits = llvm::bit_width(PossibleTZ); in computeKnownBitsForTargetNode() local
10851 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsForTargetNode()
10857 unsigned LowBits = llvm::bit_width(PossibleLZ); in computeKnownBitsForTargetNode() local
10858 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsForTargetNode()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3412 unsigned LowBits = llvm::bit_width(PossibleTZ); in computeKnownBits() local
3413 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
3421 unsigned LowBits = llvm::bit_width(PossibleLZ); in computeKnownBits() local
3422 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
H A DDAGCombiner.cpp9543 unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue(); in visitSRA() local
9544 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), LowBits); in visitSRA()