Home
last modified time | relevance | path

Searched refs:ToSize (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/fuzzer/
H A DFuzzerMutate.cpp300 uint8_t *To, size_t ToSize) { in CopyPartOf() argument
302 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() argument
317 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 …]
H A DFuzzerMutate.h108 size_t ToSize, size_t MaxToSize);
110 size_t ToSize);
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp227 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
228 if (ToSize != 64 || FromSize != 32) in libcall()
239 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
240 if (ToSize != 32 || FromSize != 64) in libcall()
252 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
253 if (ToSize != 32 || (FromSize != 32 && FromSize != 64)) in libcall()
266 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
267 if (FromSize != 32 || (ToSize != 32 && ToSize != 64)) in libcall()
271 ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DTargetInfo.cpp8032 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()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOverload.cpp2083 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local
2084 if (FromSize < ToSize || in IsIntegralPromotion()
2085 (FromSize == ToSize && in IsIntegralPromotion()
2114 llvm::APSInt ToSize(BitWidth.getBitWidth(), BitWidth.isUnsigned()); in IsIntegralPromotion() local
2115 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()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp5728 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]); in getPromotedIntegerType() local
5729 if (FromSize < ToSize || in getPromotedIntegerType()
5730 (FromSize == ToSize && in getPromotedIntegerType()