Home
last modified time | relevance | path

Searched refs:NBytes (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DItaniumDemangle.cpp308 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()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h1139 unsigned NBytes = sizeof(T) * N; in slabAllocate() local
1140 if (NBytes > NumInlineBytes - NumInlineBytesUsed) in slabAllocate()
1146 NumInlineBytesUsed += NBytes; in slabAllocate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp445 static Value* memChrToCharCompare(CallInst *CI, Value *NBytes, in memChrToCharCompare() argument
457 if (NBytes) { in memChrToCharCompare()
458 Value *Zero = ConstantInt::get(NBytes->getType(), 0); in memChrToCharCompare()
459 Value *And = B.CreateICmpNE(NBytes, Zero); in memChrToCharCompare()
548 uint64_t NBytes = Str.size() + 1; // Include the terminating nul. in optimizeStrRChr() local
549 Value *Size = ConstantInt::get(SizeTTy, NBytes); in optimizeStrRChr()
769 uint64_t NBytes; in optimizeStrLCpy() local
771 NBytes = SizeC->getZExtValue(); in optimizeStrLCpy()
777 if (NBytes <= 1) { in optimizeStrLCpy()
778 if (NBytes == 1) in optimizeStrLCpy()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp598 unsigned NBytes = in getImplicitArgNumBytes() local
601 NBytes); in getImplicitArgNumBytes()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp653 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()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp9835 uint64_t NBytes = NElems * TSize; in VisitBuiltinCallExpr() local
9842 if (DestOffset >= SrcOffset && DestOffset - SrcOffset < NBytes) { in VisitBuiltinCallExpr()
9854 SrcOffset - DestOffset < NBytes) { in VisitBuiltinCallExpr()