/external/llvm/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 71 static bool processSelect(SelectInst *S, LazyValueInfo *LVI) { 75 Constant *C = LVI->getConstant(S->getOperand(0), S->getParent(), S); 94 static bool processPHI(PHINode *P, LazyValueInfo *LVI) { 102 Value *V = LVI->getConstantOnEdge(Incoming, P->getIncomingBlock(i), BB, P); 105 // LVI can tells us the value. In that case replace the incoming value with 114 if (Constant *C = LVI->getConstantOnEdge( 121 // Once LVI learns to handle vector types, we could also add support 126 // Look if the select has a constant but LVI tells us that the incoming 134 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, 162 static bool processMemAccess(Instruction *I, LazyValueInfo *LVI) { [all...] |
JumpThreading.cpp | 123 auto LVI = &getAnalysis<LazyValueInfoWrapperPass>().getLVI(); 132 return Impl.runImpl(F, TLI, LVI, HasProfileData, std::move(BFI), 140 auto &LVI = AM.getResult<LazyValueAnalysis>(F); 150 runImpl(F, &TLI, &LVI, HasProfileData, std::move(BFI), std::move(BPI)); 152 // FIXME: We need to invalidate LVI to avoid PR28400. Is there a better 170 LVI = LVI_; 189 EverChanged |= removeUnreachableBlocks(F, LVI); 211 LVI->eraseBlock(BB); 239 LVI->eraseBlock(BB); 418 Constant *PredCst = LVI->getConstantOnEdge(V, P, BB, CxtI) [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 34 LazyValueInfo *LVI; 71 Constant *C = LVI->getConstant(S->getOperand(0), S->getParent()); 98 Constant *C = LVI->getConstantOnEdge(P->getIncomingValue(i), 127 Constant *C = LVI->getConstant(Pointer, I->getParent()); 152 LazyValueInfo::Tristate Result = LVI->getPredicateOnEdge(C->getPredicate(), 158 LazyValueInfo::Tristate Res = LVI->getPredicateOnEdge(C->getPredicate(), 177 LVI = &getAnalysis<LazyValueInfo>();
|
JumpThreading.cpp | 78 LazyValueInfo *LVI; 147 LVI = &getAnalysis<LazyValueInfo>(); 169 LVI->eraseBlock(BB); 194 LVI->eraseBlock(BB); 354 Constant *PredCst = LVI->getConstantOnEdge(V, P, BB); 369 Constant *CI = LVI->getConstantOnEdge(InVal, 483 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS, 510 LVI->getPredicateOnEdge(Cmp->getPredicate(), Cmp->getOperand(0), 576 // If all else fails, see if LVI can figure out a constant value for us. 577 Constant *CI = LVI->getConstant(V, BB) [all...] |
/external/llvm/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 61 LazyValueInfo *LVI; 90 : TLI(Other.TLI), LVI(Other.LVI), BFI(std::move(Other.BFI)),
|
/external/llvm/lib/CodeGen/ |
SplitKit.cpp | 192 LiveInterval::const_iterator LVI = CurLI->begin(); 201 LIS.getMBBFromIndex(LVI->start)->getIterator(); 216 if (LVI->end < Stop) 227 // LVI is the first live segment overlapping MBB. 228 BI.LiveIn = LVI->start <= Start; 232 assert(LVI->start == LVI->valno->def && "Dangling Segment start"); 233 assert(LVI->start == BI.FirstInstr && "First instr should be a def"); 239 while (LVI->end < Stop) { 240 SlotIndex LastStop = LVI->end [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
SplitKit.cpp | 155 LiveInterval::const_iterator LVI = CurLI->begin(); 163 MachineFunction::iterator MFI = LIS.getMBBFromIndex(LVI->start); 178 if (LVI->end < Stop) 189 // LVI is the first live segment overlapping MBB. 190 BI.LiveIn = LVI->start <= Start; 194 assert(LVI->start == LVI->valno->def && "Dangling LiveRange start"); 195 assert(LVI->start == BI.FirstInstr && "First instr should be a def"); 201 while (LVI->end < Stop) { 202 SlotIndex LastStop = LVI->end [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 63 LazyValueInfo *LVI;
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 63 LazyValueInfo *LVI;
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 63 LazyValueInfo *LVI;
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 78 LazyValueInfo *LVI;
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 78 LazyValueInfo *LVI;
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 78 LazyValueInfo *LVI;
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 78 LazyValueInfo *LVI;
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 63 LazyValueInfo *LVI;
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 63 LazyValueInfo *LVI;
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 63 LazyValueInfo *LVI;
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 78 LazyValueInfo *LVI;
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 78 LazyValueInfo *LVI;
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 78 LazyValueInfo *LVI;
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Transforms/Scalar/ |
JumpThreading.h | 78 LazyValueInfo *LVI;
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 312 bool removeUnreachableBlocks(Function &F, LazyValueInfo *LVI = nullptr);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 349 bool removeUnreachableBlocks(Function &F, LazyValueInfo *LVI = nullptr);
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Transforms/Utils/ |
Local.h | 346 bool removeUnreachableBlocks(Function &F, LazyValueInfo *LVI = nullptr);
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Transforms/Utils/ |
Local.h | 346 bool removeUnreachableBlocks(Function &F, LazyValueInfo *LVI = nullptr);
|