reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1327 assert(F.isCanonical(*L) && "Cost is accurate only for canonical formula"); 1332 if (const SCEV *ScaledReg = F.ScaledReg) { 1337 RatePrimaryRegister(F, ScaledReg, Regs, LoserRegs); 1341 for (const SCEV *BaseReg : F.BaseRegs) { 1346 RatePrimaryRegister(F, BaseReg, Regs, LoserRegs); 1352 size_t NumBaseParts = F.getNumRegs(); 1357 NumBaseParts - (1 + (F.Scale && isAMCompletelyFolded(*TTI, LU, F))); 1357 NumBaseParts - (1 + (F.Scale && isAMCompletelyFolded(*TTI, LU, F))); 1358 C.NumBaseAdds += (F.UnfoldedOffset != 0); 1361 C.ScaleCost += getScalingFactorCost(*TTI, LU, F, *L); 1366 int64_t Offset = (uint64_t)O + F.BaseOffset; 1367 if (F.BaseGV) 1376 !isAMCompletelyFolded(*TTI, LSRUse::Address, LU.AccessTy, F.BaseGV, 1377 Offset, F.HasBaseReg, F.Scale, Fixup.UserInst)) 1377 Offset, F.HasBaseReg, F.Scale, Fixup.UserInst)) 1391 TTI->getRegisterClassForType(false, F.getType())) - 1; 1411 if (LU.Kind == LSRUse::ICmpZero && !F.hasZeroEnd() &&