Searched refs:Demanded (Results 1 - 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 30 APInt Demanded) { 39 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); 40 if ((~Demanded & OpC->getValue()) == 0) 44 Demanded &= OpC->getValue(); 45 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); 29 ShrinkDemandedConstant(Instruction *I, unsigned OpNo, APInt Demanded) argument
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 283 const APInt &Demanded) { 296 (C->getAPIntValue() | (~Demanded)).isAllOnesValue()) 300 if (C->getAPIntValue().intersects(~Demanded)) { 303 DAG.getConstant(Demanded & 323 const APInt &Demanded, 342 unsigned DemandedSize = BitWidth - Demanded.countLeadingZeros(); 282 ShrinkDemandedConstant(SDValue Op, const APInt &Demanded) argument 321 ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded, SDLoc dl) argument
|
H A D | DAGCombiner.cpp | 162 APInt Demanded = APInt::getAllOnesValue(BitWidth); local 163 return SimplifyDemandedBits(Op, Demanded); 166 bool SimplifyDemandedBits(SDValue Op, const APInt &Demanded); 789 bool DAGCombiner::SimplifyDemandedBits(SDValue Op, const APInt &Demanded) { argument 792 if (!TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO))
|
/external/llvm/lib/Target/R600/ |
H A D | AMDGPUISelLowering.cpp | 1882 APInt Demanded = APInt::getLowBitsSet(VT.getSizeInBits(), 24); local 1885 if (TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO)) 2009 APInt Demanded = APInt::getBitsSet(32, local 2023 if (TLO.ShrinkDemandedConstant(BitsFrom, Demanded) || 2024 TLI.SimplifyDemandedBits(BitsFrom, Demanded, KnownZero, KnownOne, TLO)) {
|
H A D | SIISelLowering.cpp | 1158 APInt Demanded = APInt::getBitsSet(32, 8 * Offset, 8 * Offset + 8); local 1164 if (TLO.ShrinkDemandedConstant(Src, Demanded) || 1165 TLI.SimplifyDemandedBits(Src, Demanded, KnownZero, KnownOne, TLO)) {
|
/external/llvm/include/llvm/Target/ |
H A D | TargetLowering.h | 1959 bool ShrinkDemandedConstant(SDValue Op, const APInt &Demanded); 1964 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,
|
Completed in 143 milliseconds