Home
last modified time | relevance | path

Searched refs:setLowBits (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DGISelKnownBits.h89 Known.Zero.setLowBits(Log2(Alignment)); in computeKnownBitsForAlignment()
/llvm-project-15.0.7/llvm/lib/Support/
H A DKnownBits.cpp178 Known.Zero.setLowBits(Shift); in shl()
217 Known.Zero.setLowBits(MinTrailingZeros); in shl()
402 KnownAbs.Zero.setLowBits(countMinTrailingZeros()); in abs()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp602 Known.Zero.setLowBits(ShiftAmt); in SimplifyDemandedUseBits()
669 DemandedMaskIn.setLowBits(ShiftAmt); in SimplifyDemandedUseBits()
717 DemandedMaskIn.setLowBits(ShiftAmt); in SimplifyDemandedUseBits()
1112 Known.Zero.setLowBits(ShlAmt - 1); in simplifyShrShlDemandedBits()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPInt.h291 Res.setLowBits(loBitsSet); in getLowBitsSet()
1311 setLowBits(hiBit); in setBitsWithWrap()
1339 void setLowBits(unsigned loBits) { return setBits(0, loBits); } in setLowBits() function
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DAPIntTest.cpp2212 TEST(APIntTest, setLowBits) { in TEST() argument
2214 i64lo32.setLowBits(32); in TEST()
2223 i128lo64.setLowBits(64); in TEST()
2232 i128lo24.setLowBits(24); in TEST()
2241 i128lo104.setLowBits(104); in TEST()
2250 i128lo0.setLowBits(0); in TEST()
2259 i80lo79.setLowBits(79); in TEST()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp482 Known.Zero.setLowBits(LogOfAlign); in computeKnownBitsImpl()
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DInferIntRangeInterfaceImpls.cpp365 rightVal.setLowBits(differingBits); in widenBitwiseBounds()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp689 Known.Zero.setLowBits(Log2_64(RK.ArgValue)); in computeKnownBitsFromAssume()
1304 Known.Zero.setLowBits(C->countTrailingZeros()); in computeKnownBitsFromOperator()
1351 Known.Zero.setLowBits(Log2(cast<AllocaInst>(I)->getAlign())); in computeKnownBitsFromOperator()
1408 ScalingFactor.Zero.setLowBits(countTrailingZeros(TypeSizeInBytes)); in computeKnownBitsFromOperator()
1469 Known.Zero.setLowBits(Known2.countMinTrailingZeros()); in computeKnownBitsFromOperator()
1512 Known.Zero.setLowBits(std::min(Known2.countMinTrailingZeros(), in computeKnownBitsFromOperator()
2027 Known.Zero.setLowBits(Log2(Alignment)); in computeKnownBits()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1776 Known.Zero.setLowBits(ShAmt); in SimplifyDemandedBits()
1871 InDemandedMask.setLowBits(ShAmt); in SimplifyDemandedBits()
1920 InDemandedMask.setLowBits(ShAmt); in SimplifyDemandedBits()
3467 Known.Zero.setLowBits(Log2(MF.getFrameInfo().getObjectAlign(FrameIdx))); in computeKnownBitsForFrameIndex()
H A DSelectionDAG.cpp3282 Known.Zero.setLowBits(ShMinAmt->getZExtValue()); in computeKnownBits()
3521 Known.Zero.setLowBits(LogOfAlign); in computeKnownBits()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4515 Known.Zero.setLowBits(std::min(TrailZ, 32u)); in computeKnownBitsForTargetNode()
4593 Known.Zero.setLowBits(Log2(Alignment)); in computeKnownBitsForTargetNode()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6529 DemandBits.setLowBits(BitWidth - ShiftAmt); in optimizeLoadExt()
6536 DemandBits.setLowBits(TruncBitWidth); in optimizeLoadExt()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp36810 Known.Zero.setLowBits(ShAmt); in computeKnownBitsForTargetNode()
36941 Known.Zero.setLowBits(Known2.countMinTrailingZeros()); in computeKnownBitsForTargetNode()
41087 KnownZero.setLowBits(ShiftAmt); in SimplifyDemandedVectorEltsForTargetNode()
41719 Known.Zero.setLowBits(ShAmt); in SimplifyDemandedBitsForTargetNode()
41977 Known.One.setLowBits(NumElts); in SimplifyDemandedBitsForTargetNode()
41979 Known.Zero.setLowBits(NumElts); in SimplifyDemandedBitsForTargetNode()
42062 Known.Zero.setLowBits(Known2.countMinTrailingZeros()); in SimplifyDemandedBitsForTargetNode()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp9622 Known.Zero.setLowBits(Log2_32(MinVLenB)); in computeKnownBitsForTargetNode()