Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerMutate.cpp317 size_t MutationDispatcher::CopyPartOf(const uint8_t *From, size_t FromSize, in CopyPartOf() argument
323 CopySize = std::min(CopySize, FromSize); in CopyPartOf()
324 size_t FromBeg = Rand(FromSize - CopySize + 1); in CopyPartOf()
325 assert(FromBeg + CopySize <= FromSize); in CopyPartOf()
332 size_t MutationDispatcher::InsertPartOf(const uint8_t *From, size_t FromSize, in InsertPartOf() argument
337 size_t MaxCopySize = std::min(AvailableSpace, FromSize); in InsertPartOf()
339 size_t FromBeg = Rand(FromSize - CopySize + 1); in InsertPartOf()
340 assert(FromBeg + CopySize <= FromSize); in InsertPartOf()
H A DFuzzerMutate.h109 size_t InsertPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
111 size_t CopyPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
/openbsd/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp638 unsigned FromSize = MRI.getType(I.getOperand(1).getReg()).getSizeInBits(); in select() local
642 assert((FromSize == 32 || FromSize == 64) && in select()
646 if (FromSize == 32) in select()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2036 int FromSize = getSizeOf(FromSTy); 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()
2045 auto *FromITy = getIntTy(FromSize * 8); in rescale()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DDebugInfoMetadata.cpp1933 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument
1936 DIExpression::ExtOps Ops{{dwarf::DW_OP_LLVM_convert, FromSize, TK, in getExtOps()
1942 unsigned FromSize, unsigned ToSize, in appendExt() argument
1944 return appendToStack(Expr, getExtOps(FromSize, ToSize, Signed)); in appendExt()
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp861 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in libcall() local
863 if ((ToSize != 32 && ToSize != 64) || (FromSize != 32 && FromSize != 64)) in libcall()
868 FromSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx)); in libcall()
876 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in libcall() local
878 if ((FromSize != 32 && FromSize != 64) || (ToSize != 32 && ToSize != 64)) in libcall()
883 FromSize == 32 ? Type::getInt32Ty(Ctx) : Type::getInt64Ty(Ctx)); in libcall()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h2950 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed);
2954 static DIExpression *appendExt(const DIExpression *Expr, unsigned FromSize,
/openbsd/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp7167 uint64_t FromSize = getTypeSize(BT); in getPromotedIntegerType() local
7172 if (FromSize < ToSize || in getPromotedIntegerType()
7173 (FromSize == ToSize && FromIsSigned == PT->isSignedIntegerType())) in getPromotedIntegerType()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaOverload.cpp2258 uint64_t FromSize = Context.getTypeSize(FromType); in IsIntegralPromotion() local
2269 if (FromSize < ToSize || in IsIntegralPromotion()
2270 (FromSize == ToSize && in IsIntegralPromotion()