Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSparc.cpp141 void pad(uint64_t ToSize) { in pad()
142 assert(ToSize >= Size && "Cannot remove elements"); in pad()
143 if (ToSize == Size) in pad()
148 if (Aligned > Size && Aligned <= ToSize) { in pad()
154 while (Size + 64 <= ToSize) { in pad()
160 if (Size < ToSize) { in pad()
161 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size)); in pad()
162 Size = ToSize; in pad()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp634 unsigned ToSize = MRI.getType(I.getOperand(0).getReg()).getSizeInBits(); in select() local
635 (void)ToSize; in select()
636 assert((ToSize == 32) && "Unsupported integer size for G_FPTOSI"); in select()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2471 int ToSize = getSizeOf(ToSTy); in rescale() local
2472 assert(FromSize % ToSize == 0 || ToSize % FromSize == 0); in rescale()
2476 int ToCount = (FromCount * FromSize) / ToSize; in rescale()
2477 assert((FromCount * FromSize) % ToSize == 0); in rescale()
2480 auto *ToITy = getIntTy(ToSize * 8); in rescale()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp2517 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument
2521 dwarf::DW_OP_LLVM_convert, ToSize, TK}}; in getExtOps()
2526 unsigned FromSize, unsigned ToSize, in appendExt() argument
2528 return appendToStack(Expr, getExtOps(FromSize, ToSize, Signed)); in appendExt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp2718 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local
2719 if (FromSize < ToSize || in IsIntegralPromotion()
2720 (FromSize == ToSize && in IsIntegralPromotion()
2750 llvm::APSInt ToSize(BitWidth->getBitWidth(), BitWidth->isUnsigned()); in IsIntegralPromotion() local
2751 ToSize = Context.getTypeSize(ToType); in IsIntegralPromotion()
2754 if (*BitWidth < ToSize || in IsIntegralPromotion()
2755 (FromType->isSignedIntegerType() && *BitWidth <= ToSize)) { in IsIntegralPromotion()
2761 if (FromType->isUnsignedIntegerType() && *BitWidth <= ToSize) { in IsIntegralPromotion()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.cpp680 unsigned ToSize = CE->getType()->getAs<VectorType>()->getNumElements(); in VisitCastExpr() local
681 assert(SubExpr->getType()->getAs<VectorType>()->getNumElements() > ToSize); in VisitCastExpr()
685 ToSize, CE); in VisitCastExpr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1407 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
1408 if ((ToSize != 32 && ToSize != 64 && ToSize != 128) || !FromTy) in libcall()
1411 MI, MIRBuilder, Type::getIntNTy(Ctx, ToSize), FromTy, LocObserver, TLI); in libcall()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3722 LLVM_ABI static ExtOps getExtOps(unsigned FromSize, unsigned ToSize,
3728 unsigned FromSize, unsigned ToSize,
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2378 uint64_t ToSize = M.getDataLayout().getTypeStoreSize(ToType); in castValueToType() local
2380 assert(ToSize > 0 && "To size must be greater than zero"); in castValueToType()
2383 if (FromSize == ToSize) in castValueToType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp8230 uint64_t ToSize = getTypeSize(PT); in getPromotedIntegerType() local
8231 if (FromSize < ToSize || in getPromotedIntegerType()
8232 (FromSize == ToSize && FromIsSigned == PT->isSignedIntegerType())) in getPromotedIntegerType()
H A DASTImporter.cpp2019 uint32_t ToSize = T->getSize(); in VisitHLSLInlineSpirvType() local
2048 ToOpcode, ToSize, ToAlignment, ToOperands); in VisitHLSLInlineSpirvType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11800 TypeSize ToSize = N.getValueSizeInBits(0); in salvageDebugInfo() local
11803 auto ExtOps = DIExpression::getExtOps(FromSize, ToSize, false); in salvageDebugInfo()