MLIR
21.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... | |
![]() | |
StructBuilder (Value v) | |
Construct a helper for the given value. More... | |
operator Value () | |
Static Public Member Functions | |
static ComplexStructBuilder | poison (OpBuilder &builder, Location loc, Type type) |
Build IR creating an undef value of the complex number type. More... | |
![]() | |
static StructBuilder | poison (OpBuilder &builder, Location loc, Type descriptorType) |
Builds IR creating a poison value of the descriptor type. More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
Value | value |
Type | structType |
Definition at line 24 of file ComplexToLLVM.h.
Definition at line 57 of file ComplexToLLVM.cpp.
References kImaginaryPosInComplexNumberStruct.
|
static |
Build IR creating an undef
value of the complex number type.
Definition at line 37 of file ComplexToLLVM.cpp.
References mlir::OpBuilder::create().
Definition at line 48 of file ComplexToLLVM.cpp.
References kRealPosInComplexNumberStruct.
Definition at line 52 of file ComplexToLLVM.cpp.
References kImaginaryPosInComplexNumberStruct.
Definition at line 43 of file ComplexToLLVM.cpp.
References kRealPosInComplexNumberStruct.
|
explicit |
Construct a helper for the given complex number value.
Definition at line 29 of file StructBuilder.cpp.