Home
last modified time | relevance | path

Searched refs:exactLogBase2 (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.cpp426 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
447 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp587 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
668 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
H A DMipsSEISelLowering.cpp541 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp393 IntegerType::get(IntTy->getContext(), (*MinC + 1).exactLogBase2() + 1); in tryToFPToSat()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1783 int32_t exactLogBase2() const { in exactLogBase2() function
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp82 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2085 ShiftVal = MaybeImmVal->Value.exactLogBase2(); in matchCombineMulToShl()
7071 auto ShAmtC = B.buildConstant(ShiftTy, TrueValue.exactLogBase2()); in tryFoldSelectOfConstants()
7087 auto ShAmtC = B.buildConstant(ShiftTy, FalseValue.exactLogBase2()); in tryFoldSelectOfConstants()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp2594 int Log2ShiftC = ShiftC->exactLogBase2(); in visitAnd()
2595 int Log2C = C->exactLogBase2(); in visitAnd()
H A DInstCombineCasts.cpp813 Constant *Log2C1 = ConstantInt::get(SrcTy, C1->exactLogBase2()); in visitTrunc()
H A DInstCombineAddSub.cpp1313 X, ConstantInt::get(Add.getType(), DivC->exactLogBase2())); in foldAddToAshr()
H A DInstCombineCalls.cpp696 Op0, ConstantInt::get(Ty, (~Known.Zero).exactLogBase2())); in foldCtpop()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5978 BW = MinCPlus1.exactLogBase2() + 1; in isSaturatingMinMax()
5984 BW = MinCPlus1.exactLogBase2(); in isSaturatingMinMax()
6034 unsigned BW = (C1 + 1).exactLogBase2(); in PerformUMinFpToSatCombine()
12006 DAG.getShiftAmountConstant(C1Val.exactLogBase2(), VT, DL); in foldSelectOfConstants()
13048 SDValue ShAmtC = DAG.getConstant(Pow2C.exactLogBase2(), DL, VT); in foldVSelectOfConstants()
H A DSelectionDAG.cpp13505 return IntVal.exactLogBase2(); in getConstantFPSplatPow2ToLog2Int()
H A DTargetLowering.cpp2170 int Log2 = DemandedBits.exactLogBase2(); in SimplifyDemandedBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp1658 int32_t Bit = MaybeBit->Value.exactLogBase2(); in tryOptAndIntoCompareBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp17150 int32_t C = IntVal.exactLogBase2(); in PerformVMulVCTPCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp48143 MaskVal->getAPIntValue().exactLogBase2()); in combineSelect()
51707 int32_t MulCLowBitLog = MulCLowBit.exactLogBase2(); in combineAnd()