Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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,
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp633 unsigned FromSize = MRI.getType(I.getOperand(1).getReg()).getSizeInBits(); in select() local
637 assert((FromSize == 32 || FromSize == 64) && in select()
641 if (FromSize == 32) in select()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp2239 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument
2242 DIExpression::ExtOps Ops{{dwarf::DW_OP_LLVM_convert, FromSize, TK, in getExtOps()
2248 unsigned FromSize, unsigned ToSize, in appendExt() argument
2250 return appendToStack(Expr, getExtOps(FromSize, ToSize, Signed)); in appendExt()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2469 int FromSize = getSizeOf(FromSTy); in rescale() local
2471 assert(FromSize % ToSize == 0 || ToSize % FromSize == 0); in rescale()
2475 int ToCount = (FromCount * FromSize) / ToSize; in rescale()
2476 assert((FromCount * FromSize) % ToSize == 0); in rescale()
2478 auto *FromITy = getIntTy(FromSize * 8); in rescale()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3127 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed);
3131 static DIExpression *appendExt(const DIExpression *Expr, unsigned FromSize,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1157 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in libcall() local
1160 if ((FromSize != 32 && FromSize != 64 && FromSize != 128) || !ToTy) in libcall()
1163 MI, MIRBuilder, ToTy, Type::getIntNTy(Ctx, FromSize), LocObserver); in libcall()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2243 uint64_t FromSize = M.getDataLayout().getTypeStoreSize(FromType); in castValueToType() local
2245 assert(FromSize > 0 && "From size must be greater than zero"); in castValueToType()
2249 if (FromSize == ToSize) in castValueToType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7630 uint64_t FromSize = getTypeSize(BT); in getPromotedIntegerType() local
7635 if (FromSize < ToSize || in getPromotedIntegerType()
7636 (FromSize == ToSize && FromIsSigned == PT->isSignedIntegerType())) in getPromotedIntegerType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp2531 uint64_t FromSize = Context.getTypeSize(FromType); in IsIntegralPromotion() local
2542 if (FromSize < ToSize || in IsIntegralPromotion()
2543 (FromSize == ToSize && in IsIntegralPromotion()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11243 TypeSize FromSize = N0.getValueSizeInBits(); in salvageDebugInfo() local
11247 auto ExtOps = DIExpression::getExtOps(FromSize, ToSize, false); in salvageDebugInfo()