summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/CodeGen/LiveDebugVariables.h
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-08-03 15:06:44 +0000
committerpatrick <patrick@openbsd.org>2020-08-03 15:06:44 +0000
commitb64793999546ed8adebaeebd9d8345d18db8927d (patch)
tree4357c27b561d73b0e089727c6ed659f2ceff5f47 /gnu/llvm/lib/CodeGen/LiveDebugVariables.h
parentAdd support for UTF-8 DISPLAY-HINTs with octet length. For now only (diff)
downloadwireguard-openbsd-b64793999546ed8adebaeebd9d8345d18db8927d.tar.xz
wireguard-openbsd-b64793999546ed8adebaeebd9d8345d18db8927d.zip
Remove LLVM 8.0.1 files.
Diffstat (limited to 'gnu/llvm/lib/CodeGen/LiveDebugVariables.h')
-rw-r--r--gnu/llvm/lib/CodeGen/LiveDebugVariables.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/gnu/llvm/lib/CodeGen/LiveDebugVariables.h b/gnu/llvm/lib/CodeGen/LiveDebugVariables.h
deleted file mode 100644
index 0060399c2b0..00000000000
--- a/gnu/llvm/lib/CodeGen/LiveDebugVariables.h
+++ /dev/null
@@ -1,65 +0,0 @@
-//===- LiveDebugVariables.h - Tracking debug info variables -----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides the interface to the LiveDebugVariables analysis.
-//
-// The analysis removes DBG_VALUE instructions for virtual registers and tracks
-// live user variables in a data structure that can be updated during register
-// allocation.
-//
-// After register allocation new DBG_VALUE instructions are emitted to reflect
-// the new locations of user variables.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_LIB_CODEGEN_LIVEDEBUGVARIABLES_H
-#define LLVM_LIB_CODEGEN_LIVEDEBUGVARIABLES_H
-
-#include "llvm/CodeGen/MachineFunctionPass.h"
-#include "llvm/Support/Compiler.h"
-
-namespace llvm {
-
-template <typename T> class ArrayRef;
-class LiveIntervals;
-class VirtRegMap;
-
-class LLVM_LIBRARY_VISIBILITY LiveDebugVariables : public MachineFunctionPass {
- void *pImpl = nullptr;
-
-public:
- static char ID; // Pass identification, replacement for typeid
-
- LiveDebugVariables();
- ~LiveDebugVariables() override;
-
- /// splitRegister - Move any user variables in OldReg to the live ranges in
- /// NewRegs where they are live. Mark the values as unavailable where no new
- /// register is live.
- void splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs,
- LiveIntervals &LIS);
-
- /// emitDebugValues - Emit new DBG_VALUE instructions reflecting the changes
- /// that happened during register allocation.
- /// @param VRM Rename virtual registers according to map.
- void emitDebugValues(VirtRegMap *VRM);
-
- /// dump - Print data structures to dbgs().
- void dump() const;
-
-private:
- bool runOnMachineFunction(MachineFunction &) override;
- void releaseMemory() override;
- void getAnalysisUsage(AnalysisUsage &) const override;
- bool doInitialization(Module &) override;
-};
-
-} // end namespace llvm
-
-#endif // LLVM_LIB_CODEGEN_LIVEDEBUGVARIABLES_H