clang  14.0.0git
Public Member Functions | List of all members
clang::ProfileList Class Reference

#include "clang/Basic/ProfileList.h"

Public Member Functions

 ProfileList (ArrayRef< std::string > Paths, SourceManager &SM)
 
 ~ProfileList ()
 
bool isEmpty () const
 
bool getDefault () const
 
llvm::Optional< boolisFunctionExcluded (StringRef FunctionName, CodeGenOptions::ProfileInstrKind Kind) const
 
llvm::Optional< boolisLocationExcluded (SourceLocation Loc, CodeGenOptions::ProfileInstrKind Kind) const
 
llvm::Optional< boolisFileExcluded (StringRef FileName, CodeGenOptions::ProfileInstrKind Kind) const
 

Detailed Description

Definition at line 32 of file ProfileList.h.

Constructor & Destructor Documentation

◆ ProfileList()

ProfileList::ProfileList ( ArrayRef< std::string Paths,
SourceManager SM 
)

Definition at line 66 of file ProfileList.cpp.

◆ ~ProfileList()

ProfileList::~ProfileList ( )
default

Member Function Documentation

◆ getDefault()

bool clang::ProfileList::getDefault ( ) const
inline

Definition at line 43 of file ProfileList.h.

References clang::Default.

Referenced by clang::CodeGen::CodeGenModule::isProfileInstrExcluded().

◆ isEmpty()

bool clang::ProfileList::isEmpty ( ) const
inline

Definition at line 42 of file ProfileList.h.

Referenced by clang::CodeGen::CodeGenModule::isProfileInstrExcluded().

◆ isFileExcluded()

llvm::Optional< bool > ProfileList::isFileExcluded ( StringRef  FileName,
CodeGenOptions::ProfileInstrKind  Kind 
) const

◆ isFunctionExcluded()

llvm::Optional< bool > ProfileList::isFunctionExcluded ( StringRef  FunctionName,
CodeGenOptions::ProfileInstrKind  Kind 
) const

Definition at line 89 of file ProfileList.cpp.

References getSectionName().

Referenced by clang::CodeGen::CodeGenModule::isProfileInstrExcluded().

◆ isLocationExcluded()

llvm::Optional< bool > ProfileList::isLocationExcluded ( SourceLocation  Loc,
CodeGenOptions::ProfileInstrKind  Kind 
) const

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