GCC Middle and Back End API Reference
gimple-streamer-out.c File Reference
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tree.h"
#include "gimple.h"
#include "gimple-ssa.h"
#include "data-streamer.h"
#include "gimple-streamer.h"
#include "lto-streamer.h"
#include "tree-streamer.h"
#include "value-prof.h"
Include dependency graph for gimple-streamer-out.c:

Functions

static void output_phi ()
static void output_gimple_stmt ()
void output_bb ()

Function Documentation

void output_bb ( )

Output a basic block BB to the main stream in OB for this FN.

     Output the statements.  The list of statements is terminated
     with a zero.   
         Emit the EH region holding STMT.   
         Only emit PHIs for gimple registers.  PHI nodes for .MEM
         will be filled in on reading when the SSA form is
         updated.   
static void output_gimple_stmt ( )
static

Emit statement STMT on the main stream of output block OB.

 Emit identifying tag.   
 Emit the tuple header.   
 Emit location information for the statement.   
 Emit the lexical block holding STMT.   
 Emit the operands.   
     Fallthru   
         Wrap all uses of non-automatic variables inside MEM_REFs
         so that we do not have to deal with type mismatches on
         merged symbols during IL read in.  The first operand
         of GIMPLE_DEBUG must be a decl, not MEM_REF, though.   
         Restore the original base if we wrapped it inside a MEM_REF.   
static void output_phi ( )
static

Routines for emitting GIMPLE to a file stream.

Copyright (C) 2011-2013 Free Software Foundation, Inc. Contributed by Diego Novillo dnovi.nosp@m.llo@.nosp@m.googl.nosp@m.e.co.nosp@m.m

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/. Output PHI function PHI to the main stream in OB.