LLVM 22.0.0git
LiveDebugValuesPass.h
Go to the documentation of this file.
1//===- llvm/CodeGen/LiveDebugValuesPass.h -----------------------*- 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#ifndef LLVM_CODEGEN_LIVEDEBUGVALUESPASS_H
10#define LLVM_CODEGEN_LIVEDEBUGVALUESPASS_H
11
13
14namespace llvm {
15
16class LiveDebugValuesPass : public PassInfoMixin<LiveDebugValuesPass> {
17 const bool ShouldEmitDebugEntryValues;
18
19public:
20 LiveDebugValuesPass(bool ShouldEmitDebugEntryValues)
21 : ShouldEmitDebugEntryValues(ShouldEmitDebugEntryValues) {}
22
25
27 function_ref<StringRef(StringRef)> MapClassName2PassName);
28};
29
30} // namespace llvm
31
32#endif // LLVM_CODEGEN_LIVEDEBUGVALUESPASS_H
raw_pwrite_stream & OS
A container for analyses that lazily runs them and caches their results.
Definition: PassManager.h:255
LiveDebugValuesPass(bool ShouldEmitDebugEntryValues)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
void printPipeline(raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
A set of analyses that are preserved following a run of a transformation pass.
Definition: Analysis.h:112
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:55
An efficient, type-erasing, non-owning reference to a callable.
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:53
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:70