Home
last modified time | relevance | path

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

/external/llvm-project/llvm/test/Transforms/InstCombine/
Dcanonicalize-lack-of-signed-truncation-check.ll9 ; (add %x, (1 << (KeptBits-1))) u< (1 << KeptBits)
10 ; Where KeptBits = bitwidth(%x) - MaskedBits
Dcanonicalize-signed-truncation-check.ll9 ; (add %x, (1 << (KeptBits-1))) u>= (1 << KeptBits)
10 ; Where KeptBits = bitwidth(%x) - MaskedBits
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h565 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument
577 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h706 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument
718 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.h1018 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument
1030 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.h906 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument
918 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3241 const unsigned KeptBits = I1.logBase2(); in optimizeSetCCOfSignedTruncationCheck() local
3245 if (KeptBits != (KeptBitsMinusOne + 1)) in optimizeSetCCOfSignedTruncationCheck()
3247 assert(KeptBits > 0 && KeptBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()
3252 XVT, KeptBits)) in optimizeSetCCOfSignedTruncationCheck()
3255 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; in optimizeSetCCOfSignedTruncationCheck()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2975 const unsigned KeptBits = I1.logBase2(); in optimizeSetCCOfSignedTruncationCheck() local
2979 if (KeptBits != (KeptBitsMinusOne + 1)) in optimizeSetCCOfSignedTruncationCheck()
2981 assert(KeptBits > 0 && KeptBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()
2986 XVT, KeptBits)) in optimizeSetCCOfSignedTruncationCheck()
2989 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; in optimizeSetCCOfSignedTruncationCheck()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3488 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal() local
3489 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable"); in foldICmpWithTruncSignExtendedVal()
3491 const APInt ICmpCst = APInt(XBitWidth, 1).shl(KeptBits); in foldICmpWithTruncSignExtendedVal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3445 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal() local
3446 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable"); in foldICmpWithTruncSignExtendedVal()
3448 const APInt ICmpCst = APInt(XBitWidth, 1).shl(KeptBits); in foldICmpWithTruncSignExtendedVal()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h587 unsigned KeptBits) const { in shouldTransformSignedTruncationCheck() argument
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetLowering.h722 unsigned KeptBits) const { in shouldTransformSignedTruncationCheck() argument