LLVM 22.0.0git
llvm::Loop::LocRange Class Reference

A range representing the start and end location of a loop. More...

#include "llvm/Analysis/LoopInfo.h"

Public Member Functions

 LocRange ()=default
 LocRange (DebugLoc Start)
 LocRange (DebugLoc Start, DebugLoc End)
const DebugLocgetStart () const
const DebugLocgetEnd () const
 operator bool () const
 Check for null.

Detailed Description

A range representing the start and end location of a loop.

Definition at line 43 of file LoopInfo.h.

Constructor & Destructor Documentation

◆ LocRange() [1/3]

llvm::Loop::LocRange::LocRange ( )
default

◆ LocRange() [2/3]

llvm::Loop::LocRange::LocRange ( DebugLoc Start)
inline

Definition at line 49 of file LoopInfo.h.

◆ LocRange() [3/3]

llvm::Loop::LocRange::LocRange ( DebugLoc Start,
DebugLoc End )
inline

Definition at line 50 of file LoopInfo.h.

References llvm::move().

Member Function Documentation

◆ getEnd()

const DebugLoc & llvm::Loop::LocRange::getEnd ( ) const
inline

Definition at line 54 of file LoopInfo.h.

◆ getStart()

const DebugLoc & llvm::Loop::LocRange::getStart ( ) const
inline

Definition at line 53 of file LoopInfo.h.

Referenced by llvm::Loop::getStartLoc().

◆ operator bool()

llvm::Loop::LocRange::operator bool ( ) const
inlineexplicit

Check for null.

Definition at line 58 of file LoopInfo.h.


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