summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/include/Context.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-mca/include/Context.h')
-rw-r--r--llvm/tools/llvm-mca/include/Context.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/tools/llvm-mca/include/Context.h b/llvm/tools/llvm-mca/include/Context.h
index d383e2361be..ebd1528e371 100644
--- a/llvm/tools/llvm-mca/include/Context.h
+++ b/llvm/tools/llvm-mca/include/Context.h
@@ -43,13 +43,12 @@ struct PipelineOptions {
};
class Context {
- llvm::SmallVector<std::unique_ptr<HardwareUnit>, 4> Hardware;
- const llvm::MCRegisterInfo &MRI;
- const llvm::MCSubtargetInfo &STI;
+ SmallVector<std::unique_ptr<HardwareUnit>, 4> Hardware;
+ const MCRegisterInfo &MRI;
+ const MCSubtargetInfo &STI;
public:
- Context(const llvm::MCRegisterInfo &R, const llvm::MCSubtargetInfo &S)
- : MRI(R), STI(S) {}
+ Context(const MCRegisterInfo &R, const MCSubtargetInfo &S) : MRI(R), STI(S) {}
Context(const Context &C) = delete;
Context &operator=(const Context &C) = delete;
OpenPOWER on IntegriCloud