clang  6.0.0svn
Public Member Functions | List of all members
clang::CodeGen::LoopInfo Class Reference

Information used when generating a structured loop. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/CodeGen/CGLoopInfo.h"

Public Member Functions

 LoopInfo (llvm::BasicBlock *Header, const LoopAttributes &Attrs, const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc)
 Construct a new LoopInfo for the loop with entry Header. More...
 
llvm::MDNode * getLoopID () const
 Get the loop id metadata for this loop. More...
 
llvm::BasicBlock * getHeader () const
 Get the header block of this loop. More...
 
const LoopAttributesgetAttributes () const
 Get the set of attributes active for this loop. More...
 

Detailed Description

Information used when generating a structured loop.

Definition at line 66 of file CGLoopInfo.h.

Constructor & Destructor Documentation

◆ LoopInfo()

LoopInfo::LoopInfo ( llvm::BasicBlock *  Header,
const LoopAttributes Attrs,
const llvm::DebugLoc &  StartLoc,
const llvm::DebugLoc &  EndLoc 
)

Member Function Documentation

◆ getAttributes()

const LoopAttributes& clang::CodeGen::LoopInfo::getAttributes ( ) const
inline

Get the set of attributes active for this loop.

Definition at line 79 of file CGLoopInfo.h.

◆ getHeader()

llvm::BasicBlock* clang::CodeGen::LoopInfo::getHeader ( ) const
inline

Get the header block of this loop.

Definition at line 76 of file CGLoopInfo.h.

◆ getLoopID()

llvm::MDNode* clang::CodeGen::LoopInfo::getLoopID ( ) const
inline

Get the loop id metadata for this loop.

Definition at line 73 of file CGLoopInfo.h.


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