Searched defs:NewMBB (Results 1 - 9 of 9) sorted by relevance

/external/llvm/lib/CodeGen/
H A DExpandISelPseudos.cpp61 MachineBasicBlock *NewMBB = TLI->EmitInstrWithCustomInserter(MI, MBB); local
63 if (NewMBB != MBB) {
64 MBB = NewMBB;
65 I = NewMBB->getIterator();
66 MBBI = NewMBB->begin();
67 MBBE = NewMBB->end();
H A DBranchFolding.cpp450 MachineBasicBlock *NewMBB =MF.CreateMachineBasicBlock(BB); local
451 CurMBB.getParent()->insert(++MBBI, NewMBB);
454 NewMBB->transferSuccessors(&CurMBB);
456 // Add an edge from CurMBB to NewMBB for the fall-through.
457 CurMBB.addSuccessor(NewMBB);
460 NewMBB->splice(NewMBB->end(), &CurMBB, BBI1, CurMBB.end());
462 // NewMBB belongs to the same loop as CurMBB.
465 ML->addBasicBlockToLoop(NewMBB, MLI->getBase());
467 // NewMBB inherit
[all...]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DExpandISelPseudos.cpp68 MachineBasicBlock *NewMBB = local
71 if (NewMBB != MBB) {
72 MBB = NewMBB;
73 I = NewMBB;
74 MBBI = NewMBB->begin();
75 MBBE = NewMBB->end();
H A DBranchFolding.cpp370 MachineBasicBlock *NewMBB) {
379 NewMBB->addLiveIn(i);
409 MachineBasicBlock *NewMBB =MF.CreateMachineBasicBlock(CurMBB.getBasicBlock()); local
410 CurMBB.getParent()->insert(++MBBI, NewMBB);
413 NewMBB->transferSuccessors(&CurMBB);
415 // Add an edge from CurMBB to NewMBB for the fall-through.
416 CurMBB.addSuccessor(NewMBB);
419 NewMBB->splice(NewMBB->end(), &CurMBB, BBI1, CurMBB.end());
422 MaintainLiveIns(&CurMBB, NewMBB);
369 MaintainLiveIns(MachineBasicBlock *CurMBB, MachineBasicBlock *NewMBB) argument
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsLongBranch.cpp149 MachineBasicBlock *NewMBB = local
152 // Insert NewMBB and fix control flow.
154 NewMBB->transferSuccessors(MBB);
155 NewMBB->removeSuccessor(Tgt, true);
156 MBB->addSuccessor(NewMBB);
158 MF->insert(std::next(MachineFunction::iterator(MBB)), NewMBB);
160 NewMBB->splice(NewMBB->end(), MBB, (++LastBr).base(), MBB->end());
H A DMipsConstantIslandPass.cpp393 MachineBasicBlock *&NewMBB);
845 // Next, update WaterList. Specifically, we need to add NewMBB as having
916 // Figure out how large the NewMBB is. As the second half of the original
1225 /// unconditional branch around it. In either case NewMBB is set to a
1230 MachineBasicBlock *&NewMBB) {
1249 NewMBB = &*++UserMBB->getIterator();
1256 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB);
1321 NewMBB = splitBlockBeforeInstr(*--MI);
1346 MachineBasicBlock *NewMBB; local
1358 // The new CPE goes before the following block (NewMBB)
1228 createNewWater(unsigned CPUserIndex, unsigned UserOffset, MachineBasicBlock *&NewMBB) argument
[all...]
/external/llvm/lib/Target/AMDGPU/
H A DAMDILCFGStructurizer.cpp479 MachineInstr *NewMBB = local
481 MBB->insert(I, NewMBB);
483 SHOWNEWINSTR(NewMBB);
484 return NewMBB;
661 MachineBasicBlock *NewMBB = Func->CreateMachineBasicBlock(); local
662 Func->push_back(NewMBB); //insert to function
664 NewMBB->push_back(Func->CloneMachineInstr(&It));
665 return NewMBB;
/external/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp308 MachineBasicBlock *&NewMBB);
967 // Next, update WaterList. Specifically, we need to add NewMBB as having
1039 // Figure out how large the NewMBB is. As the second half of the original
1362 /// unconditional branch around it. In either case NewMBB is set to a
1367 MachineBasicBlock *&NewMBB) {
1388 NewMBB = &*++UserMBB->getIterator();
1396 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB);
1398 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB)
1500 NewMBB = splitBlockBeforeInstr(&*MI);
1529 MachineBasicBlock *NewMBB; local
1365 createNewWater(unsigned CPUserIndex, unsigned UserOffset, MachineBasicBlock *&NewMBB) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMConstantIslandPass.cpp198 MachineBasicBlock *&NewMBB);
712 // Next, update WaterList. Specifically, we need to add NewMBB as having
809 // Figure out how large the NewMBB is. As the second half of the original
1126 /// unconditional branch around it. In either case NewMBB is set to a
1131 MachineBasicBlock *&NewMBB) {
1151 NewMBB = llvm::next(MachineFunction::iterator(UserMBB));
1159 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB);
1161 BuildMI(UserMBB, DebugLoc(), TII->get(UncondBr)).addMBB(NewMBB)
1233 NewMBB = SplitBlockBeforeInstr(MI);
1264 MachineBasicBlock *NewMBB; local
1129 CreateNewWater(unsigned CPUserIndex, unsigned UserOffset, MachineBasicBlock *&NewMBB) argument
[all...]

Completed in 252 milliseconds