LLVM 24.0.0git
llvm::TargetPassConfig::StartStopInfo Struct Reference

#include "llvm/CodeGen/TargetPassConfig.h"

Public Member Functions

bool isLimited () const
 Returns true if a start or stop pass is set.
LLVM_ABI std::string getLimitReason () const
 Returns the names of the options that set the start and stop passes.

Public Attributes

bool StartAfter
bool StopAfter
unsigned StartInstanceNum
unsigned StopInstanceNum
StringRef StartPass
StringRef StopPass

Detailed Description

Definition at line 187 of file TargetPassConfig.h.

Member Function Documentation

◆ getLimitReason()

std::string TargetPassConfig::StartStopInfo::getLimitReason ( ) const

Returns the names of the options that set the start and stop passes.

Definition at line 540 of file TargetPassConfig.cpp.

References formatLimitReason(), StartAfter, StartPass, StopAfter, and StopPass.

◆ isLimited()

bool llvm::TargetPassConfig::StartStopInfo::isLimited ( ) const
inline

Returns true if a start or stop pass is set.

Definition at line 196 of file TargetPassConfig.h.

References StartPass, and StopPass.

Member Data Documentation

◆ StartAfter

bool llvm::TargetPassConfig::StartStopInfo::StartAfter

Definition at line 188 of file TargetPassConfig.h.

Referenced by getLimitReason().

◆ StartInstanceNum

unsigned llvm::TargetPassConfig::StartStopInfo::StartInstanceNum

Definition at line 190 of file TargetPassConfig.h.

◆ StartPass

StringRef llvm::TargetPassConfig::StartStopInfo::StartPass

Definition at line 192 of file TargetPassConfig.h.

Referenced by getLimitReason(), and isLimited().

◆ StopAfter

bool llvm::TargetPassConfig::StartStopInfo::StopAfter

Definition at line 189 of file TargetPassConfig.h.

Referenced by getLimitReason().

◆ StopInstanceNum

unsigned llvm::TargetPassConfig::StartStopInfo::StopInstanceNum

Definition at line 191 of file TargetPassConfig.h.

◆ StopPass

StringRef llvm::TargetPassConfig::StartStopInfo::StopPass

Definition at line 193 of file TargetPassConfig.h.

Referenced by getLimitReason(), and isLimited().


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