From: Bill Wendling Date: Mon, 17 Dec 2007 23:19:54 +0000 (+0000) Subject: s/hasSideEffects/hasUnmodelledSideEffects/g X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=4be2f7fe57896142ffd81432eab4dc31d21d689b;p=oota-llvm.git s/hasSideEffects/hasUnmodelledSideEffects/g git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45133 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 9b77649b796..470345e0cda 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;