LLVM 24.0.0git
DWARFExpressionPrinterImpl.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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_LIB_DEBUGINFO_DWARF_DWARFEXPRESSIONPRINTERIMPL_H
10#define LLVM_LIB_DEBUGINFO_DWARF_DWARFEXPRESSIONPRINTERIMPL_H
11
12#include "llvm/ADT/ArrayRef.h"
15
16namespace llvm {
17
18struct DIDumpOptions;
19class raw_ostream;
20
21namespace detail {
22
23/// Prints the base type DIE that operand \p Operand of \p Operands refers to.
24/// A callback, so that printing without a DWARFUnit does not link DWARFUnit.
26 function_ref<void(raw_ostream &OS, DIDumpOptions DumpOpts,
27 ArrayRef<uint64_t> Operands, unsigned Operand)>;
28
30 DIDumpOptions DumpOpts,
31 BaseTypeRefPrinter PrintBaseTypeRef, bool IsEH);
32
34 DIDumpOptions DumpOpts, uint8_t Opcode,
36
37} // namespace detail
38} // namespace llvm
39
40#endif // LLVM_LIB_DEBUGINFO_DWARF_DWARFEXPRESSIONPRINTERIMPL_H
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
SI Fold Operands
Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition ArrayRef.h:40
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
A self-contained host- and target-independent arbitrary-precision floating-point software implementat...
Definition ADL.h:123
bool prettyPrintRegisterOp(BaseTypeRefPrinter PrintBaseTypeRef, raw_ostream &OS, DIDumpOptions DumpOpts, uint8_t Opcode, ArrayRef< uint64_t > Operands)
function_ref< void(raw_ostream &OS, DIDumpOptions DumpOpts, ArrayRef< uint64_t > Operands, unsigned Operand)> BaseTypeRefPrinter
Prints the base type DIE that operand Operand of Operands refers to.
void printDwarfExpression(const DWARFExpression *E, raw_ostream &OS, DIDumpOptions DumpOpts, BaseTypeRefPrinter PrintBaseTypeRef, bool IsEH)
This is an optimization pass for GlobalISel generic memory operations.
Container for dump options that control which debug information will be dumped.
Definition DIContext.h:197