GCC Middle and Back End API Reference
if_expr Class Reference
Inheritance diagram for if_expr:
Collaboration diagram for if_expr:

Public Types

enum  op_type {
  OP_PREDICATE , OP_EXPR , OP_CAPTURE , OP_C_EXPR ,
  OP_IF , OP_WITH
}
 

Public Member Functions

 if_expr (location_t loc)
 
virtual void gen_transform (FILE *, int, const char *, bool, int, const char *, capture_info *, dt_operand **=0, int=0)
 

Data Fields

c_exprcond
 
operandtrueexpr
 
operandfalseexpr
 
enum op_type type
 
location_t location
 

Detailed Description

if expression.   

Member Enumeration Documentation

◆ op_type

Enumerator
OP_PREDICATE 
OP_EXPR 
OP_CAPTURE 
OP_C_EXPR 
OP_IF 
OP_WITH 

Constructor & Destructor Documentation

◆ if_expr()

if_expr::if_expr ( location_t loc)
inline

Member Function Documentation

◆ gen_transform()

virtual void operand::gen_transform ( FILE * ,
int ,
const char * ,
bool ,
int ,
const char * ,
capture_info * ,
dt_operand ** = 0,
int = 0 )
inlinevirtualinherited

Reimplemented in c_expr, capture, and expr.

References gcc_unreachable.

Referenced by dt_simplify::gen_1(), and capture::gen_transform().

Field Documentation

◆ cond

c_expr* if_expr::cond

◆ falseexpr

operand* if_expr::falseexpr

◆ location

◆ trueexpr

operand* if_expr::trueexpr

◆ type


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