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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp586 Value *MaskedBits = B.CreateAnd(Bits, BitMask); local
587 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3390 /// Folds: (MaskedBits is a constant.)
3391 /// ((%x << MaskedBits) a>> MaskedBits) SrcPred %x
3394 /// Where KeptBits = bitwidth(%x) - MaskedBits
3417 const APInt &MaskedBits = *C0; local
3418 assert(MaskedBits != 0 && "shift by zero should be folded away already.");
3423 // ((%x << MaskedBits) a>> MaskedBits) == %x
3429 // ((%x << MaskedBits) a>> MaskedBits) !
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2989 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; local
2990 assert(MaskedBits > 0 && MaskedBits < XVT.getSizeInBits() && "unreachable");
2994 SDValue ShiftAmt = DAG.getConstant(MaskedBits, DL, XVT);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp13982 uint32_t MaskedBits = countLeadingZeros(AndMask); local
13983 if (MaskedBits > ShiftAmt) {
13986 DAG.getConstant(MaskedBits, DL, MVT::i32));
13989 DAG.getConstant(MaskedBits - ShiftAmt, DL, MVT::i32));

Completed in 234 milliseconds