~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to include/llvm/Analysis/Dominators.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-04-14 18:28:54 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120414182854-gmdspwc0z3uwed8s
Tags: 3.1~svn154750-1
New snapshot release

Show diffs side-by-side

added added

removed removed

Lines of Context:
775
775
  // dominates - Return true if Def dominates a use in User. This performs
776
776
  // the special checks necessary if Def and User are in the same basic block.
777
777
  // Note that Def doesn't dominate a use in Def itself!
 
778
  bool dominates(const Instruction *Def, const Use &U) const;
778
779
  bool dominates(const Instruction *Def, const Instruction *User) const;
779
780
  bool dominates(const Instruction *Def, const BasicBlock *BB) const;
780
781
 
843
844
    return DT->isReachableFromEntry(A);
844
845
  }
845
846
 
 
847
  bool isReachableFromEntry(const Use &U) const;
 
848
 
846
849
 
847
850
  virtual void releaseMemory() {
848
851
    DT->releaseMemory();