Searched refs:AllocElTySize (Results 1 – 1 of 1) sorted by relevance
102 uint64_t AllocElTySize = DL.getTypeAllocSize(AllocElTy); in PromoteCastOfAllocation() local104 if (CastElTySize == 0 || AllocElTySize == 0) return nullptr; in PromoteCastOfAllocation()121 if ((AllocElTySize*ArraySizeScale) % CastElTySize != 0 || in PromoteCastOfAllocation()122 (AllocElTySize*ArrayOffset ) % CastElTySize != 0) return nullptr; in PromoteCastOfAllocation()124 unsigned Scale = (AllocElTySize*ArraySizeScale)/CastElTySize; in PromoteCastOfAllocation()134 if (uint64_t Offset = (AllocElTySize*ArrayOffset)/CastElTySize) { in PromoteCastOfAllocation()