* @brief This file contains functions for matching firm graphs for
* nodes that can be used as address mode for x86 instructions
* @author Matthias Braun
- * @version $Id$
*/
#ifndef IA32_ADDRESS_MODE_H
#define IA32_ADDRESS_MODE_H
+#include <stdbool.h>
#include "irtypes.h"
-#include "../beirg.h"
/**
* The address mode data: Used to construct (memory) address modes.
int offset; /**< An integer offset. */
int scale; /**< An integer scale. {0,1,2,3} */
ir_entity *symconst_ent; /**< A SynConst entity if any. */
- int use_frame; /**< Set, if the frame is accessed */
+ bool use_frame; /**< Set, if the frame is accessed */
+ bool tls_segment; /**< Set if AM is relative to TLS */
ir_entity *frame_entity; /**< The accessed frame entity if any. */
- int symconst_sign; /**< The "sign" of the symconst. */
+ bool symconst_sign; /**< The "sign" of the symconst. */
};
/**