Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp71 static bool processSelect(SelectInst *S, LazyValueInfo *LVI) { in processSelect() argument
75 Constant *C = LVI->getConstant(S->getOperand(0), S->getParent(), S); in processSelect()
94 static bool processPHI(PHINode *P, LazyValueInfo *LVI) { in processPHI() argument
102 Value *V = LVI->getConstantOnEdge(Incoming, P->getIncomingBlock(i), BB, P); in processPHI()
114 if (Constant *C = LVI->getConstantOnEdge( in processPHI()
134 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, in processPHI()
162 static bool processMemAccess(Instruction *I, LazyValueInfo *LVI) { in processMemAccess() argument
171 Constant *C = LVI->getConstant(Pointer, I->getParent(), I); in processMemAccess()
183 static bool processCmp(CmpInst *C, LazyValueInfo *LVI) { in processCmp() argument
198 LVI->getPredicateAt(C->getPredicate(), Op0, Op1, C); in processCmp()
[all …]
DJumpThreading.cpp123 auto LVI = &getAnalysis<LazyValueInfoWrapperPass>().getLVI(); in runOnFunction() local
132 return Impl.runImpl(F, TLI, LVI, HasProfileData, std::move(BFI), in runOnFunction()
140 auto &LVI = AM.getResult<LazyValueAnalysis>(F); in run() local
150 runImpl(F, &TLI, &LVI, HasProfileData, std::move(BFI), std::move(BPI)); in run()
170 LVI = LVI_; in runImpl()
189 EverChanged |= removeUnreachableBlocks(F, LVI); in runImpl()
211 LVI->eraseBlock(BB); in runImpl()
239 LVI->eraseBlock(BB); in runImpl()
418 Constant *PredCst = LVI->getConstantOnEdge(V, P, BB, CxtI); in ComputeValueKnownInPredecessors()
433 Constant *CI = LVI->getConstantOnEdge(InVal, in ComputeValueKnownInPredecessors()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp34 LazyValueInfo *LVI; member in __anonc1e51d840111::CorrelatedValuePropagation
71 Constant *C = LVI->getConstant(S->getOperand(0), S->getParent()); in processSelect()
98 Constant *C = LVI->getConstantOnEdge(P->getIncomingValue(i), in processPHI()
127 Constant *C = LVI->getConstant(Pointer, I->getParent()); in processMemAccess()
152 LazyValueInfo::Tristate Result = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
158 LazyValueInfo::Tristate Res = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
177 LVI = &getAnalysis<LazyValueInfo>(); in runOnFunction()
DJumpThreading.cpp78 LazyValueInfo *LVI; member in __anonf16288b00111::JumpThreading
147 LVI = &getAnalysis<LazyValueInfo>(); in runOnFunction()
169 LVI->eraseBlock(BB); in runOnFunction()
194 LVI->eraseBlock(BB); in runOnFunction()
354 Constant *PredCst = LVI->getConstantOnEdge(V, P, BB); in ComputeValueKnownInPredecessors()
369 Constant *CI = LVI->getConstantOnEdge(InVal, in ComputeValueKnownInPredecessors()
483 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS, in ComputeValueKnownInPredecessors()
510 LVI->getPredicateOnEdge(Cmp->getPredicate(), Cmp->getOperand(0), in ComputeValueKnownInPredecessors()
577 Constant *CI = LVI->getConstant(V, BB); in ComputeValueKnownInPredecessors()
645 LVI->eraseBlock(SinglePred); in ProcessBlock()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSplitKit.cpp155 LiveInterval::const_iterator LVI = CurLI->begin(); in calcLiveBlockInfo() local
163 MachineFunction::iterator MFI = LIS.getMBBFromIndex(LVI->start); in calcLiveBlockInfo()
178 if (LVI->end < Stop) in calcLiveBlockInfo()
190 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo()
194 assert(LVI->start == LVI->valno->def && "Dangling LiveRange start"); in calcLiveBlockInfo()
195 assert(LVI->start == BI.FirstInstr && "First instr should be a def"); in calcLiveBlockInfo()
201 while (LVI->end < Stop) { in calcLiveBlockInfo()
202 SlotIndex LastStop = LVI->end; in calcLiveBlockInfo()
203 if (++LVI == LVE || LVI->start >= Stop) { in calcLiveBlockInfo()
209 if (LastStop < LVI->start) { in calcLiveBlockInfo()
[all …]
DMachineVerifier.cpp1008 for (LiveIntervals::const_iterator LVI = LiveInts->begin(), in verifyLiveIntervals() local
1009 LVE = LiveInts->end(); LVI != LVE; ++LVI) { in verifyLiveIntervals()
1010 const LiveInterval &LI = *LVI->second; in verifyLiveIntervals()
1021 assert(LVI->first == LI.reg && "Invalid reg to interval mapping"); in verifyLiveIntervals()
/external/llvm/lib/CodeGen/
DSplitKit.cpp192 LiveInterval::const_iterator LVI = CurLI->begin(); in calcLiveBlockInfo() local
201 LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
216 if (LVI->end < Stop) in calcLiveBlockInfo()
228 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo()
232 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); in calcLiveBlockInfo()
233 assert(LVI->start == BI.FirstInstr && "First instr should be a def"); in calcLiveBlockInfo()
239 while (LVI->end < Stop) { in calcLiveBlockInfo()
240 SlotIndex LastStop = LVI->end; in calcLiveBlockInfo()
241 if (++LVI == LVE || LVI->start >= Stop) { in calcLiveBlockInfo()
247 if (LastStop < LVI->start) { in calcLiveBlockInfo()
[all …]
/external/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h61 LazyValueInfo *LVI; variable
90 : TLI(Other.TLI), LVI(Other.LVI), BFI(std::move(Other.BFI)), in JumpThreadingPass()
/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)
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h312 bool removeUnreachableBlocks(Function &F, LazyValueInfo *LVI = nullptr);
/external/llvm/lib/Transforms/Utils/
DLocal.cpp1550 bool llvm::removeUnreachableBlocks(Function &F, LazyValueInfo *LVI) { in removeUnreachableBlocks() argument
1570 if (LVI) in removeUnreachableBlocks()
1571 LVI->eraseBlock(&*BB); in removeUnreachableBlocks()
/external/toolchain-utils/android_bench_suite/panorama_input/
Dtest_008.ppm3824 CH (-6:&) �6;"<A(]fR0:&'0#LVI)0)!%&-#*0.#)' ]^Y:0?6"'