/external/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 440 MachineBasicBlock *BranchFolder::SplitMBBAt(MachineBasicBlock &CurMBB, in SplitMBBAt() argument 443 if (!TII->isLegalToSplitMBBAt(CurMBB, BBI1)) in SplitMBBAt() 446 MachineFunction &MF = *CurMBB.getParent(); in SplitMBBAt() 449 MachineFunction::iterator MBBI = CurMBB.getIterator(); in SplitMBBAt() 451 CurMBB.getParent()->insert(++MBBI, NewMBB); in SplitMBBAt() 454 NewMBB->transferSuccessors(&CurMBB); in SplitMBBAt() 457 CurMBB.addSuccessor(NewMBB); in SplitMBBAt() 460 NewMBB->splice(NewMBB->end(), &CurMBB, BBI1, CurMBB.end()); in SplitMBBAt() 464 if (MachineLoop *ML = MLI->getLoopFor(&CurMBB)) in SplitMBBAt() 468 MBBFreqInfo.setBlockFreq(NewMBB, MBBFreqInfo.getBlockFreq(&CurMBB)); in SplitMBBAt() [all …]
|
D | LiveDebugValues.cpp | 340 const MachineBasicBlock *CurMBB = MI.getParent(); in transferTerminatorInst() local 341 if (!(MI.isTerminator() || (&MI == &CurMBB->instr_back()))) in transferTerminatorInst() 351 VarLocSet &VLS = OutLocs[CurMBB]; in transferTerminatorInst()
|
D | BranchFolding.h | 137 MachineBasicBlock *SplitMBBAt(MachineBasicBlock &CurMBB,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 445 MachineBasicBlock *BranchFolder::SplitMBBAt(MachineBasicBlock &CurMBB, in SplitMBBAt() argument 448 if (!TII->isLegalToSplitMBBAt(CurMBB, BBI1)) in SplitMBBAt() 451 MachineFunction &MF = *CurMBB.getParent(); in SplitMBBAt() 454 MachineFunction::iterator MBBI = CurMBB.getIterator(); in SplitMBBAt() 456 CurMBB.getParent()->insert(++MBBI, NewMBB); in SplitMBBAt() 459 NewMBB->transferSuccessors(&CurMBB); in SplitMBBAt() 462 CurMBB.addSuccessor(NewMBB); in SplitMBBAt() 465 NewMBB->splice(NewMBB->end(), &CurMBB, BBI1, CurMBB.end()); in SplitMBBAt() 469 if (MachineLoop *ML = MLI->getLoopFor(&CurMBB)) in SplitMBBAt() 473 MBBFreqInfo.setBlockFreq(NewMBB, MBBFreqInfo.getBlockFreq(&CurMBB)); in SplitMBBAt() [all …]
|
D | BranchFolding.h | 173 MachineBasicBlock *SplitMBBAt(MachineBasicBlock &CurMBB,
|
D | LiveDebugValues.cpp | 592 const MachineBasicBlock *CurMBB = MI.getParent(); in transferTerminatorInst() local 593 if (!(MI.isTerminator() || (&MI == &CurMBB->back()))) in transferTerminatorInst() 605 VarLocSet &VLS = OutLocs[CurMBB]; in transferTerminatorInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 379 MachineBasicBlock &CurMBB = MIRBuilder.getMBB(); in translateSwitch() local 384 CurMBB.addSuccessor(&TrueMBB); in translateSwitch() 385 addMachineCFGPred({OrigBB, TrueBB}, &CurMBB); in translateSwitch() 390 MF->insert(std::next(CurMBB.getIterator()), FalseMBB); in translateSwitch() 392 CurMBB.addSuccessor(FalseMBB); in translateSwitch() 400 MachineBasicBlock &CurMBB = MIRBuilder.getMBB(); in translateSwitch() local 401 CurMBB.addSuccessor(&DefaultMBB); in translateSwitch() 402 addMachineCFGPred({OrigBB, DefaultBB}, &CurMBB); in translateSwitch()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 8757 MachineBasicBlock *CurMBB = W.MBB; in lowerWorkItem() local 8764 Fallthrough = CurMF->CreateMachineBasicBlock(CurMBB->getBasicBlock()); in lowerWorkItem() 8799 addSuccessorWithProb(CurMBB, Fallthrough, FallthroughProb); in lowerWorkItem() 8800 addSuccessorWithProb(CurMBB, JumpMBB, JumpProb); in lowerWorkItem() 8801 CurMBB->normalizeSuccProbs(); in lowerWorkItem() 8805 JTH->HeaderBB = CurMBB; in lowerWorkItem() 8809 if (CurMBB == SwitchMBB) { in lowerWorkItem() 8824 BTB->Parent = CurMBB; in lowerWorkItem() 8837 if (CurMBB == SwitchMBB) { in lowerWorkItem() 8861 CaseBlock CB(CC, LHS, RHS, MHS, I->MBB, Fallthrough, CurMBB, I->Prob, in lowerWorkItem() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 9870 MachineBasicBlock *CurMBB = W.MBB; in lowerWorkItem() local 9877 Fallthrough = CurMF->CreateMachineBasicBlock(CurMBB->getBasicBlock()); in lowerWorkItem() 9912 addSuccessorWithProb(CurMBB, Fallthrough, FallthroughProb); in lowerWorkItem() 9913 addSuccessorWithProb(CurMBB, JumpMBB, JumpProb); in lowerWorkItem() 9914 CurMBB->normalizeSuccProbs(); in lowerWorkItem() 9918 JTH->HeaderBB = CurMBB; in lowerWorkItem() 9922 if (CurMBB == SwitchMBB) { in lowerWorkItem() 9937 BTB->Parent = CurMBB; in lowerWorkItem() 9950 if (CurMBB == SwitchMBB) { in lowerWorkItem() 9974 CaseBlock CB(CC, LHS, RHS, MHS, I->MBB, Fallthrough, CurMBB, in lowerWorkItem() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMFrameLowering.cpp | 1891 MachineBasicBlock *CurMBB = WalkList.pop_back_val(); in adjustForSegmentedStacks() local 1892 for (MachineBasicBlock *PredBB : CurMBB->predecessors()) { in adjustForSegmentedStacks()
|
D | ARMISelLowering.cpp | 7715 MachineBasicBlock *CurMBB = *I; in EmitSjLjDispatchBlock() local 7716 if (SeenMBBs.insert(CurMBB).second) in EmitSjLjDispatchBlock() 7717 DispContBB->addSuccessor(CurMBB); in EmitSjLjDispatchBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMFrameLowering.cpp | 2176 MachineBasicBlock *CurMBB = WalkList.pop_back_val(); in adjustForSegmentedStacks() local 2177 for (MachineBasicBlock *PredBB : CurMBB->predecessors()) { in adjustForSegmentedStacks()
|
D | ARMISelLowering.cpp | 8699 MachineBasicBlock *CurMBB = *I; in EmitSjLjDispatchBlock() local 8700 if (SeenMBBs.insert(CurMBB).second) in EmitSjLjDispatchBlock() 8701 DispContBB->addSuccessor(CurMBB); in EmitSjLjDispatchBlock()
|