Searched refs:NBytes (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/benchmarks/ |
| H A D | malloc_benchmark.cpp | 33 const size_t NBytes = State.range(0); in BM_malloc_free() local 37 void *Ptr = Allocator->allocate(NBytes, scudo::Chunk::Origin::Malloc); in BM_malloc_free() 39 for (size_t I = 0; I < NBytes; I += PageSize) in BM_malloc_free() 45 State.SetBytesProcessed(uint64_t(State.iterations()) * uint64_t(NBytes)); in BM_malloc_free()
|
| /llvm-project-15.0.7/libcxxabi/src/ |
| H A D | cxa_demangle.cpp | 308 void* allocateMassive(size_t NBytes) { in allocateMassive() argument 309 NBytes += sizeof(BlockMeta); in allocateMassive() 310 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
|
| /llvm-project-15.0.7/llvm/lib/Demangle/ |
| H A D | ItaniumDemangle.cpp | 307 void* allocateMassive(size_t NBytes) { in allocateMassive() argument 308 NBytes += sizeof(BlockMeta); in allocateMassive() 309 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Overload.h | 1061 unsigned NBytes = sizeof(T) * N; in slabAllocate() local 1062 if (NBytes > NumInlineBytes - NumInlineBytesUsed) in slabAllocate() 1068 NumInlineBytesUsed += NBytes; in slabAllocate()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUSubtarget.cpp | 522 unsigned NBytes = (AMDGPU::getAmdhsaCodeObjectVersion() >= 5) ? 256 : 56; in getImplicitArgNumBytes() local 523 return AMDGPU::getIntegerAttribute(F, "amdgpu-implicitarg-num-bytes", NBytes); in getImplicitArgNumBytes()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 385 static Value* memChrToCharCompare(CallInst *CI, Value *NBytes, in memChrToCharCompare() argument 397 if (NBytes) { in memChrToCharCompare() 398 Value *Zero = ConstantInt::get(NBytes->getType(), 0); in memChrToCharCompare() 399 Value *And = B.CreateICmpNE(NBytes, Zero); in memChrToCharCompare() 483 uint64_t NBytes = Str.size() + 1; // Include the terminating nul. in optimizeStrRChr() local 485 Value *Size = ConstantInt::get(IntPtrType, NBytes); in optimizeStrRChr()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 653 uint64_t NBytes = InitSize - Offset; in ReadByteArrayFromGlobal() local 654 if (NBytes > UINT16_MAX) in ReadByteArrayFromGlobal() 661 SmallVector<unsigned char, 256> RawBytes(static_cast<size_t>(NBytes)); in ReadByteArrayFromGlobal() 664 if (!ReadDataFromGlobal(Init, Offset, CurPtr, NBytes, DL)) in ReadByteArrayFromGlobal()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 9420 uint64_t NBytes = NElems * TSize; in VisitBuiltinCallExpr() local 9427 if (DestOffset >= SrcOffset && DestOffset - SrcOffset < NBytes) { in VisitBuiltinCallExpr() 9439 SrcOffset - DestOffset < NBytes) { in VisitBuiltinCallExpr()
|