Module dev.civl.abc
Package dev.civl.abc.ast.node.IF.omp
Enum Class OmpReductionNode.OmpReductionOperator
java.lang.Object
java.lang.Enum<OmpReductionNode.OmpReductionOperator>
dev.civl.abc.ast.node.IF.omp.OmpReductionNode.OmpReductionOperator
- All Implemented Interfaces:
Serializable,Comparable<OmpReductionNode.OmpReductionOperator>,Constable
- Enclosing interface:
OmpReductionNode
public static enum OmpReductionNode.OmpReductionOperator
extends Enum<OmpReductionNode.OmpReductionOperator>
The kind of this reduction operator, all (SUM, MINUS, MULTIPLY, MAX, MINBAND,
BOR, BXOR, LAND, LOR, UDEF) except for "UDEF" are OpenMP built-in operators
according to OpenMP Standard ver.4.5
(https://www.openmp.org/wp-content/uploads/openmp-4.5.pdf).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
MAX
-
MIN
-
SUM
-
MINUS
-
PROD
-
BAND
-
BOR
-
BXOR
-
LAND
-
LOR
-
EQV
-
NEQ
-
UDEF
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
civlOp
public int civlOp()- Returns:
- the integer representing the corresponding CIVL Operator
-