1 //===- LazyValueInfo.cpp - Value constraint analysis ----------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the interface for lazy computation of value constraint
13 //===----------------------------------------------------------------------===//
15 #include "llvm/Analysis/LazyValueInfo.h"
18 char LazyValueInfo::ID = 0;
19 static RegisterPass<LazyValueInfo>
20 X("lazy-value-info", "Lazy Value Information Analysis", false, true);
23 FunctionPass *createLazyValueInfoPass() { return new LazyValueInfo(); }
26 LazyValueInfo::LazyValueInfo() : FunctionPass(&ID) {
29 void LazyValueInfo::releaseMemory() {