Home
last modified time | relevance | path

Searched refs:LVI (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp41 LazyValueInfo *LVI; member in __anon7147725b0111::CorrelatedValuePropagation
85 Constant *C = LVI->getConstant(S->getOperand(0), S->getParent(), S); in processSelect()
112 Value *V = LVI->getConstantOnEdge(Incoming, P->getIncomingBlock(i), BB, P); in processPHI()
124 if (Constant *C = LVI->getConstantOnEdge( in processPHI()
144 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, in processPHI()
181 Constant *C = LVI->getConstant(Pointer, I->getParent(), I); in processMemAccess()
208 LVI->getPredicateAt(C->getPredicate(), Op0, Op1, C); in processCmp()
253 LazyValueInfo::Tristate Value = LVI->getPredicateOnEdge(CmpInst::ICMP_EQ, in processSwitch()
317 LVI->getPredicateAt(ICmpInst::ICMP_EQ, V, in processCallSite()
338 if (Constant *C = LVI->getConstant(V, At->getParent(), At)) in getConstantAt()
[all …]
DJumpThreading.cpp98 LazyValueInfo *LVI; member in __anonaccc34270111::JumpThreading
194 LVI = &getAnalysis<LazyValueInfo>(); in runOnFunction()
235 LVI->eraseBlock(BB); in runOnFunction()
260 LVI->eraseBlock(BB); in runOnFunction()
435 Constant *PredCst = LVI->getConstantOnEdge(V, P, BB, CxtI); in ComputeValueKnownInPredecessors()
450 Constant *CI = LVI->getConstantOnEdge(InVal, in ComputeValueKnownInPredecessors()
566 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS, in ComputeValueKnownInPredecessors()
593 LVI->getPredicateOnEdge(Cmp->getPredicate(), Cmp->getOperand(0), in ComputeValueKnownInPredecessors()
660 Constant *CI = LVI->getConstant(V, BB, CxtI); in ComputeValueKnownInPredecessors()
726 LVI->eraseBlock(SinglePred); in ProcessBlock()
[all …]
/external/llvm/lib/CodeGen/
DSplitKit.cpp172 LiveInterval::const_iterator LVI = CurLI->begin(); in calcLiveBlockInfo() local
181 LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
196 if (LVI->end < Stop) in calcLiveBlockInfo()
208 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo()
212 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); in calcLiveBlockInfo()
213 assert(LVI->start == BI.FirstInstr && "First instr should be a def"); in calcLiveBlockInfo()
219 while (LVI->end < Stop) { in calcLiveBlockInfo()
220 SlotIndex LastStop = LVI->end; in calcLiveBlockInfo()
221 if (++LVI == LVE || LVI->start >= Stop) { in calcLiveBlockInfo()
227 if (LastStop < LVI->start) { in calcLiveBlockInfo()
[all …]
/external/llvm/test/Transforms/JumpThreading/
Dthread-cmp.ll2 ; When simplify a branch based on LVI predicates, we should replace the
28 ; but that's a CSE problem, not a LVI/jump threading problem)