Searched refs:CastElTySize (Results 1 – 3 of 3) sorted by relevance
103 uint64_t CastElTySize = TD->getTypeAllocSize(CastElTy); 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()
103 uint64_t CastElTySize = DL.getTypeAllocSize(CastElTy); 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()
106 uint64_t CastElTySize = DL.getTypeAllocSize(CastElTy); 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()