llvm.org GIT mirror llvm / 4be2f7f
s/hasSideEffects/hasUnmodelledSideEffects/g git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45133 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 11 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
313313 isReallyTriviallyReMaterializable(MI);
314314 }
315315
316 /// hasSideEffects - Returns true if the instruction has side effects that are
317 /// not captured by any operands of the instruction or other flags.
318 bool hasSideEffects(MachineInstr *MI) const {
316 /// hasUnmodelledSideEffects - Returns true if the instruction has side
317 /// effects that are not captured by any operands of the instruction or other
318 /// flags.
319 bool hasUnmodelledSideEffects(MachineInstr *MI) const {
319320 const TargetInstrDescriptor *TID = MI->getInstrDescriptor();
320321 if (!(TID->Flags & M_NEVER_HAS_SIDE_EFFECTS ||
321322 TID->Flags & M_MAY_HAVE_SIDE_EFFECTS)) return true;