Home
last modified time | relevance | path

Searched refs:LazyValueInfo (Results 1 – 6 of 6) sorted by relevance

/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDCorrelatedValuePropagation.cpp39 LazyValueInfo *LVI;
56 AU.addRequired<LazyValueInfo>(); in getAnalysisUsage()
64 INITIALIZE_PASS_DEPENDENCY(LazyValueInfo) in INITIALIZE_PASS_DEPENDENCY() argument
138 LazyValueInfo::False) in processPHI()
198 LazyValueInfo::Tristate Result = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
201 if (Result == LazyValueInfo::Unknown) return false; in processCmp()
205 LazyValueInfo::Tristate Res = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
214 if (Result == LazyValueInfo::True) in processCmp()
253 LazyValueInfo::Tristate State = LazyValueInfo::Unknown; in processSwitch()
256 LazyValueInfo::Tristate Value = LVI->getPredicateOnEdge(CmpInst::ICMP_EQ, in processSwitch()
[all …]
HDJumpThreading.cpp82 LazyValueInfo *LVI;
115 AU.addRequired<LazyValueInfo>(); in getAnalysisUsage()
116 AU.addPreserved<LazyValueInfo>(); in getAnalysisUsage()
146 INITIALIZE_PASS_DEPENDENCY(LazyValueInfo) in INITIALIZE_PASS_DEPENDENCY() argument
162 LVI = &getAnalysis<LazyValueInfo>(); in runOnFunction()
518 LazyValueInfo::Tristate in ComputeValueKnownInPredecessors()
522 if (ResT == LazyValueInfo::Unknown) in ComputeValueKnownInPredecessors()
545 LazyValueInfo::Tristate Res = in ComputeValueKnownInPredecessors()
548 if (Res == LazyValueInfo::Unknown) in ComputeValueKnownInPredecessors()
768 LazyValueInfo::Tristate Ret = in ProcessBlock()
[all …]
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDLazyValueInfo.h30 class LazyValueInfo : public FunctionPass {
35 LazyValueInfo(const LazyValueInfo&) = delete;
36 void operator=(const LazyValueInfo&) = delete;
39 LazyValueInfo() : FunctionPass(ID), PImpl(nullptr) { in LazyValueInfo() function
42 ~LazyValueInfo() override { assert(!PImpl && "releaseMemory not called"); } in ~LazyValueInfo()
/NextBSD/contrib/llvm/lib/Analysis/
HDLazyValueInfo.cpp40 char LazyValueInfo::ID = 0;
41 INITIALIZE_PASS_BEGIN(LazyValueInfo, "lazy-value-info",
45 INITIALIZE_PASS_END(LazyValueInfo, "lazy-value-info",
49 FunctionPass *createLazyValueInfoPass() { return new LazyValueInfo(); } in createLazyValueInfoPass()
1113 bool LazyValueInfo::runOnFunction(Function &F) { in runOnFunction()
1130 void LazyValueInfo::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
1136 void LazyValueInfo::releaseMemory() { in releaseMemory()
1144 Constant *LazyValueInfo::getConstant(Value *V, BasicBlock *BB, in getConstant()
1162 Constant *LazyValueInfo::getConstantOnEdge(Value *V, BasicBlock *FromBB, in getConstantOnEdge()
1179 static LazyValueInfo::Tristate getPredicateResult(unsigned Pred, Constant *C, in getPredicateResult()
[all …]
/NextBSD/lib/clang/libllvmanalysis/
HDMakefile.depend40 LazyValueInfo.o: Intrinsics.inc.h
41 LazyValueInfo.po: Intrinsics.inc.h
HDMakefile37 LazyValueInfo.cpp \