Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2296 BasicBlock *LoopHeaderBB = CurLoop->getHeader(); in detectShiftUntilBitTestIdiom() local
2307 if (!match(LoopHeaderBB->getTerminator(), in detectShiftUntilBitTestIdiom()
2378 if (TrueBB != LoopHeaderBB) { in detectShiftUntilBitTestIdiom()
2453 BasicBlock *LoopHeaderBB = CurLoop->getHeader(); in recognizeShiftUntilBitTest() local
2559 Builder.SetInsertPoint(&LoopHeaderBB->front()); in recognizeShiftUntilBitTest()
2577 IV->addIncoming(IVNext, LoopHeaderBB); in recognizeShiftUntilBitTest()
2638 BasicBlock *LoopHeaderBB = CurLoop->getHeader(); in detectShiftUntilZeroIdiom() local
2648 if (!match(LoopHeaderBB->getTerminator(), in detectShiftUntilZeroIdiom()
2713 if (FalseBB != LoopHeaderBB) { in detectShiftUntilZeroIdiom()
2883 Builder.SetInsertPoint(&LoopHeaderBB->front()); in recognizeShiftUntilZero()
[all …]
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DScalarEvolutionExpanderTest.cpp558 auto *LoopHeaderBB = I.getParent(); in TEST_F() local
559 auto *Loop = LI.getLoopFor(LoopHeaderBB); in TEST_F()
576 for (BasicBlock::iterator i = LoopHeaderBB->begin(); isa<PHINode>(i); in TEST_F()
642 auto *LoopHeaderBB = I.getParent(); in TEST_F() local
643 auto *Loop = LI.getLoopFor(LoopHeaderBB); in TEST_F()
659 for (BasicBlock::iterator i = LoopHeaderBB->begin(); in TEST_F()
798 auto *LoopHeaderBB = I.getParent(); in TEST_F() local
799 auto *Loop = LI.getLoopFor(LoopHeaderBB); in TEST_F()
855 auto *LoopHeaderBB = I.getParent(); in TEST_F() local
856 auto *Loop = LI.getLoopFor(LoopHeaderBB); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp229 BasicBlock *LoopHeaderBB = BI->getSuccessor(0); in runOnFunction() local
232 BranchInst::Create(LoopHeaderBB, DummyReturnBB, BoolTrue, BB); in runOnFunction()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp450 const BlockChain &Chain, const MachineBasicBlock *LoopHeaderBB,
457 const MachineBasicBlock *LoopHeaderBB,
472 const MachineBasicBlock *LoopHeaderBB,
643 const BlockChain &Chain, const MachineBasicBlock *LoopHeaderBB, in markChainSuccessors() argument
648 markBlockSuccessors(Chain, MBB, LoopHeaderBB, BlockFilter); in markChainSuccessors()
670 if (&Chain == &SuccChain || Succ == LoopHeaderBB) in markBlockSuccessors()
1818 const MachineBasicBlock *LoopHeaderBB = HeadBB; in buildChain() local
1819 markChainSuccessors(Chain, LoopHeaderBB, BlockFilter); in buildChain()
1872 markChainSuccessors(SuccChain, LoopHeaderBB, BlockFilter); in buildChain()
2986 const MachineBasicBlock *LoopHeaderBB, in repeatedlyTailDuplicateBlock() argument
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp797 void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, in updateDominatorTree() argument
804 for (auto *BB = LoopHeaderBB; BB != LoopLatchBB; BB = PostDomSucc) { in updateDominatorTree()