Tiramisu Compiler
tiramisu::cuda_ast::ternary Class Reference

#include <cuda_ast.h>

Inherits tiramisu::cuda_ast::op.

Public Member Functions

 ternary (primitive_t type, statement_ptr operand_1, statement_ptr operand_2, statement_ptr operand_3, std::string &&op_symbol_1, std::string &&op_symbol_2)
void print (std::stringstream &ss, const std::string &base) override
statement_ptr replace_iterators (std::unordered_map< std::string, gpu_iterator > &iterators) override
- Public Member Functions inherited from tiramisu::cuda_ast::statement
primitive_t get_type () const
std::string print ()
virtual void print_body (std::stringstream &ss, const std::string &base)
virtual std::pair< statement_ptr, statement_ptrextract_min_cap ()

Additional Inherited Members

- Protected Member Functions inherited from tiramisu::cuda_ast::op
 op (primitive_t type, const std::vector< statement_ptr > &operands)
std::unordered_set< std::string > extract_scalars () override
- Protected Member Functions inherited from tiramisu::cuda_ast::statement
 statement (primitive_t type)
- Protected Attributes inherited from tiramisu::cuda_ast::op
std::vector< statement_ptrm_operands

Detailed Description

Definition at line 469 of file cuda_ast.h.

Constructor & Destructor Documentation

tiramisu::cuda_ast::ternary::ternary ( primitive_t  type,
statement_ptr  operand_1,
statement_ptr  operand_2,
statement_ptr  operand_3,
std::string &&  op_symbol_1,
std::string &&  op_symbol_2 

Member Function Documentation

void tiramisu::cuda_ast::ternary::print ( std::stringstream &  ss,
const std::string &  base 
statement_ptr tiramisu::cuda_ast::ternary::replace_iterators ( std::unordered_map< std::string, gpu_iterator > &  iterators)

Reimplemented from tiramisu::cuda_ast::statement.

The documentation for this class was generated from the following file: