Home
last modified time | relevance | path

Searched refs:cookieSize (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/CodeGen/
DCGCXXABI.cpp236 llvm::Value *&allocPtr, CharUnits &cookieSize) { in ReadArrayCookie() argument
244 cookieSize = CharUnits::Zero(); in ReadArrayCookie()
248 cookieSize = getArrayCookieSizeImpl(eltTy); in ReadArrayCookie()
250 CGF.Builder.CreateConstInBoundsByteGEP(ptr, -cookieSize); in ReadArrayCookie()
252 numElements = readArrayCookieImpl(CGF, allocAddr, cookieSize); in ReadArrayCookie()
257 CharUnits cookieSize) { in readArrayCookieImpl() argument
DCGExprCXX.cpp565 llvm::APInt cookieSize(sizeWidth, in EmitCXXNewAllocSize() local
641 if (cookieSize != 0) { in EmitCXXNewAllocSize()
646 allocationSize = allocationSize.uadd_ov(cookieSize, overflow); in EmitCXXNewAllocSize()
770 if (cookieSize != 0) { in EmitCXXNewAllocSize()
776 llvm::Value *cookieSizeV = llvm::ConstantInt::get(CGF.SizeTy, cookieSize); in EmitCXXNewAllocSize()
798 if (cookieSize == 0) in EmitCXXNewAllocSize()
1666 CharUnits cookieSize; in EmitArrayDelete() local
1668 numElements, allocatedPtr, cookieSize); in EmitArrayDelete()
1677 cookieSize); in EmitArrayDelete()
DItaniumCXXABI.cpp310 CharUnits cookieSize) override;
423 CharUnits cookieSize) override;
1783 CharUnits cookieSize) { in readArrayCookieImpl() argument
1786 CharUnits numElementsOffset = cookieSize - CGF.getSizeSize(); in readArrayCookieImpl()
1842 CharUnits cookieSize = ARMCXXABI::getArrayCookieSizeImpl(elementType); in InitializeArrayCookie() local
1843 return CGF.Builder.CreateConstInBoundsByteGEP(newPtr, cookieSize); in InitializeArrayCookie()
1848 CharUnits cookieSize) { in readArrayCookieImpl() argument
DCGCXXABI.h518 CharUnits cookieSize);
DMicrosoftCXXABI.cpp428 CharUnits cookieSize) override;
2145 CharUnits cookieSize) { in readArrayCookieImpl() argument
2159 CharUnits cookieSize = getArrayCookieSizeImpl(elementType); in InitializeArrayCookie() local
2171 return CGF.Builder.CreateConstInBoundsByteGEP(newPtr, cookieSize); in InitializeArrayCookie()