MLIR
20.0.0git
|
#include "mlir/Conversion/ComplexToLLVM/ComplexToLLVM.h"
Public Member Functions | |
Value | real (OpBuilder &builder, Location loc) |
void | setReal (OpBuilder &builder, Location loc, Value real) |
Value | imaginary (OpBuilder &builder, Location loc) |
void | setImaginary (OpBuilder &builder, Location loc, Value imaginary) |
StructBuilder (Value v) | |
Construct a helper for the given complex number value. More... | |
Public Member Functions inherited from mlir::StructBuilder | |
StructBuilder (Value v) | |
Construct a helper for the given value. More... | |
operator Value () | |
Static Public Member Functions | |
static ComplexStructBuilder | undef (OpBuilder &builder, Location loc, Type type) |
Build IR creating an undef value of the complex number type. More... | |
Static Public Member Functions inherited from mlir::StructBuilder | |
static StructBuilder | undef (OpBuilder &builder, Location loc, Type descriptorType) |
Builds IR creating an undef value of the descriptor type. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::StructBuilder | |
Value | extractPtr (OpBuilder &builder, Location loc, unsigned pos) const |
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 inherited from mlir::StructBuilder | |
Value | value |
Type | structType |
Definition at line 22 of file ComplexToLLVM.h.
Definition at line 56 of file ComplexToLLVM.cpp.
References kImaginaryPosInComplexNumberStruct.
Definition at line 47 of file ComplexToLLVM.cpp.
References kRealPosInComplexNumberStruct.
Definition at line 51 of file ComplexToLLVM.cpp.
References kImaginaryPosInComplexNumberStruct.
Definition at line 42 of file ComplexToLLVM.cpp.
References kRealPosInComplexNumberStruct.
|
explicit |
Construct a helper for the given complex number value.
Definition at line 29 of file StructBuilder.cpp.
|
static |
Build IR creating an undef
value of the complex number type.
Definition at line 36 of file ComplexToLLVM.cpp.
References mlir::OpBuilder::create().