TypeBuilder manages the lifecycle of ABI types using bump pointer allocation.
Types created by a TypeBuilder are valid for the lifetime of the allocator.
Example usage:
const auto *IntTy = Builder.getIntegerType(32,
Align(4),
true);
TypeBuilder(BumpPtrAllocator &Alloc)
BumpPtrAllocatorImpl<> BumpPtrAllocator
The standard BumpPtrAllocator which just uses the default template parameters.
This struct is a compact representation of a valid (non-zero power of two) alignment.
Definition at line 321 of file Types.h.