14 #ifndef MLIR_CONVERSION_LLVMCOMMON_STRUCTBUILDER_H 15 #define MLIR_CONVERSION_LLVMCOMMON_STRUCTBUILDER_H 51 #endif // MLIR_CONVERSION_LLVMCOMMON_STRUCTBUILDER_H Include the generated interface declarations.
static StructBuilder undef(OpBuilder &builder, Location loc, Type descriptorType)
Builds IR creating an undef value of the descriptor type.
This class defines the main interface for locations in MLIR and acts as a non-nullable wrapper around...
Helper class to produce LLVM dialect operations extracting or inserting values to a struct...
Instances of the Type class are uniqued, have an immutable identifier and an optional mutable compone...
This class represents an instance of an SSA value in the MLIR system, representing a computable value...
StructBuilder(Value v)
Construct a helper for the given value.
Value extractPtr(OpBuilder &builder, Location loc, unsigned pos)
Builds IR to extract a value from the struct at position pos.
void setPtr(OpBuilder &builder, Location loc, unsigned pos, Value ptr)
Builds IR to set a value in the struct at position pos.
This class helps build Operations.