summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86RegisterInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-13 02:35:06 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-13 02:35:06 +0000
commit106e8020bd1e36cffb749aa8358018b48839e336 (patch)
tree27568fa344c3ca816e09a089f42c4e63218830b8 /lib/Target/X86/X86RegisterInfo.h
parentfa9457276a2174aaf302240dd32d89900ad021ae (diff)
downloadllvm-106e8020bd1e36cffb749aa8358018b48839e336.tar.gz
llvm-106e8020bd1e36cffb749aa8358018b48839e336.tar.bz2
llvm-106e8020bd1e36cffb749aa8358018b48839e336.tar.xz
Change unfoldMemoryOperand(). User is now responsible for passing in the
register used by the unfolded instructions. User can also specify whether to unfold the load, the store, or both. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86RegisterInfo.h')
-rw-r--r--lib/Target/X86/X86RegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.h b/lib/Target/X86/X86RegisterInfo.h
index fc739bb095..6a2c19e6b6 100644
--- a/lib/Target/X86/X86RegisterInfo.h
+++ b/lib/Target/X86/X86RegisterInfo.h
@@ -136,7 +136,7 @@ public:
/// a store or a load and a store into two or more instruction. If this is
/// possible, returns true as well as the new instructions by reference.
bool unfoldMemoryOperand(MachineFunction &MF, MachineInstr *MI,
- SSARegMap *RegMap,
+ unsigned Reg, bool UnfoldLoad, bool UnfoldStore,
SmallVector<MachineInstr*, 4> &NewMIs) const;
bool unfoldMemoryOperand(SelectionDAG &DAG, SDNode *N,