Searched refs:AllocElTySize (Results 1 – 3 of 3) sorted by relevance
102 uint64_t AllocElTySize = TD->getTypeAllocSize(AllocElTy); in PromoteCastOfAllocation() local104 if (CastElTySize == 0 || AllocElTySize == 0) return 0; in PromoteCastOfAllocation()115 if ((AllocElTySize*ArraySizeScale) % CastElTySize != 0 || in PromoteCastOfAllocation()116 (AllocElTySize*ArrayOffset ) % CastElTySize != 0) return 0; in PromoteCastOfAllocation()118 unsigned Scale = (AllocElTySize*ArraySizeScale)/CastElTySize; in PromoteCastOfAllocation()128 if (uint64_t Offset = (AllocElTySize*ArrayOffset)/CastElTySize) { in PromoteCastOfAllocation()
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()
105 uint64_t AllocElTySize = DL.getTypeAllocSize(AllocElTy); in PromoteCastOfAllocation() local107 if (CastElTySize == 0 || AllocElTySize == 0) return nullptr; in PromoteCastOfAllocation()124 if ((AllocElTySize*ArraySizeScale) % CastElTySize != 0 || in PromoteCastOfAllocation()125 (AllocElTySize*ArrayOffset ) % CastElTySize != 0) return nullptr; in PromoteCastOfAllocation()127 unsigned Scale = (AllocElTySize*ArraySizeScale)/CastElTySize; in PromoteCastOfAllocation()137 if (uint64_t Offset = (AllocElTySize*ArrayOffset)/CastElTySize) { in PromoteCastOfAllocation()