Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1164 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument
1176 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h890 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument
902 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h698 unsigned KeptBits) const override;
H A DRISCVISelLowering.cpp17635 EVT XVT, unsigned KeptBits) const { in shouldTransformSignedTruncationCheck()
17644 if (KeptBits == 32 || KeptBits == 64) in shouldTransformSignedTruncationCheck()
17649 ((KeptBits == 8 && XVT == MVT::i64 && !Subtarget.is64Bit()) ||
17650 KeptBits == 16); in isDesirableToCommuteWithShift()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4468 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal() local
4469 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable"); in foldICmpWithTruncSignExtendedVal()
4471 const APInt ICmpCst = APInt(XBitWidth, 1).shl(KeptBits); in foldICmpWithTruncSignExtendedVal()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4140 const unsigned KeptBits = I1.logBase2(); in optimizeSetCCOfSignedTruncationCheck() local
4144 if (KeptBits != (KeptBitsMinusOne + 1)) in optimizeSetCCOfSignedTruncationCheck()
4146 assert(KeptBits > 0 && KeptBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()
4151 XVT, KeptBits)) in optimizeSetCCOfSignedTruncationCheck()
4158 DAG.getValueType(EVT::getIntegerVT(*DAG.getContext(), KeptBits))); in optimizeSetCCOfSignedTruncationCheck()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h827 unsigned KeptBits) const { in shouldTransformSignedTruncationCheck() argument