#include <LazyValueInfo.h>
Public Types | |
| enum | Tristate { Unknown = -1, False = 0, True = 1 } |
| Tristate - This is used to return true/false/dunno results. | |
Public Member Functions | |
| Tristate | getPredicateOnEdge (unsigned Pred, Value *V, Constant *C, BasicBlock *FromBB, BasicBlock *ToBB) |
| Constant * | getConstant (Value *V, BasicBlock *BB) |
| Constant * | getConstantOnEdge (Value *V, BasicBlock *FromBB, BasicBlock *ToBB) |
| virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
| virtual void | releaseMemory () |
| virtual bool | runOnFunction (Function &F) |
Static Public Attributes | |
| static char | ID |
| Constant* llvm::LazyValueInfo::getConstant | ( | Value * | V, | |
| BasicBlock * | BB | |||
| ) |
getConstant - Determine whether the specified value is known to be a constant at the end of the specified block. Return null if not.
| Constant* llvm::LazyValueInfo::getConstantOnEdge | ( | Value * | V, | |
| BasicBlock * | FromBB, | |||
| BasicBlock * | ToBB | |||
| ) |
getConstantOnEdge - Determine whether the specified value is known to be a constant on the specified edge. Return null if not.
| Tristate llvm::LazyValueInfo::getPredicateOnEdge | ( | unsigned | Pred, | |
| Value * | V, | |||
| Constant * | C, | |||
| BasicBlock * | FromBB, | |||
| BasicBlock * | ToBB | |||
| ) |
getPredicateOnEdge - Determine whether the specified value comparison with a constant is known to be true or false on the specified CFG edge. Pred is a CmpInst predicate.
1.5.8