ida.pelab.cgn.ccode
Class CCodeGenerator
java.lang.Object
ida.pelab.cgn.ccode.CCodeGenerator
- All Implemented Interfaces:
- ICodeGenerator
public class CCodeGenerator
- extends java.lang.Object
- implements ICodeGenerator
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CCodeGenerator
public CCodeGenerator()
generateCode
public CGNAnnotation generateCode(MatchedInstance instance)
- Specified by:
generateCode
in interface ICodeGenerator
runExtraOperation
public void runExtraOperation(cetus.hir.Traversable irTreeRoot)
- Description copied from interface:
ICodeGenerator
- This function can be used to implement the extra operations that should be applied to the IR based on the target architecture.
- Specified by:
runExtraOperation
in interface ICodeGenerator
setPlatform
public void setPlatform(CcodePlatform platform)
getPlatform
public CcodePlatform getPlatform()
hideCode
public boolean hideCode()
- Specified by:
hideCode
in interface ICodeGenerator
getLevel
public PatternLevel getLevel()
- Specified by:
getLevel
in interface ICodeGenerator