aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-21 04:32:08 +0000
committerChris Lattner <sabre@nondot.org>2010-09-21 04:32:08 +0000
commitda39c3964423744b4d79aebef8bece3e9141d5fc (patch)
tree7c6b86b1c4e76697098e115dfd3adbad11ec04f8 /include/llvm/CodeGen/MachineFunction.h
parente8e2e80f40495fdd5ad475beb54fcf0989b6b7c5 (diff)
downloadexternal_llvm-da39c3964423744b4d79aebef8bece3e9141d5fc.tar.gz
external_llvm-da39c3964423744b4d79aebef8bece3e9141d5fc.tar.bz2
external_llvm-da39c3964423744b4d79aebef8bece3e9141d5fc.zip
start pushing MachinePointerInfo out through the MachineMemOperand interface
to the MachineFunction construction methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r--include/llvm/CodeGen/MachineFunction.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index 5bb453dd50..f50b48fefe 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -37,6 +37,7 @@ class MCContext;
class Pass;
class TargetMachine;
class TargetRegisterClass;
+struct MachinePointerInfo;
template <>
struct ilist_traits<MachineBasicBlock>
@@ -372,6 +373,13 @@ public:
int64_t o, uint64_t s,
unsigned base_alignment);
+ /// getMachineMemOperand - Allocate a new MachineMemOperand.
+ /// MachineMemOperands are owned by the MachineFunction and need not be
+ /// explicitly deallocated.
+ MachineMemOperand *getMachineMemOperand(MachinePointerInfo PtrInfo,
+ unsigned f, uint64_t s,
+ unsigned base_alignment);
+
/// getMachineMemOperand - Allocate a new MachineMemOperand by copying
/// an existing one, adjusting by an offset and using the given size.
/// MachineMemOperands are owned by the MachineFunction and need not be