Home
last modified time | relevance | path

Searched refs:SimplifyDemandedBits (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp71 bool InstCombinerImpl::SimplifyDemandedBits(Instruction *I, unsigned OpNo, in SimplifyDemandedBits() function in InstCombinerImpl
186 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
215 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
243 if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
244 SimplifyDemandedBits(I, 0, DemandedMask, LHSKnown, Depth + 1)) in SimplifyDemandedUseBits()
335 if (SimplifyDemandedBits(I, 2, DemandedMask, RHSKnown, Depth + 1) || in SimplifyDemandedUseBits()
336 SimplifyDemandedBits(I, 1, DemandedMask, LHSKnown, Depth + 1)) in SimplifyDemandedUseBits()
430 if (SimplifyDemandedBits(I, 0, DemandedMask, Known, Depth + 1)) in SimplifyDemandedUseBits()
783 if (SimplifyDemandedBits(I, 0, Mask2, LHSKnown, Depth + 1)) in SimplifyDemandedUseBits()
818 if (SimplifyDemandedBits(I, 0, AllOnes, Known2, Depth + 1) || in SimplifyDemandedUseBits()
[all …]
H A DInstCombineInternal.h578 bool SimplifyDemandedBits(Instruction *I, unsigned Op,
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dpr51175.ll5 ; SimplifyDemandedBits from touching it. The truncate only
8 ; mask the -9 to 8 bits since SimplifyDemandedBits didn't.
H A Dzext-demanded.ll88 ; after the or before SimplifyDemandedBits messes it up.
H A Dcombine-and.ll297 ; SimplifyDemandedBits
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Disel-simplify-crash.ll3 ; This used to crash in SimplifyDemandedBits due to a type mismatch
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp604 bool Simplified = SimplifyDemandedBits(Op, DemandedBits, Known, TLO); in SimplifyDemandedBits()
621 SimplifyDemandedBits(Op, DemandedBits, DemandedElts, Known, TLO); in SimplifyDemandedBits()
1060 bool TargetLowering::SimplifyDemandedBits( in SimplifyDemandedBits() function in TargetLowering
1616 if (SimplifyDemandedBits(Op.getOperand(2), DemandedBits, Known, TLO, in SimplifyDemandedBits()
1646 if (SimplifyDemandedBits(Op.getOperand(3), DemandedBits, Known, TLO, in SimplifyDemandedBits()
2024 if (SimplifyDemandedBits(Op2, DemandedAmtBits, DemandedElts, in SimplifyDemandedBits()
2360 if (SimplifyDemandedBits(Src, TruncMask, DemandedElts, Known, TLO, in SimplifyDemandedBits()
2520 if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedSrcElts, in SimplifyDemandedBits()
2544 if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedSrcElts, in SimplifyDemandedBits()
2588 if (SimplifyDemandedBits(Op0, LoMask, DemandedElts, Known2, TLO, in SimplifyDemandedBits()
[all …]
H A DDAGCombiner.cpp317 bool SimplifyDemandedBits(SDValue Op) { in SimplifyDemandedBits() function in __anon54f00e400111::DAGCombiner
2590 if (SimplifyDemandedBits(SDValue(N, 0))) in visitADDLike()
4162 if (SimplifyDemandedBits(SDValue(N, 0))) in visitMUL()
4781 if (SimplifyDemandedBits(SDValue(N, 0))) in visitMULHU()
5235 if (SimplifyDemandedBits(SDValue(N, 0))) in visitIMINMAX()
6446 if (SimplifyDemandedBits(SDValue(N, 0))) in visitAND()
7106 if (SimplifyDemandedBits(SDValue(N, 0))) in visitOR()
8608 if (SimplifyDemandedBits(SDValue(N, 0))) in visitXOR()
8822 if (SimplifyDemandedBits(SDValue(N, 0))) in visitRotate()
8914 if (SimplifyDemandedBits(SDValue(N, 0))) in visitSHL()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/LoongArch/
H A Dbstrpick_w.ll64 ;; firstly by DAGCombiner::SimplifyDemandedBits.
H A Dbstrpick_d.ll64 ;; firstly by DAGCombiner::SimplifyDemandedBits.
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dassoc-cast-assoc.ll52 ; Unlike the rest, this case is handled by SimplifyDemandedBits / ShrinkDemandedConstant.
H A Dsimplify-demanded-bits-pointer.ll3 ; SimplifyDemandedBits should cope with pointer types.
H A Dshift-by-signext.ll115 ; And the cases that are safe are handled by SimplifyDemandedBits().
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dsimplifydemandedbits-recursion.ll4 ; infinite loop in TLI.SimplifyDemandedBits() due to failure
H A Dmad_uint24.ll69 ; SimplifyDemandedBits on the first operand of the mul instruction
244 ; The ands are asserting the high bits are 0. SimplifyDemandedBits on
H A Dextract_vector_elt-i8.ll133 ; isTypeDesirableForOp in SimplifyDemandedBits
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Drv64i-demanded-bits.ll4 ; This test has multiple opportunities for SimplifyDemandedBits after type
H A Dalu32.ll129 ; This makes sure SimplifyDemandedBits doesn't prevent us from matching SRLIW
H A Drv64zbb-zbp-zbkb.ll370 %g = xor i64 %b, %f ; to increase the use count on %b to disable SimplifyDemandedBits.
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DAArch64SelectionDAGTest.cpp207 EXPECT_TRUE(TL.SimplifyDemandedBits(Op, DemandedBits, Known, TLO)); in TEST_F()
230 EXPECT_FALSE(TL.SimplifyDemandedBits(Op, DemandedBits, Known, TLO)); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h521 virtual bool SimplifyDemandedBits(Instruction *I, unsigned OpNo,
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dpopcnt-zext.ll286 %z = zext i16 %pop to i64 ; SimplifyDemandedBits may turn zext (or sext) into aext
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3611 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
3618 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
3625 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
3630 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits,
/llvm-project-15.0.7/llvm/docs/
H A DXRayExample.rst93 …00019] 0.000138 TargetLowering.cpp:506:0: llvm::TargetLowering::SimplifyDemandedBits(llvm::SDVal…
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp188 if (IC.SimplifyDemandedBits(&II, 0, APInt::getLowBitsSet(32, 16), in instCombineIntrinsic()
219 if (IC.SimplifyDemandedBits(&II, CarryOp, APInt::getOneBitSet(32, 29), in instCombineIntrinsic()

12