reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4120 if (Type *CommonUseTy = findCommonType(P.begin(), P.end(), P.endOffset())) 4120 if (Type *CommonUseTy = findCommonType(P.begin(), P.end(), P.endOffset())) 4120 if (Type *CommonUseTy = findCommonType(P.begin(), P.end(), P.endOffset())) 4121 if (DL.getTypeAllocSize(CommonUseTy) >= P.size()) 4125 P.beginOffset(), P.size())) 4125 P.beginOffset(), P.size())) 4129 DL.isLegalInteger(P.size() * 8)) 4130 SliceTy = Type::getIntNTy(*C, P.size() * 8); 4132 SliceTy = ArrayType::get(Type::getInt8Ty(*C), P.size()); 4133 assert(DL.getTypeAllocSize(SliceTy) >= P.size()); 4135 bool IsIntegerPromotable = isIntegerWideningViable(P, SliceTy, DL); 4138 IsIntegerPromotable ? nullptr : isVectorPromotionViable(P, DL); 4149 if (SliceTy == AI.getAllocatedType() && P.beginOffset() == 0) { 4161 P.beginOffset()); 4168 AI.getName() + ".sroa." + Twine(P.begin() - AS.begin()), &AI); 4175 << "[" << P.beginOffset() << "," << P.endOffset() 4175 << "[" << P.beginOffset() << "," << P.endOffset() 4186 AllocaSliceRewriter Rewriter(DL, AS, *this, AI, *NewAI, P.beginOffset(), 4187 P.endOffset(), IsIntegerPromotable, VecTy, 4190 for (Slice *S : P.splitSliceTails()) { 4194 for (Slice &S : P) {