LLVM 20.0.0git
Public Member Functions | List of all members
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 42 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 48 of file LoopInfo.h.

◆ LocRange() [3/3]

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

Definition at line 49 of file LoopInfo.h.

Member Function Documentation

◆ getEnd()

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

Definition at line 53 of file LoopInfo.h.

References End.

◆ getStart()

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

Definition at line 52 of file LoopInfo.h.

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

◆ operator bool()

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

Check for null.

Definition at line 57 of file LoopInfo.h.

References End.


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