Searched refs:ToSize (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| D | FuzzerMutate.cpp | 318 uint8_t *To, size_t ToSize) { in CopyPartOf() argument 320 size_t ToBeg = Rand(ToSize); in CopyPartOf() 321 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf() 322 assert(ToBeg + CopySize <= ToSize); in CopyPartOf() 327 return ToSize; in CopyPartOf() 333 uint8_t *To, size_t ToSize, in InsertPartOf() argument 335 if (ToSize >= MaxToSize) return 0; in InsertPartOf() 336 size_t AvailableSpace = MaxToSize - ToSize; in InsertPartOf() 341 size_t ToInsertPos = Rand(ToSize + 1); in InsertPartOf() 343 size_t TailSize = ToSize - ToInsertPos; in InsertPartOf() [all …]
|
| D | FuzzerMutate.h | 110 size_t ToSize, size_t MaxToSize); 112 size_t ToSize);
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| D | HexagonVectorCombine.cpp | 1172 int ToSize = getSizeOf(ToSTy); in rescale() local 1173 assert(FromSize % ToSize == 0 || ToSize % FromSize == 0); in rescale() 1177 int ToCount = (FromCount * FromSize) / ToSize; in rescale() 1178 assert((FromCount * FromSize) % ToSize == 0); in rescale()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
| 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()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
| 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()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| D | LegalizerHelper.cpp | 779 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local 780 if ((ToSize != 32 && ToSize != 64) || (FromSize != 32 && FromSize != 64)) in libcall() 784 ToSize == 32 ? Type::getInt32Ty(Ctx) : Type::getInt64Ty(Ctx), in libcall() 794 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local 795 if ((FromSize != 32 && FromSize != 64) || (ToSize != 32 && ToSize != 64)) in libcall() 799 ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| D | TargetInfo.cpp | 9428 void pad(uint64_t ToSize) { in pad() 9429 assert(ToSize >= Size && "Cannot remove elements"); in pad() 9430 if (ToSize == Size) in pad() 9435 if (Aligned > Size && Aligned <= ToSize) { in pad() 9441 while (Size + 64 <= ToSize) { in pad() 9447 if (Size < ToSize) { in pad() 9448 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size)); in pad() 9449 Size = ToSize; in pad()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
| 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()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | DebugInfoMetadata.h | 2846 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed); 2851 unsigned ToSize, bool Signed);
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
| D | ASTContext.cpp | 6437 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]); in getPromotedIntegerType() local 6438 if (FromSize < ToSize || in getPromotedIntegerType() 6439 (FromSize == ToSize && in getPromotedIntegerType()
|