LLVM  14.0.0git
CGPassBuilderOption.h
Go to the documentation of this file.
1 //===- CGPassBuilderOption.h - Options for pass builder ---------*- 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 //
9 // This file declares the CCState and CCValAssign classes, used for lowering
10 // and implementing calling conventions.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_TARGET_CGPASSBUILDEROPTION_H
15 #define LLVM_TARGET_CGPASSBUILDEROPTION_H
16 
17 #include "llvm/ADT/Optional.h"
18 #include "llvm/ADT/StringRef.h"
20 
21 namespace llvm {
22 class TargetMachine;
23 
27 
28 // Not one-on-one but mostly corresponding to commandline options in
29 // TargetPassConfig.cpp.
33  bool DebugPM = false;
34  bool DisableVerify = false;
37  bool MISchedPostRA = false;
38  bool EarlyLiveIntervals = false;
39 
40  bool DisableLSR = false;
41  bool DisableCGP = false;
42  bool PrintLSR = false;
43  bool DisableMergeICmps = false;
46  bool PrintISelInput = false;
47  bool PrintGCInfo = false;
49 
54 
58 };
59 
61 
62 } // namespace llvm
63 
64 #endif // LLVM_TARGET_CGPASSBUILDEROPTION_H
llvm::CGPassBuilderOption::DisableCGP
bool DisableCGP
Definition: CGPassBuilderOption.h:41
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::RegAllocType::PBQP
@ PBQP
Optional.h
StringRef.h
llvm::RegAllocType::Basic
@ Basic
llvm::RunOutliner::TargetDefault
@ TargetDefault
llvm::CGPassBuilderOption::RequiresCodeGenSCCOrder
bool RequiresCodeGenSCCOrder
Definition: CGPassBuilderOption.h:48
llvm::RegAllocType::Fast
@ Fast
llvm::CGPassBuilderOption::PrintLSR
bool PrintLSR
Definition: CGPassBuilderOption.h:42
llvm::CFLAAType::Andersen
@ Andersen
llvm::CGPassBuilderOption::EarlyLiveIntervals
bool EarlyLiveIntervals
Definition: CGPassBuilderOption.h:38
llvm::Optional< bool >
llvm::RunOutliner::NeverOutline
@ NeverOutline
llvm::CFLAAType::Both
@ Both
llvm::CGPassBuilderOption::VerifyMachineCode
Optional< bool > VerifyMachineCode
Definition: CGPassBuilderOption.h:55
llvm::CGPassBuilderOption::EnableGlobalISelOption
Optional< bool > EnableGlobalISelOption
Definition: CGPassBuilderOption.h:57
llvm::RegAllocType
RegAllocType
Definition: CGPassBuilderOption.h:25
llvm::CGPassBuilderOption::DebugPM
bool DebugPM
Definition: CGPassBuilderOption.h:33
llvm::CGPassBuilderOption::DisableConstantHoisting
bool DisableConstantHoisting
Definition: CGPassBuilderOption.h:45
llvm::CGPassBuilderOption
Definition: CGPassBuilderOption.h:30
llvm::CFLAAType::None
@ None
llvm::CGPassBuilderOption::EnableBlockPlacementStats
bool EnableBlockPlacementStats
Definition: CGPassBuilderOption.h:36
llvm::CGPassBuilderOption::EnableGlobalISelAbort
Optional< GlobalISelAbortMode > EnableGlobalISelAbort
Definition: CGPassBuilderOption.h:53
llvm::RegAllocType::Greedy
@ Greedy
llvm::CGPassBuilderOption::DisableVerify
bool DisableVerify
Definition: CGPassBuilderOption.h:34
llvm::CFLAAType::Steensgaard
@ Steensgaard
llvm::CGPassBuilderOption::EnableFastISelOption
Optional< bool > EnableFastISelOption
Definition: CGPassBuilderOption.h:56
TargetOptions.h
llvm::RunOutliner
RunOutliner
Definition: CGPassBuilderOption.h:24
llvm::RunOutliner::AlwaysOutline
@ AlwaysOutline
llvm::getCGPassBuilderOption
CGPassBuilderOption getCGPassBuilderOption()
Definition: TargetPassConfig.cpp:466
llvm::CGPassBuilderOption::PrintISelInput
bool PrintISelInput
Definition: CGPassBuilderOption.h:46
llvm::CGPassBuilderOption::OptimizeRegAlloc
Optional< bool > OptimizeRegAlloc
Definition: CGPassBuilderOption.h:31
llvm::CGPassBuilderOption::UseCFLAA
CFLAAType UseCFLAA
Definition: CGPassBuilderOption.h:52
llvm::CGPassBuilderOption::DisablePartialLibcallInlining
bool DisablePartialLibcallInlining
Definition: CGPassBuilderOption.h:44
llvm::CGPassBuilderOption::RegAlloc
RegAllocType RegAlloc
Definition: CGPassBuilderOption.h:51
llvm::CFLAAType
CFLAAType
Definition: CGPassBuilderOption.h:26
llvm::CGPassBuilderOption::PrintGCInfo
bool PrintGCInfo
Definition: CGPassBuilderOption.h:47
llvm::CGPassBuilderOption::MISchedPostRA
bool MISchedPostRA
Definition: CGPassBuilderOption.h:37
llvm::CGPassBuilderOption::DisableLSR
bool DisableLSR
Definition: CGPassBuilderOption.h:40
llvm::RegAllocType::Default
@ Default
llvm::CGPassBuilderOption::EnableIPRA
Optional< bool > EnableIPRA
Definition: CGPassBuilderOption.h:32
llvm::CGPassBuilderOption::EnableImplicitNullChecks
bool EnableImplicitNullChecks
Definition: CGPassBuilderOption.h:35
llvm::CGPassBuilderOption::DisableMergeICmps
bool DisableMergeICmps
Definition: CGPassBuilderOption.h:43
llvm::CGPassBuilderOption::EnableMachineOutliner
RunOutliner EnableMachineOutliner
Definition: CGPassBuilderOption.h:50