Home
last modified time | relevance | path

Searched refs:NewMBB (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DFinalizeISel.cpp62 MachineBasicBlock *NewMBB = TLI->EmitInstrWithCustomInserter(MI, MBB); in runOnMachineFunction() local
64 if (NewMBB != MBB) { in runOnMachineFunction()
65 MBB = NewMBB; in runOnMachineFunction()
66 I = NewMBB->getIterator(); in runOnMachineFunction()
67 MBBI = NewMBB->begin(); in runOnMachineFunction()
68 MBBE = NewMBB->end(); in runOnMachineFunction()
DBranchFolding.cpp409 MachineBasicBlock *NewMBB = MF.CreateMachineBasicBlock(BB); in SplitMBBAt() local
410 CurMBB.getParent()->insert(++MBBI, NewMBB); in SplitMBBAt()
413 NewMBB->transferSuccessors(&CurMBB); in SplitMBBAt()
416 CurMBB.addSuccessor(NewMBB); in SplitMBBAt()
419 NewMBB->splice(NewMBB->end(), &CurMBB, BBI1, CurMBB.end()); in SplitMBBAt()
424 ML->addBasicBlockToLoop(NewMBB, MLI->getBase()); in SplitMBBAt()
427 MBBFreqInfo.setBlockFreq(NewMBB, MBBFreqInfo.getBlockFreq(&CurMBB)); in SplitMBBAt()
430 computeAndAddLiveIns(LiveRegs, *NewMBB); in SplitMBBAt()
436 EHScopeMembership[NewMBB] = n; in SplitMBBAt()
439 return NewMBB; in SplitMBBAt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCReduceCRLogicals.cpp57 MachineBasicBlock *NewMBB, MachineRegisterInfo *MRI) { in updatePHIs() argument
69 if (DefMI->getParent() == NewMBB || in updatePHIs()
71 MO.setMBB(NewMBB); in updatePHIs()
87 MachineBasicBlock *NewMBB, in addIncomingValuesToPHIs() argument
89 assert(OrigMBB->isSuccessor(NewMBB) && in addIncomingValuesToPHIs()
100 MIB.addReg(MI.getOperand(i - 1).getReg()).addMBB(NewMBB); in addIncomingValuesToPHIs()
202 MachineBasicBlock *NewMBB = MF->CreateMachineBasicBlock(LLVM_BB); in splitMBB() local
203 MF->insert(++It, NewMBB); in splitMBB()
206 NewMBB->splice(NewMBB->end(), ThisMBB, InsertPoint, ThisMBB->end()); in splitMBB()
207 NewMBB->transferSuccessors(ThisMBB); in splitMBB()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FlagsCopyLowering.cpp279 MachineBasicBlock &NewMBB = *MF.CreateMachineBasicBlock(); in splitBlock() local
283 MF.insert(std::next(MachineFunction::iterator(&MBB)), &NewMBB); in splitBlock()
286 NewMBB.splice(NewMBB.end(), &MBB, SplitI.getIterator(), MBB.end()); in splitBlock()
292 NewMBB.copySuccessor(&MBB, SI); in splitBlock()
295 NewMBB.normalizeSuccProbs(); in splitBlock()
299 for (MachineBasicBlock *Succ : NewMBB.successors()) in splitBlock()
301 MBB.replaceSuccessor(Succ, &NewMBB); in splitBlock()
304 assert(MBB.isSuccessor(&NewMBB) && in splitBlock()
308 for (MachineBasicBlock *Succ : NewMBB.successors()) { in splitBlock()
323 OpMBB.setMBB(&NewMBB); in splitBlock()
[all …]
DX86SpeculativeLoadHardening.cpp231 MachineBasicBlock &NewMBB = *MF.CreateMachineBasicBlock(); in splitEdge() local
236 MF.insert(std::next(MachineFunction::iterator(&MBB)), &NewMBB); in splitEdge()
242 Br->getOperand(0).setMBB(&NewMBB); in splitEdge()
249 *std::next(MachineFunction::iterator(&NewMBB)); in splitEdge()
261 if (!NewMBB.isLayoutSuccessor(&Succ)) { in splitEdge()
263 TII.insertBranch(NewMBB, &Succ, nullptr, Cond, Br->getDebugLoc()); in splitEdge()
268 assert(NewMBB.isLayoutSuccessor(&Succ) && in splitEdge()
277 MBB.replaceSuccessor(&Succ, &NewMBB); in splitEdge()
279 MBB.splitSuccessor(&Succ, &NewMBB); in splitEdge()
283 NewMBB.addSuccessor(&Succ); in splitEdge()
[all …]
DX86ExpandPseudo.cpp105 auto *NewMBB = MF->CreateMachineBasicBlock(BB); in INITIALIZE_PASS() local
106 MBB->addSuccessor(NewMBB); in INITIALIZE_PASS()
109 return NewMBB; in INITIALIZE_PASS()
DX86CondBrFolding.cpp184 MachineBasicBlock *NewMBB) { in fixPHIsInSucc() argument
185 if (NewMBB == OldMBB) in fixPHIsInSucc()
192 MO.setMBB(NewMBB); in fixPHIsInSucc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVExpandPseudoInsts.cpp635 MachineBasicBlock *NewMBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in expandAuipcInstPair() local
639 NewMBB->setLabelMustBeEmitted(); in expandAuipcInstPair()
641 MF->insert(++MBB.getIterator(), NewMBB); in expandAuipcInstPair()
643 BuildMI(NewMBB, DL, TII->get(RISCV::AUIPC), DestReg) in expandAuipcInstPair()
645 BuildMI(NewMBB, DL, TII->get(SecondOpcode), DestReg) in expandAuipcInstPair()
647 .addMBB(NewMBB, RISCVII::MO_PCREL_LO); in expandAuipcInstPair()
650 NewMBB->splice(NewMBB->end(), &MBB, std::next(MBBI), MBB.end()); in expandAuipcInstPair()
652 NewMBB->transferSuccessorsAndUpdatePHIs(&MBB); in expandAuipcInstPair()
654 MBB.addSuccessor(NewMBB); in expandAuipcInstPair()
658 computeAndAddLiveIns(LiveRegs, *NewMBB); in expandAuipcInstPair()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsBranchExpansion.cpp267 MachineBasicBlock *NewMBB = in splitMBB() local
272 NewMBB->transferSuccessors(MBB); in splitMBB()
274 NewMBB->removeSuccessor(Tgt, true); in splitMBB()
275 MBB->addSuccessor(NewMBB); in splitMBB()
277 MFp->insert(std::next(MachineFunction::iterator(MBB)), NewMBB); in splitMBB()
279 NewMBB->splice(NewMBB->end(), MBB, LastBr.getReverse(), MBB->end()); in splitMBB()
DMipsConstantIslandPass.cpp395 MachineBasicBlock *&NewMBB);
1214 MachineBasicBlock *&NewMBB) { in createNewWater() argument
1232 NewMBB = &*++UserMBB->getIterator(); in createNewWater()
1239 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB); in createNewWater()
1302 NewMBB = splitBlockBeforeInstr(*--MI); in createNewWater()
1326 MachineBasicBlock *NewMBB; in handleConstantPoolUser() local
1339 NewMBB = &*++WaterBB->getIterator(); in handleConstantPoolUser()
1349 createNewWater(CPUserIndex, UserOffset, NewMBB); in handleConstantPoolUser()
1356 MachineBasicBlock *WaterBB = &*--NewMBB->getIterator(); in handleConstantPoolUser()
1373 MF->insert(NewMBB->getIterator(), NewIsland); in handleConstantPoolUser()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp261 MachineBasicBlock *&NewMBB);
1267 MachineBasicBlock *&NewMBB) { in createNewWater() argument
1289 NewMBB = &*++UserMBB->getIterator(); in createNewWater()
1297 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB); in createNewWater()
1300 .addMBB(NewMBB) in createNewWater()
1440 NewMBB = splitBlockBeforeInstr(&*MI); in createNewWater()
1469 MachineBasicBlock *NewMBB; in handleConstantPoolUser() local
1482 NewMBB = &*++WaterBB->getIterator(); in handleConstantPoolUser()
1486 createNewWater(CPUserIndex, UserOffset, NewMBB); in handleConstantPoolUser()
1493 MachineBasicBlock *WaterBB = &*--NewMBB->getIterator(); in handleConstantPoolUser()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp482 MachineInstr *NewMBB = in insertInstrBefore() local
484 MBB->insert(I, NewMBB); in insertInstrBefore()
486 SHOWNEWINSTR(NewMBB); in insertInstrBefore()
487 return NewMBB; in insertInstrBefore()
663 MachineBasicBlock *NewMBB = Func->CreateMachineBasicBlock(); in clone() local
664 Func->push_back(NewMBB); //insert to function in clone()
666 NewMBB->push_back(Func->CloneMachineInstr(&It)); in clone()
667 return NewMBB; in clone()
DAMDGPUMachineCFGStructurizer.cpp663 MBBMRT *NewMBB = new MBBMRT(MBB); in buildMRT() local
686 RegionMap[Region]->addChild(NewMBB); in buildMRT()
687 NewMBB->setParent(RegionMap[Region]); in buildMRT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp6700 MachineBasicBlock *NewMBB = MF.CreateMachineBasicBlock(MBB->getBasicBlock()); in emitBlockAfter() local
6701 MF.insert(std::next(MachineFunction::iterator(MBB)), NewMBB); in emitBlockAfter()
6702 return NewMBB; in emitBlockAfter()
6709 MachineBasicBlock *NewMBB = emitBlockAfter(MBB); in splitBlockAfter() local
6710 NewMBB->splice(NewMBB->begin(), MBB, in splitBlockAfter()
6712 NewMBB->transferSuccessorsAndUpdatePHIs(MBB); in splitBlockAfter()
6713 return NewMBB; in splitBlockAfter()
6719 MachineBasicBlock *NewMBB = emitBlockAfter(MBB); in splitBlockBefore() local
6720 NewMBB->splice(NewMBB->begin(), MBB, MI, MBB->end()); in splitBlockBefore()
6721 NewMBB->transferSuccessorsAndUpdatePHIs(MBB); in splitBlockBefore()
[all …]