Convention.xcc

Benoit Dupont de Dinechin (Benoit.Dupont-de-Dinechin@st.com).

Copyright 2002 - 2007 STMicroelectronics. Copyright 1995 - 1998 Commissariat a l'Energie Atomique.

This program is free software; you can redistribute it and/or modify it under the terms of either (at your option): the GNU General Public License (GPL) version 2; the GNU Lesser General Public License (LGPL) version 2.1; any later version of these licences as published by the Free Software Foundation.

ConventionRole— Enumerate the Convention Register roles.
typedef enum {
  ConventionRole_Reserved,              // Reserved (non allocatable) Register(s).
  ConventionRole_Argument,              // Function call argument Register(s).
  ConventionRole_Result,                // Function call result Register(s).
  ConventionRole_Struct,                // Pointer to result structure Register(s).
  ConventionRole_Caller,                // Caller saved (scratch) Register(s).
  ConventionRole_Callee,                // Callee saved (preserved) Register(s).
  ConventionRole_Program,               // Program counter Register(s).
  ConventionRole_Return,                // Return address (link) Register(s).
  ConventionRole_Stack,                 // Stack pointer Register(s)
  ConventionRole_Frame,                 // Frame pointer Register(s).
  ConventionRole_Static,                // Static link pointer Register(s).
  ConventionRole_Global,                // Global data or GOT pointer Register(s).
  ConventionRole_Local,                 // Local data or TLS pointer Register(s).
  ConventionRole_Wired,                 // Wired (constant or bucket) Register(s).
  ConventionRole_Zero,                  // Constant zero value Register(s).
  ConventionRole_One,                   // Constant one value Register(s).
  ConventionRole__
} enum_ConventionRole;
typedef uint8_t ConventionRole;
extern const char *
ConventionRole_name_(ConventionRole this);
Convention_name_— Names for the Convention enumeration.
extern const char *
Convention_name_(Convention this);
Convention_roleRegisterSet— RegisterSet(s) indexed by ConventionRole(s).
const_RegisterSet
Convention_roleRegisterSet(Convention this, ConventionRole role);
Convention_structRegister— This Convention Struct pointer Register.
Register
Convention_structRegister(Convention this);
Convention_programRegister— This Convention Program pointer Register.
Register
Convention_programRegister(Convention this);
Convention_returnRegister— This Convention Return pointer Register.
Register
Convention_returnRegister(Convention this);
Convention_stackRegister— This Convention Stack pointer Register.
Register
Convention_stackRegister(Convention this);
Convention_frameRegister— This Convention Frame pointer Register.
Register
Convention_frameRegister(Convention this);
Convention_staticRegister— This Convention Static pointer Register.
Register
Convention_staticRegister(Convention this);
Convention_globalRegister— This Convention Global pointer Register.
Register
Convention_globalRegister(Convention this);
Convention_localRegister— This Convention Local pointer Register.
Register
Convention_localRegister(Convention this);
Convention_alignText— This Convention Text Alignment Base.
unsigned
Convention_alignText(Convention this);
Convention_alignData— This Convention Data Alignment Base.
unsigned
Convention_alignData(Convention this);
Convention_alignHeap— This Convention Heap Alignment Base.
unsigned
Convention_alignHeap(Convention this);
Convention_alignStack— This Convention Stack Alignment Base.
unsigned
Convention_alignStack(Convention this);
Convention_nativeInt— This Convention Native Int.
NativeType
Convention_nativeInt(Convention this);
Convention_nativeUInt— This Convention Native UInt.
NativeType
Convention_nativeUInt(Convention this);
Convention_nativeFloat— This Convention Native Float.
NativeType
Convention_nativeFloat(Convention this);
Convention_nativePtr— This Convention Native Ptr.
NativeType
Convention_nativePtr(Convention this);