~ubuntu-branches/ubuntu/maverick/clamav/maverick-updates

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/include/llvm/Transforms/IPO/InlinerPass.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-17 12:30:20 UTC
  • mfrom: (97.1.1 maverick-proposed)
  • Revision ID: james.westby@ubuntu.com-20101217123020-o02fhyzykv5z98ri
Tags: 0.96.5+dfsg-1ubuntu1.10.10.1
* Microversion update for Maverick (LP: #691414)
  - Improved database login times
  - Expanded use of new bytecode signatures
  - Other bugfixes/improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
/// perform the inlining operations that do not depend on the policy.
31
31
///
32
32
struct Inliner : public CallGraphSCCPass {
33
 
  explicit Inliner(void *ID);
34
 
  explicit Inliner(void *ID, int Threshold);
 
33
  explicit Inliner(char &ID);
 
34
  explicit Inliner(char &ID, int Threshold);
35
35
 
36
36
  /// getAnalysisUsage - For this class, we declare that we require and preserve
37
37
  /// the call graph.  If the derived class implements this method, it should
40
40
 
41
41
  // Main run interface method, this implements the interface required by the
42
42
  // Pass class.
43
 
  virtual bool runOnSCC(std::vector<CallGraphNode *> &SCC);
 
43
  virtual bool runOnSCC(CallGraphSCC &SCC);
44
44
 
45
45
  // doFinalization - Remove now-dead linkonce functions at the end of
46
46
  // processing to avoid breaking the SCC traversal.
75
75
  /// 
76
76
  virtual void resetCachedCostInfo(Function* Caller) = 0;
77
77
 
 
78
  /// growCachedCostInfo - update the cached cost info for Caller after Callee
 
79
  /// has been inlined.
 
80
  virtual void growCachedCostInfo(Function *Caller, Function *Callee) = 0;
 
81
 
78
82
  /// removeDeadFunctions - Remove dead functions that are not included in
79
83
  /// DNR (Do Not Remove) list.
80
84
  bool removeDeadFunctions(CallGraph &CG,