Searched refs:ToSize (Results 1 – 3 of 3) sorted by relevance
5685 void pad(uint64_t ToSize) { in pad()5686 assert(ToSize >= Size && "Cannot remove elements"); in pad()5687 if (ToSize == Size) in pad()5692 if (Aligned > Size && Aligned <= ToSize) { in pad()5698 while (Size + 64 <= ToSize) { in pad()5704 if (Size < ToSize) { in pad()5705 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size)); in pad()5706 Size = ToSize; in pad()
1824 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local1825 if (FromSize < ToSize || in IsIntegralPromotion()1826 (FromSize == ToSize && in IsIntegralPromotion()1851 APSInt ToSize(BitWidth.getBitWidth(), BitWidth.isUnsigned()); in IsIntegralPromotion() local1852 ToSize = Context.getTypeSize(ToType); in IsIntegralPromotion()1855 if (BitWidth < ToSize || in IsIntegralPromotion()1856 (FromType->isSignedIntegerType() && BitWidth <= ToSize)) { in IsIntegralPromotion()1862 if (FromType->isUnsignedIntegerType() && BitWidth <= ToSize) { in IsIntegralPromotion()
4469 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]); in getPromotedIntegerType() local4470 if (FromSize < ToSize || in getPromotedIntegerType()4471 (FromSize == ToSize && in getPromotedIntegerType()