Package | Description |
---|---|
claw.tatsu.directive.common | |
claw.tatsu.primitive | |
claw.tatsu.xcodeml.xnode.common | |
claw.tatsu.xcodeml.xnode.fortran |
Modifier and Type | Method and Description |
---|---|
static int |
Directive.generateLoopSeq(XcodeProgram xcodeml,
FfunctionDefinition fctDef,
java.lang.String noDependencyDirective)
Generate loop seq directives on the top of loops in the given function
definition.
|
static void |
Directive.generateRoutineDirectives(XcodeProgram xcodeml,
FfunctionDefinition fctDef)
Generate all corresponding pragmas to be applied to an accelerated
function/subroutine.
|
static java.util.List<java.lang.String> |
Directive.getLocalArrays(XcodeProgram xcodeml,
FfunctionDefinition fctDef)
Get all the local variables in the function definition.
|
static java.util.List<java.lang.String> |
Directive.getLocalVariables(XcodeProgram xcodeml,
FfunctionDefinition fctDef)
Get all the local variables in the function definition.
|
static java.util.List<java.lang.String> |
Directive.getPresentVariables(XcodeProgram xcodeml,
FfunctionDefinition fctDef)
Get all the function variables that are input/output parameters.
|
Modifier and Type | Method and Description |
---|---|
static void |
Field.adaptScalarRefToArrayRef(java.lang.String identifier,
FfunctionDefinition fctDef,
java.util.List<DimensionDefinition> dims,
XcodeML xcodeml)
Adapt all the array references of the variable in the data clause in the
current function/subroutine definition.
|
static Xnode |
Function.findDecl(FfunctionDefinition fctDef,
java.lang.String name)
Find the declaration element in the current function definition or in
parent if nested.
|
static Xid |
Function.findId(FfunctionDefinition fctDef,
java.lang.String name)
Find the id element in the current function definition or in parent
function definition if nested.
|
static java.util.List<AssignStatement> |
Function.gatherAssignStatements(FfunctionDefinition fctDef)
Gather all assignment statements in the function definition.
|
static void |
Field.promote(PromotionInfo fieldInfo,
FfunctionDefinition fctDef,
XcodeProgram xcodeml)
Promote a field with the information stored in the defined dimensions.
|
static void |
Field.reshape(FfunctionDefinition fctDef,
ReshapeInfo reshapeInfo,
XcodeProgram xcodeml)
Reshape field in function definition.
|
static void |
Xmod.updateSignature(java.lang.String moduleName,
XcodeProgram xcodeml,
FfunctionDefinition fctDef,
FfunctionType fctType,
boolean importFctType)
Update the function signature in the module file to reflects local changes.
|
Modifier and Type | Method and Description |
---|---|
FfunctionDefinition |
Xnode.findParentFunction()
Find function definition in the ancestor of the current node.
|
FfunctionDefinition |
XglobalDeclTable.getFunctionDefinition(java.lang.String fctName)
Retrieve function definition in the current declaration table or
recursively in the modules' declaration tables.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<FfunctionDefinition> |
XcodeML.getAllFctDef()
Retrieve all function definitions in the XcodeProgram unit.
|
Modifier and Type | Method and Description |
---|---|
void |
XdeclTable.checkOrder(FfunctionDefinition fct)
Check if the order of declaration makes sense.
|
void |
XcodeML.createIdAndDecl(java.lang.String name,
FortranType type,
XstorageClass sclass,
FfunctionDefinition fctDef,
DeclarationPosition declPos)
Create the id and varDecl nodes and add them to the symbol/declaration
table.
|
void |
XcodeML.createIdAndDecl(java.lang.String name,
java.lang.String type,
XstorageClass sclass,
FfunctionDefinition fctDef,
DeclarationPosition declPos)
Create the id and varDecl nodes and add them to the symbol/declaration
table.
|
Modifier and Type | Method and Description |
---|---|
FfunctionDefinition |
FfunctionDefinition.cloneNode()
Create an identical copy of the current function definition.
|
FfunctionDefinition |
FmoduleDefinition.getFunctionDefinition(java.lang.String name)
Retrieve a function definition in a module definition based on its name.
|