Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp568 Value *MaskedBits = B.CreateAnd(Bits, BitMask); in createMaskedBitTest() local
569 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0)); in createMaskedBitTest()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3715 const APInt &MaskedBits = *C0; in foldICmpWithTruncSignExtendedVal() local
3716 assert(MaskedBits != 0 && "shift by zero should be folded away already."); in foldICmpWithTruncSignExtendedVal()
3740 assert(BitWidth.ugt(MaskedBits) && "shifts should leave some bits untouched"); in foldICmpWithTruncSignExtendedVal()
3743 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3897 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; in optimizeSetCCOfSignedTruncationCheck() local
3898 assert(MaskedBits > 0 && MaskedBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()
3902 SDValue ShiftAmt = DAG.getConstant(MaskedBits, DL, XVT); in optimizeSetCCOfSignedTruncationCheck()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DARMISelLowering.cpp17514 uint32_t MaskedBits = countLeadingZeros(AndMask); in PerformShiftCombine() local
17515 if (MaskedBits > ShiftAmt) { in PerformShiftCombine()
17518 DAG.getConstant(MaskedBits, DL, MVT::i32)); in PerformShiftCombine()
17521 DAG.getConstant(MaskedBits - ShiftAmt, DL, MVT::i32)); in PerformShiftCombine()