mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add a method to MachineInstr for testing whether it makes
any volatile memory references. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56528 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -250,8 +250,16 @@ public:
|
||||
/// the instruction's location and its intended destination.
|
||||
bool isSafeToMove(const TargetInstrInfo *TII, bool &SawStore);
|
||||
|
||||
/// 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);
|
||||
|
||||
/// 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;
|
||||
|
||||
//
|
||||
// Debugging support
|
||||
//
|
||||
|
Reference in New Issue
Block a user