mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Remove unused methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133900 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -142,18 +142,6 @@ namespace llvm {
|
|||||||
initializeRegisterCoalescerPass(*PassRegistry::getPassRegistry());
|
initializeRegisterCoalescerPass(*PassRegistry::getPassRegistry());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Run the coalescer on this function, providing interference
|
|
||||||
/// data to query. Return whether we removed any copies.
|
|
||||||
virtual bool coalesceFunction(MachineFunction &mf,
|
|
||||||
RegallocQuery &ifd) {
|
|
||||||
// This runs as an independent pass, so don't do anything.
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Reset state. Can be used to allow a coalescer run by
|
|
||||||
/// PassManager to be run again by the register allocator.
|
|
||||||
virtual void reset(MachineFunction &mf) {}
|
|
||||||
|
|
||||||
/// Register allocators must call this from their own
|
/// Register allocators must call this from their own
|
||||||
/// getAnalysisUsage to cover the case where the coalescer is not
|
/// getAnalysisUsage to cover the case where the coalescer is not
|
||||||
/// a Pass in the proper sense and isn't managed by PassManager.
|
/// a Pass in the proper sense and isn't managed by PassManager.
|
||||||
@@ -220,7 +208,6 @@ namespace llvm {
|
|||||||
/// // We don't reset the coalescer so if it's already been run this
|
/// // We don't reset the coalescer so if it's already been run this
|
||||||
/// // takes almost no time.
|
/// // takes almost no time.
|
||||||
/// LinearScanRegallocQuery ifd(*li_);
|
/// LinearScanRegallocQuery ifd(*li_);
|
||||||
/// coalescer.coalesceFunction(fn, ifd);
|
|
||||||
///
|
///
|
||||||
class RegallocQuery {
|
class RegallocQuery {
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user