Searched refs:ScaleShift (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ScaledNumber.h | 844 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 D | SummaryBasedOptimizations.cpp | 54 return Scaled64(Edge.second.RelBlockFreq, -CalleeInfo::ScaleShift); in computeSyntheticCounts()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndex.h | 79 static constexpr int32_t ScaleShift = 8; member 108 Scaled64 Temp(BlockFreq, ScaleShift); in updateRelBlockFreq()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 13936 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 D | X86ISelLowering.cpp | 47694 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()
|