13#ifndef LLVM_CLANG_BASIC_PROFILELIST_H
14#define LLVM_CLANG_BASIC_PROFILELIST_H
19#include "llvm/ADT/ArrayRef.h"
20#include "llvm/ADT/StringRef.h"
26class ProfileSpecialCaseList;
41 std::unique_ptr<ProfileSpecialCaseList> SCL;
44 std::optional<ExclusionType> inSection(StringRef Section, StringRef Prefix,
45 StringRef Query)
const;
54 std::optional<ExclusionType>
57 std::optional<ExclusionType>
60 std::optional<ExclusionType>
enum clang::sema::@1712::IndirectLocalPathEntry::EntryKind Kind
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
Defines the clang::SourceLocation class and associated facilities.
std::optional< ExclusionType > isFunctionExcluded(StringRef FunctionName, CodeGenOptions::ProfileInstrKind Kind) const
std::optional< ExclusionType > isLocationExcluded(SourceLocation Loc, CodeGenOptions::ProfileInstrKind Kind) const
ExclusionType
Represents if an how something should be excluded from profiling.
@ Forbid
Profiling is forbidden using the noprofile attribute.
@ Skip
Profiling is skipped using the skipprofile attribute.
@ Allow
Profiling is allowed.
ExclusionType getDefault(CodeGenOptions::ProfileInstrKind Kind) const
std::optional< ExclusionType > isFileExcluded(StringRef FileName, CodeGenOptions::ProfileInstrKind Kind) const
Encodes a location in the source.
This class handles loading and caching of source files into memory.
The JSON file list parser is used to communicate input to InstallAPI.