My Project
|
#include <ConvertStandardToLLVM.h>
Public Member Functions | |
StructBuilder (Value v) | |
Construct a helper for the given value. More... | |
operator Value () | |
Static Public Member Functions | |
static StructBuilder | undef (OpBuilder &builder, Location loc, Type descriptorType) |
Builds IR creating an undef value of the descriptor type. More... | |
Protected Member Functions | |
Value | extractPtr (OpBuilder &builder, Location loc, unsigned pos) |
Builds IR to extract a value from the struct at position pos. More... | |
void | setPtr (OpBuilder &builder, Location loc, unsigned pos, Value ptr) |
Builds IR to set a value in the struct at position pos. More... | |
Protected Attributes | |
Value | value |
Type | structType |
Helper class to produce LLVM dialect operations extracting or inserting values to a struct.
|
explicit |
Construct a helper for the given value.
Builds IR to extract a value from the struct at position pos.
|
inline |
Builds IR to set a value in the struct at position pos.
|
static |
Builds IR creating an undef
value of the descriptor type.
|
protected |
|
protected |