Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerMutate.cpp318 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 …]
H A DFuzzerMutate.h110 size_t ToSize, size_t MaxToSize);
112 size_t ToSize);
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp639 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2037 int ToSize = getSizeOf(ToSTy); in rescale() local
2038 assert(FromSize % ToSize == 0 || ToSize % FromSize == 0); in rescale()
2042 int ToCount = (FromCount * FromSize) / ToSize; in rescale()
2043 assert((FromCount * FromSize) % ToSize == 0); in rescale()
2046 auto *ToITy = getIntTy(ToSize * 8); in rescale()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDebugInfoMetadata.cpp1933 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument
1937 dwarf::DW_OP_LLVM_convert, ToSize, TK}}; in getExtOps()
1942 unsigned FromSize, unsigned ToSize, in appendExt() argument
1944 return appendToStack(Expr, getExtOps(FromSize, ToSize, Signed)); in appendExt()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp862 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
863 if ((ToSize != 32 && ToSize != 64) || (FromSize != 32 && FromSize != 64)) in libcall()
867 ToSize == 32 ? Type::getInt32Ty(Ctx) : Type::getInt64Ty(Ctx), in libcall()
877 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
878 if ((FromSize != 32 && FromSize != 64) || (ToSize != 32 && ToSize != 64)) in libcall()
882 ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DTargetInfo.cpp9813 void pad(uint64_t ToSize) { in pad()
9814 assert(ToSize >= Size && "Cannot remove elements"); in pad()
9815 if (ToSize == Size) in pad()
9820 if (Aligned > Size && Aligned <= ToSize) { in pad()
9826 while (Size + 64 <= ToSize) { in pad()
9832 if (Size < ToSize) { in pad()
9833 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size)); in pad()
9834 Size = ToSize; in pad()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOverload.cpp2268 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local
2269 if (FromSize < ToSize || in IsIntegralPromotion()
2270 (FromSize == ToSize && in IsIntegralPromotion()
2300 llvm::APSInt ToSize(BitWidth->getBitWidth(), BitWidth->isUnsigned()); in IsIntegralPromotion() local
2301 ToSize = Context.getTypeSize(ToType); in IsIntegralPromotion()
2304 if (*BitWidth < ToSize || in IsIntegralPromotion()
2305 (FromType->isSignedIntegerType() && *BitWidth <= ToSize)) { in IsIntegralPromotion()
2311 if (FromType->isUnsignedIntegerType() && *BitWidth <= ToSize) { in IsIntegralPromotion()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h2950 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed);
2955 unsigned ToSize, bool Signed);
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp7171 uint64_t ToSize = getTypeSize(PT); in getPromotedIntegerType() local
7172 if (FromSize < ToSize || in getPromotedIntegerType()
7173 (FromSize == ToSize && FromIsSigned == PT->isSignedIntegerType())) in getPromotedIntegerType()