| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | MemAlloc.h | 25 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_malloc(size_t Sz) { in safe_malloc() argument 26 void *Result = std::malloc(Sz); in safe_malloc() 31 if (Sz == 0) in safe_malloc() 39 size_t Sz) { in safe_calloc() argument 40 void *Result = std::calloc(Count, Sz); in safe_calloc() 45 if (Count == 0 || Sz == 0) in safe_calloc() 52 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_realloc(void *Ptr, size_t Sz) { in safe_realloc() argument 53 void *Result = std::realloc(Ptr, Sz); in safe_realloc() 58 if (Sz == 0) in safe_realloc()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyUtil.h | 51 void *allocate(size_t Sz) { in allocate() argument 52 return Allocator->Allocate(Sz, alignof(AlignmentType)); in allocate() 70 inline void *operator new(size_t Sz, in new() argument 72 return R.allocate(Sz); in new() 87 SimpleArray(T *Dat, size_t Cp, size_t Sz = 0) 88 : Data(Dat), Size(Sz), Capacity(Cp) {} in Data() 189 void setValues(unsigned Sz, const T& C) { in setValues() argument 190 assert(Sz <= Capacity); in setValues() 191 Size = Sz; in setValues() 192 for (unsigned i = 0; i < Sz; ++i) { in setValues()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 91 size_t Sz = Buffer->getBufferSize(); in GetOrCreateOffsetCache() local 92 assert(Sz <= std::numeric_limits<T>::max()); in GetOrCreateOffsetCache() 94 for (size_t N = 0; N < Sz; ++N) { in GetOrCreateOffsetCache() 123 size_t Sz = Buffer->getBufferSize(); in getLineNumber() local 124 if (Sz <= std::numeric_limits<uint8_t>::max()) in getLineNumber() 126 else if (Sz <= std::numeric_limits<uint16_t>::max()) in getLineNumber() 128 else if (Sz <= std::numeric_limits<uint32_t>::max()) in getLineNumber() 159 size_t Sz = Buffer->getBufferSize(); in getPointerForLineNumber() local 160 if (Sz <= std::numeric_limits<uint8_t>::max()) in getPointerForLineNumber() 162 else if (Sz <= std::numeric_limits<uint16_t>::max()) in getPointerForLineNumber() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | SFrame.h | 138 void setOffsetSize(FREOffset Sz) { 139 setFREInfo(isReturnAddressSigned(), Sz, getOffsetCount(), 148 void setFREInfo(bool RA, FREOffset Sz, uint8_t N, BaseReg Reg) { 149 Info = ((RA & 1) << 7) | ((static_cast<uint8_t>(Sz) & 3) << 5) |
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/ |
| H A D | MachineValueType.h | 267 #define GET_VT_ATTR(Ty, N, Sz, Any, Int, FP, Vec, Sc, Tup, NF, NElem, EltTy) \ in getVectorElementType() argument 281 #define GET_VT_ATTR(Ty, N, Sz, Any, Int, FP, Vec, Sc, Tup, NF, NElem, EltTy) \ in getVectorMinNumElements() argument 311 #define GET_VT_ATTR(Ty, N, Sz, Any, Int, FP, Vec, Sc, Tup, NF, NElem, EltTy) \ in getSizeInBits() argument 312 TypeSize(Sz, Sc || Tup || Ty == aarch64svcount /* FIXME: Not in the td. \ in getSizeInBits() 473 static MVT getRISCVVectorTupleVT(unsigned Sz, unsigned NFields) { in getRISCVVectorTupleVT() argument 475 if (Tup && sz == Sz && NF == NFields) \ in getRISCVVectorTupleVT() 488 #define GET_VT_ATTR(Ty, N, Sz, Any, Int, FP, Vec, Sc, Tup, NF, NElem, EltTy) \ in getRISCVVectorTupleNumFields() argument
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | ConstantPools.h | 32 ConstantPoolEntry(MCSymbol *L, const MCExpr *Val, unsigned Sz, SMLoc Loc_) in ConstantPoolEntry() 33 : Label(L), Value(Val), Size(Sz), Loc(Loc_) {} in ConstantPoolEntry()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/ |
| H A D | SeedCollector.h | 77 void setUsed(unsigned ElementIdx, unsigned Sz = 1, bool VerifyUnused = true) { 78 if (ElementIdx + Sz >= UsedLanes.size()) 79 UsedLanes.resize(ElementIdx + Sz); 80 for (unsigned Idx : seq<unsigned>(ElementIdx, ElementIdx + Sz)) {
|
| H A D | Legality.h | 44 static ShuffleMask getIdentity(unsigned Sz) { in getIdentity() argument 46 Indices.reserve(Sz); in getIdentity() 47 llvm::append_range(Indices, seq<int>(0, (int)Sz)); in getIdentity()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ValueTypes.cpp | 166 unsigned Sz = getSizeInBits().getKnownMinValue(); in getEVTString() local 168 unsigned MinNumElts = Sz / (NF * 8); in getEVTString() 270 unsigned Sz = cast<ScalableVectorType>(TargetExtTy->getTypeParameter(0)) in getVT() local 275 return MVT::getRISCVVectorTupleVT(Sz * NF, NF); in getVT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 277 Type *Ty, unsigned Sz) { in getFullVectorNumberOfElements() argument 279 return bit_ceil(Sz); in getFullVectorNumberOfElements() 281 const unsigned NumParts = TTI.getNumberOfParts(getWidenedType(Ty, Sz)); in getFullVectorNumberOfElements() 282 if (NumParts == 0 || NumParts >= Sz) in getFullVectorNumberOfElements() 283 return bit_ceil(Sz); in getFullVectorNumberOfElements() 284 return bit_ceil(divideCeil(Sz, NumParts)) * NumParts; in getFullVectorNumberOfElements() 292 unsigned Sz) { in getFloorFullVectorNumberOfElements() argument 294 return bit_floor(Sz); in getFloorFullVectorNumberOfElements() 296 unsigned NumParts = TTI.getNumberOfParts(getWidenedType(Ty, Sz)); in getFloorFullVectorNumberOfElements() 297 if (NumParts == 0 || NumParts >= Sz) in getFloorFullVectorNumberOfElements() [all …]
|
| H A D | VPlanAnalysis.cpp | 512 for (unsigned int Idx = 0, Sz = Idx2Recipe.size(); Idx < Sz; ++Idx) { in calculateRegisterUsageForPlan() local
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | VTEmitter.cpp | 37 unsigned Sz = VT->getValueAsInt("Size"); in vTtoGetLlvmTyString() local 40 << (Sz / (NElem * 8)) << "), " << NElem << ")"; in vTtoGetLlvmTyString()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMMachineFunctionInfo.h | 280 void setPromotedConstpoolIncrease(int Sz) { in setPromotedConstpoolIncrease() argument 281 PromotedGlobalsIncrease = Sz; in setPromotedConstpoolIncrease()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingWriter.c | 137 uint32_t Sz = in writeOneValueProfData() local 142 SiteCountArray[I] = (uint8_t *)COMPILER_RT_ALLOCA(Sz); in writeOneValueProfData() 143 memset(SiteCountArray[I], 0, Sz); in writeOneValueProfData()
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/ |
| H A D | hlsl_alias_intrinsics.h | 2060 template <typename T, int Sz> 2062 vector<T, Sz> select(vector<bool, Sz>, vector<T, Sz>, vector<T, Sz>); 2072 template <typename T, int Sz> 2074 vector<T, Sz> select(vector<bool, Sz>, T, vector<T, Sz>); 2083 template <typename T, int Sz> 2085 vector<T, Sz> select(vector<bool, Sz>, vector<T, Sz>, T); 2094 template <typename T, int Sz> 2096 __detail::enable_if_t<__detail::is_arithmetic<T>::Value, vector<T, Sz>> select( 2097 vector<bool, Sz>, T, T);
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DFAPacketizerEmitter.cpp | 280 size_t Sz = V.size(); in emitForItineraries() local 281 for (unsigned I = 0; I < Sz; ++I) { in emitForItineraries()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 683 int Sz = Mask.size(); in processShuffleMasks() local 684 unsigned SzDest = Sz / NumOfDestRegs; in processShuffleMasks() 685 unsigned SzSrc = Sz / NumOfSrcRegs; in processShuffleMasks() 693 if (Idx == Sz) in processShuffleMasks() 695 if (Mask[Idx] >= 2 * Sz || Mask[Idx] == PoisonMaskElem) in processShuffleMasks() 697 int MaskIdx = Mask[Idx] % Sz; in processShuffleMasks() 698 int SrcRegIdx = MaskIdx / SzSrc + (Mask[Idx] >= Sz ? NumOfSrcRegs : 0); in processShuffleMasks()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | SimplePackedSerialization.h | 547 size_t Sz = SPSArgList<uint64_t>::size(static_cast<uint64_t>(M.size())); in size() local 549 Sz += SPSArgList<SPSString, SPSValueT>::size(E.first(), E.second); in size() 550 return Sz; in size()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 810 unsigned Sz = std::min(ESz, MSz); in mergeEntryMap() local 812 for (unsigned i = 0; i < Sz; ++i) { in mergeEntryMap() 846 unsigned Sz = CurrentLVarMap.size(); in mergeEntryMapBackEdge() local 849 for (unsigned i = 0; i < Sz; ++i) in mergeEntryMapBackEdge()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Program.cpp | 66 unsigned Sz = Desc->getAllocSize(); in createGlobalString() local 67 auto *G = new (Allocator, Sz) Global(Ctx.getEvalID(), Desc, /*isStatic=*/true, in createGlobalString()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugProgramInstruction.h | 490 if (auto Sz = getFragmentSizeInBits()) in getFragmentOrEntireVariable() local 491 return {*Sz, 0}; in getFragmentOrEntireVariable()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerCorpus.h | 338 if(size_t Sz = GetFeature(i)) in PrintFeatureSet() 339 Printf("[%zd: id %zd sz%zd] ", i, SmallestElementPerFeature[i], Sz); in PrintFeatureSet() 337 if(size_t Sz = GetFeature(i)) PrintFeatureSet() local
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 716 int64_t Sz = Metrics.NumInsts.getValue(); in run() local 717 assert(Sz > 0 && "CodeSize should be positive"); in run() 719 unsigned FuncSize = static_cast<unsigned>(Sz); in run()
|
| /freebsd/contrib/file/tests/ |
| H A D | matilde.arm.testfile | 58 …<:w��`@��ؠ7k���ᡳd�:�[ @<0UrBd�ɯP��.=��?� �E;q��<*���c�a)�&�(Sz�1���Q��?u2 <>\��0…
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenTarget.cpp | 52 #define GET_VT_ATTR(Ty, N, Sz, Any, Int, FP, Vec, Sc, Tup, NF, NElem, EltTy) \ in getEnumName() argument
|