clang 20.0.0git
|
This is a common base class for loop directives ('omp simd', 'omp for', 'omp for simd' etc.). More...
#include "clang/AST/StmtOpenMP.h"
Public Member Functions | |
Expr * | getIterationVariable () const |
Expr * | getLastIteration () const |
Expr * | getCalcLastIteration () const |
Expr * | getPreCond () const |
Expr * | getCond () const |
Expr * | getInit () const |
Expr * | getInc () const |
const Stmt * | getPreInits () const |
Stmt * | getPreInits () |
Expr * | getIsLastIterVariable () const |
Expr * | getLowerBoundVariable () const |
Expr * | getUpperBoundVariable () const |
Expr * | getStrideVariable () const |
Expr * | getEnsureUpperBound () const |
Expr * | getNextLowerBound () const |
Expr * | getNextUpperBound () const |
Expr * | getNumIterations () const |
Expr * | getPrevLowerBoundVariable () const |
Expr * | getPrevUpperBoundVariable () const |
Expr * | getDistInc () const |
Expr * | getPrevEnsureUpperBound () const |
Expr * | getCombinedLowerBoundVariable () const |
Expr * | getCombinedUpperBoundVariable () const |
Expr * | getCombinedEnsureUpperBound () const |
Expr * | getCombinedInit () const |
Expr * | getCombinedCond () const |
Expr * | getCombinedNextLowerBound () const |
Expr * | getCombinedNextUpperBound () const |
Expr * | getCombinedDistCond () const |
Expr * | getCombinedParForInDistCond () const |
Stmt * | getBody () |
const Stmt * | getBody () const |
ArrayRef< Expr * > | counters () |
ArrayRef< Expr * > | counters () const |
ArrayRef< Expr * > | private_counters () |
ArrayRef< Expr * > | private_counters () const |
ArrayRef< Expr * > | inits () |
ArrayRef< Expr * > | inits () const |
ArrayRef< Expr * > | updates () |
ArrayRef< Expr * > | updates () const |
ArrayRef< Expr * > | finals () |
ArrayRef< Expr * > | finals () const |
ArrayRef< Expr * > | dependent_counters () |
ArrayRef< Expr * > | dependent_counters () const |
ArrayRef< Expr * > | dependent_inits () |
ArrayRef< Expr * > | dependent_inits () const |
ArrayRef< Expr * > | finals_conditions () |
ArrayRef< Expr * > | finals_conditions () const |
![]() | |
unsigned | getLoopsNumber () const |
Get number of collapsed loops. | |
![]() | |
template<typename SpecificClause > | |
llvm::iterator_range< specific_clause_iterator< SpecificClause > > | getClausesOfKind () const |
template<typename SpecificClause > | |
const SpecificClause * | getSingleClause () const |
template<typename SpecificClause > | |
bool | hasClausesOfKind () const |
Returns true if the current directive has one or more clauses of a specific kind. | |
SourceLocation | getBeginLoc () const |
Returns starting location of directive kind. | |
SourceLocation | getEndLoc () const |
Returns ending location of directive. | |
void | setLocStart (SourceLocation Loc) |
Set starting location of directive kind. | |
void | setLocEnd (SourceLocation Loc) |
Set ending location of directive. | |
unsigned | getNumClauses () const |
Get number of clauses. | |
OMPClause * | getClause (unsigned I) const |
Returns specified clause. | |
bool | hasAssociatedStmt () const |
Returns true if directive has associated statement. | |
const Stmt * | getAssociatedStmt () const |
Returns statement associated with the directive. | |
Stmt * | getAssociatedStmt () |
const CapturedStmt * | getCapturedStmt (OpenMPDirectiveKind RegionKind) const |
Returns the captured statement associated with the component region within the (combined) directive. | |
CapturedStmt * | getInnermostCapturedStmt () |
Get innermost captured statement for the construct. | |
const CapturedStmt * | getInnermostCapturedStmt () const |
OpenMPDirectiveKind | getDirectiveKind () const |
child_range | children () |
const_child_range | children () const |
ArrayRef< OMPClause * > | clauses () const |
bool | isStandaloneDirective () const |
Returns whether or not this is a Standalone directive. | |
const Stmt * | getStructuredBlock () const |
Returns the AST node representing OpenMP structured-block of this OpenMP executable directive, Prerequisite: Executable Directive must not be Standalone directive. | |
Stmt * | getStructuredBlock () |
const Stmt * | getRawStmt () const |
Stmt * | getRawStmt () |
![]() | |
void * | operator new (size_t bytes, const ASTContext &C, unsigned alignment=8) |
void * | operator new (size_t bytes, const ASTContext *C, unsigned alignment=8) |
void * | operator new (size_t bytes, void *mem) noexcept |
void | operator delete (void *, const ASTContext &, unsigned) noexcept |
void | operator delete (void *, const ASTContext *, unsigned) noexcept |
void | operator delete (void *, size_t) noexcept |
void | operator delete (void *, void *) noexcept |
Stmt ()=delete | |
Stmt (const Stmt &)=delete | |
Stmt (Stmt &&)=delete | |
Stmt & | operator= (const Stmt &)=delete |
Stmt & | operator= (Stmt &&)=delete |
Stmt (StmtClass SC) | |
StmtClass | getStmtClass () const |
const char * | getStmtClassName () const |
SourceRange | getSourceRange () const LLVM_READONLY |
SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager. | |
SourceLocation | getBeginLoc () const LLVM_READONLY |
SourceLocation | getEndLoc () const LLVM_READONLY |
void | dump () const |
Dumps the specified AST fragment and all subtrees to llvm::errs() . | |
void | dump (raw_ostream &OS, const ASTContext &Context) const |
int64_t | getID (const ASTContext &Context) const |
void | dumpColor () const |
dumpColor - same as dump(), but forces color highlighting. | |
void | dumpPretty (const ASTContext &Context) const |
dumpPretty/printPretty - These two methods do a "pretty print" of the AST back to its original source language syntax. | |
void | printPretty (raw_ostream &OS, PrinterHelper *Helper, const PrintingPolicy &Policy, unsigned Indentation=0, StringRef NewlineSymbol="\n", const ASTContext *Context=nullptr) const |
void | printPrettyControlled (raw_ostream &OS, PrinterHelper *Helper, const PrintingPolicy &Policy, unsigned Indentation=0, StringRef NewlineSymbol="\n", const ASTContext *Context=nullptr) const |
void | printJson (raw_ostream &Out, PrinterHelper *Helper, const PrintingPolicy &Policy, bool AddQuotes) const |
Pretty-prints in JSON format. | |
void | viewAST () const |
viewAST - Visualize an AST rooted at this Stmt* using GraphViz. | |
Stmt * | IgnoreContainers (bool IgnoreCaptured=false) |
Skip no-op (attributed, compound) container stmts and skip captured stmt at the top, if IgnoreCaptured is true. | |
const |