Searched refs:exactLogBase2 (Results 1 – 15 of 15) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelDAGToDAG.cpp | 382 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2() 403 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelDAGToDAG.cpp | 637 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2() 722 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
|
| H A D | MipsSEISelLowering.cpp | 495 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 365 IntegerType::get(IntTy->getContext(), (*MinC + 1).exactLogBase2() + 1); in tryToFPToSat()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 1718 int32_t exactLogBase2() const { in exactLogBase2() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 80 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 2392 int Log2ShiftC = ShiftC->exactLogBase2(); in visitAnd() 2393 int Log2C = C->exactLogBase2(); in visitAnd()
|
| H A D | InstCombineAddSub.cpp | 1262 X, ConstantInt::get(Add.getType(), DivC->exactLogBase2())); in foldAddToAshr()
|
| H A D | InstCombineCalls.cpp | 686 Op0, ConstantInt::get(Ty, (~Known.Zero).exactLogBase2())); in foldCtpop()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 1863 ShiftVal = MaybeImmVal->Value.exactLogBase2(); in matchCombineMulToShl() 6446 auto ShAmtC = B.buildConstant(ShiftTy, TrueValue.exactLogBase2()); in tryFoldSelectOfConstants()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 5606 BW = MinCPlus1.exactLogBase2() + 1; in isSaturatingMinMax() 5612 BW = MinCPlus1.exactLogBase2(); in isSaturatingMinMax() 5662 unsigned BW = (C1 + 1).exactLogBase2(); in PerformUMinFpToSatCombine() 11412 DAG.getShiftAmountConstant(C1Val.exactLogBase2(), VT, DL); in foldSelectOfConstants() 12139 SDValue ShAmtC = DAG.getConstant(Pow2C.exactLogBase2(), DL, VT); in foldVSelectOfConstants()
|
| H A D | SelectionDAG.cpp | 12600 return IntVal.exactLogBase2(); in getConstantFPSplatPow2ToLog2Int()
|
| H A D | TargetLowering.cpp | 2077 int Log2 = DemandedBits.exactLogBase2(); in SimplifyDemandedBits()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 1634 int32_t Bit = MaybeBit->Value.exactLogBase2(); in tryOptAndIntoCompareBranch()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 45323 MaskVal->getAPIntValue().exactLogBase2()); in combineSelect() 48618 int32_t MulCLowBitLog = MulCLowBit.exactLogBase2(); in combineAnd()
|