clang  15.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 28 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 ( )

Member Function Documentation

◆ getDefault()

bool clang::ProfileList::getDefault ( ) const

Definition at line 39 of file ProfileList.h.

References clang::Default.

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

◆ isEmpty()

bool clang::ProfileList::isEmpty ( ) const

Definition at line 38 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: