LLVM  14.0.0git
BasicBlockSectionUtils.h
Go to the documentation of this file.
1 //===- BasicBlockSectionUtils.h - Utilities for basic block sections --===//
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 #ifndef LLVM_CODEGEN_BASICBLOCKSECTIONUTILS_H
10 #define LLVM_CODEGEN_BASICBLOCKSECTIONUTILS_H
11 
12 #include "llvm/ADT/STLExtras.h"
14 
15 namespace llvm {
16 
17 extern cl::opt<std::string> BBSectionsColdTextPrefix;
18 
19 class MachineFunction;
20 class MachineBasicBlock;
21 
24 
27 
28 } // end namespace llvm
29 
30 #endif // LLVM_CODEGEN_BASICBLOCKSECTIONUTILS_H
llvm
---------------------— PointerInfo ------------------------------------—
Definition: AllocatorList.h:23
llvm::sortBasicBlocksAndUpdateBranches
void sortBasicBlocksAndUpdateBranches(MachineFunction &MF, MachineBasicBlockComparator MBBCmp)
Definition: BasicBlockSections.cpp:296
llvm::BBSectionsColdTextPrefix
cl::opt< std::string > BBSectionsColdTextPrefix
STLExtras.h
CommandLine.h
llvm::MachineBasicBlock
Definition: MachineBasicBlock.h:95
llvm::function_ref
An efficient, type-erasing, non-owning reference to a callable.
Definition: STLExtras.h:168
llvm::MachineFunction
Definition: MachineFunction.h:230
llvm::MachineBasicBlockComparator
function_ref< bool(const MachineBasicBlock &, const MachineBasicBlock &)> MachineBasicBlockComparator
Definition: BasicBlockSectionUtils.h:23