public class FarrayType extends Xtype
Xtype.TypeInfo
ARRAY, BASIC, bind, bind_name, boolType, charType, copied, coshape, doubleComplexType, doubleType, ENUM, F_ARRAY, F_COARRAY, FcharacterType, FcharacterWithLenType, FcomplexType, FexternalIntFunctionType, FexternalLogicalFunctionType, FexternalSubroutineType, Fint4Type, Fint8Type, FintFunctionType, FintType, floatComplexType, floatType, FlogicalFunctionType, FlogicalType, FnumericalAllFunctionType, FnumericAllType, FnumericType, FrealType, FsubroutineType, fTypeParamValues, FuintPtrType, FUNCTION, FvoidType, gccBuiltinVaListType, indvarPtrType, indvarType, intType, is_coarray, longDoubleComplexType, longdoubleType, longlongType, longType, POINTER, shortType, stringType, STRUCT, tag, TQ_ARRAY_STATIC, TQ_CONST, TQ_FABSTRACT, TQ_FALLOCATABLE, TQ_FASYNCHRONOUS, TQ_FCLASS, TQ_FCONTIGUOUS, TQ_FCRAY_POINTER, TQ_FDEFERRED, TQ_FELEMENTAL, TQ_FEXTERNAL, TQ_FIMPURE, TQ_FINTENT_IN, TQ_FINTENT_INOUT, TQ_FINTENT_OUT, TQ_FINTERNAL, TQ_FINTERNAL_PRIVATE, TQ_FINTRINSIC, TQ_FMODULE, TQ_FOPTIONAL, TQ_FPARAMETER, TQ_FPOINTER, TQ_FPRIVATE, TQ_FPROCEDURE, TQ_FPROGRAM, TQ_FPROTECTED, TQ_FPUBLIC, TQ_FPURE, TQ_FRECURSIVE, TQ_FSAVE, TQ_FSEQUENCE, TQ_FTARGET, TQ_FUNC_STATIC, TQ_FVALUE, TQ_FVOLATILE, TQ_GLOBAL, TQ_INLINE, TQ_LOCAL, TQ_RESTRICT, TQ_VOLATILE, type_infos, UNDEF, UNION, unsignedcharType, unsignedlonglongType, unsignedlongType, unsignedshortType, unsignedType, voidPtrType, voidType, XMP_CO_ARRAY
Constructor and Description |
---|
FarrayType(java.lang.String id,
Xtype ref,
long typeQualFlags,
Xobject[] sizeExprs) |
FarrayType(java.lang.String id,
Xtype ref,
long typeQualFlags,
Xobject[] sizeExprs,
Xobject[] codimensions)
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
convertFindexRange(boolean extendsLowerBound,
boolean extendsUpperBound,
Block b)
Fortran: convert Fortran array size
|
void |
convertToAssumedShape()
convert to assumed shape array.
|
Xtype |
copy(java.lang.String id)
create copy
|
Xtype |
getBaseRefType()
get copy source
|
int |
getElementLength(Block block)
Fortran: get Fortran type element length (bytes) in integer
|
Xobject |
getElementLengthExpr(Block block)
Fortran: get Fortran type element length (bytes) in Expr
|
Xobject |
getExtent(int i,
Block block) |
Xobject[] |
getExtents(Block block) |
Xobject[] |
getFarraySizeExpr()
Fortarn: get Fortran array size expressions
|
FindexRange |
getFindexRange() |
FindexRange |
getFindexRange(Block block) |
Xobject |
getLbound(int i,
Block block) |
Xobject[] |
getLbounds(Block block) |
int |
getNumDimensions()
get number of array dimensions
|
Xtype |
getRef()
set get type
|
Xobject |
getSizeFromIndexRange(Xobject range,
Block block) |
Xobject |
getSizeFromLbUb(int i,
Xobject lb,
Xobject ub,
Block block) |
Xobject |
getSizeFromLbUb(Xobject lb,
Xobject ub,
Block block) |
Xobject |
getSizeFromTriplet(int i,
Xobject i1,
Xobject i2,
Xobject i3,
Block block) |
Xobject |
getSizeFromTriplet(Xobject i1,
Xobject i2,
Xobject i3,
Block block) |
Xobject |
getTotalArraySizeExpr(Block block)
Fortran: get Fortran array size or 1 for scalar
|
Xobject |
getUbound(int i,
Block block) |
Xobject[] |
getUbounds(Block block) |
boolean |
isFassumedShape()
Fortran: return if is assumed shape array
|
boolean |
isFassumedSize()
Fortran: return if is assumed size array
|
boolean |
isFfixedShape()
Fortran: return if is fixed size array
|
void |
setFarraySizeExpr(Xobject[] sizeExprs) |
void |
setRef(Xtype ref)
set reference type
|
Array, Array, assign, copy, copyCodimensions, equals, Farray, Function, generateId, getArrayAdjSize, getArrayDim, getArrayElementType, getArraySize, getArraySizeExpr, getBasicType, getBind, getBindName, getCodimensions, getCorank, getFkind, getFlen, getFTypeParamValues, getFuncParam, getFuncResultName, getGccAttributes, getKind, getKindName, getMemberList, getMemberType, getMoeList, getOriginal, getPass, getPassArgName, getProcList, getTagIdent, getTagName, getTypeQualFlags, getXcodeCId, getXcodeFId, hideCodimensions, Id, inherit, isArray, isArrayStatic, isBasic, isBool, isCoarray, isComplexOrImaginary, isConst, isEnum, isExtended, isFabstract, isFallocatable, isFarray, isFasynchronous, isFcharacter, isFclass, isFcontiguous, isFcrayPointer, isFdeferred, isFelemental, isFexternal, isFimpure, isFintentIN, isFintentINOUT, isFintentOUT, isFinternal, isFinternalPrivate, isFintrinsic, isFlenAssumedShape, isFlenAssumedSize, isFlenVariable, isFloating, isFmodule, isFoptional, isFparameter, isFpointer, isFprivate, isFprocedure, isFprogram, isFprotected, isFpublic, isFpure, isFrecursive, isFsave, isFsequence, isFsubroutine, isFtarget, isFuncProto, isFuncStatic, isFunction, isFvalue, isFvolatile, isGlobal, isInline, isIntegral, isNoArraySize, isNumeric, isPointer, isQualified, isRestrict, isStruct, isUnion, isUnsigned, isVariableArray, isVoid, isVolatile, Pointer, Pointer, removeCodimensions, setBind, setBindName, setCodimensions, setFTypeParamValues, setFuncResultName, setGccAttributes, setIsArrayStatic, setIsCoarray, setIsConst, setIsFabstract, setIsFallocatable, setIsFasynchronous, setIsFclass, setIsFcontiguous, setIsFcrayPointer, setIsFdeferred, setIsFelemental, setIsFexternal, setIsFimpure, setIsFintentIN, setIsFintentINOUT, setIsFintentOUT, setIsFinternal, setIsFinternalPrivate, setIsFintrinsic, setIsFmodule, setIsFoptional, setIsFparameter, setIsFpointer, setIsFprivate, setIsFprocedure, setIsFprogram, setIsFprotected, setIsFpublic, setIsFpure, setIsFrecursive, setIsFsave, setIsFsequence, setIsFtarget, setIsFuncStatic, setIsFvalue, setIsGlobal, setIsInline, setIsRestrict, setIsVoaltile, setKind, setPass, setPassArgName, setTagIdent, setTypeQualFlags, toString, unsetIsFsave, unsetIsFtarget, VoidPtrOrFuintPtr, wasCoarray
public FarrayType(java.lang.String id, Xtype ref, long typeQualFlags, Xobject[] sizeExprs, Xobject[] codimensions)
public Xobject[] getFarraySizeExpr()
Xtype
getFarraySizeExpr
in class Xtype
public void setFarraySizeExpr(Xobject[] sizeExprs)
public Xobject getTotalArraySizeExpr(Block block)
Xtype
getTotalArraySizeExpr
in class Xtype
public FindexRange getFindexRange()
public FindexRange getFindexRange(Block block)
public Xobject getSizeFromTriplet(int i, Xobject i1, Xobject i2, Xobject i3, Block block)
public Xobject getSizeFromTriplet(Xobject i1, Xobject i2, Xobject i3, Block block)
public Xobject getElementLengthExpr(Block block)
Xtype
getElementLengthExpr
in class Xtype
public int getElementLength(Block block)
Xtype
getElementLength
in class Xtype
public void convertFindexRange(boolean extendsLowerBound, boolean extendsUpperBound, Block b)
Xtype
convertFindexRange
in class Xtype
public void convertToAssumedShape()
convertToAssumedShape
in class Xtype
public boolean isFassumedSize()
Xtype
isFassumedSize
in class Xtype
public boolean isFassumedShape()
Xtype
isFassumedShape
in class Xtype
public boolean isFfixedShape()
Xtype
isFfixedShape
in class Xtype
public int getNumDimensions()
Xtype
getNumDimensions
in class Xtype
public Xtype getBaseRefType()
Xtype
getBaseRefType
in class Xtype