Home
last modified time | relevance | path

Searched refs:AllocElTySize (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp102 uint64_t AllocElTySize = TD->getTypeAllocSize(AllocElTy); in PromoteCastOfAllocation() local
104 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()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp102 uint64_t AllocElTySize = DL.getTypeAllocSize(AllocElTy); in PromoteCastOfAllocation() local
104 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp105 uint64_t AllocElTySize = DL.getTypeAllocSize(AllocElTy); in PromoteCastOfAllocation() local
107 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()