Halide 19.0.0
Halide compiler and libraries
|
#include <Generator.h>
Public Member Functions | |
GeneratorParamBase (const std::string &name) | |
virtual | ~GeneratorParamBase () |
const std::string & | name () const |
void | set (const std::string &new_value) |
void | set (const char *new_value) |
GeneratorParamBase (const GeneratorParamBase &)=delete | |
GeneratorParamBase & | operator= (const GeneratorParamBase &)=delete |
GeneratorParamBase (GeneratorParamBase &&)=delete | |
GeneratorParamBase & | operator= (GeneratorParamBase &&)=delete |
Protected Member Functions | |
void | check_value_readable () const |
void | check_value_writable () const |
virtual void | set_from_string (const std::string &value_string)=0 |
virtual std::string | call_to_string (const std::string &v) const =0 |
virtual std::string | get_c_type () const =0 |
virtual std::string | get_type_decls () const |
virtual std::string | get_default_value () const =0 |
virtual bool | is_synthetic_param () const |
virtual bool | is_looplevel_param () const |
void | fail_wrong_type (const char *type) |
Definition at line 395 of file Generator.h.
|
explicit |
|
virtual |
|
delete |
|
delete |
|
inline |
Definition at line 400 of file Generator.h.
Referenced by Halide::Internal::GeneratorParam_Enum< T >::call_to_string(), Halide::Internal::GeneratorParam_Enum< T >::get_c_type(), Halide::Internal::GeneratorParam_Enum< T >::get_default_value(), Halide::Internal::GeneratorParam_Enum< T >::get_type_decls(), and Halide::Internal::GeneratorParam_LoopLevel::set_from_string().
|
inline |
Definition at line 434 of file Generator.h.
References set_from_string().
|
inline |
Definition at line 437 of file Generator.h.
References set_from_string().
|
protected |
Referenced by Halide::Internal::GeneratorParamImpl< T >::value().
|
protected |
|
protectedpure virtual |
Implemented in Halide::Internal::GeneratorParam_Arithmetic< T >, Halide::Internal::GeneratorParam_AutoSchedulerParams, Halide::Internal::GeneratorParam_Bool< T >, Halide::Internal::GeneratorParam_Enum< T >, Halide::Internal::GeneratorParam_LoopLevel, Halide::Internal::GeneratorParam_String< T >, Halide::Internal::GeneratorParam_Synthetic< T >, and Halide::Internal::GeneratorParam_Target< T >.
|
protectedpure virtual |
Implemented in Halide::Internal::GeneratorParam_Arithmetic< T >, Halide::Internal::GeneratorParam_AutoSchedulerParams, Halide::Internal::GeneratorParam_Bool< T >, Halide::Internal::GeneratorParam_Enum< T >, Halide::Internal::GeneratorParam_LoopLevel, Halide::Internal::GeneratorParam_String< T >, Halide::Internal::GeneratorParam_Synthetic< T >, Halide::Internal::GeneratorParam_Target< T >, and Halide::Internal::GeneratorParam_Type< T >.
|
protectedpure virtual |
Implemented in Halide::Internal::GeneratorParam_Arithmetic< T >, Halide::Internal::GeneratorParam_AutoSchedulerParams, Halide::Internal::GeneratorParam_Bool< T >, Halide::Internal::GeneratorParam_Enum< T >, Halide::Internal::GeneratorParam_LoopLevel, Halide::Internal::GeneratorParam_String< T >, Halide::Internal::GeneratorParam_Synthetic< T >, Halide::Internal::GeneratorParam_Target< T >, and Halide::Internal::GeneratorParam_Type< T >.
|
inlineprotectedvirtual |
Reimplemented in Halide::Internal::GeneratorParam_Enum< T >, and Halide::Internal::GeneratorParam_Type< T >.
Definition at line 455 of file Generator.h.
|
protectedpure virtual |
Implemented in Halide::Internal::GeneratorParam_Arithmetic< T >, Halide::Internal::GeneratorParam_AutoSchedulerParams, Halide::Internal::GeneratorParam_Bool< T >, Halide::Internal::GeneratorParam_Enum< T >, Halide::Internal::GeneratorParam_LoopLevel, Halide::Internal::GeneratorParam_String< T >, Halide::Internal::GeneratorParam_Synthetic< T >, Halide::Internal::GeneratorParam_Target< T >, and Halide::Internal::GeneratorParam_Type< T >.
|
inlineprotectedvirtual |
Reimplemented in Halide::Internal::GeneratorParam_Synthetic< T >.
Definition at line 461 of file Generator.h.
|
inlineprotectedvirtual |
Reimplemented in Halide::Internal::GeneratorParam_LoopLevel.
Definition at line 465 of file Generator.h.
|
protected |
|
delete |
|
delete |