Searched refs:BEBlock (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopSimplify.cpp | 369 BasicBlock *BEBlock = BasicBlock::Create(Header->getContext(), in insertUniqueBackedgeBlock() local 371 BranchInst *BETerminator = BranchInst::Create(Header, BEBlock); in insertUniqueBackedgeBlock() 375 << BEBlock->getName() << "\n"); in insertUniqueBackedgeBlock() 379 F->getBasicBlockList().splice(InsertPos, F->getBasicBlockList(), BEBlock); in insertUniqueBackedgeBlock() 420 PN->addIncoming(NewPN, BEBlock); in insertUniqueBackedgeBlock() 427 BEBlock->getInstList().erase(NewPN); in insertUniqueBackedgeBlock() 435 unsigned LoopMDKind = BEBlock->getContext().getMDKindID("llvm.loop"); in insertUniqueBackedgeBlock() 444 TI->setSuccessor(Op, BEBlock); in insertUniqueBackedgeBlock() 446 BEBlock->getTerminator()->setMetadata(LoopMDKind, LoopMD); in insertUniqueBackedgeBlock() 452 L->addBasicBlockToLoop(BEBlock, *LI); in insertUniqueBackedgeBlock() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LoopSimplify.cpp | 656 BasicBlock *BEBlock = BasicBlock::Create(Header->getContext(), in InsertUniqueBackedgeBlock() local 658 BranchInst *BETerminator = BranchInst::Create(Header, BEBlock); in InsertUniqueBackedgeBlock() 661 << BEBlock->getName() << "\n"); in InsertUniqueBackedgeBlock() 665 F->getBasicBlockList().splice(InsertPos, F->getBasicBlockList(), BEBlock); in InsertUniqueBackedgeBlock() 707 PN->addIncoming(NewPN, BEBlock); in InsertUniqueBackedgeBlock() 715 BEBlock->getInstList().erase(NewPN); in InsertUniqueBackedgeBlock() 725 TI->setSuccessor(Op, BEBlock); in InsertUniqueBackedgeBlock() 732 L->addBasicBlockToLoop(BEBlock, LI->getBase()); in InsertUniqueBackedgeBlock() 735 DT->splitBlock(BEBlock); in InsertUniqueBackedgeBlock() 737 return BEBlock; in InsertUniqueBackedgeBlock()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopSimplify.cpp | 380 BasicBlock *BEBlock = BasicBlock::Create(Header->getContext(), in insertUniqueBackedgeBlock() local 382 BranchInst *BETerminator = BranchInst::Create(Header, BEBlock); in insertUniqueBackedgeBlock() 386 << BEBlock->getName() << "\n"); in insertUniqueBackedgeBlock() 390 F->getBasicBlockList().splice(InsertPos, F->getBasicBlockList(), BEBlock); in insertUniqueBackedgeBlock() 431 PN->addIncoming(NewPN, BEBlock); in insertUniqueBackedgeBlock() 438 BEBlock->getInstList().erase(NewPN); in insertUniqueBackedgeBlock() 448 TI->setSuccessor(Op, BEBlock); in insertUniqueBackedgeBlock() 455 L->addBasicBlockToLoop(BEBlock, *LI); in insertUniqueBackedgeBlock() 458 DT->splitBlock(BEBlock); in insertUniqueBackedgeBlock() 460 return BEBlock; in insertUniqueBackedgeBlock()
|