LLVM: include/llvm/MCA/View.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15#ifndef LLVM_MCA_VIEW_H
16#define LLVM_MCA_VIEW_H
17
23
24namespace llvm {
25namespace mca {
26
28public:
29 ~View() override = default;
30
33
36
37 void anchor() override;
38};
39}
40}
41
42#endif
This file defines the main interface for hardware event listeners.
This file supports working with JSON data.
StringRef - Represent a constant reference to a string, i.e.
A Value is an JSON value of unknown type.
virtual bool isSerializable() const
Definition View.h:35
virtual StringRef getNameAsString() const =0
virtual json::Value toJSON() const
Definition View.h:34
virtual void printView(llvm::raw_ostream &OS) const =0
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.