PIPS
operation.c File Reference
#include <stdio.h>
#include "genC.h"
#include "linear.h"
#include "ri.h"
#include "ri-util.h"
#include "constants.h"
+ Include dependency graph for operation.c:

Go to the source code of this file.

Functions

expression make_div_expression (expression ex1, cons *ex2)
 operation.c More...
 
expression make_op_expression (entity op, cons *ex2)
 

Function Documentation

◆ make_div_expression()

expression make_div_expression ( expression  ex1,
cons ex2 
)

operation.c

Parameters
ex1x1
ex2x2

Definition at line 42 of file operation.c.

43 {
45 
46  return(make_expression(
48  make_call(div,
50  ex1,ex2))
52 }
call make_call(entity a1, list a2)
Definition: ri.c:269
expression make_expression(syntax a1, normalized a2)
Definition: ri.c:886
syntax make_syntax(enum syntax_utype tag, void *val)
Definition: ri.c:2491
#define CONS(_t_, _i_, _l_)
List element cell constructor (insert an element at the beginning of a list)
Definition: newgen_list.h:150
entity local_name_to_top_level_entity(const char *n)
This function try to find a top-level entity from a local name.
Definition: entity.c:1450
#define normalized_undefined
Definition: ri.h:1745
@ is_syntax_call
Definition: ri.h:2693
#define EXPRESSION(x)
EXPRESSION.
Definition: ri.h:1217

References CONS, EXPRESSION, is_syntax_call, local_name_to_top_level_entity(), make_call(), make_expression(), make_syntax(), and normalized_undefined.

Referenced by array_indices_communication(), complex_bound_generation(), lower_bound_generation(), test_bound_generation(), and upper_bound_generation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ make_op_expression()

expression make_op_expression ( entity  op,
cons ex2 
)
Parameters
opp
ex2x2

Definition at line 55 of file operation.c.

56 {
58  make_call(op,ex2)),
60 }

References is_syntax_call, make_call(), make_expression(), make_syntax(), and normalized_undefined.

Referenced by complex_bound_generation(), lower_bound_generation(), make_movements_loop_body_wp65(), test_bound_generation(), and upper_bound_generation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: