summaryrefslogtreecommitdiffhomepage
path: root/ir/opt/scalar_replace.h
blob: d45dd374c17a15ac4bcc6b44f040a1eba008154d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * This file is part of libFirm.
 * Copyright (C) 2012 University of Karlsruhe.
 */

/**
 * @file
 * @brief   Scalar replacement of compounds.
 * @author  Beyhan Veliev, Michael Beck
 */
#ifndef FIRM_OPT_SCALAR_REPLACE_H
#define FIRM_OPT_SCALAR_REPLACE_H

#include "firm_types.h"
#include <stdbool.h>

/**
 * Returns non-zero, if the address of an entity
 * represented by a Sel node (or its successor Sels) is taken.
 *
 * @param sel  the Sel node
 */
bool is_address_taken(ir_node *sel);

#endif