Searched refs:ToSize (Results 1 – 6 of 6) sorted by relevance
300 uint8_t *To, size_t ToSize) { in CopyPartOf() argument302 size_t ToBeg = Rand(ToSize); in CopyPartOf()303 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf()304 assert(ToBeg + CopySize <= ToSize); in CopyPartOf()309 return ToSize; in CopyPartOf()315 uint8_t *To, size_t ToSize, in InsertPartOf() argument317 if (ToSize >= MaxToSize) return 0; in InsertPartOf()318 size_t AvailableSpace = MaxToSize - ToSize; in InsertPartOf()323 size_t ToInsertPos = Rand(ToSize + 1); in InsertPartOf()325 size_t TailSize = ToSize - ToInsertPos; in InsertPartOf()[all …]
108 size_t ToSize, size_t MaxToSize);110 size_t ToSize);
227 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local228 if (ToSize != 64 || FromSize != 32) in libcall()239 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local240 if (ToSize != 32 || FromSize != 64) in libcall()252 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local253 if (ToSize != 32 || (FromSize != 32 && FromSize != 64)) in libcall()266 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local267 if (FromSize != 32 || (ToSize != 32 && ToSize != 64)) in libcall()271 ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
8032 void pad(uint64_t ToSize) { in pad()8033 assert(ToSize >= Size && "Cannot remove elements"); in pad()8034 if (ToSize == Size) in pad()8039 if (Aligned > Size && Aligned <= ToSize) { in pad()8045 while (Size + 64 <= ToSize) { in pad()8051 if (Size < ToSize) { in pad()8052 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size)); in pad()8053 Size = ToSize; in pad()
2083 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local2084 if (FromSize < ToSize || in IsIntegralPromotion()2085 (FromSize == ToSize && in IsIntegralPromotion()2114 llvm::APSInt ToSize(BitWidth.getBitWidth(), BitWidth.isUnsigned()); in IsIntegralPromotion() local2115 ToSize = Context.getTypeSize(ToType); in IsIntegralPromotion()2118 if (BitWidth < ToSize || in IsIntegralPromotion()2119 (FromType->isSignedIntegerType() && BitWidth <= ToSize)) { in IsIntegralPromotion()2125 if (FromType->isUnsignedIntegerType() && BitWidth <= ToSize) { in IsIntegralPromotion()
5728 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]); in getPromotedIntegerType() local5729 if (FromSize < ToSize || in getPromotedIntegerType()5730 (FromSize == ToSize && in getPromotedIntegerType()