LLVM 23.0.0git
CFIFixup.h
Go to the documentation of this file.
1//===-- CFIFixup.h - Insert CFI remember/restore instructions ---*- 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/// \file
10/// Contains definition of the base CFIFixup pass.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_CODEGEN_CFIFIXUP_H
15#define LLVM_CODEGEN_CFIFIXUP_H
16
20
21namespace llvm {
23public:
24 static char ID;
25
27
32
33 bool runOnMachineFunction(MachineFunction &MF) override;
34};
35
41} // namespace llvm
42
43#endif // LLVM_CODEGEN_CFIFIXUP_H
#define LLVM_ABI
Definition Compiler.h:215
Represent the analysis usage information of a pass.
void setPreservesAll()
Set by analyses that do not transform their input at all.
static char ID
Definition CFIFixup.h:24
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
Definition CFIFixup.h:28
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Definition CFIFixup.cpp:346
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
A set of analyses that are preserved following a run of a transformation pass.
Definition Analysis.h:112
This is an optimization pass for GlobalISel generic memory operations.
AnalysisManager< MachineFunction > MachineFunctionAnalysisManager
A CRTP mix-in for passes that should not be skipped.