reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2107     if (!TTI.isTypeLegal(DestTy)) continue;
 2450             if (isAddressUse(TTI, UI->getUser(), UI->getOperandValToReplace())) {
 2452                   TTI, UI->getUser(), UI->getOperandValToReplace());
 2454               if (TTI.isLegalAddressingMode(AccessTy.MemTy, /*BaseGV=*/nullptr,
 2460               if (TTI.isLegalAddressingMode(AccessTy.MemTy, /*BaseGV=*/nullptr,
 2543     if (!isAlwaysFoldable(TTI, Kind, NewAccessTy, /*BaseGV=*/nullptr,
 2548     if (!isAlwaysFoldable(TTI, Kind, NewAccessTy, /*BaseGV=*/nullptr,
 2571   if (!isAlwaysFoldable(TTI, Kind, AccessTy, /*BaseGV=*/ nullptr,
 3200       if (!canFoldIVIncExpr(LeftOverExpr, Inc.UserInst, Inc.IVOperand, TTI)) {
 3242   bool SaveCmp = TTI.canSaveCmp(L, &ExitBranch, &SE, &LI, &DT, &AC, &LibInfo);
 3257     if (isAddressUse(TTI, UserInst, U.getOperandValToReplace())) {
 3259       AccessTy = getAccessType(TTI, UserInst, U.getOperandValToReplace());
 3373   assert(isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F) &&
 3578   if (TTI.shouldFavorPostInc() && mayUsePostIncMode(TTI, LU, BaseReg, L, SE))
 3578   if (TTI.shouldFavorPostInc() && mayUsePostIncMode(TTI, LU, BaseReg, L, SE))
 3598     if (isAlwaysFoldable(TTI, SE, LU.MinOffset, LU.MaxOffset, LU.Kind,
 3611         isAlwaysFoldable(TTI, SE, LU.MinOffset, LU.MaxOffset, LU.Kind,
 3623         TTI.isLegalAddImmediate((uint64_t)F.UnfoldedOffset +
 3639         TTI.isLegalAddImmediate((uint64_t)F.UnfoldedOffset +
 3751   if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F))
 3782     if (isLegalUse(TTI, LU.MinOffset - Offset, LU.MaxOffset - Offset, LU.Kind,
 3836   if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F))
 3913     if (!isLegalUse(TTI, Offset, Offset, LU.Kind, LU.AccessTy, F))
 3974     if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy,
 3979           isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LSRUse::Special,
 4033     if (SrcTy != DstTy && TTI.isTruncateFree(SrcTy, DstTy)) {
 4211         if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy,
 4236           if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset,
 4238             if (TTI.shouldFavorPostInc() &&
 4239                 mayUsePostIncMode(TTI, LU, OrigReg, this->L, SE))
 4241             if (!TTI.isLegalAddImmediate((uint64_t)NewF.UnfoldedOffset + Imm))
 4341       Cost CostF(L, SE, TTI);
 4374         Cost CostBest(L, SE, TTI);
 4533         if (!isLegalUse(TTI, LUThatHas->MinOffset, LUThatHas->MaxOffset,
 4627       Cost CostFA(L, SE, TTI);
 4628       Cost CostFB(L, SE, TTI);
 4920   Cost NewCost(L, SE, TTI);
 4971   Cost SolutionCost(L, SE, TTI);
 4973   Cost CurCost(L, SE, TTI);
 5197           isAMCompletelyFolded(TTI, LU, F)) {