LLVM 22.0.0git
PGOOptions.h
Go to the documentation of this file.
1//===------ PGOOptions.h -- PGO option tunables ----------------*- C++ -*--===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8/// \file
9///
10/// Define option tunables for PGO.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_SUPPORT_PGOOPTIONS_H
15#define LLVM_SUPPORT_PGOOPTIONS_H
16
18#include "llvm/Support/Error.h"
19
20namespace llvm {
21/// A struct capturing PGO tunables.
49} // namespace llvm
50
51#endif
#define LLVM_ABI
Definition Compiler.h:213
This is an optimization pass for GlobalISel generic memory operations.
bool DebugInfoForProfiling
Definition PGOOptions.h:45
std::string MemoryProfile
Definition PGOOptions.h:41
std::string ProfileFile
Definition PGOOptions.h:38
std::string CSProfileGenFile
Definition PGOOptions.h:39
PGOAction Action
Definition PGOOptions.h:42
ColdFuncOpt ColdOptType
Definition PGOOptions.h:44
LLVM_ABI PGOOptions & operator=(const PGOOptions &)
LLVM_ABI PGOOptions(const PGOOptions &)
std::string ProfileRemappingFile
Definition PGOOptions.h:40
CSPGOAction CSAction
Definition PGOOptions.h:43
bool AtomicCounterUpdate
Definition PGOOptions.h:47
LLVM_ABI PGOOptions(std::string ProfileFile, std::string CSProfileGenFile, std::string ProfileRemappingFile, std::string MemoryProfile, PGOAction Action=NoAction, CSPGOAction CSAction=NoCSAction, ColdFuncOpt ColdType=ColdFuncOpt::Default, bool DebugInfoForProfiling=false, bool PseudoProbeForProfiling=false, bool AtomicCounterUpdate=false)
bool PseudoProbeForProfiling
Definition PGOOptions.h:46
LLVM_ABI ~PGOOptions()