X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FPassManagers.h;h=44c932a0c60f05d7660a2a569caaca4ac3753bc6;hb=fc82fabe00b0b820e3c0d7fc9e289bace0295f11;hp=bcdea2bc3dc6688b3b33da741b3594854fc2dbbe;hpb=6b4af744b844ba5cf319614b6a27d213548706ee;p=oota-llvm.git diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h index bcdea2bc3dc..44c932a0c60 100644 --- a/include/llvm/PassManagers.h +++ b/include/llvm/PassManagers.h @@ -2,8 +2,8 @@ // // The LLVM Compiler Infrastructure // -// This file was developed by Devang Patel and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // @@ -13,9 +13,6 @@ #include "llvm/PassManager.h" #include "llvm/ADT/SmallVector.h" -using namespace llvm; -class llvm::PMDataManager; -class llvm::PMStack; //===----------------------------------------------------------------------===// // Overview: @@ -207,10 +204,6 @@ public: virtual ~PMDataManager(); - /// Return true IFF pass P's required analysis set does not required new - /// manager. - bool manageablePass(Pass *P); - /// Augment AvailableAnalysis by adding analysis made available by pass P. void recordAvailableAnalysis(Pass *P); @@ -341,7 +334,7 @@ class FPPassManager : public ModulePass, public PMDataManager { public: static char ID; explicit FPPassManager(int Depth) - : ModulePass((intptr_t)&ID), PMDataManager(Depth) { } + : ModulePass(intptr_t(&ID)), PMDataManager(Depth) { } /// run - Execute all of the passes scheduled for execution. Keep track of /// whether any of the passes modifies the module, and if so, return true. @@ -381,8 +374,8 @@ public: } -extern void StartPassTimer(Pass *); -extern void StopPassTimer(Pass *); +extern void StartPassTimer(llvm::Pass *); +extern void StopPassTimer(llvm::Pass *); #endif