GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
expr::maybe_constant_operation< Arg > Class Template Reference

#include "expop.h"

Inheritance diagram for expr::maybe_constant_operation< Arg >:
expr::tuple_holding_operation< Arg... > expr::operation expr::opencl_binop_operation< OP, FUNC, BASE >

Public Member Functions

bool constant_p () const override
 
- Public Member Functions inherited from expr::tuple_holding_operation< Arg... >
 tuple_holding_operation (Arg... args)
 
 DISABLE_COPY_AND_ASSIGN (tuple_holding_operation)
 
bool uses_objfile (struct objfile *objfile) const override
 
void dump (struct ui_file *stream, int depth) const override
 
- Public Member Functions inherited from expr::operation
virtual ~operation ()=default
 
virtual valueevaluate (struct type *expect_type, struct expression *exp, enum noside noside)=0
 
virtual valueevaluate_with_coercion (struct expression *exp, enum noside noside)
 
virtual valueevaluate_for_cast (struct type *expect_type, struct expression *exp, enum noside noside)
 
virtual valueevaluate_for_sizeof (struct expression *exp, enum noside noside)
 
virtual valueevaluate_for_address (struct expression *exp, enum noside noside)
 
virtual valueevaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const std::vector< operation_up > &args)
 
void generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type=nullptr)
 
virtual enum exp_opcode opcode () const =0
 
virtual void set_outermost ()
 

Private Member Functions

template<int I, typename... T>
std::enable_if< I==sizeof...(T), bool >::type do_check_constant (const std::tuple< T... > &value) const
 
template<int I, typename... T>
 std::enable_if (value)
 

Additional Inherited Members

- Protected Member Functions inherited from expr::operation
 operation ()=default
 
 DISABLE_COPY_AND_ASSIGN (operation)
 
valueevaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const char *function_name, const std::vector< operation_up > &args)
 
virtual void do_generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type)
 
- Protected Attributes inherited from expr::tuple_holding_operation< Arg... >
std::tuple< Arg... > m_storage
 

Detailed Description

template<typename... Arg>
class expr::maybe_constant_operation< Arg >

Definition at line 522 of file expop.h.

Member Function Documentation

◆ constant_p()

template<typename... Arg>
bool expr::maybe_constant_operation< Arg >::constant_p ( ) const
inlineoverridevirtual

◆ do_check_constant()

template<typename... Arg>
template<int I, typename... T>
std::enable_if< I==sizeof...(T), bool >::type expr::maybe_constant_operation< Arg >::do_check_constant ( const std::tuple< T... > & value) const
inlineprivate

Definition at line 538 of file expop.h.

Referenced by expr::maybe_constant_operation< Arg >::constant_p().

◆ std::enable_if()

template<typename... Arg>
template<int I, typename... T>
expr::maybe_constant_operation< Arg >::std::enable_if ( value )
private

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