Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSparc.cpp139 void pad(uint64_t ToSize) { in pad()
140 assert(ToSize >= Size && "Cannot remove elements"); in pad()
141 if (ToSize == Size) in pad()
146 if (Aligned > Size && Aligned <= ToSize) { in pad()
152 while (Size + 64 <= ToSize) { in pad()
158 if (Size < ToSize) { in pad()
159 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size)); in pad()
160 Size = ToSize; in pad()
/freebsd-14.2/contrib/llvm-project/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);
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp2052 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument
2056 dwarf::DW_OP_LLVM_convert, ToSize, 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.cpp2470 int ToSize = getSizeOf(ToSTy); 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()
2479 auto *ToITy = getIntTy(ToSize * 8); in rescale()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1099 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
1100 if ((ToSize != 32 && ToSize != 64) || (FromSize != 32 && FromSize != 64)) in libcall()
1104 ToSize == 32 ? Type::getInt32Ty(Ctx) : Type::getInt64Ty(Ctx), in libcall()
1115 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
1116 if ((FromSize != 32 && FromSize != 64) || (ToSize != 32 && ToSize != 64)) in libcall()
1120 ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx), in libcall()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp2392 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local
2393 if (FromSize < ToSize || in IsIntegralPromotion()
2394 (FromSize == ToSize && in IsIntegralPromotion()
2424 llvm::APSInt ToSize(BitWidth->getBitWidth(), BitWidth->isUnsigned()); in IsIntegralPromotion() local
2425 ToSize = Context.getTypeSize(ToType); in IsIntegralPromotion()
2428 if (*BitWidth < ToSize || in IsIntegralPromotion()
2429 (FromType->isSignedIntegerType() && *BitWidth <= ToSize)) { in IsIntegralPromotion()
2435 if (FromType->isUnsignedIntegerType() && *BitWidth <= ToSize) { in IsIntegralPromotion()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3031 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed);
3036 unsigned ToSize, bool Signed);
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7178 uint64_t ToSize = getTypeSize(PT); in getPromotedIntegerType() local
7179 if (FromSize < ToSize || in getPromotedIntegerType()
7180 (FromSize == ToSize && FromIsSigned == PT->isSignedIntegerType())) in getPromotedIntegerType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp10907 TypeSize ToSize = N.getValueSizeInBits(0); in salvageDebugInfo() local
10910 auto ExtOps = DIExpression::getExtOps(FromSize, ToSize, false); in salvageDebugInfo()