Home
last modified time | relevance | path

Searched refs:LoopHeaderBB (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2109 BasicBlock *LoopHeaderBB = CurLoop->getHeader(); in detectShiftUntilBitTestIdiom() local
2120 if (!match(LoopHeaderBB->getTerminator(), in detectShiftUntilBitTestIdiom()
2160 if (!CurrXPN || CurrXPN->getParent() != LoopHeaderBB) { in detectShiftUntilBitTestIdiom()
2167 dyn_cast<Instruction>(CurrXPN->getIncomingValueForBlock(LoopHeaderBB)); in detectShiftUntilBitTestIdiom()
2188 if (TrueBB != LoopHeaderBB) { in detectShiftUntilBitTestIdiom()
2263 BasicBlock *LoopHeaderBB = CurLoop->getHeader(); in recognizeShiftUntilBitTest() local
2363 XCurr->replaceUsesOutsideBlock(NewX, LoopHeaderBB); in recognizeShiftUntilBitTest()
2364 XNext->replaceUsesOutsideBlock(NewXNext, LoopHeaderBB); in recognizeShiftUntilBitTest()
2369 Builder.SetInsertPoint(&LoopHeaderBB->front()); in recognizeShiftUntilBitTest()
2374 Builder.SetInsertPoint(LoopHeaderBB->getTerminator()); in recognizeShiftUntilBitTest()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp439 const BlockChain &Chain, const MachineBasicBlock *LoopHeaderBB,
446 const MachineBasicBlock *LoopHeaderBB,
461 const MachineBasicBlock *LoopHeaderBB,
623 const BlockChain &Chain, const MachineBasicBlock *LoopHeaderBB, in markChainSuccessors() argument
628 markBlockSuccessors(Chain, MBB, LoopHeaderBB, BlockFilter); in markChainSuccessors()
640 const MachineBasicBlock *LoopHeaderBB, const BlockFilterSet *BlockFilter) { in markBlockSuccessors() argument
650 if (&Chain == &SuccChain || Succ == LoopHeaderBB) in markBlockSuccessors()
1798 const MachineBasicBlock *LoopHeaderBB = HeadBB; in buildChain() local
1799 markChainSuccessors(Chain, LoopHeaderBB, BlockFilter); in buildChain()
1837 repeatedlyTailDuplicateBlock(BestSucc, BB, LoopHeaderBB, Chain, in buildChain()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp299 BasicBlock *LoopHeaderBB = BI->getSuccessor(0); in runOnFunction() local
302 BranchInst::Create(LoopHeaderBB, DummyReturnBB, BoolTrue, BB); in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp787 BasicBlock *LoopHeaderBB = LoopPreHeaderBB->getSingleSuccessor(); in updateDominatorTree() local
788 assert(LoopHeaderBB && "Loop preheader does not have a single successor."); in updateDominatorTree()
793 for (auto *BB = LoopHeaderBB; BB != LoopLatchBB; BB = PostDomSucc) { in updateDominatorTree()