Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp592 Value *MaskedBits = B.CreateAnd(Bits, BitMask); in createMaskedBitTest() local
593 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0)); in createMaskedBitTest()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3465 const APInt &MaskedBits = *C0; in foldICmpWithTruncSignExtendedVal() local
3466 assert(MaskedBits != 0 && "shift by zero should be folded away already."); in foldICmpWithTruncSignExtendedVal()
3490 assert(BitWidth.ugt(MaskedBits) && "shifts should leave some bits untouched"); in foldICmpWithTruncSignExtendedVal()
3493 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3285 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; in optimizeSetCCOfSignedTruncationCheck() local
3286 assert(MaskedBits > 0 && MaskedBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()
3290 SDValue ShiftAmt = DAG.getConstant(MaskedBits, DL, XVT); in optimizeSetCCOfSignedTruncationCheck()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp16138 uint32_t MaskedBits = countLeadingZeros(AndMask); in PerformShiftCombine() local
16139 if (MaskedBits > ShiftAmt) { in PerformShiftCombine()
16142 DAG.getConstant(MaskedBits, DL, MVT::i32)); in PerformShiftCombine()
16145 DAG.getConstant(MaskedBits - ShiftAmt, DL, MVT::i32)); in PerformShiftCombine()