aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-12-17 23:19:54 +0000
committerBill Wendling <isanbard@gmail.com>2007-12-17 23:19:54 +0000
commit4be2f7fe57896142ffd81432eab4dc31d21d689b (patch)
tree7b9031fdea53148b5a78eb063213260e633fbc38 /include
parent627c00b663f881600b4af1ae135af6ee2cb19c1a (diff)
downloadexternal_llvm-4be2f7fe57896142ffd81432eab4dc31d21d689b.zip
external_llvm-4be2f7fe57896142ffd81432eab4dc31d21d689b.tar.gz
external_llvm-4be2f7fe57896142ffd81432eab4dc31d21d689b.tar.bz2
s/hasSideEffects/hasUnmodelledSideEffects/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index 9b77649..470345e 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -314,9 +314,10 @@ public:
isReallyTriviallyReMaterializable(MI);
}
- /// hasSideEffects - Returns true if the instruction has side effects that are
- /// not captured by any operands of the instruction or other flags.
- bool hasSideEffects(MachineInstr *MI) const {
+ /// hasUnmodelledSideEffects - Returns true if the instruction has side
+ /// effects that are not captured by any operands of the instruction or other
+ /// flags.
+ bool hasUnmodelledSideEffects(MachineInstr *MI) const {
const TargetInstrDescriptor *TID = MI->getInstrDescriptor();
if (!(TID->Flags & M_NEVER_HAS_SIDE_EFFECTS ||
TID->Flags & M_MAY_HAVE_SIDE_EFFECTS)) return true;