Searched refs:Demanded (Results 1 - 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp30 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 DTargetLowering.cpp283 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 DDAGCombiner.cpp162 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 DAMDGPUISelLowering.cpp1882 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 DSIISelLowering.cpp1158 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 DTargetLowering.h1959 bool ShrinkDemandedConstant(SDValue Op, const APInt &Demanded);
1964 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,

Completed in 143 milliseconds