/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MemAlloc.h | 25 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_malloc(size_t Sz) { argument 26 void *Result = std::malloc(Sz); 31 if (Sz == 0) 39 size_t Sz) { 40 void *Result = std::calloc(Count, Sz); 45 if (Count == 0 || Sz == 0) 52 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_realloc(void *Ptr, size_t Sz) { argument 53 void *Result = std::realloc(Ptr, Sz); 58 if (Sz == 0) 38 safe_calloc(size_t Count, size_t Sz) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | ConstantPools.h | 33 ConstantPoolEntry(MCSymbol *L, const MCExpr *Val, unsigned Sz, SMLoc Loc_) argument 34 : Label(L), Value(Val), Size(Sz), Loc(Loc_) {}
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyUtil.h | 51 void *allocate(size_t Sz) { argument 52 return Allocator->Allocate(Sz, alignof(AlignmentType)); 70 inline void *operator new(size_t Sz, argument 72 return R.allocate(Sz); 87 SimpleArray(T *Dat, size_t Cp, size_t Sz = 0) 88 : Data(Dat), Size(Sz), Capacity(Cp) {} 189 void setValues(unsigned Sz, const T& C) { 190 assert(Sz <= Capacity); 191 Size = Sz; 192 for (unsigned i = 0; i < Sz; [all...] |
H A D | ThreadSafetyTIL.h | 174 ValueType(BaseType B, SizeType Sz, bool S, unsigned char VS) argument 175 : Base(B), Size(Sz), Signed(S), VectSize(VS) {}
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMMachineFunctionInfo.h | 250 void setPromotedConstpoolIncrease(int Sz) { argument 251 PromotedGlobalsIncrease = Sz;
|
H A D | ARMISelLowering.cpp | 3409 // multiple uses), and promoting it would increase the constant pool size (Sz 16410 for (unsigned Sz = SrcSz; Sz <= 32 && Sz < DstSz; Sz *= 2) { 16411 bool Supported = (Sz == 16 ? Subtarget->hasFP16() : Subtarget->hasFP64()); 16412 MVT SrcVT = (Sz == 16 ? MVT::f16 : MVT::f32); 16413 MVT DstVT = (Sz == 16 ? MVT::f32 : MVT::f64);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfilingWriter.c | 134 uint32_t Sz = local 139 SiteCountArray[I] = (uint8_t *)COMPILER_RT_ALLOCA(Sz); 140 memset(SiteCountArray[I], 0, Sz);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 80 size_t Sz = Buffer->getBufferSize(); local 81 assert(Sz <= std::numeric_limits<T>::max()); 83 for (size_t N = 0; N < Sz; ++N) { 133 size_t Sz = SB.Buffer->getBufferSize(); local 135 if (Sz <= std::numeric_limits<uint8_t>::max()) 137 else if (Sz <= std::numeric_limits<uint16_t>::max()) 139 else if (Sz <= std::numeric_limits<uint32_t>::max())
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 959 unsigned Sz = DL.getTypeSizeInBits(StoreTy); local 962 unsigned VF = VecRegSize / Sz; 966 if (!isPowerOf2_32(Sz) || VF < 2 || ChainSize < 2) { 989 unsigned EltSzInBytes = Sz / 8; 1002 unsigned TargetVF = TTI.getStoreVectorFactor(VF, Sz, SzInBytes, VecTy); 1024 auto Chains = splitOddVectorElts(Chain, Sz); 1037 auto Chains = splitOddVectorElts(Chain, Sz); 1110 unsigned Sz = DL.getTypeSizeInBits(LoadTy); local 1113 unsigned VF = VecRegSize / Sz; 1117 if (!isPowerOf2_32(Sz) || V [all...] |
H A D | SLPVectorizer.cpp | 5684 const unsigned Sz = R.getVectorElementSize(Chain[0]); 5685 const unsigned MinVF = R.getMinVecRegSize() / Sz; 5688 if (!isPowerOf2_32(Sz) || !isPowerOf2_32(VF) || VF < 2 || VF < MinVF) 5878 unsigned Sz = R.getVectorElementSize(I0); 5879 unsigned MinVF = std::max(2U, R.getMinVecRegSize() / Sz);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerCorpus.h | 194 if(size_t Sz = GetFeature(i)) 195 Printf("[%zd: id %zd sz%zd] ", i, SmallestElementPerFeature[i], Sz);
|
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DFAPacketizerEmitter.cpp | 278 size_t Sz = V.size(); 279 for (unsigned I = 0; I < Sz; ++I) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Program.cpp | 49 unsigned Sz = Desc->getAllocSize(); local 50 auto *G = new (Allocator, Sz) Global(Desc, /*isStatic=*/true,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ThreadSafetyCommon.cpp | 747 unsigned Sz = std::min(ESz, MSz); local 749 for (unsigned i = 0; i < Sz; ++i) { 783 unsigned Sz = CurrentLVarMap.size(); local 786 for (unsigned i = 0; i < Sz; ++i)
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 215 unsigned Idx = 0, Sz = B->size(); local 216 for (; Idx < Sz; ++Idx) 220 assert(Idx < Sz);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeDAG.cpp | 2603 unsigned Sz = VT.getScalarSizeInBits(); 2610 if (Sz >= 8 && isPowerOf2_32(Sz)) { 2612 APInt MaskHi4 = APInt::getSplat(Sz, APInt(8, 0xF0)); 2613 APInt MaskHi2 = APInt::getSplat(Sz, APInt(8, 0xCC)); 2614 APInt MaskHi1 = APInt::getSplat(Sz, APInt(8, 0xAA)); 2615 APInt MaskLo4 = APInt::getSplat(Sz, APInt(8, 0x0F)); 2616 APInt MaskLo2 = APInt::getSplat(Sz, APInt(8, 0x33)); 2617 APInt MaskLo1 = APInt::getSplat(Sz, APInt(8, 0x55)); 2620 Tmp = (Sz > [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | Record.h | 121 explicit BitsRecTy(unsigned Sz) : RecTy(BitsRecTyKind), Size(Sz) {} argument 128 static BitsRecTy *get(unsigned Sz);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | Record.cpp | 84 BitsRecTy *BitsRecTy::get(unsigned Sz) { argument 86 if (Sz >= Shared.size()) 87 Shared.resize(Sz + 1); 88 BitsRecTy *&Ty = Shared[Sz]; 90 Ty = new(Allocator) BitsRecTy(Sz);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 1420 unsigned Sz = Ops.size(); 1421 if (Sz == 1) 1423 if (Sz == 0) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 10985 CharUnits Sz = CGM.getContext().getTypeSizeInChars(CVD->getType()); local 10986 Size = CGM.getSize(Sz.alignTo(Align));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 4090 unsigned Sz = ObjectVT.getSimpleVT().SimpleTy == MVT::v4f32 ? 16 : 32; local 4108 ArgOffset += Sz;
|