Home
last modified time | relevance | path

Searched refs:ScaleShift (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h844 int32_t ScaleShift = std::min(Shift, ScaledNumbers::MaxScale - Scale); in shiftLeft() local
845 Scale += ScaleShift; in shiftLeft()
846 if (ScaleShift == Shift) in shiftLeft()
854 Shift -= ScaleShift; in shiftLeft()
874 int32_t ScaleShift = std::min(Shift, Scale - ScaledNumbers::MinScale); in shiftRight() local
875 Scale -= ScaleShift; in shiftRight()
876 if (ScaleShift == Shift) in shiftRight()
880 Shift -= ScaleShift; in shiftRight()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DSummaryBasedOptimizations.cpp54 return Scaled64(Edge.second.RelBlockFreq, -CalleeInfo::ScaleShift); in computeSyntheticCounts()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h79 static constexpr int32_t ScaleShift = 8; member
108 Scaled64 Temp(BlockFreq, ScaleShift); in updateRelBlockFreq()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp13936 unsigned ScaleShift = llvm::countr_zero(MulAmt); in expandMul() local
13937 if (ScaleShift >= 1 && ScaleShift < 4) { in expandMul()
13943 DAG.getConstant(ScaleShift, DL, VT), Shift1); in expandMul()
13969 unsigned ScaleShift = llvm::countr_zero(MulAmt - 1); in expandMul() local
13970 if (ScaleShift >= 1 && ScaleShift < 4) { in expandMul()
13977 DAG.getConstant(ScaleShift, DL, VT), X)); in expandMul()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp47694 unsigned ScaleShift = llvm::countr_zero(MulAmt); in combineMulSpecial() local
47695 if (ScaleShift >= 1 && ScaleShift < 4) { in combineMulSpecial()
47700 DAG.getConstant(ScaleShift, DL, MVT::i8)); in combineMulSpecial()