Apply feed back from Chris:

1. Rename createLoaderPass to CreateProfileLoaderPass
  2. Opt shouldn't use the pass registered in CodeGen.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2005-01-10 03:56:27 +00:00
parent 68dc310942
commit 6e400f76e6
4 changed files with 5 additions and 6 deletions

View File

@ -71,9 +71,10 @@ namespace llvm {
//===--------------------------------------------------------------------===//
//
// createLoaderPass - This pass loads information from a profile dump file.
// createProfileLoaderPass - This pass loads information from a profile dump
// file.
//
ModulePass *createLoaderPass();
ModulePass *createProfileLoaderPass();
//===--------------------------------------------------------------------===//
//

View File

@ -79,7 +79,6 @@ namespace {
(void) llvm::createInternalizePass();
(void) llvm::createLICMPass();
(void) llvm::createLoadValueNumberingPass();
(void) llvm::createLoaderPass();
(void) llvm::createLoopExtractorPass();
(void) llvm::createLoopInstrumentationPass();
(void) llvm::createLoopSimplifyPass();
@ -98,6 +97,7 @@ namespace {
(void) llvm::createNoProfileInfoPass();
(void) llvm::createPREPass();
(void) llvm::createParallelizePass();
(void) llvm::createProfileLoaderPass();
(void) llvm::createProfilePathsPass();
(void) llvm::createPromoteMemoryToRegister();
(void) llvm::createPruneEHPass();
@ -115,7 +115,6 @@ namespace {
(void) llvm::createTraceValuesPassForBasicBlocks();
(void) llvm::createTraceValuesPassForFunction();
(void) llvm::createUnifyFunctionExitNodesPass();
(void) llvm::createUnreachableBlockEliminationPass();
}
} _ForcePassLinking;
};

View File

@ -55,7 +55,7 @@ namespace {
RegisterAnalysisGroup<ProfileInfo, LoaderPass> Y;
} // End of anonymous namespace
ModulePass *llvm::createLoaderPass() { return new LoaderPass(); }
ModulePass *llvm::createProfileLoaderPass() { return new LoaderPass(); }
/// createProfileLoaderPass - This function returns a Pass that loads the
/// profiling information for the module from the specified filename, making it

View File

@ -170,7 +170,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "opt", "opt\opt.vcproj", "{0
{19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
{F1EFF064-8869-4DFF-8E1A-CD8F4A5F8D61} = {F1EFF064-8869-4DFF-8E1A-CD8F4A5F8D61}
{059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4} = {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}
{08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897} = {08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897}
{C59374C1-9FC0-4147-B836-327DFDC52D99} = {C59374C1-9FC0-4147-B836-327DFDC52D99}
{45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB} = {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}
{0F8407F3-FA23-4CF1-83A9-DCBE0B361489} = {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}