HomeSort by: relevance | last modified time | path
    Searched defs:KeptBits (Results 1 - 2 of 2) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 3441 /// (add %x, (1 << (KeptBits-1))) DstPred (1 << KeptBits)
3442 /// Where KeptBits = bitwidth(%x) - MaskedBits
3473 // (add %x, (1 << (KeptBits-1))) u< (1 << KeptBits)
3479 // (add %x, (1 << (KeptBits-1))) u>= (1 << KeptBits)
3492 // KeptBits = bitwidth(%x) - MaskedBits
3493 const APInt KeptBits = BitWidth - MaskedBits;
3494 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp 3203 /// We are looking for the following pattern: (KeptBits is a constant)
3204 /// (add %x, (1 << (KeptBits-1))) srccond (1 << KeptBits)
3205 /// KeptBits won't be bitwidth(x), that will be constant-folded to true/false.
3206 /// KeptBits also can't be 1, that would have been folded to %x dstcond 0
3209 /// Where C = bitwidth(x) - KeptBits and C u< bitwidth(x)
3218 // N0 should be: add %x, (1 << (KeptBits-1))
3271 const unsigned KeptBits = I1.logBase2();
3275 if (KeptBits != (KeptBitsMinusOne + 1))
3277 assert(KeptBits > 0 && KeptBits < XVT.getSizeInBits() && "unreachable")
    [all...]

Completed in 22 milliseconds