Home
last modified time | relevance | path

Searched refs:KeptBits (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dcanonicalize-signed-truncation-check.ll9 ; (add %x, (1 << (KeptBits-1))) u>= (1 << KeptBits)
10 ; Where KeptBits = bitwidth(%x) - MaskedBits
Dcanonicalize-lack-of-signed-truncation-check.ll9 ; (add %x, (1 << (KeptBits-1))) u< (1 << KeptBits)
10 ; Where KeptBits = bitwidth(%x) - MaskedBits
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h461 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument
473 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.h820 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument
832 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1910 const unsigned KeptBits = I1.logBase2(); in optimizeSetCCOfSignedTruncationCheck() local
1914 if (KeptBits != (KeptBitsMinusOne + 1)) in optimizeSetCCOfSignedTruncationCheck()
1916 assert(KeptBits > 0 && KeptBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()
1921 XVT, KeptBits)) in optimizeSetCCOfSignedTruncationCheck()
1924 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; in optimizeSetCCOfSignedTruncationCheck()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3014 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal() local
3015 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable"); in foldICmpWithTruncSignExtendedVal()
3017 const APInt ICmpCst = APInt(XBitWidth, 1).shl(KeptBits); in foldICmpWithTruncSignExtendedVal()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLowering.h530 unsigned KeptBits) const { in shouldTransformSignedTruncationCheck() argument