LLVM 20.0.0git
|
This file defines counterparts of C library allocation functions defined in the namespace 'std'. More...
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Functions | |
LLVM_ATTRIBUTE_RETURNS_NONNULL void * | llvm::safe_malloc (size_t Sz) |
LLVM_ATTRIBUTE_RETURNS_NONNULL void * | llvm::safe_calloc (size_t Count, size_t Sz) |
LLVM_ATTRIBUTE_RETURNS_NONNULL void * | llvm::safe_realloc (void *Ptr, size_t Sz) |
LLVM_ATTRIBUTE_RETURNS_NONNULL LLVM_ATTRIBUTE_RETURNS_NOALIAS void * | llvm::allocate_buffer (size_t Size, size_t Alignment) |
Allocate a buffer of memory with the given size and alignment. | |
void | llvm::deallocate_buffer (void *Ptr, size_t Size, size_t Alignment) |
Deallocate a buffer of memory with the given size and alignment. | |
This file defines counterparts of C library allocation functions defined in the namespace 'std'.
The new allocation functions crash on allocation failure instead of returning null pointer.
Definition in file MemAlloc.h.