Searched refs:ScaleShift (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ScaledNumber.h | 847 int32_t ScaleShift = std::min(Shift, ScaledNumbers::MaxScale - Scale); in shiftLeft() local 848 Scale += ScaleShift; in shiftLeft() 849 if (ScaleShift == Shift) in shiftLeft() 857 Shift -= ScaleShift; in shiftLeft() 877 int32_t ScaleShift = std::min(Shift, Scale - ScaledNumbers::MinScale); in shiftRight() local 878 Scale -= ScaleShift; in shiftRight() 879 if (ScaleShift == Shift) in shiftRight() 883 Shift -= ScaleShift; in shiftRight()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 83 static constexpr int32_t ScaleShift = 8; member 112 Scaled64 Temp(BlockFreq, ScaleShift); in updateRelBlockFreq()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 16073 unsigned ScaleShift = llvm::countr_zero(MulAmt); in expandMul() local 16074 if (ScaleShift >= 1 && ScaleShift < 4) { in expandMul() 16080 DAG.getConstant(ScaleShift, DL, VT), Shift1); in expandMul() 16106 unsigned ScaleShift = llvm::countr_zero(MulAmt - 1); in expandMul() local 16107 if (ScaleShift >= 1 && ScaleShift < 4) { in expandMul() 16114 DAG.getConstant(ScaleShift, DL, VT), X)); in expandMul()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 49465 unsigned ScaleShift = llvm::countr_zero(MulAmt); in combineMulSpecial() local 49466 if (ScaleShift >= 1 && ScaleShift < 4) { in combineMulSpecial() 49471 DAG.getConstant(ScaleShift, DL, MVT::i8)); in combineMulSpecial()
|