Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp637 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
724 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
H A DMipsSEISelLowering.cpp496 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp367 IntegerType::get(IntTy->getContext(), (*MinC + 1).exactLogBase2() + 1); in tryToFPToSat()
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPInt.h1722 int32_t exactLogBase2() const { in exactLogBase2() function
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1457 int32_t logScale = Scale.exactLogBase2(); in Descale()
1557 assert(SmallScale.exactLogBase2() == logScale); in Descale()
1583 assert(Scale.exactLogBase2() == logScale); in Descale()
H A DInstCombineAndOrXor.cpp2138 int Log2ShiftC = ShiftC->exactLogBase2(); in visitAnd()
2139 int Log2C = C->exactLogBase2(); in visitAnd()
H A DInstCombineAddSub.cpp1158 X, ConstantInt::get(Add.getType(), DivC->exactLogBase2())); in foldAddToAshr()
H A DInstCombineCalls.cpp675 Op0, ConstantInt::get(Ty, (~Known.Zero).exactLogBase2())); in foldCtpop()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DIVDescriptors.cpp82 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5178 BW = MinCPlus1.exactLogBase2() + 1; in isSaturatingMinMax()
5184 BW = MinCPlus1.exactLogBase2(); in isSaturatingMinMax()
5235 unsigned BW = (C1 + 1).exactLogBase2(); in PerformUMinFpToSatCombine()
10611 DAG.getShiftAmountConstant(C1Val.exactLogBase2(), VT, DL); in foldSelectOfConstants()
11286 SDValue ShAmtC = DAG.getConstant(Pow2C.exactLogBase2(), DL, VT); in foldVSelectOfConstants()
H A DSelectionDAG.cpp11892 return IntVal.exactLogBase2(); in getConstantFPSplatPow2ToLog2Int()
H A DTargetLowering.cpp1946 int Log2 = DemandedBits.exactLogBase2(); in SimplifyDemandedBits()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1632 ShiftVal = MaybeImmVal->Value.exactLogBase2(); in matchCombineMulToShl()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp1586 int32_t Bit = MaybeBit->Value.exactLogBase2(); in tryOptAndIntoCompareBranch()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp46232 MaskVal->getAPIntValue().exactLogBase2()); in combineSelect()