Searched refs:ToSize (Results 1 – 9 of 9) sorted by relevance
| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| HD | FuzzerMutate.cpp | 299 uint8_t *To, size_t ToSize) { in CopyPartOf() argument 301 size_t ToBeg = Rand(ToSize); in CopyPartOf() 302 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf() 303 assert(ToBeg + CopySize <= ToSize); in CopyPartOf() 308 return ToSize; in CopyPartOf() 314 uint8_t *To, size_t ToSize, in InsertPartOf() argument 316 if (ToSize >= MaxToSize) return 0; in InsertPartOf() 317 size_t AvailableSpace = MaxToSize - ToSize; in InsertPartOf() 322 size_t ToInsertPos = Rand(ToSize + 1); in InsertPartOf() 324 size_t TailSize = ToSize - ToInsertPos; in InsertPartOf() [all …]
|
| HD | FuzzerMutate.h | 107 size_t ToSize, size_t MaxToSize); 109 size_t ToSize);
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | DebugInfoMetadata.cpp | 1199 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument 1203 dwarf::DW_OP_LLVM_convert, ToSize, TK}}; in getExtOps() 1208 unsigned FromSize, unsigned ToSize, in appendExt() argument 1210 return appendToStack(Expr, getExtOps(FromSize, ToSize, Signed)); in appendExt()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
| HD | MipsInstructionSelector.cpp | 540 unsigned ToSize = MRI.getType(I.getOperand(0).getReg()).getSizeInBits(); in select() local 541 (void)ToSize; in select() 542 assert((ToSize == 32) && "Unsupported integer size for G_FPTOSI"); in select()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| HD | LegalizerHelper.cpp | 540 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local 541 if (ToSize != 64 || FromSize != 32) in libcall() 552 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local 553 if (ToSize != 32 || FromSize != 64) in libcall() 565 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local 566 if ((ToSize != 32 && ToSize != 64) || (FromSize != 32 && FromSize != 64)) in libcall() 570 ToSize == 32 ? Type::getInt32Ty(Ctx) : Type::getInt64Ty(Ctx), in libcall() 580 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local 581 if ((FromSize != 32 && FromSize != 64) || (ToSize != 32 && ToSize != 64)) in libcall() 585 ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | TargetInfo.cpp | 8353 void pad(uint64_t ToSize) { in pad() 8354 assert(ToSize >= Size && "Cannot remove elements"); in pad() 8355 if (ToSize == Size) in pad() 8360 if (Aligned > Size && Aligned <= ToSize) { in pad() 8366 while (Size + 64 <= ToSize) { in pad() 8372 if (Size < ToSize) { in pad() 8373 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size)); in pad() 8374 Size = ToSize; in pad()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
| HD | SemaOverload.cpp | 2147 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local 2148 if (FromSize < ToSize || in IsIntegralPromotion() 2149 (FromSize == ToSize && in IsIntegralPromotion() 2178 llvm::APSInt ToSize(BitWidth.getBitWidth(), BitWidth.isUnsigned()); in IsIntegralPromotion() local 2179 ToSize = Context.getTypeSize(ToType); in IsIntegralPromotion() 2182 if (BitWidth < ToSize || in IsIntegralPromotion() 2183 (FromType->isSignedIntegerType() && BitWidth <= ToSize)) { in IsIntegralPromotion() 2189 if (FromType->isUnsignedIntegerType() && BitWidth <= ToSize) { in IsIntegralPromotion()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | DebugInfoMetadata.h | 2558 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed); 2563 unsigned ToSize, bool Signed);
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
| HD | ASTContext.cpp | 6032 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]); in getPromotedIntegerType() local 6033 if (FromSize < ToSize || in getPromotedIntegerType() 6034 (FromSize == ToSize && in getPromotedIntegerType()
|