Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp2052 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument
2055 DIExpression::ExtOps Ops{{dwarf::DW_OP_LLVM_convert, FromSize, TK, in getExtOps()
2061 unsigned FromSize, unsigned ToSize, in appendExt() argument
2063 return appendToStack(Expr, getExtOps(FromSize, ToSize, Signed)); in appendExt()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1098 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in libcall() local
1100 if ((ToSize != 32 && ToSize != 64) || (FromSize != 32 && FromSize != 64)) in libcall()
1105 FromSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
1114 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in libcall() local
1116 if ((FromSize != 32 && FromSize != 64) || (ToSize != 32 && ToSize != 64)) in libcall()
1121 FromSize == 32 ? Type::getInt32Ty(Ctx) : Type::getInt64Ty(Ctx), in libcall()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3031 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed);
3035 static DIExpression *appendExt(const DIExpression *Expr, unsigned FromSize,
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7174 uint64_t FromSize = getTypeSize(BT); in getPromotedIntegerType() local
7179 if (FromSize < ToSize || in getPromotedIntegerType()
7180 (FromSize == ToSize && FromIsSigned == PT->isSignedIntegerType())) in getPromotedIntegerType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp2382 uint64_t FromSize = Context.getTypeSize(FromType); in IsIntegralPromotion() local
2393 if (FromSize < ToSize || in IsIntegralPromotion()
2394 (FromSize == ToSize && in IsIntegralPromotion()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp10906 TypeSize FromSize = N0.getValueSizeInBits(); in salvageDebugInfo() local
10910 auto ExtOps = DIExpression::getExtOps(FromSize, ToSize, false); in salvageDebugInfo()