Home | History | Annotate | Download | only in Analysis

Lines Matching refs:LazyValueInfo

1 //===- LazyValueInfo.cpp - Value constraint analysis ------------*- C++ -*-===//
15 #include "llvm/Analysis/LazyValueInfo.h"
59 /// This is the information tracked by LazyValueInfo for each value.
382 /// This is the cache kept by LazyValueInfo which
1424 // LazyValueInfo Impl
1460 LazyValueInfo &LazyValueInfoWrapperPass::getLVI() { return Info; }
1462 LazyValueInfo::~LazyValueInfo() { releaseMemory(); }
1464 void LazyValueInfo::releaseMemory() {
1474 LazyValueInfo LazyValueAnalysis::run(Function &F, FunctionAnalysisManager &FAM) {
1479 return LazyValueInfo(&AC, &TLI, DT);
1482 Constant *LazyValueInfo::getConstant(Value *V, BasicBlock *BB,
1498 ConstantRange LazyValueInfo::getConstantRange(Value *V, BasicBlock *BB,
1515 Constant *LazyValueInfo::getConstantOnEdge(Value *V, BasicBlock *FromBB,
1532 static LazyValueInfo::Tristate getPredicateResult(unsigned Pred, Constant *C,
1543 return ResCI->isZero() ? LazyValueInfo::False : LazyValueInfo::True;
1544 return LazyValueInfo::Unknown;
1549 if (!CI) return LazyValueInfo::Unknown;
1554 return LazyValueInfo::False;
1557 return LazyValueInfo::True;
1560 return LazyValueInfo::True;
1563 return LazyValueInfo::False;
1570 return LazyValueInfo::True;
1572 return LazyValueInfo::False;
1573 return LazyValueInfo::Unknown;
1585 return LazyValueInfo::False;
1592 return LazyValueInfo::True;
1594 return LazyValueInfo::Unknown;
1597 return LazyValueInfo::Unknown;
1602 LazyValueInfo::Tristate
1603 LazyValueInfo::getPredicateOnEdge(unsigned Pred, Value *V, Constant *C,
1613 LazyValueInfo::Tristate
1614 LazyValueInfo::getPredicateAt(unsigned Pred, Value *V, Constant *C,
1703 void LazyValueInfo::threadEdge(BasicBlock *PredBB, BasicBlock *OldSucc,
1711 void LazyValueInfo::eraseBlock(BasicBlock *BB) {