/external/llvm/lib/CodeGen/ |
D | ExpandISelPseudos.cpp | 61 MachineBasicBlock *NewMBB = TLI->EmitInstrWithCustomInserter(MI, MBB); in runOnMachineFunction() local 63 if (NewMBB != MBB) { in runOnMachineFunction() 64 MBB = NewMBB; in runOnMachineFunction() 65 I = NewMBB->getIterator(); in runOnMachineFunction() 66 MBBI = NewMBB->begin(); in runOnMachineFunction() 67 MBBE = NewMBB->end(); in runOnMachineFunction()
|
D | BranchFolding.cpp | 450 MachineBasicBlock *NewMBB =MF.CreateMachineBasicBlock(BB); in SplitMBBAt() local 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() 465 ML->addBasicBlockToLoop(NewMBB, MLI->getBase()); in SplitMBBAt() 468 MBBFreqInfo.setBlockFreq(NewMBB, MBBFreqInfo.getBlockFreq(&CurMBB)); in SplitMBBAt() 470 computeLiveIns(*NewMBB); in SplitMBBAt() 476 FuncletMembership[NewMBB] = n; in SplitMBBAt() 479 return NewMBB; in SplitMBBAt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | ExpandISelPseudos.cpp | 61 MachineBasicBlock *NewMBB = TLI->EmitInstrWithCustomInserter(MI, MBB); in runOnMachineFunction() local 63 if (NewMBB != MBB) { in runOnMachineFunction() 64 MBB = NewMBB; in runOnMachineFunction() 65 I = NewMBB->getIterator(); in runOnMachineFunction() 66 MBBI = NewMBB->begin(); in runOnMachineFunction() 67 MBBE = NewMBB->end(); in runOnMachineFunction()
|
D | BranchFolding.cpp | 455 MachineBasicBlock *NewMBB = MF.CreateMachineBasicBlock(BB); in SplitMBBAt() local 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() 470 ML->addBasicBlockToLoop(NewMBB, MLI->getBase()); in SplitMBBAt() 473 MBBFreqInfo.setBlockFreq(NewMBB, MBBFreqInfo.getBlockFreq(&CurMBB)); in SplitMBBAt() 476 computeAndAddLiveIns(LiveRegs, *NewMBB); in SplitMBBAt() 482 EHScopeMembership[NewMBB] = n; in SplitMBBAt() 485 return NewMBB; in SplitMBBAt()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ExpandISelPseudos.cpp | 68 MachineBasicBlock *NewMBB = in runOnMachineFunction() local 71 if (NewMBB != MBB) { in runOnMachineFunction() 72 MBB = NewMBB; in runOnMachineFunction() 73 I = NewMBB; in runOnMachineFunction() 74 MBBI = NewMBB->begin(); in runOnMachineFunction() 75 MBBE = NewMBB->end(); in runOnMachineFunction()
|
D | BranchFolding.cpp | 370 MachineBasicBlock *NewMBB) { in MaintainLiveIns() argument 379 NewMBB->addLiveIn(i); in MaintainLiveIns() 409 MachineBasicBlock *NewMBB =MF.CreateMachineBasicBlock(CurMBB.getBasicBlock()); 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() 422 MaintainLiveIns(&CurMBB, NewMBB); in SplitMBBAt() 424 return NewMBB; in SplitMBBAt()
|
D | BranchFolding.h | 99 MachineBasicBlock *NewMBB);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCReduceCRLogicals.cpp | 61 MachineBasicBlock *NewMBB, MachineRegisterInfo *MRI) { in updatePHIs() argument 73 if (DefMI->getParent() == NewMBB || in updatePHIs() 75 MO.setMBB(NewMBB); in updatePHIs() 91 MachineBasicBlock *NewMBB, in addIncomingValuesToPHIs() argument 93 assert(OrigMBB->isSuccessor(NewMBB) && in addIncomingValuesToPHIs() 104 MIB.addReg(MI.getOperand(i - 1).getReg()).addMBB(NewMBB); in addIncomingValuesToPHIs() 182 MachineBasicBlock *NewMBB = MF->CreateMachineBasicBlock(LLVM_BB); in splitMBB() local 183 MF->insert(++It, NewMBB); in splitMBB() 186 NewMBB->splice(NewMBB->end(), ThisMBB, InsertPoint, ThisMBB->end()); in splitMBB() 187 NewMBB->transferSuccessors(ThisMBB); in splitMBB() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86FlagsCopyLowering.cpp | 284 MachineBasicBlock &NewMBB = *MF.CreateMachineBasicBlock(); in splitBlock() local 288 MF.insert(std::next(MachineFunction::iterator(&MBB)), &NewMBB); in splitBlock() 291 NewMBB.splice(NewMBB.end(), &MBB, SplitI.getIterator(), MBB.end()); in splitBlock() 297 NewMBB.copySuccessor(&MBB, SI); in splitBlock() 300 NewMBB.normalizeSuccProbs(); in splitBlock() 304 for (MachineBasicBlock *Succ : NewMBB.successors()) in splitBlock() 306 MBB.replaceSuccessor(Succ, &NewMBB); in splitBlock() 309 assert(MBB.isSuccessor(&NewMBB) && in splitBlock() 313 for (MachineBasicBlock *Succ : NewMBB.successors()) { in splitBlock() 328 OpMBB.setMBB(&NewMBB); in splitBlock() [all …]
|
D | X86SpeculativeLoadHardening.cpp | 233 MachineBasicBlock &NewMBB = *MF.CreateMachineBasicBlock(); in splitEdge() local 238 MF.insert(std::next(MachineFunction::iterator(&MBB)), &NewMBB); in splitEdge() 244 Br->getOperand(0).setMBB(&NewMBB); in splitEdge() 251 *std::next(MachineFunction::iterator(&NewMBB)); in splitEdge() 263 if (!NewMBB.isLayoutSuccessor(&Succ)) { in splitEdge() 265 TII.insertBranch(NewMBB, &Succ, nullptr, Cond, Br->getDebugLoc()); in splitEdge() 270 assert(NewMBB.isLayoutSuccessor(&Succ) && in splitEdge() 279 MBB.replaceSuccessor(&Succ, &NewMBB); in splitEdge() 281 MBB.splitSuccessor(&Succ, &NewMBB); in splitEdge() 285 NewMBB.addSuccessor(&Succ); in splitEdge() [all …]
|
D | X86ExpandPseudo.cpp | 99 auto *NewMBB = MF->CreateMachineBasicBlock(BB); in ExpandICallBranchFunnel() local 100 MBB->addSuccessor(NewMBB); in ExpandICallBranchFunnel() 101 return NewMBB; in ExpandICallBranchFunnel()
|
/external/llvm/lib/Target/Mips/ |
D | MipsLongBranch.cpp | 149 MachineBasicBlock *NewMBB = in splitMBB() local 154 NewMBB->transferSuccessors(MBB); in splitMBB() 155 NewMBB->removeSuccessor(Tgt, true); in splitMBB() 156 MBB->addSuccessor(NewMBB); in splitMBB() 158 MF->insert(std::next(MachineFunction::iterator(MBB)), NewMBB); in splitMBB() 160 NewMBB->splice(NewMBB->end(), MBB, (++LastBr).base(), MBB->end()); in splitMBB()
|
D | MipsConstantIslandPass.cpp | 393 MachineBasicBlock *&NewMBB); 1230 MachineBasicBlock *&NewMBB) { in createNewWater() argument 1249 NewMBB = &*++UserMBB->getIterator(); in createNewWater() 1256 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB); in createNewWater() 1321 NewMBB = splitBlockBeforeInstr(*--MI); in createNewWater() 1346 MachineBasicBlock *NewMBB; in handleConstantPoolUser() local 1359 NewMBB = &*++WaterBB->getIterator(); in handleConstantPoolUser() 1369 createNewWater(CPUserIndex, UserOffset, NewMBB); in handleConstantPoolUser() 1376 MachineBasicBlock *WaterBB = &*--NewMBB->getIterator(); in handleConstantPoolUser() 1393 MF->insert(NewMBB->getIterator(), NewIsland); in handleConstantPoolUser()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsBranchExpansion.cpp | 265 MachineBasicBlock *NewMBB = in splitMBB() local 270 NewMBB->transferSuccessors(MBB); in splitMBB() 271 NewMBB->removeSuccessor(Tgt, true); in splitMBB() 272 MBB->addSuccessor(NewMBB); in splitMBB() 274 MFp->insert(std::next(MachineFunction::iterator(MBB)), NewMBB); in splitMBB() 276 NewMBB->splice(NewMBB->end(), MBB, LastBr.getReverse(), MBB->end()); in splitMBB()
|
D | MipsConstantIslandPass.cpp | 401 MachineBasicBlock *&NewMBB); 1225 MachineBasicBlock *&NewMBB) { in createNewWater() argument 1244 NewMBB = &*++UserMBB->getIterator(); in createNewWater() 1251 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB); in createNewWater() 1315 NewMBB = splitBlockBeforeInstr(*--MI); in createNewWater() 1339 MachineBasicBlock *NewMBB; in handleConstantPoolUser() local 1352 NewMBB = &*++WaterBB->getIterator(); in handleConstantPoolUser() 1362 createNewWater(CPUserIndex, UserOffset, NewMBB); in handleConstantPoolUser() 1369 MachineBasicBlock *WaterBB = &*--NewMBB->getIterator(); in handleConstantPoolUser() 1386 MF->insert(NewMBB->getIterator(), NewIsland); in handleConstantPoolUser()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 198 MachineBasicBlock *&NewMBB); 1131 MachineBasicBlock *&NewMBB) { in CreateNewWater() argument 1151 NewMBB = llvm::next(MachineFunction::iterator(UserMBB)); in CreateNewWater() 1159 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB); in CreateNewWater() 1161 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB) in CreateNewWater() 1233 NewMBB = SplitBlockBeforeInstr(MI); in CreateNewWater() 1264 MachineBasicBlock *NewMBB; in HandleConstantPoolUser() local 1278 NewMBB = llvm::next(MachineFunction::iterator(WaterBB)); in HandleConstantPoolUser() 1283 CreateNewWater(CPUserIndex, UserOffset, NewMBB); in HandleConstantPoolUser() 1290 MachineBasicBlock *WaterBB = prior(MachineFunction::iterator(NewMBB)); in HandleConstantPoolUser() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 254 MachineBasicBlock *&NewMBB); 1294 MachineBasicBlock *&NewMBB) { in createNewWater() argument 1315 NewMBB = &*++UserMBB->getIterator(); in createNewWater() 1323 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB); in createNewWater() 1326 .addMBB(NewMBB) in createNewWater() 1427 NewMBB = splitBlockBeforeInstr(&*MI); in createNewWater() 1456 MachineBasicBlock *NewMBB; in handleConstantPoolUser() local 1469 NewMBB = &*++WaterBB->getIterator(); in handleConstantPoolUser() 1473 createNewWater(CPUserIndex, UserOffset, NewMBB); in handleConstantPoolUser() 1480 MachineBasicBlock *WaterBB = &*--NewMBB->getIterator(); in handleConstantPoolUser() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 308 MachineBasicBlock *&NewMBB); 1367 MachineBasicBlock *&NewMBB) { in createNewWater() argument 1388 NewMBB = &*++UserMBB->getIterator(); in createNewWater() 1396 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB); in createNewWater() 1398 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB) in createNewWater() 1500 NewMBB = splitBlockBeforeInstr(&*MI); in createNewWater() 1529 MachineBasicBlock *NewMBB; in handleConstantPoolUser() local 1542 NewMBB = &*++WaterBB->getIterator(); in handleConstantPoolUser() 1546 createNewWater(CPUserIndex, UserOffset, NewMBB); in handleConstantPoolUser() 1553 MachineBasicBlock *WaterBB = &*--NewMBB->getIterator(); in handleConstantPoolUser() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 482 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()
|
D | AMDGPUMachineCFGStructurizer.cpp | 663 MBBMRT *NewMBB = new MBBMRT(MBB); in buildMRT() local 686 RegionMap[Region]->addChild(NewMBB); in buildMRT() 687 NewMBB->setParent(RegionMap[Region]); in buildMRT()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 479 MachineInstr *NewMBB = in insertInstrBefore() local 481 MBB->insert(I, NewMBB); in insertInstrBefore() 483 SHOWNEWINSTR(NewMBB); in insertInstrBefore() 484 return NewMBB; in insertInstrBefore() 661 MachineBasicBlock *NewMBB = Func->CreateMachineBasicBlock(); in clone() local 662 Func->push_back(NewMBB); //insert to function in clone() 664 NewMBB->push_back(Func->CloneMachineInstr(&It)); in clone() 665 return NewMBB; in clone()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 5153 MachineBasicBlock *NewMBB = MF.CreateMachineBasicBlock(MBB->getBasicBlock()); in emitBlockAfter() local 5154 MF.insert(std::next(MachineFunction::iterator(MBB)), NewMBB); in emitBlockAfter() 5155 return NewMBB; in emitBlockAfter() 5162 MachineBasicBlock *NewMBB = emitBlockAfter(MBB); in splitBlockAfter() local 5163 NewMBB->splice(NewMBB->begin(), MBB, in splitBlockAfter() 5165 NewMBB->transferSuccessorsAndUpdatePHIs(MBB); in splitBlockAfter() 5166 return NewMBB; in splitBlockAfter() 5172 MachineBasicBlock *NewMBB = emitBlockAfter(MBB); in splitBlockBefore() local 5173 NewMBB->splice(NewMBB->begin(), MBB, MI, MBB->end()); in splitBlockBefore() 5174 NewMBB->transferSuccessorsAndUpdatePHIs(MBB); in splitBlockBefore() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 5985 MachineBasicBlock *NewMBB = MF.CreateMachineBasicBlock(MBB->getBasicBlock()); in emitBlockAfter() local 5986 MF.insert(std::next(MachineFunction::iterator(MBB)), NewMBB); in emitBlockAfter() 5987 return NewMBB; in emitBlockAfter() 5994 MachineBasicBlock *NewMBB = emitBlockAfter(MBB); in splitBlockAfter() local 5995 NewMBB->splice(NewMBB->begin(), MBB, in splitBlockAfter() 5997 NewMBB->transferSuccessorsAndUpdatePHIs(MBB); in splitBlockAfter() 5998 return NewMBB; in splitBlockAfter() 6004 MachineBasicBlock *NewMBB = emitBlockAfter(MBB); in splitBlockBefore() local 6005 NewMBB->splice(NewMBB->begin(), MBB, MI, MBB->end()); in splitBlockBefore() 6006 NewMBB->transferSuccessorsAndUpdatePHIs(MBB); in splitBlockBefore() [all …]
|