Home
last modified time | relevance | path

Searched refs:BEBlock (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp378 BasicBlock *BEBlock = BasicBlock::Create(Header->getContext(), in insertUniqueBackedgeBlock() local
380 BranchInst *BETerminator = BranchInst::Create(Header, BEBlock); in insertUniqueBackedgeBlock()
384 << BEBlock->getName() << "\n"); in insertUniqueBackedgeBlock()
388 F->getBasicBlockList().splice(InsertPos, F->getBasicBlockList(), BEBlock); in insertUniqueBackedgeBlock()
429 PN->addIncoming(NewPN, BEBlock); in insertUniqueBackedgeBlock()
436 BEBlock->getInstList().erase(NewPN); in insertUniqueBackedgeBlock()
444 unsigned LoopMDKind = BEBlock->getContext().getMDKindID("llvm.loop"); in insertUniqueBackedgeBlock()
451 TI->replaceSuccessorWith(Header, BEBlock); in insertUniqueBackedgeBlock()
453 BEBlock->getTerminator()->setMetadata(LoopMDKind, LoopMD); in insertUniqueBackedgeBlock()
459 L->addBasicBlockToLoop(BEBlock, *LI); in insertUniqueBackedgeBlock()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp615 BasicBlock *Header, BasicBlock *Preheader, BasicBlock *BEBlock) { in updatePhisWhenInsertingUniqueBackedgeBlock() argument
622 auto *NewMPhi = MSSA->createMemoryPhi(BEBlock); in updatePhisWhenInsertingUniqueBackedgeBlock()
646 MPhi->addIncoming(NewMPhi, BEBlock); in updatePhisWhenInsertingUniqueBackedgeBlock()