clang: clang::OMPLoopRangeClause Class Reference (original) (raw)

This class represents the 'looprange' clause in the '#pragma omp fuse' directive. More...

#include "[clang/AST/OpenMPClause.h](OpenMPClause%5F8h%5Fsource.html)"

Public Member Functions
SourceLocation getLParenLoc () const
SourceLocation getFirstLoc () const
SourceLocation getCountLoc () const
void setLParenLoc (SourceLocation Loc)
void setFirstLoc (SourceLocation Loc)
void setCountLoc (SourceLocation Loc)
Expr * getFirst () const
Get looprange 'first' expression.
Expr * getCount () const
Get looprange 'count' expression.
child_range children ()
const_child_range children () const
child_range used_children ()
const_child_range used_children () const
Public Member Functions inherited from clang::OMPClause
SourceLocation getBeginLoc () const
Returns the starting location of the clause.
SourceLocation getEndLoc () const
Returns the ending location of the clause.
void setLocStart (SourceLocation Loc)
Sets the starting location of the clause.
void setLocEnd (SourceLocation Loc)
Sets the ending location of the clause.
OpenMPClauseKind getClauseKind () const
Returns kind of OpenMP clause (private, shared, reduction, etc.).
bool isImplicit () const
child_range children ()
const_child_range children () const
child_range used_children ()
Get the iterator range for the expressions used in the clauses.
const_child_range used_children () const
Static Public Member Functions
static OMPLoopRangeClause * Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation FirstLoc, SourceLocation CountLoc, SourceLocation EndLoc, Expr *First, Expr *Count)
Build a 'looprange' clause AST node.
static OMPLoopRangeClause * CreateEmpty (const ASTContext &C)
Build an empty 'looprange' clause node.
static bool classof (const OMPClause *T)
Static Public Member Functions inherited from clang::OMPClause
static bool classof (const OMPClause *)
Friends
class OMPClauseReader
Additional Inherited Members
Public Types inherited from clang::OMPClause
using child_iterator = StmtIterator
using const_child_iterator = ConstStmtIterator
using child_range = llvm::iterator_range<child_iterator>
using const_child_range = llvm::iterator_range<const_child_iterator>
Protected Member Functions inherited from clang::OMPClause
OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc)

This class represents the 'looprange' clause in the '#pragma omp fuse' directive.

#pragma omp fuse looprange(1,2)

{

for(int i = 0; i < 64; ++i)

for(int j = 0; j < 256; j+=2)

for(int k = 127; k >= 0; --k)

Definition at line 1153 of file OpenMPClause.h.

children() [1/2]

child_range clang::OMPLoopRangeClause::children ( ) inline

children() [2/2]

classof()

bool clang::OMPLoopRangeClause::classof ( const OMPClause * T) inlinestatic

Create()

CreateEmpty()

getCount()

Expr * clang::OMPLoopRangeClause::getCount ( ) const inline

getCountLoc()

SourceLocation clang::OMPLoopRangeClause::getCountLoc ( ) const inline

getFirst()

Expr * clang::OMPLoopRangeClause::getFirst ( ) const inline

getFirstLoc()

SourceLocation clang::OMPLoopRangeClause::getFirstLoc ( ) const inline

getLParenLoc()

SourceLocation clang::OMPLoopRangeClause::getLParenLoc ( ) const inline

setCountLoc()

void clang::OMPLoopRangeClause::setCountLoc ( SourceLocation Loc) inline

setFirstLoc()

void clang::OMPLoopRangeClause::setFirstLoc ( SourceLocation Loc) inline

setLParenLoc()

void clang::OMPLoopRangeClause::setLParenLoc ( SourceLocation Loc) inline

used_children() [1/2]

child_range clang::OMPLoopRangeClause::used_children ( ) inline

used_children() [2/2]

OMPClauseReader


The documentation for this class was generated from the following files: