| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
| H A D | FuzzerMutate.cpp | 300 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 D | FuzzerMutate.h | 108 size_t ToSize, size_t MaxToSize); 110 size_t ToSize);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 1167 int ToSize = getSizeOf(ToSTy); in rescale() local 1168 assert(FromSize % ToSize == 0 || ToSize % FromSize == 0); in rescale() 1172 int ToCount = (FromCount * FromSize) / ToSize; in rescale() 1173 assert((FromCount * FromSize) % ToSize == 0); in rescale()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
| H A D | MipsInstructionSelector.cpp | 639 unsigned ToSize = MRI.getType(I.getOperand(0).getReg()).getSizeInBits(); in select() local 640 (void)ToSize; in select() 641 assert((ToSize == 32) && "Unsupported integer size for G_FPTOSI"); in select()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | DebugInfoMetadata.cpp | 1516 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument 1520 dwarf::DW_OP_LLVM_convert, ToSize, TK}}; in getExtOps() 1525 unsigned FromSize, unsigned ToSize, in appendExt() argument 1527 return appendToStack(Expr, getExtOps(FromSize, ToSize, Signed)); in appendExt()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 737 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local 738 if ((ToSize != 32 && ToSize != 64) || (FromSize != 32 && FromSize != 64)) in libcall() 742 ToSize == 32 ? Type::getInt32Ty(Ctx) : Type::getInt64Ty(Ctx), in libcall() 752 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local 753 if ((FromSize != 32 && FromSize != 64) || (ToSize != 32 && ToSize != 64)) in libcall() 757 ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 9382 void pad(uint64_t ToSize) { in pad() 9383 assert(ToSize >= Size && "Cannot remove elements"); in pad() 9384 if (ToSize == Size) in pad() 9389 if (Aligned > Size && Aligned <= ToSize) { in pad() 9395 while (Size + 64 <= ToSize) { in pad() 9401 if (Size < ToSize) { in pad() 9402 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size)); in pad() 9403 Size = ToSize; in pad()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 2160 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local 2161 if (FromSize < ToSize || in IsIntegralPromotion() 2162 (FromSize == ToSize && in IsIntegralPromotion() 2192 llvm::APSInt ToSize(BitWidth->getBitWidth(), BitWidth->isUnsigned()); in IsIntegralPromotion() local 2193 ToSize = Context.getTypeSize(ToType); in IsIntegralPromotion() 2196 if (*BitWidth < ToSize || in IsIntegralPromotion() 2197 (FromType->isSignedIntegerType() && *BitWidth <= ToSize)) { in IsIntegralPromotion() 2203 if (FromType->isUnsignedIntegerType() && *BitWidth <= ToSize) { in IsIntegralPromotion()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 2843 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed); 2848 unsigned ToSize, bool Signed);
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | ASTContext.cpp | 6418 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]); in getPromotedIntegerType() local 6419 if (FromSize < ToSize || in getPromotedIntegerType() 6420 (FromSize == ToSize && in getPromotedIntegerType()
|