HomeSort by: relevance | last modified time | path
    Searched defs:LVI (Results 1 - 5 of 5) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
JumpThreading.h 81 LazyValueInfo *LVI;
102 bool runImpl(Function &F, TargetLibraryInfo *TLI, LazyValueInfo *LVI,
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
SplitKit.cpp 219 LiveInterval::const_iterator LVI = CurLI->begin();
228 LIS.getMBBFromIndex(LVI->start)->getIterator();
243 if (LVI->end < Stop)
254 // LVI is the first live segment overlapping MBB.
255 BI.LiveIn = LVI->start <= Start;
259 assert(LVI->start == LVI->valno->def && "Dangling Segment start");
260 assert(LVI->start == BI.FirstInstr && "First instr should be a def");
266 while (LVI->end < Stop) {
267 SlotIndex LastStop = LVI->end
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LowerSwitch.cpp 347 AssumptionCache *AC, LazyValueInfo *LVI) {
397 // switch, while LowerSwitch only needs to call LVI once per switch.
403 const ConstantRange LVIRange = LVI->getConstantRange(Val, SI);
523 bool LowerSwitch(Function &F, LazyValueInfo *LVI, AssumptionCache *AC) {
538 ProcessSwitchInst(SI, DeleteList, AC, LVI);
543 LVI->eraseBlock(BB);
587 LazyValueInfo *LVI = &getAnalysis<LazyValueInfoWrapperPass>().getLVI();
590 return LowerSwitch(F, LVI, AC);
595 LazyValueInfo *LVI = &AM.getResult<LazyValueAnalysis>(F);
597 return LowerSwitch(F, LVI, AC) ? PreservedAnalyses::none(
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
CorrelatedValuePropagation.cpp 129 static bool processSelect(SelectInst *S, LazyValueInfo *LVI) {
133 Constant *C = LVI->getConstant(S->getCondition(), S);
159 static bool simplifyCommonValuePhi(PHINode *P, LazyValueInfo *LVI,
192 if (C != LVI->getConstantOnEdge(CommonValue, IncomingBB, ToBB, P))
211 static bool processPHI(PHINode *P, LazyValueInfo *LVI, DominatorTree *DT,
220 Value *V = LVI->getConstantOnEdge(Incoming, P->getIncomingBlock(i), BB, P);
223 // LVI can tells us the value. In that case replace the incoming value with
232 if (Constant *C = LVI->getConstantOnEdge(
239 // Once LVI learns to handle vector types, we could also add support
244 // Look if the select has a constant but LVI tells us that the incomin
    [all...]
JumpThreading.cpp 105 "print-lvi-after-jump-threading",
323 auto LVI = &getAnalysis<LazyValueInfoWrapperPass>().getLVI();
334 bool Changed = Impl.runImpl(F, TLI, LVI, AA, &DTU, F.hasProfileData(),
337 dbgs() << "LVI for function '" << F.getName() << "':\n";
338 LVI->printLVI(F, DTU.getDomTree(), dbgs());
351 auto &LVI = AM.getResult<LazyValueAnalysis>(F);
363 bool Changed = runImpl(F, &TLI, &LVI, &AA, &DTU, F.hasProfileData(),
367 dbgs() << "LVI for function '" << F.getName() << "':\n";
368 LVI.printLVI(F, DTU.getDomTree(), dbgs());
386 LVI = LVI_
    [all...]

Completed in 71 milliseconds