Modifier and Type | Method and Description |
---|---|
void |
Translator.addTransformation(XcodeProgram xcodeml,
Transformation t)
Add a transformation to the translator.
|
void |
Translator.finalize(XcodeProgram xcodeml)
Perform last tasks before applying transformations.
|
void |
Translator.generateTransformation(XcodeProgram xcodeml,
Xnode pragma)
Generate transformation according to the pragma.
|
Modifier and Type | Method and Description |
---|---|
static void |
Body.append(Xnode masterBody,
Xnode slaveBody)
Append the slave body to the master body.
|
static void |
Field.demote(Xnode arrayRef,
java.util.List<java.lang.Integer> keptDimensions)
Demote an array reference to a reference with fewer dimensions.
|
static void |
Field.demoteToScalar(Xnode arrayRef)
Demote an array reference to a var reference.
|
static java.lang.String |
Type.duplicateWithDimension(FbasicType base,
FbasicType toUpdate,
XcodeML xcodemlSrc,
XcodeML xcodemlDst,
java.util.List<DimensionDefinition> dimensions)
Duplicates the type to update and add extra dimensions to match the base
type.
|
static void |
Loop.extractBody(NestedDoStatement nest)
Extract the body of the inner do statement and place it directly after the
outer do statement.
|
static void |
Loop.extractBody(Xnode loop)
Extract the body of a do statement and place it directly after it.
|
static void |
Loop.extractBody(Xnode loop,
Xnode ref)
Extract the body of a do statement and place it after the reference node.
|
static HoistedNestedDoStatement |
Loop.hoist(java.util.List<HoistedNestedDoStatement> hoistedGroups,
Xnode start,
Xnode end,
XcodeML xcodeml)
Perform a loop hoisting on the given nested do statements.
|
static boolean |
Body.isEmpty(Xnode body)
Check whether a body is empty.
|
static void |
Loop.merge(NestedDoStatement master,
NestedDoStatement slave)
Merge two nested do statements group together.
|
static void |
Loop.merge(Xnode masterDoStmt,
Xnode slaveDoStmt)
Merge two do statements together.
|
static void |
Field.promote(PromotionInfo fieldInfo,
FfunctionDefinition fctDef,
XcodeProgram xcodeml)
Promote a field with the information stored in the defined dimensions.
|
static void |
Loop.reorder(NestedDoStatement nestedGroup,
java.util.List<java.lang.String> newInductionVarOrder)
Perform a do statements reordering based on the new order specified by
induction variables.
|
static void |
Field.reshape(FfunctionDefinition fctDef,
ReshapeInfo reshapeInfo,
XcodeProgram xcodeml)
Reshape field in function definition.
|
static void |
Body.shiftIn(Xnode from,
Xnode until,
Xnode targetBody,
boolean included)
Shift all statements from the first siblings of the "from" element until
the "until" element if "included" is true.
|
static void |
Pragma.splitByCont(Xnode pragma,
java.lang.String prefix,
XcodeProgram xcodeml)
Split the line by its previous continuation mark.
|
static void |
Pragma.splitByLength(Xnode pragma,
XcodeProgram xcodeml,
java.lang.String prefix)
Split the line by its length and add continuation symbols.
|
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 |
---|---|
void |
ModuleCache.write(int ident)
Write all modules in the cache to files.
|
Modifier and Type | Method and Description |
---|---|
Xnode |
XcodeML.importConstOrVar(Xnode base,
XcodeML xcodemlSrc)
Create a copy of a variable element or an integer constant from a XcodeML
unit to this unit.
|
void |
XcodeML.write(java.lang.String outputFile,
int indent)
Write the XcodeML to file or std out
|
Modifier and Type | Method and Description |
---|---|
void |
OpenAccContinuation.transform(XcodeProgram xcodeml,
Translator translator,
Transformation transformation)
Apply the OpenACC continuation transformation.
|
Modifier and Type | Method and Description |
---|---|
void |
DirectivePrimitive.transform(XcodeProgram xcodeml,
Translator translator,
Transformation transformation)
Apply the directive primitive transformation.
|
Modifier and Type | Method and Description |
---|---|
void |
LoopInterchange.transform(XcodeProgram xcodeml,
Translator translator,
Transformation transformation)
Apply the transformation.
|
void |
LoopFusion.transform(XcodeProgram xcodeml,
Translator translator,
Transformation transformation)
Apply the loop fusion transformation.
|
Modifier and Type | Method and Description |
---|---|
void |
UtilityRemove.transform(XcodeProgram xcodeml,
Translator translator,
Transformation transformation)
Delete the corresponding elements.
|
Modifier and Type | Method and Description |
---|---|
void |
ClawTranslator.addTransformation(XcodeProgram xcodeml,
Transformation t)
Add transformation in the correct group.
|
void |
ClawTranslator.finalize(XcodeProgram xcodeml) |
void |
ClawTranslatorDriver.flush()
Flush all information stored in the translator.
|
void |
ClawTranslator.generateAdditionalTransformation(ClawPragma claw,
XcodeProgram xcodeml,
Xnode stmt)
Generate corresponding additional transformation according to optional
clauses given to the directive.
|
void |
ClawTranslator.generateTransformation(XcodeProgram xcodeml,
Xnode pragma) |