GCC Middle and Back End API Reference
emit-rtl.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void set_mem_alias_set (rtx, alias_set_type)
void set_mem_align (rtx, unsigned int)
void set_mem_addr_space (rtx, addr_space_t)
void set_mem_expr (rtx, tree)
void set_mem_offset (rtx, HOST_WIDE_INT)
void clear_mem_offset (rtx)
void set_mem_size (rtx, HOST_WIDE_INT)
void clear_mem_size (rtx)
void set_mem_attrs_for_spill (rtx)
tree get_spill_slot_decl (bool)
rtx replace_equiv_address (rtx, rtx)
rtx replace_equiv_address_nv (rtx, rtx)
rtx gen_blockage (void)
rtvec gen_rtvec (int,...)
rtx copy_insn_1 (rtx)
rtx copy_insn (rtx)
rtx copy_delay_slot_insn (rtx)
rtx gen_int_mode (HOST_WIDE_INT, enum machine_mode)
rtx emit_copy_of_insn_after (rtx, rtx)
void set_reg_attrs_from_value (rtx, rtx)
void set_reg_attrs_for_parm (rtx, rtx)
void set_reg_attrs_for_decl_rtl (tree t, rtx x)
void adjust_reg_mode (rtx, enum machine_mode)
int mem_expr_equal_p (const_tree, const_tree)
bool need_atomic_barrier_p (enum memmodel, bool)
static rtx get_insns ()
static void set_first_insn ()
static rtx get_last_insn ()
static void set_last_insn ()
static int get_max_uid ()

Function Documentation

void adjust_reg_mode ( rtx  ,
enum  machine_mode 
)
void clear_mem_offset ( rtx  )

Clear the offset recorded for MEM.

void clear_mem_size ( rtx  )

Clear the size recorded for MEM.

rtx copy_delay_slot_insn ( rtx  )
rtx copy_insn ( rtx  )
rtx copy_insn_1 ( rtx  )
rtx emit_copy_of_insn_after ( rtx  ,
rtx   
)
rtx gen_blockage ( void  )

Generate an empty ASM_INPUT, which is used to block attempts to schedule, and to block register equivalences to be seen across this insn.

rtx gen_int_mode ( HOST_WIDE_INT  ,
enum  machine_mode 
)
rtvec gen_rtvec ( int  ,
  ... 
)
static int get_max_uid ( )
inlinestatic

Return a number larger than any instruction's uid in this function.

Referenced by ira_free_allocno_updated_costs(), print_allocno_prefs(), profile_function(), and update_alignments().

tree get_spill_slot_decl ( bool  )
int mem_expr_equal_p ( const_tree  ,
const_tree   
)
bool need_atomic_barrier_p ( enum  memmodel,
bool   
)
rtx replace_equiv_address ( rtx  ,
rtx   
)

Return a memory reference like MEMREF, but with its address changed to ADDR. The caller is asserting that the actual piece of memory pointed to is the same, just the form of the address is being changed, such as by putting something into a register.

rtx replace_equiv_address_nv ( rtx  ,
rtx   
)

Likewise, but the reference is not required to be valid.

static void set_first_insn ( )
inlinestatic

Specify a new insn as the first in the chain.

References crtl, gcc_checking_assert, and NEXT_INSN.

Referenced by emit_label(), label_for_bb(), and link_insn_into_chain().

static void set_last_insn ( )
inlinestatic

Specify a new insn as the last in the chain.

Referenced by emit_label(), and link_insn_into_chain().

void set_mem_addr_space ( rtx  ,
addr_space_t   
)

Set the address space of MEM to ADDRSPACE.

void set_mem_alias_set ( rtx  ,
alias_set_type   
)

Exported functions from emit-rtl.c Copyright (C) 2004-2013 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/. Set the alias set of MEM to SET.

void set_mem_align ( rtx  ,
unsigned  int 
)

Set the alignment of MEM to ALIGN bits.

void set_mem_attrs_for_spill ( rtx  )

Set the attributes for MEM appropriate for a spill slot.

void set_mem_expr ( rtx  ,
tree   
)

Set the expr for MEM to EXPR.

void set_mem_offset ( rtx  ,
HOST_WIDE_INT   
)

Set the offset for MEM to OFFSET.

void set_mem_size ( rtx  ,
HOST_WIDE_INT   
)

Set the size for MEM to SIZE.

void set_reg_attrs_for_decl_rtl ( tree  t,
rtx  x 
)
void set_reg_attrs_for_parm ( rtx  ,
rtx   
)
void set_reg_attrs_from_value ( rtx  ,
rtx   
)