Searched refs:Demanded (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 30 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/ |
D | x86-f16c.ll | 7 ; Vector Demanded Bits
|
D | x86-sse4a.ll | 217 ; Vector Demanded Bits
|
D | x86-vector-shifts.ll | 829 ; Vector Demanded Bits
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 298 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()
|
D | DAGCombiner.cpp | 184 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/ |
D | TargetLowering.h | 2138 bool ShrinkDemandedConstant(SDValue Op, const APInt &Demanded); 2143 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2322 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()
|
D | SIISelLowering.cpp | 2014 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()
|