Searched refs:KeptBits (Results 1 - 5 of 5) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h565 unsigned KeptBits) const override {
577 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h906 unsigned KeptBits) const override {
918 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2907 /// We are looking for the following pattern: (KeptBits is a constant)
2908 /// (add %x, (1 << (KeptBits-1))) srccond (1 << KeptBits)
2909 /// KeptBits won't be bitwidth(x), that will be constant-folded to true/false.
2910 /// KeptBits also can't be 1, that would have been folded to %x dstcond 0
2913 /// Where C = bitwidth(x) - KeptBits and C u< bitwidth(x)
2922 // N0 should be: add %x, (1 << (KeptBits-1))
2975 const unsigned KeptBits = I1.logBase2(); local
2979 if (KeptBits != (KeptBitsMinusOne + 1))
2981 assert(KeptBits >
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3393 /// (add %x, (1 << (KeptBits-1))) DstPred (1 << KeptBits)
3394 /// Where KeptBits = bitwidth(%x) - MaskedBits
3425 // (add %x, (1 << (KeptBits-1))) u< (1 << KeptBits)
3431 // (add %x, (1 << (KeptBits-1))) u>= (1 << KeptBits)
3444 // KeptBits = bitwidth(%x) - MaskedBits
3445 const APInt KeptBits = BitWidth - MaskedBits; local
3446 assert(KeptBits
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h580 /// down into KeptBits would be truncating or not:
581 /// (add %x, (1 << (KeptBits-1))) srccond (1 << KeptBits)
587 unsigned KeptBits) const {

Completed in 135 milliseconds