diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-03-02 19:03:01 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-03-02 19:03:01 +0000 |
commit | ac1abde05b7e6956c01deb6557539bee8fea30f4 (patch) | |
tree | 6bd03a6389f47122cb5aaccd3e955279c8c32ac9 /include | |
parent | c5bbba1e499d46f52364e76ea95d4a37adced676 (diff) | |
download | external_llvm-ac1abde05b7e6956c01deb6557539bee8fea30f4.zip external_llvm-ac1abde05b7e6956c01deb6557539bee8fea30f4.tar.gz external_llvm-ac1abde05b7e6956c01deb6557539bee8fea30f4.tar.bz2 |
Swap parameters of isSafeToMove and isSafeToReMat for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 6e33fb3..a8a8f6f 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -331,13 +331,13 @@ public: /// isSafeToMove - Return true if it is safe to move this instruction. If /// SawStore is set to true, it means that there is a store (or call) between /// the instruction's location and its intended destination. - bool isSafeToMove(const TargetInstrInfo *TII, bool &SawStore, - AliasAnalysis *AA) const; + bool isSafeToMove(const TargetInstrInfo *TII, AliasAnalysis *AA, + bool &SawStore) const; /// isSafeToReMat - Return true if it's safe to rematerialize the specified /// instruction which defined the specified register instead of copying it. - bool isSafeToReMat(const TargetInstrInfo *TII, unsigned DstReg, - AliasAnalysis *AA) const; + bool isSafeToReMat(const TargetInstrInfo *TII, AliasAnalysis *AA, + unsigned DstReg) const; /// hasVolatileMemoryRef - Return true if this instruction may have a /// volatile memory reference, or if the information describing the |