Home
last modified time | relevance | path

Searched refs:FromSize (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/fuzzer/
H A DFuzzerMutate.cpp299 size_t MutationDispatcher::CopyPartOf(const uint8_t *From, size_t FromSize, in CopyPartOf() argument
305 CopySize = std::min(CopySize, FromSize); in CopyPartOf()
306 size_t FromBeg = Rand(FromSize - CopySize + 1); in CopyPartOf()
307 assert(FromBeg + CopySize <= FromSize); in CopyPartOf()
314 size_t MutationDispatcher::InsertPartOf(const uint8_t *From, size_t FromSize, in InsertPartOf() argument
319 size_t MaxCopySize = std::min(AvailableSpace, FromSize); in InsertPartOf()
321 size_t FromBeg = Rand(FromSize - CopySize + 1); in InsertPartOf()
322 assert(FromBeg + CopySize <= FromSize); in InsertPartOf()
H A DFuzzerMutate.h107 size_t InsertPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
109 size_t CopyPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp226 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in libcall() local
228 if (ToSize != 64 || FromSize != 32) in libcall()
238 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in libcall() local
240 if (ToSize != 32 || FromSize != 64) in libcall()
251 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in libcall() local
253 if (ToSize != 32 || (FromSize != 32 && FromSize != 64)) in libcall()
257 FromSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx)); in libcall()
265 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in libcall() local
267 if (FromSize != 32 || (ToSize != 32 && ToSize != 64)) in libcall()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp5724 uint64_t FromSize = getTypeSize(BT); in getPromotedIntegerType() local
5729 if (FromSize < ToSize || in getPromotedIntegerType()
5730 (FromSize == ToSize && in getPromotedIntegerType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOverload.cpp2073 uint64_t FromSize = Context.getTypeSize(FromType); in IsIntegralPromotion() local
2084 if (FromSize < ToSize || in IsIntegralPromotion()
2085 (FromSize == ToSize && in IsIntegralPromotion()