osprey/be/cg/x8664/entry_exit_targ.cxx File Reference

#include "defs.h"
#include "tn.h"
#include "op.h"
#include "bb.h"
#include "wn.h"
#include "symtab.h"
#include "errors.h"
#include "targ_sim.h"
#include "ttype.h"
#include "topcode.h"
#include "register.h"
#include "entry_exit_targ.h"
#include "calls.h"
#include "be_util.h"
#include "data_layout.h"
#include "stblock.h"
#include "cgtarget.h"
#include "whirl2ops.h"
#include "cgexp.h"
#include "cxx_template.h"
#include "cg_spill.h"
#include "cg.h"

Include dependency graph for entry_exit_targ.cxx:

Go to the source code of this file.

Functions/Subroutines

void EETARG_Generate_PIC_Exit_Code (BB *bb, OPS *ops)
void EETARG_Generate_PIC_Entry_Code (BB *bb, OPS *ops)
void EETARG_Save_Pfs (TN *saved_pfs, OPS *ops)
void EETARG_Restore_Pfs (TN *saved_pfs, OPS *ops)
void EETARG_Adjust_SP_For_Entry (TN *incr, OPS *ops)
void EETARG_Adjust_SP_For_Exit (TN *incr, OPS *ops)
void EETARG_Fixup_Entry_Code (BB *bb)
void EETARG_Init_Entry_Exit_Code (WN *pu_wn, BOOL need_frame_pointer)
void EETARG_Save_Extra_Callee_Tns (OPS *ops)
void EETARG_Restore_Extra_Callee_Tns (OPS *ops)
OPEETARG_Build_Jump_Instead_Of_Call (OP *call_op)
OPEETARG_High_Level_Procedure_Exit ()
void CGEMIT_Setup_IP_Calc (void)
void EETARG_Emit_IP_Calc_Func (void)

Variables

static STsave_ebx_loc = NULL
static INT32 last_pu_count = -1
static BOOL need_ip = FALSE
const char * ip_calc_funcname = "getip.pathscale"


Function Documentation

void CGEMIT_Setup_IP_Calc ( void   ) 

Definition at line 1889 of file cgemit_targ.cxx.

References Asm_File, fprintf(), and ip_calc_funcname.

Referenced by EETARG_Emit_IP_Calc_Func().

void EETARG_Adjust_SP_For_Entry ( TN incr,
OPS ops 
)

Definition at line 259 of file entry_exit_targ.cxx.

References FALSE, and FmtAssert.

void EETARG_Adjust_SP_For_Exit ( TN incr,
OPS ops 
)

Definition at line 265 of file entry_exit_targ.cxx.

References FALSE, and FmtAssert.

OP* EETARG_Build_Jump_Instead_Of_Call ( OP call_op  ) 

Definition at line 290 of file entry_exit_targ.cxx.

References Is_True, Mk_OP(), OP_ijump, OP_opnd, OP_opnds, and TOP.

Referenced by Optimize_Tail_Calls().

void EETARG_Emit_IP_Calc_Func ( void   ) 

Definition at line 312 of file entry_exit_targ.cxx.

References CGEMIT_Setup_IP_Calc(), and need_ip.

Referenced by EMT_End_File().

void EETARG_Fixup_Entry_Code ( BB bb  ) 

Definition at line 271 of file entry_exit_targ.cxx.

Referenced by Adjust_Entry().

void EETARG_Generate_PIC_Entry_Code ( BB bb,
OPS ops 
)

void EETARG_Generate_PIC_Exit_Code ( BB bb,
OPS ops 
)

Definition at line 81 of file entry_exit_targ.cxx.

References CGSPILL_LCL, CGSPILL_Load_From_Memory(), Ebx_TN(), NULL, and OPS_last.

OP* EETARG_High_Level_Procedure_Exit (  ) 

Definition at line 301 of file entry_exit_targ.cxx.

References Build_Dedicated_TN(), Mk_OP(), RBP, result, RSP, and src.

void EETARG_Init_Entry_Exit_Code ( WN pu_wn,
BOOL  need_frame_pointer 
)

Definition at line 276 of file entry_exit_targ.cxx.

Referenced by Init_Entry_Exit_Code().

void EETARG_Restore_Extra_Callee_Tns ( OPS ops  ) 

Definition at line 284 of file entry_exit_targ.cxx.

Referenced by Generate_Exit().

void EETARG_Restore_Pfs ( TN saved_pfs,
OPS ops 
)

Definition at line 253 of file entry_exit_targ.cxx.

Referenced by Generate_Exit().

void EETARG_Save_Extra_Callee_Tns ( OPS ops  ) 

Definition at line 280 of file entry_exit_targ.cxx.

Referenced by Generate_Entry().

void EETARG_Save_Pfs ( TN saved_pfs,
OPS ops 
)

Definition at line 247 of file entry_exit_targ.cxx.

Referenced by Generate_Entry().


Variable Documentation

const char* ip_calc_funcname = "getip.pathscale"

Definition at line 79 of file entry_exit_targ.cxx.

Referenced by CGEMIT_Setup_IP_Calc(), and EETARG_Generate_PIC_Entry_Code().

INT32 last_pu_count = -1 [static]

Definition at line 75 of file entry_exit_targ.cxx.

BOOL need_ip = FALSE [static]

Definition at line 77 of file entry_exit_targ.cxx.

Referenced by EETARG_Emit_IP_Calc_Func(), and EETARG_Generate_PIC_Entry_Code().

ST* save_ebx_loc = NULL [static]

Definition at line 74 of file entry_exit_targ.cxx.


Generated on Wed Apr 8 14:27:03 2009 for Open64 by  doxygen 1.5.6