coins.backend.gen
Class CodeGenerator_x86_64.X86_64Attr

java.lang.Object
  extended bycoins.backend.gen.CodeGenerator.FunctionAttr
      extended bycoins.backend.gen.CodeGenerator_x86_64.X86_64Attr
Enclosing class:
CodeGenerator_x86_64

static class CodeGenerator_x86_64.X86_64Attr
extends CodeGenerator.FunctionAttr

X86_64's function attribute


Field Summary
(package private)  boolean allocaCalled
          alloca called in it
(package private)  Function func
          Parent object.
(package private)  boolean isRecursive
           
(package private)  boolean isVarArg
          True if this is variable argument function.
(package private)  LirNode lastArg
           
(package private)  LirNode lastArg0
           
(package private)  int numberOfCALLs
           
(package private)  int paramFcount
           
(package private)  int paramIcount
           
(package private)  boolean rbpUsed
           
(package private)  int requiredStack
          Stack space required for call
(package private)  LirNode retPtr
          Pointer to value returned (if the function returns struct)
(package private)  int stackParamOffset
          Offset of the first non-register parameter (i.e.
(package private)  int stackParams
           
(package private)  int stackRequired
          Maximum stack space used by call.
(package private)  boolean varArgFunction
           
 
Constructor Summary
(package private) CodeGenerator_x86_64.X86_64Attr(Function func)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stackRequired

int stackRequired
Maximum stack space used by call.


allocaCalled

boolean allocaCalled
alloca called in it


varArgFunction

boolean varArgFunction

lastArg0

LirNode lastArg0

lastArg

LirNode lastArg

rbpUsed

boolean rbpUsed

numberOfCALLs

int numberOfCALLs

stackParams

int stackParams

paramIcount

int paramIcount

paramFcount

int paramFcount

isRecursive

boolean isRecursive

func

Function func
Parent object.


requiredStack

int requiredStack
Stack space required for call


isVarArg

boolean isVarArg
True if this is variable argument function.


retPtr

LirNode retPtr
Pointer to value returned (if the function returns struct)


stackParamOffset

int stackParamOffset
Offset of the first non-register parameter (i.e. on stack)

Constructor Detail

CodeGenerator_x86_64.X86_64Attr

CodeGenerator_x86_64.X86_64Attr(Function func)