diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-21 06:43:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-21 06:43:24 +0000 |
commit | 1daa6f479dd5fb4123f1ffbb10a3825da7d2c6b8 (patch) | |
tree | f4449ed6dbf94240899163156f0c24a5c88fe3ce /include/llvm/CodeGen/MachineMemOperand.h | |
parent | e8639036b1fb3a5b5e9589fe4e9f2ee1b77c36bd (diff) |
add some accessors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineMemOperand.h')
-rw-r--r-- | include/llvm/CodeGen/MachineMemOperand.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineMemOperand.h b/include/llvm/CodeGen/MachineMemOperand.h index 71181dfe3a..fe93463359 100644 --- a/include/llvm/CodeGen/MachineMemOperand.h +++ b/include/llvm/CodeGen/MachineMemOperand.h @@ -56,6 +56,14 @@ struct MachinePointerInfo { /// getFixedStack - Return a MachinePointerInfo record that refers to the /// the specified FrameIndex. static MachinePointerInfo getFixedStack(int FI, int64_t offset = 0); + + /// getJumpTable - Return a MachinePointerInfo record that refers to a + /// jump table entry. + static MachinePointerInfo getJumpTable(); + + /// getGOT - Return a MachinePointerInfo record that refers to a + /// GOT entry. + static MachinePointerInfo getGOT(); }; |