Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp1047 int PowDiff = (int)Log2_32(Dst->getScalarSizeInBits()) - in getCastInstrCost() local
1061 if ((PowDiff < 1) || (PowDiff > 3)) in getCastInstrCost()
1066 (ISD == ISD::SIGN_EXTEND) ? SExtOp[PowDiff - 1] : ZExtOp[PowDiff - 1]; in getCastInstrCost()
1119 if (std::abs(PowDiff) <= 1) in getCastInstrCost()
1126 return std::abs(PowDiff); in getCastInstrCost()