Home
last modified time | relevance | path

Searched refs:MaskedBits (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dcanonicalize-signed-truncation-check.ll7 ; ((%x << MaskedBits) a>> MaskedBits) != %x
10 ; Where KeptBits = bitwidth(%x) - MaskedBits
Dcanonicalize-lack-of-signed-truncation-check.ll7 ; ((%x << MaskedBits) a>> MaskedBits) == %x
10 ; Where KeptBits = bitwidth(%x) - MaskedBits
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp304 Value *MaskedBits = B.CreateAnd(Bits, BitMask); in createMaskedBitTest() local
305 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0)); in createMaskedBitTest()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp528 Value *MaskedBits = B.CreateAnd(Bits, BitMask); in createMaskedBitTest() local
529 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0)); in createMaskedBitTest()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1924 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; in optimizeSetCCOfSignedTruncationCheck() local
1925 assert(MaskedBits > 0 && MaskedBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()
1929 SDValue ShiftAmt = DAG.getConstant(MaskedBits, DL, XVT); in optimizeSetCCOfSignedTruncationCheck()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2986 const APInt &MaskedBits = *C0; in foldICmpWithTruncSignExtendedVal() local
2987 assert(MaskedBits != 0 && "shift by zero should be folded away already."); in foldICmpWithTruncSignExtendedVal()
3011 assert(BitWidth.ugt(MaskedBits) && "shifts should leave some bits untouched"); in foldICmpWithTruncSignExtendedVal()
3014 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal()