diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-29 21:19:21 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-29 21:19:21 +0000 |
commit | f036f7a1e79910bf5b5b6f37d2e512b4f01155a0 (patch) | |
tree | c2767358bf504fd67496b37d8d42e5c3c034b62b /include | |
parent | ad7ebc2aebd94ec9e0bd01e1735d06cfe067368b (diff) | |
download | external_llvm-f036f7a1e79910bf5b5b6f37d2e512b4f01155a0.zip external_llvm-f036f7a1e79910bf5b5b6f37d2e512b4f01155a0.tar.gz external_llvm-f036f7a1e79910bf5b5b6f37d2e512b4f01155a0.tar.bz2 |
Rename hasVolatileMemoryRef() to hasOrderedMemoryRef().
Ordered memory operations are more constrained than volatile loads and
stores because they must be ordered with respect to all other memory
operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index e88351c..d636dfd 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -857,11 +857,11 @@ public: 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 - /// memory reference is not available. Return false if it is known to - /// have no volatile memory references. - bool hasVolatileMemoryRef() const; + /// hasOrderedMemoryRef - Return true if this instruction may have an ordered + /// or volatile memory reference, or if the information describing the memory + /// reference is not available. Return false if it is known to have no + /// ordered or volatile memory references. + bool hasOrderedMemoryRef() const; /// isInvariantLoad - Return true if this instruction is loading from a /// location whose value is invariant across the function. For example, |