| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 71 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 D | InstCombineInternal.h | 578 bool SimplifyDemandedBits(Instruction *I, unsigned Op,
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | pr51175.ll | 5 ; SimplifyDemandedBits from touching it. The truncate only 8 ; mask the -9 to 8 bits since SimplifyDemandedBits didn't.
|
| H A D | zext-demanded.ll | 88 ; after the or before SimplifyDemandedBits messes it up.
|
| H A D | combine-and.ll | 297 ; SimplifyDemandedBits
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/ |
| H A D | isel-simplify-crash.ll | 3 ; This used to crash in SimplifyDemandedBits due to a type mismatch
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 604 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 D | DAGCombiner.cpp | 317 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 D | bstrpick_w.ll | 64 ;; firstly by DAGCombiner::SimplifyDemandedBits.
|
| H A D | bstrpick_d.ll | 64 ;; firstly by DAGCombiner::SimplifyDemandedBits.
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | assoc-cast-assoc.ll | 52 ; Unlike the rest, this case is handled by SimplifyDemandedBits / ShrinkDemandedConstant.
|
| H A D | simplify-demanded-bits-pointer.ll | 3 ; SimplifyDemandedBits should cope with pointer types.
|
| H A D | shift-by-signext.ll | 115 ; And the cases that are safe are handled by SimplifyDemandedBits().
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | simplifydemandedbits-recursion.ll | 4 ; infinite loop in TLI.SimplifyDemandedBits() due to failure
|
| H A D | mad_uint24.ll | 69 ; SimplifyDemandedBits on the first operand of the mul instruction 244 ; The ands are asserting the high bits are 0. SimplifyDemandedBits on
|
| H A D | extract_vector_elt-i8.ll | 133 ; isTypeDesirableForOp in SimplifyDemandedBits
|
| /llvm-project-15.0.7/llvm/test/CodeGen/RISCV/ |
| H A D | rv64i-demanded-bits.ll | 4 ; This test has multiple opportunities for SimplifyDemandedBits after type
|
| H A D | alu32.ll | 129 ; This makes sure SimplifyDemandedBits doesn't prevent us from matching SRLIW
|
| H A D | rv64zbb-zbp-zbkb.ll | 370 %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 D | AArch64SelectionDAGTest.cpp | 207 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 D | InstCombiner.h | 521 virtual bool SimplifyDemandedBits(Instruction *I, unsigned OpNo,
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | popcnt-zext.ll | 286 %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 D | TargetLowering.h | 3611 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 D | XRayExample.rst | 93 …00019] 0.000138 TargetLowering.cpp:506:0: llvm::TargetLowering::SimplifyDemandedBits(llvm::SDVal…
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 188 if (IC.SimplifyDemandedBits(&II, 0, APInt::getLowBitsSet(32, 16), in instCombineIntrinsic() 219 if (IC.SimplifyDemandedBits(&II, CarryOp, APInt::getOneBitSet(32, 29), in instCombineIntrinsic()
|