Home
last modified time | relevance | path

Searched refs:ShrinkDemandedConstant (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp30 static bool ShrinkDemandedConstant(Instruction *I, unsigned OpNo, in ShrinkDemandedConstant() function
164 if (ShrinkDemandedConstant(I, 0, DemandedFromOps) || in SimplifyDemandedUseBits()
166 ShrinkDemandedConstant(I, 1, DemandedFromOps) || in SimplifyDemandedUseBits()
208 if (ShrinkDemandedConstant(I, 1, DemandedMask & ~LHSKnown.Zero)) in SimplifyDemandedUseBits()
237 if (ShrinkDemandedConstant(I, 1, DemandedMask)) in SimplifyDemandedUseBits()
307 if (ShrinkDemandedConstant(I, 1, DemandedMask)) in SimplifyDemandedUseBits()
361 return ShrinkDemandedConstant(I, OpNo, DemandedMask); in SimplifyDemandedUseBits()
372 return ShrinkDemandedConstant(I, OpNo, DemandedMask); in SimplifyDemandedUseBits()
/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.
/llvm-project-15.0.7/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp1607 if (TLI.ShrinkDemandedConstant(OutVal, DemandedMask, TLO) || in PerformDAGCombine()
1623 if (TLI.ShrinkDemandedConstant(Time, DemandedMask, TLO) || in PerformDAGCombine()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp499 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, in ShrinkDemandedConstant() function in TargetLowering
540 bool TargetLowering::ShrinkDemandedConstant(SDValue Op, in ShrinkDemandedConstant() function in TargetLowering
547 return ShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO); in ShrinkDemandedConstant()
1363 if (ShrinkDemandedConstant(Op, ~LHSKnown.Zero & DemandedBits, in SimplifyDemandedBits()
1421 if (ShrinkDemandedConstant(Op, ~Known2.Zero & DemandedBits, DemandedElts, in SimplifyDemandedBits()
1465 if (ShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO)) in SimplifyDemandedBits()
1595 if (ShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO)) in SimplifyDemandedBits()
1626 if (ShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO)) in SimplifyDemandedBits()
1656 if (ShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO)) in SimplifyDemandedBits()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3574 bool ShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
3579 bool ShrinkDemandedConstant(SDValue Op, const APInt &DemandedBits,
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4124 if (TLI.ShrinkDemandedConstant(BitsFrom, Demanded, TLO) || in PerformDAGCombine()