Lines Matching defs:AccessTy
637 Type *AccessTy = Inst->getType();
639 AccessTy = SI->getOperand(0)->getType();
649 AccessTy = II->getArgOperand(0)->getType();
656 if (PointerType *PTy = dyn_cast<PointerType>(AccessTy))
657 AccessTy = PointerType::get(IntegerType::get(PTy->getContext(), 1),
660 return AccessTy;
1137 Type *AccessTy;
1162 LSRUse(KindType K, Type *T) : Kind(K), AccessTy(T),
1252 if (AccessTy->isPointerTy())
1255 OS << *AccessTy;
1284 Type *AccessTy, GlobalValue *BaseGV, int64_t BaseOffset,
1288 return TTI.isLegalAddressingMode(AccessTy, BaseGV, BaseOffset, HasBaseReg, Scale);
1337 int64_t MaxOffset, LSRUse::KindType Kind, Type *AccessTy,
1350 return isLegalUse(TTI, Kind, AccessTy, BaseGV, MinOffset, HasBaseReg,
1352 isLegalUse(TTI, Kind, AccessTy, BaseGV, MaxOffset, HasBaseReg, Scale);
1356 int64_t MaxOffset, LSRUse::KindType Kind, Type *AccessTy,
1358 return isLegalUse(TTI, MinOffset, MaxOffset, Kind, AccessTy, F.BaseGV,
1363 LSRUse::KindType Kind, Type *AccessTy,
1380 return isLegalUse(TTI, Kind, AccessTy, BaseGV, BaseOffset, HasBaseReg, Scale);
1386 Type *AccessTy, const SCEV *S, bool HasBaseReg) {
1405 return isLegalUse(TTI, MinOffset, MaxOffset, Kind, AccessTy, BaseGV,
1569 LSRUse::KindType Kind, Type *AccessTy);
1573 Type *AccessTy);
2017 Type *AccessTy = getAccessType(UI->getUser());
2019 if (TTI.isLegalAddressingMode(AccessTy, /*BaseGV=*/ 0,
2024 if (TTI.isLegalAddressingMode(AccessTy, /*BaseGV=*/ 0,
2084 LSRUse::KindType Kind, Type *AccessTy) {
2087 Type *NewAccessTy = AccessTy;
2096 if (!isAlwaysFoldable(TTI, Kind, AccessTy, /*BaseGV=*/ 0,
2101 if (!isAlwaysFoldable(TTI, Kind, AccessTy, /*BaseGV=*/ 0,
2109 if (Kind == LSRUse::Address && AccessTy != LU.AccessTy)
2110 NewAccessTy = Type::getVoidTy(AccessTy->getContext());
2115 LU.AccessTy = NewAccessTy;
2126 LSRUse::KindType Kind, Type *AccessTy) {
2131 if (!isAlwaysFoldable(TTI, Kind, AccessTy, /*BaseGV=*/ 0,
2143 if (reconcileNewOffset(LU, Offset, /*HasBaseReg=*/true, Kind, AccessTy))
2151 Uses.push_back(LSRUse(Kind, AccessTy));
2189 LU.Kind == OrigLU.Kind && OrigLU.AccessTy == LU.AccessTy &&
2834 Type *AccessTy = 0;
2837 AccessTy = getAccessType(LF.UserInst);
2880 std::pair<size_t, int64_t> P = getUse(S, Kind, AccessTy);
3121 LU.AccessTy, *J, Base.getNumRegs() > 1))
3134 LU.AccessTy, InnerAddOps[0], Base.getNumRegs() > 1))
3216 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F))
3241 LU.AccessTy, F)) {
3260 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F))
3307 if (!isLegalUse(TTI, Offset, Offset, LU.Kind, LU.AccessTy, F))
3362 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy,
3368 LU.AccessTy, Base) &&
3566 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy,
3592 LU.Kind, LU.AccessTy, NewF)) {
3875 LU.Kind, LU.AccessTy))
3908 LUThatHas->Kind, LUThatHas->AccessTy, F)) {
4686 assert(isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy,