Home
last modified time | relevance | path

Searched refs:NextBB (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEvaluator.cpp329 BasicBlock *&NextBB) { in EvaluateBlock() argument
612 NextBB = BI->getSuccessor(0); in EvaluateBlock()
618 NextBB = BI->getSuccessor(!Cond->getZExtValue()); in EvaluateBlock()
624 NextBB = SI->findCaseValue(Val)->getCaseSuccessor(); in EvaluateBlock()
628 NextBB = BA->getBasicBlock(); in EvaluateBlock()
632 NextBB = nullptr; in EvaluateBlock()
659 NextBB = II->getNormalDest(); in EvaluateBlock()
698 BasicBlock *NextBB = nullptr; // Initialized to avoid compiler warnings. in EvaluateFunction() local
701 if (!EvaluateBlock(CurInst, NextBB)) in EvaluateFunction()
704 if (!NextBB) { in EvaluateFunction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInsertSkips.cpp59 bool skipIfDead(MachineInstr &MI, MachineBasicBlock &NextBB);
149 bool SIInsertSkips::skipIfDead(MachineInstr &MI, MachineBasicBlock &NextBB) { in skipIfDead() argument
163 .addMBB(&NextBB); in skipIfDead()
441 MachineFunction::iterator NextBB; in runOnMachineFunction() local
446 BI != BE; BI = NextBB) { in runOnMachineFunction()
447 NextBB = std::next(BI); in runOnMachineFunction()
493 if (NextBB != BE && skipIfDead(MI, *NextBB)) { in runOnMachineFunction()
495 NextBB = std::next(BI); in runOnMachineFunction()
DSILowerControlFlow.cpp527 MachineFunction::iterator NextBB; in runOnMachineFunction() local
529 BI != BE; BI = NextBB) { in runOnMachineFunction()
530 NextBB = std::next(BI); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp271 void findDeadBlocks(BasicBlock *CurrBB, BasicBlock *NextBB);
1865 void CallAnalyzer::findDeadBlocks(BasicBlock *CurrBB, BasicBlock *NextBB) { in findDeadBlocks() argument
1881 if (Succ == NextBB || !IsNewlyDead(Succ)) in findDeadBlocks()
2003 BasicBlock *NextBB = BI->getSuccessor(SimpleCond->isZero() ? 1 : 0); in analyze() local
2004 BBWorklist.insert(NextBB); in analyze()
2005 KnownSuccessors[BB] = NextBB; in analyze()
2006 findDeadBlocks(BB, NextBB); in analyze()
2014 BasicBlock *NextBB = SI->findCaseValue(SimpleCond)->getCaseSuccessor(); in analyze() local
2015 BBWorklist.insert(NextBB); in analyze()
2016 KnownSuccessors[BB] = NextBB; in analyze()
[all …]
DValueTracking.cpp4605 if (auto *NextBB = BB->getSingleSuccessor()) { in programUndefinedIfFullPoison() local
4606 if (Visited.insert(NextBB).second) { in programUndefinedIfFullPoison()
4607 BB = NextBB; in programUndefinedIfFullPoison()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchRelaxation.cpp385 MachineBasicBlock &NextBB = *std::next(MachineFunction::iterator(MBB)); in fixupConditionalBranch() local
389 << printMBBReference(NextBB) << '\n'); in fixupConditionalBranch()
393 insertBranch(MBB, &NextBB, TBB, Cond); in fixupConditionalBranch()
DTailDuplicator.cpp731 MachineBasicBlock *NextBB = PredBB->getNextNode(); in duplicateSimpleBB() local
739 PredTBB = NextBB; in duplicateSimpleBB()
741 PredFBB = NextBB; in duplicateSimpleBB()
756 if (PredFBB == NextBB) in duplicateSimpleBB()
758 if (PredTBB == NextBB && PredFBB == nullptr) in duplicateSimpleBB()
DExpandMemCmp.cpp412 BasicBlock *NextBB = (BlockIndex == (LoadCmpBlocks.size() - 1)) in emitLoadCompareBlockMultipleLoads() local
417 BranchInst *CmpBr = BranchInst::Create(ResBlock.BB, NextBB, Cmp); in emitLoadCompareBlockMultipleLoads()
483 BasicBlock *NextBB = (BlockIndex == (LoadCmpBlocks.size() - 1)) in emitLoadCompareBlock() local
488 BranchInst *CmpBr = BranchInst::Create(NextBB, ResBlock.BB, Cmp); in emitLoadCompareBlock()
DBranchFolding.cpp472 MachineBasicBlock *NextBB = &*I; in FixTail() local
473 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail()
1735 MachineBasicBlock *NextBB = &*std::next(MBB->getIterator()); in OptimizeBlock() local
1737 TII->insertBranch(*MBB, NextBB, nullptr, CurCond, DebugLoc()); in OptimizeBlock()
DMachineBlockPlacement.cpp2634 MachineBasicBlock *NextBB = &*NextFI; in buildCFGChains() local
2639 << getBlockName(BB) << " -> " << getBlockName(NextBB) in buildCFGChains()
2641 Chain->merge(NextBB, nullptr); in buildCFGChains()
2646 BB = NextBB; in buildCFGChains()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsConstantIslandPass.cpp596 MachineBasicBlock *NextBB = &*std::next(MBBI); in BBHasFallthrough() local
599 if (*I == NextBB) in BBHasFallthrough()
1609 MachineBasicBlock *NextBB = &*++MBB->getIterator(); in fixupConditionalBr() local
1613 << printMBBReference(*NextBB) << "\n"); in fixupConditionalBr()
1620 .addMBB(NextBB); in fixupConditionalBr()
1623 .addMBB(NextBB); in fixupConditionalBr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DEvaluator.h63 bool EvaluateBlock(BasicBlock::iterator CurInst, BasicBlock *&NextBB);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp300 auto *NextBB = WorklistUnescaped.pop_back_val(); in markTails() local
301 if (Visited[NextBB] == UNESCAPED) { in markTails()
302 BB = NextBB; in markTails()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp624 MachineBasicBlock *NextBB = &*std::next(MBBI); in BBHasFallthrough() local
625 if (!MBB->isSuccessor(NextBB)) in BBHasFallthrough()
1709 MachineBasicBlock *NextBB = &*++MBB->getIterator(); in fixupConditionalBr() local
1713 << printMBBReference(*NextBB) << "\n"); in fixupConditionalBr()
1718 .addMBB(NextBB).addImm(CC).addReg(CCReg); in fixupConditionalBr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1276 BasicBlock *NextBB = BasicBlock::Create(*DFS.Ctx, "", F); in loadShadow() local
1277 DT.addNewBlock(NextBB, LastBr->getParent()); in loadShadow()
1278 IRBuilder<> NextIRB(NextBB); in loadShadow()
1284 LastBr->setSuccessor(0, NextBB); in loadShadow()
DAddressSanitizer.cpp1714 BasicBlock *NextBB = CheckTerm->getSuccessor(0); in instrumentAddress() local
1721 BasicBlock::Create(*C, "", NextBB->getParent(), NextBB); in instrumentAddress()
1723 BranchInst *NewTerm = BranchInst::Create(CrashBlock, NextBB, Cmp2); in instrumentAddress()