-
Notifications
You must be signed in to change notification settings - Fork 5
/
SampleMachineFunction.h
33 lines (27 loc) · 1.05 KB
/
SampleMachineFunction.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//===-- SampleMachineFunctionInfo.h - Private data used for Sample ----*- C++ -*-=//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file declares the Sample specific subclass of MachineFunctionInfo.
//
//===----------------------------------------------------------------------===//
#ifndef SAMPLE_MACHINE_FUNCTION_INFO_H
#define SAMPLE_MACHINE_FUNCTION_INFO_H
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include <utility>
namespace llvm {
/// SampleFunctionInfo - This class is derived from MachineFunction private
/// Sample target-specific information for each MachineFunction.
class SampleMachineFunctionInfo : public MachineFunctionInfo {
virtual void anchor();
public:
SampleMachineFunctionInfo(MachineFunction& MF) {}
};
} // end of namespace llvm
#endif // SAMPLE_MACHINE_FUNCTION_INFO_H