mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Eliminate some uses of DOUT, cerr, and getNameStart().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77145 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -91,9 +91,10 @@
|
||||
#include "llvm/Support/PrettyStackTrace.h"
|
||||
|
||||
namespace llvm {
|
||||
class Pass;
|
||||
class Value;
|
||||
class Module;
|
||||
class Pass;
|
||||
class StringRef;
|
||||
class Value;
|
||||
|
||||
/// FunctionPassManager and PassManager, two top level managers, serve
|
||||
/// as the public interface of pass manager infrastructure.
|
||||
@@ -285,7 +286,8 @@ public:
|
||||
void removeNotPreservedAnalysis(Pass *P);
|
||||
|
||||
/// Remove dead passes
|
||||
void removeDeadPasses(Pass *P, const char *Msg, enum PassDebuggingString);
|
||||
void removeDeadPasses(Pass *P, const StringRef &Msg,
|
||||
enum PassDebuggingString);
|
||||
|
||||
/// Add pass P into the PassVector. Update
|
||||
/// AvailableAnalysis appropriately if ProcessAnalysis is true.
|
||||
@@ -340,7 +342,7 @@ public:
|
||||
void dumpLastUses(Pass *P, unsigned Offset) const;
|
||||
void dumpPassArguments() const;
|
||||
void dumpPassInfo(Pass *P, enum PassDebuggingString S1,
|
||||
enum PassDebuggingString S2, const char *Msg);
|
||||
enum PassDebuggingString S2, const StringRef &Msg);
|
||||
void dumpRequiredSet(const Pass *P) const;
|
||||
void dumpPreservedSet(const Pass *P) const;
|
||||
|
||||
@@ -379,7 +381,7 @@ protected:
|
||||
std::map<AnalysisID, Pass *> *InheritedAnalysis[PMT_Last];
|
||||
|
||||
private:
|
||||
void dumpAnalysisUsage(const char *Msg, const Pass *P,
|
||||
void dumpAnalysisUsage(const StringRef &Msg, const Pass *P,
|
||||
const AnalysisUsage::VectorType &Set) const;
|
||||
|
||||
// Set of available Analysis. This information is used while scheduling
|
||||
|
Reference in New Issue
Block a user