Home
last modified time | relevance | path

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

/freebsd/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/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/IR/
H A DDebugInfoMetadata.cpp2239 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps() argument
2243 dwarf::DW_OP_LLVM_convert, ToSize, 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.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/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp2541 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]); in IsIntegralPromotion() local
2542 if (FromSize < ToSize || in IsIntegralPromotion()
2543 (FromSize == ToSize && in IsIntegralPromotion()
2573 llvm::APSInt ToSize(BitWidth->getBitWidth(), BitWidth->isUnsigned()); in IsIntegralPromotion() local
2574 ToSize = Context.getTypeSize(ToType); in IsIntegralPromotion()
2577 if (*BitWidth < ToSize || in IsIntegralPromotion()
2578 (FromType->isSignedIntegerType() && *BitWidth <= ToSize)) { in IsIntegralPromotion()
2584 if (FromType->isUnsignedIntegerType() && *BitWidth <= ToSize) { in IsIntegralPromotion()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3127 static ExtOps getExtOps(unsigned FromSize, unsigned ToSize, bool Signed);
3132 unsigned ToSize, bool Signed);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1146 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits(); in libcall() local
1147 if ((ToSize != 32 && ToSize != 64 && ToSize != 128) || !FromTy) in libcall()
1150 MI, MIRBuilder, Type::getIntNTy(Ctx, ToSize), FromTy, LocObserver); in libcall()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2244 uint64_t ToSize = M.getDataLayout().getTypeStoreSize(ToType); in castValueToType() local
2246 assert(ToSize > 0 && "To size must be greater than zero"); in castValueToType()
2249 if (FromSize == ToSize) in castValueToType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7634 uint64_t ToSize = getTypeSize(PT); in getPromotedIntegerType() local
7635 if (FromSize < ToSize || in getPromotedIntegerType()
7636 (FromSize == ToSize && FromIsSigned == PT->isSignedIntegerType())) in getPromotedIntegerType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11244 TypeSize ToSize = N.getValueSizeInBits(0); in salvageDebugInfo() local
11247 auto ExtOps = DIExpression::getExtOps(FromSize, ToSize, false); in salvageDebugInfo()