GCC Middle and Back End API Reference
gimple_statement_asm Struct Reference

#include <gimple.h>

Inheritance diagram for gimple_statement_asm:
Collaboration diagram for gimple_statement_asm:

Data Fields

const char * string
unsigned char ni
unsigned char no
unsigned char nc
unsigned char nl
tree op [1]
tree vdef
tree vuse
struct use_optype_duse_ops
ENUM_BITFIELD(gimple_code)
code unsigned int 
no_warning: 1
unsigned int visited: 1
unsigned int nontemporal_move: 1
unsigned int plf: 2
unsigned modified: 1
unsigned has_volatile_ops: 1
unsigned int subcode: 16
unsigned uid
location_t location
unsigned num_ops
basic_block bb
gimple next
gimple prev

Detailed Description

code == GIMPLE_ASM:

GIMPLE_ASM <STRING, I1, ..., IN, O1, ... OM, C1, ..., CP> represents inline assembly statements.

STRING is the string containing the assembly statements. I1 ... IN are the N input operands. O1 ... OM are the M output operands. C1 ... CP are the P clobber operands. L1 ... LQ are the Q label operands.


Field Documentation

basic_block gimple_statement_base::bb
inherited

[ WORD 3 ] Basic block holding this statement.

Referenced by gimple_call_arg_flags().

unsigned gimple_statement_base::has_volatile_ops
inherited

Nonzero if this statement contains volatile operands.

location_t gimple_statement_base::location
inherited

[ WORD 2 ] Locus information for debug info.

unsigned gimple_statement_base::modified
inherited

Nonzero if this statement has been modified and needs to have its operands rescanned.

unsigned char gimple_statement_asm::nc
gimple gimple_statement_base::next
inherited

[ WORD 4-5 ] Linked lists of gimple statements. The next pointers form a NULL terminated list, the prev pointers are a cyclic list. A gimple statement is hence also a double-ended list of statements, with the pointer itself being the first element, and the prev pointer being the last.

Referenced by gsi_insert_seq_nodes_after(), gsi_set_stmt(), and gsi_split_seq_after().

unsigned char gimple_statement_asm::ni

[ WORD 11 ] Number of inputs, outputs, clobbers, labels.

unsigned char gimple_statement_asm::nl
unsigned char gimple_statement_asm::no
ENUM_BITFIELD (gimple_code) code unsigned int gimple_statement_base::no_warning
inherited

[ WORD 1 ] Main identifying code for a tuple. Nonzero if a warning should not be emitted on this tuple.

unsigned int gimple_statement_base::nontemporal_move
inherited

Nonzero if this tuple represents a non-temporal move.

unsigned gimple_statement_base::num_ops
inherited

Number of operands in this tuple.

tree gimple_statement_asm::op[1]

[ WORD 12 ] Operand vector. NOTE! This must always be the last field of this structure. In particular, this means that this structure cannot be embedded inside another one.

unsigned int gimple_statement_base::plf
inherited

Pass local flags. These flags are free for any pass to use as they see fit. Passes should not assume that these flags contain any useful value when the pass starts. Any initial state that the pass requires should be set on entry to the pass. See gimple_set_plf and gimple_plf for usage.

gimple gimple_statement_base::prev
inherited
const char* gimple_statement_asm::string

[ WORD 1-9 ] : base class [ WORD 10 ] asm statement.

unsigned int gimple_statement_base::subcode
inherited

The SUBCODE field can be used for tuple-specific flags for tuples that do not require subcodes. Note that SUBCODE should be at least as wide as tree codes, as several tuples store tree codes in there.

Referenced by gimple_build_call_valist().

unsigned gimple_statement_base::uid
inherited

UID of this statement. This is used by passes that want to assign IDs to statements. It must be assigned and used by each pass. By default it should be assumed to contain garbage.

struct use_optype_d* gimple_statement_with_ops_base::use_ops
inherited

[ WORD 1-6 ] : base class [ WORD 7 ] SSA operand vectors. NOTE: It should be possible to amalgamate these vectors with the operand vector OP. However, the SSA operand vectors are organized differently and contain more information (like immediate use chaining).

Referenced by gimple_in_ssa_p().

tree gimple_statement_with_memory_ops_base::vdef
inherited

[ WORD 1-7 ] : base class [ WORD 8-9 ] Virtual operands for this statement. The GC will pick them up via the ssa_names array.

Referenced by gimple_vuse_op().

unsigned int gimple_statement_base::visited
inherited

Nonzero if this tuple has been visited. Passes are responsible for clearing this bit before using it.

tree gimple_statement_with_memory_ops_base::vuse
inherited

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