Chris Lattner | 10f2d13 | 2009-11-11 00:22:30 +0000 | [diff] [blame^] | 1 | //===- LazyValueInfo.cpp - Value constraint analysis ----------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file defines the interface for lazy computation of value constraint |
| 11 | // information. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #include "llvm/Analysis/LazyValueInfo.h" |
| 16 | using namespace llvm; |
| 17 | |
| 18 | char LazyValueInfo::ID = 0; |
| 19 | static RegisterPass<LazyValueInfo> |
| 20 | X("lazy-value-info", "Lazy Value Information Analysis", false, true); |
| 21 | |
| 22 | namespace llvm { |
| 23 | FunctionPass *createLazyValueInfoPass() { return new LazyValueInfo(); } |
| 24 | } |
| 25 | |
| 26 | LazyValueInfo::LazyValueInfo() : FunctionPass(&ID) { |
| 27 | } |
| 28 | |
| 29 | void LazyValueInfo::releaseMemory() { |
| 30 | |
| 31 | } |