Home
last modified time | relevance | path

Searched refs:Demanded (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DBDCE.cpp115 APInt Demanded = DB.getDemandedBits(SE); in bitTrackingDCE() local
119 if (Demanded.countLeadingZeros() >= (DestBitSize - SrcBitSize)) { in bitTrackingDCE()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dadd-sub-nsw-nuw.ll5 ; Demanded bits analysis must disable nsw/nuw when it makes a
H A Dcombine-avx2-intrinsics.ll86 ; Demanded Elts
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/X86/
H A Dx86-f16c-inseltpoison.ll8 ; Vector Demanded Elts
H A Dx86-f16c.ll8 ; Vector Demanded Elts
H A Dx86-addsub.ll11 ; Demanded Elts
H A Dx86-addsub-inseltpoison.ll11 ; Demanded Elts
H A Dx86-sse4a-inseltpoison.ll289 ; Vector Demanded Bits
H A Dx86-sse4a.ll289 ; Vector Demanded Bits
H A Dx86-pack.ll205 ; Demanded Elts
H A Dx86-pack-inseltpoison.ll205 ; Demanded Elts
H A Dx86-pshufb-inseltpoison.ll471 ; Demanded elts tests.
H A Dx86-pshufb.ll471 ; Demanded elts tests.
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp31 const APInt &Demanded) { in ShrinkDemandedConstant() argument
42 if (C->isSubsetOf(Demanded)) in ShrinkDemandedConstant()
46 I->setOperand(OpNo, ConstantInt::get(Op->getType(), *C & Demanded)); in ShrinkDemandedConstant()
1253 APInt Demanded, APInt &Undef) { in SimplifyDemandedVectorElts() argument
1256 if (Value *V = SimplifyDemandedVectorElts(Op, Demanded, Undef, Depth + 1)) { in SimplifyDemandedVectorElts()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dicmp-mul-and.ll18 ; TODO: Demanded bits does not convert the mul to shift,
H A Dshuffle_select-inseltpoison.ll1324 ; Demanded elements + simplification can remove the mul alone, but that's not the best case.
H A Dshuffle_select.ll1339 ; Demanded elements + simplification can remove the mul alone, but that's not the best case.
H A Dand.ll509 ; Demanded bit analysis allows us to eliminate the add.
H A Dvec_shuffle-inseltpoison.ll1455 ; Demanded vector elements may not be able to simplify a shuffle mask
H A Dvec_shuffle.ll1456 ; Demanded vector elements may not be able to simplify a shuffle mask
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2787 APInt Demanded = APInt::getLowBitsSet(LHS.getValueSizeInBits(), 24); in simplifyMul24() local
2792 SDValue DemandedLHS = TLI.SimplifyMultipleUseDemandedBits(LHS, Demanded, DAG); in simplifyMul24()
2793 SDValue DemandedRHS = TLI.SimplifyMultipleUseDemandedBits(RHS, Demanded, DAG); in simplifyMul24()
2801 if (TLI.SimplifyDemandedBits(LHS, Demanded, DCI)) in simplifyMul24()
2803 if (TLI.SimplifyDemandedBits(RHS, Demanded, DCI)) in simplifyMul24()
4116 APInt Demanded = APInt::getBitsSet(32, in PerformDAGCombine() local
4124 if (TLI.ShrinkDemandedConstant(BitsFrom, Demanded, TLO) || in PerformDAGCombine()
4125 TLI.SimplifyDemandedBits(BitsFrom, Demanded, Known, TLO)) { in PerformDAGCombine()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3595 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp554 const APInt &Demanded, in ShrinkDemandedOp() argument
576 unsigned DemandedSize = Demanded.getActiveBits(); in ShrinkDemandedOp()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp1735 const APInt &Demanded, in optimizeLogicalImm() argument
1748 uint64_t DemandedBits = Demanded.getZExtValue(); in optimizeLogicalImm()
1803 assert(((OldImm ^ NewImm) & Demanded.getZExtValue()) == 0 && in optimizeLogicalImm()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp19921 unsigned Demanded = DemandedBits.getZExtValue(); in targetShrinkDemandedConstant() local
19922 unsigned ShrunkMask = Mask & Demanded; in targetShrinkDemandedConstant()
19923 unsigned ExpandedMask = Mask | ~Demanded; in targetShrinkDemandedConstant()

12