Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Public Attributes | List of all members
proteus::VarAlloc Struct Reference

#include <CodeBuilder.h>

Collaboration diagram for proteus::VarAlloc:
Collaboration graph
[legend]

Public Attributes

IRValueSlot
 The alloca (or global base pointer for arrays).
 
IRType ValueTy
 Logical element type (pointee/element for pointer/array).
 
IRType AllocTy
 Type of the alloca itself.
 
unsigned AddrSpace = 0
 Address space (relevant for pointers/arrays).
 

Detailed Description

Lightweight aggregate returned by the alloc* factory methods. Each Var specialization stores these fields directly instead of a heap-allocated storage objects.

Member Data Documentation

◆ AddrSpace

unsigned proteus::VarAlloc::AddrSpace = 0

Address space (relevant for pointers/arrays).

◆ AllocTy

IRType proteus::VarAlloc::AllocTy

Type of the alloca itself.

◆ Slot

IRValue* proteus::VarAlloc::Slot

The alloca (or global base pointer for arrays).

◆ ValueTy

IRType proteus::VarAlloc::ValueTy

Logical element type (pointee/element for pointer/array).


The documentation for this struct was generated from the following file: