Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp30 APInt Demanded) { in ShrinkDemandedConstant() argument
39 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); in ShrinkDemandedConstant()
40 if ((~Demanded & OpC->getValue()) == 0) in ShrinkDemandedConstant()
44 Demanded &= OpC->getValue(); in ShrinkDemandedConstant()
45 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); in ShrinkDemandedConstant()
/external/llvm/test/Transforms/InstCombine/
Dx86-f16c.ll7 ; Vector Demanded Bits
Dx86-sse4a.ll217 ; Vector Demanded Bits
Dx86-vector-shifts.ll829 ; Vector Demanded Bits
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp298 const APInt &Demanded) { in ShrinkDemandedConstant() argument
311 (C->getAPIntValue() | (~Demanded)).isAllOnesValue()) in ShrinkDemandedConstant()
315 if (C->getAPIntValue().intersects(~Demanded)) { in ShrinkDemandedConstant()
318 DAG.getConstant(Demanded & in ShrinkDemandedConstant()
338 const APInt &Demanded, in ShrinkDemandedOp() argument
357 unsigned DemandedSize = BitWidth - Demanded.countLeadingZeros(); in ShrinkDemandedOp()
DDAGCombiner.cpp184 APInt Demanded = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedBits() local
185 return SimplifyDemandedBits(Op, Demanded); in SimplifyDemandedBits()
188 bool SimplifyDemandedBits(SDValue Op, const APInt &Demanded);
924 bool DAGCombiner::SimplifyDemandedBits(SDValue Op, const APInt &Demanded) { in SimplifyDemandedBits() argument
927 if (!TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO)) in SimplifyDemandedBits()
/external/llvm/include/llvm/Target/
DTargetLowering.h2138 bool ShrinkDemandedConstant(SDValue Op, const APInt &Demanded);
2143 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp2322 APInt Demanded = APInt::getLowBitsSet(VT.getSizeInBits(), 24); in simplifyI24() local
2325 if (TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO)) in simplifyI24()
2558 APInt Demanded = APInt::getBitsSet(32, in PerformDAGCombine() local
2566 if (TLO.ShrinkDemandedConstant(BitsFrom, Demanded) || in PerformDAGCombine()
2567 TLI.SimplifyDemandedBits(BitsFrom, Demanded, in PerformDAGCombine()
DSIISelLowering.cpp2014 APInt Demanded = APInt::getBitsSet(32, 8 * Offset, 8 * Offset + 8); in PerformDAGCombine() local
2020 if (TLO.ShrinkDemandedConstant(Src, Demanded) || in PerformDAGCombine()
2021 TLI.SimplifyDemandedBits(Src, Demanded, KnownZero, KnownOne, TLO)) { in PerformDAGCombine()