Lines Matching refs:AccessTy

697   Type *AccessTy = Inst->getType();  in getAccessType()  local
699 AccessTy = SI->getOperand(0)->getType(); in getAccessType()
709 AccessTy = II->getArgOperand(0)->getType(); in getAccessType()
716 if (PointerType *PTy = dyn_cast<PointerType>(AccessTy)) in getAccessType()
717 AccessTy = PointerType::get(IntegerType::get(PTy->getContext(), 1), in getAccessType()
720 return AccessTy; in getAccessType()
1222 Type *AccessTy; member in __anonb19727160711::LSRUse
1254 LSRUse(KindType K, Type *T) : Kind(K), AccessTy(T), in LSRUse()
1350 if (AccessTy->isPointerTy()) in print()
1353 OS << *AccessTy; in print()
1379 LSRUse::KindType Kind, Type *AccessTy, in isAMCompletelyFolded() argument
1384 return TTI.isLegalAddressingMode(AccessTy, BaseGV, BaseOffset, HasBaseReg, Scale); in isAMCompletelyFolded()
1434 LSRUse::KindType Kind, Type *AccessTy, in isAMCompletelyFolded() argument
1447 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MinOffset, in isAMCompletelyFolded()
1449 isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MaxOffset, in isAMCompletelyFolded()
1455 LSRUse::KindType Kind, Type *AccessTy, in isAMCompletelyFolded() argument
1465 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isAMCompletelyFolded()
1471 int64_t MaxOffset, LSRUse::KindType Kind, Type *AccessTy, in isLegalUse() argument
1475 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, BaseGV, in isLegalUse()
1480 isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isLegalUse()
1485 int64_t MaxOffset, LSRUse::KindType Kind, Type *AccessTy, in isLegalUse() argument
1487 return isLegalUse(TTI, MinOffset, MaxOffset, Kind, AccessTy, F.BaseGV, in isLegalUse()
1494 LU.AccessTy, F.BaseGV, F.BaseOffset, F.HasBaseReg, in isAMCompletelyFolded()
1506 LU.AccessTy, F)) in getScalingFactorCost()
1513 TTI.getScalingFactorCost(LU.AccessTy, F.BaseGV, in getScalingFactorCost()
1517 TTI.getScalingFactorCost(LU.AccessTy, F.BaseGV, in getScalingFactorCost()
1537 LSRUse::KindType Kind, Type *AccessTy, in isAlwaysFoldable() argument
1554 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, BaseOffset, in isAlwaysFoldable()
1561 Type *AccessTy, const SCEV *S, bool HasBaseReg) { in isAlwaysFoldable() argument
1580 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, BaseGV, in isAlwaysFoldable()
1718 LSRUse::KindType Kind, Type *AccessTy);
1722 Type *AccessTy);
2175 Type *AccessTy = getAccessType(UI->getUser()); in OptimizeLoopTermCond() local
2177 if (TTI.isLegalAddressingMode(AccessTy, /*BaseGV=*/ nullptr, in OptimizeLoopTermCond()
2182 if (TTI.isLegalAddressingMode(AccessTy, /*BaseGV=*/ nullptr, in OptimizeLoopTermCond()
2241 LSRUse::KindType Kind, Type *AccessTy) { in reconcileNewOffset() argument
2244 Type *NewAccessTy = AccessTy; in reconcileNewOffset()
2255 if (Kind == LSRUse::Address && AccessTy != LU.AccessTy) in reconcileNewOffset()
2256 NewAccessTy = Type::getVoidTy(AccessTy->getContext()); in reconcileNewOffset()
2274 LU.AccessTy = NewAccessTy; in reconcileNewOffset()
2285 LSRUse::KindType Kind, Type *AccessTy) { in getUse() argument
2290 if (!isAlwaysFoldable(TTI, Kind, AccessTy, /*BaseGV=*/ nullptr, in getUse()
2302 if (reconcileNewOffset(LU, Offset, /*HasBaseReg=*/true, Kind, AccessTy)) in getUse()
2310 Uses.push_back(LSRUse(Kind, AccessTy)); in getUse()
2348 LU.Kind == OrigLU.Kind && OrigLU.AccessTy == LU.AccessTy && in FindUseWithSimilarFormula()
2992 Type *AccessTy = nullptr; in CollectFixupsAndInitialFormulae() local
2995 AccessTy = getAccessType(LF.UserInst); in CollectFixupsAndInitialFormulae()
3038 std::pair<size_t, int64_t> P = getUse(S, Kind, AccessTy); in CollectFixupsAndInitialFormulae()
3099 assert(isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F) && in InsertFormula()
3285 LU.AccessTy, *J, Base.getNumRegs() > 1)) in GenerateReassociationsImpl()
3298 LU.AccessTy, InnerAddOps[0], Base.getNumRegs() > 1)) in GenerateReassociationsImpl()
3405 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F)) in GenerateSymbolicOffsetsImpl()
3438 LU.AccessTy, F)) { in GenerateConstantOffsetsImpl()
3463 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F)) in GenerateConstantOffsetsImpl()
3537 if (!isLegalUse(TTI, Offset, Offset, LU.Kind, LU.AccessTy, F)) in GenerateICmpZeroScales()
3600 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, in GenerateScales()
3606 LU.AccessTy, Base) && in GenerateScales()
3815 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, in GenerateCrossUseConstantOffsets()
3842 LU.Kind, LU.AccessTy, NewF)) { in GenerateCrossUseConstantOffsets()
4127 LU.Kind, LU.AccessTy)) in NarrowSearchSpaceByCollapsingUnrolledCode()
4160 LUThatHas->Kind, LUThatHas->AccessTy, F)) { in NarrowSearchSpaceByCollapsingUnrolledCode()
4958 assert(isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, in LSRInstance()