/external/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 71 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 …]
|
D | JumpThreading.cpp | 123 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/ |
D | CorrelatedValuePropagation.cpp | 34 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()
|
D | JumpThreading.cpp | 78 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/ |
D | SplitKit.cpp | 155 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 …]
|
D | MachineVerifier.cpp | 1008 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/ |
D | SplitKit.cpp | 192 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/ |
D | JumpThreading.h | 61 LazyValueInfo *LVI; variable 90 : TLI(Other.TLI), LVI(Other.LVI), BFI(std::move(Other.BFI)), in JumpThreadingPass()
|
/external/llvm/test/Transforms/JumpThreading/ |
D | thread-cmp.ll | 2 ; 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/ |
D | Local.h | 312 bool removeUnreachableBlocks(Function &F, LazyValueInfo *LVI = nullptr);
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1550 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/ |
D | test_008.ppm | 3824 CH (-6:&) 6;"<A(]fR0:&'0#LVI)0)!%&-#*0.#)' ]^Y:0?6"'
|