- All Superinterfaces:
ASTNode,BlockItemNode,OmpExecutableNode,OmpNode,OmpSyncNode,StatementNode
This represents an OpenMP atomic construct, which has the syntax:
#pragma omp atomic [seq_cst][read | write | update][seq_cst] new-line expression-stmtor
#pragma omp atomic capture [seq_cst] new-line structured-block
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.ASTNode
ASTNode.NodeKindNested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.statement.BlockItemNode
BlockItemNode.BlockItemKindNested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.omp.OmpExecutableNode
OmpExecutableNode.OmpExecutableKindNested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.omp.OmpNode
OmpNode.OmpNodeKindNested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.omp.OmpSyncNode
OmpSyncNode.OmpSyncNodeKindNested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.statement.StatementNode
StatementNode.StatementKind -
Method Summary
Modifier and TypeMethodDescriptionReturns the atomic clause of this OpenMP atomic construct, whether it is READ, WRITE, UPDATE or CAPTUREbooleanis this atomic construct sequentially consistent ?Methods inherited from interface dev.civl.abc.ast.node.IF.ASTNode
addAllTransformAnnotations, addTransformAnnotation, child, childIndex, children, diff, equiv, getAttribute, getOwner, getScope, getSource, id, keepOnly, nextDFS, nodeKind, numChildren, parent, prettyPrint, prettyRepresentation, prettyRepresentation, print, remove, removeChild, removeTransformAnnotation, setAttribute, setChild, setId, setOwner, setScope, toString, transformAnnotationsMethods inherited from interface dev.civl.abc.ast.node.IF.statement.BlockItemNode
blockItemKindMethods inherited from interface dev.civl.abc.ast.node.IF.omp.OmpExecutableNode
copyinList, copyprivateList, firstprivateList, isComplete, lastprivateList, nowait, ompExecutableKind, privateList, reductionList, setCopyinList, setCopyprivateList, setFirstprivateList, setLastprivateList, setNowait, setPrivateList, setReductionList, setSharedList, setStatementNode, sharedList, statementNodeMethods inherited from interface dev.civl.abc.ast.node.IF.omp.OmpNode
ompNodeKindMethods inherited from interface dev.civl.abc.ast.node.IF.omp.OmpSyncNode
criticalName, flushedList, ompSyncNodeKind, setCriticalName, setFlushedListMethods inherited from interface dev.civl.abc.ast.node.IF.statement.StatementNode
copy, statementKind
-
Method Details
-
atomicClause
OmpAtomicNode.OmpAtomicClause atomicClause()Returns the atomic clause of this OpenMP atomic construct, whether it is READ, WRITE, UPDATE or CAPTURE- Returns:
- the atomic clause of this OpenMP atomic construct
-
seqConsistent
boolean seqConsistent()is this atomic construct sequentially consistent ?- Returns:
- true iff this atomic construct is sequentially consistent
-