Home
last modified time | relevance | path

Searched refs:PrevMI (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLexicalScopes.cpp65 const MachineInstr *PrevMI = NULL; in extractLexicalScopes() local
74 PrevMI = MInsn; in extractLexicalScopes()
80 PrevMI = MInsn; in extractLexicalScopes()
92 InsnRange R(RangeBeginMI, PrevMI); in extractLexicalScopes()
101 PrevMI = MInsn; in extractLexicalScopes()
106 if (RangeBeginMI && PrevMI && !PrevDL.isUnknown()) { in extractLexicalScopes()
107 InsnRange R(RangeBeginMI, PrevMI); in extractLexicalScopes()
DScheduleDAGInstrs.cpp227 MachineInstr *PrevMI = NULL; in BuildSchedGraph() local
231 if (MI && PrevMI) { in BuildSchedGraph()
232 DbgValues.push_back(std::make_pair(PrevMI, MI)); in BuildSchedGraph()
233 PrevMI = NULL; in BuildSchedGraph()
237 PrevMI = MI; in BuildSchedGraph()
558 if (PrevMI) in BuildSchedGraph()
559 FirstDbgValue = PrevMI; in BuildSchedGraph()
DMachineLICM.cpp1164 const MachineInstr *PrevMI = PrevMIs[i]; in LookForDuplicate() local
1165 if (TII->produceSameValue(MI, PrevMI, (PreRegAlloc ? MRI : 0))) in LookForDuplicate()
1166 return PrevMI; in LookForDuplicate()
DVirtRegRewriter.cpp1035 MachineInstr *PrevMI = prior(MII); in FindFreeRegister() local
1036 MII = PrevMI; in FindFreeRegister()
1038 if (PrevMI->isDebugValue()) in FindFreeRegister()
1042 for (unsigned i = 0, e = PrevMI->getNumOperands(); i != e; ++i) { in FindFreeRegister()
1043 MachineOperand &MO = PrevMI->getOperand(i); in FindFreeRegister()
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp61 const MachineInstr *PrevMI = nullptr; in extractLexicalScopes() local
67 PrevMI = &MInsn; in extractLexicalScopes()
73 PrevMI = &MInsn; in extractLexicalScopes()
85 InsnRange R(RangeBeginMI, PrevMI); in extractLexicalScopes()
94 PrevMI = &MInsn; in extractLexicalScopes()
99 if (RangeBeginMI && PrevMI && PrevDL) { in extractLexicalScopes()
100 InsnRange R(RangeBeginMI, PrevMI); in extractLexicalScopes()
DTwoAddressInstructionPass.cpp1514 MachineBasicBlock::iterator PrevMI = MI; in processTiedPairs() local
1515 --PrevMI; in processTiedPairs()
1516 DistanceMap.insert(std::make_pair(&*PrevMI, Dist)); in processTiedPairs()
1520 LastCopyIdx = LIS->InsertMachineInstrInMaps(*PrevMI).getRegSlot(); in processTiedPairs()
1573 MachineBasicBlock::iterator PrevMI = MI; in processTiedPairs() local
1574 --PrevMI; in processTiedPairs()
1575 LV->addVirtualRegisterKilled(RegB, *PrevMI); in processTiedPairs()
DMachineLICM.cpp1221 for (const MachineInstr *PrevMI : PrevMIs) in LookForDuplicate() local
1222 if (TII->produceSameValue(*MI, *PrevMI, (PreRegAlloc ? MRI : nullptr))) in LookForDuplicate()
1223 return PrevMI; in LookForDuplicate()
/external/llvm/lib/Target/AMDGPU/
DSIWholeQuadMode.cpp232 if (MachineInstr *PrevMI = MI.getPrevNode()) { in propagateInstruction() local
234 if (!PrevMI->isPHI()) { in propagateInstruction()
235 InstrInfo &PrevII = Instructions[PrevMI]; in propagateInstruction()
238 Worklist.push_back(PrevMI); in propagateInstruction()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp1357 MachineInstr *PrevMI = prior(MBBI); in MergeReturnIntoLDM() local
1358 unsigned Opcode = PrevMI->getOpcode(); in MergeReturnIntoLDM()
1362 MachineOperand &MO = PrevMI->getOperand(PrevMI->getNumOperands()-1); in MergeReturnIntoLDM()
1368 PrevMI->setDesc(TII->get(NewOpc)); in MergeReturnIntoLDM()
1370 PrevMI->copyImplicitOps(&*MBBI); in MergeReturnIntoLDM()
/external/llvm/lib/Target/X86/
DX86FloatingPoint.cpp397 MachineInstr *PrevMI = nullptr; in processBasicBlock() local
399 PrevMI = &*std::prev(I); in processBasicBlock()
438 MachineBasicBlock::iterator PrevI = PrevMI; in processBasicBlock()
453 (void)PrevMI; in processBasicBlock()
/external/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp1867 MachineInstr &PrevMI = *PrevI; in MergeReturnIntoLDM() local
1868 unsigned Opcode = PrevMI.getOpcode(); in MergeReturnIntoLDM()
1872 MachineOperand &MO = PrevMI.getOperand(PrevMI.getNumOperands() - 1); in MergeReturnIntoLDM()
1878 PrevMI.setDesc(TII->get(NewOpc)); in MergeReturnIntoLDM()
1880 PrevMI.copyImplicitOps(*MBB.getParent(), *MBBI); in MergeReturnIntoLDM()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86FloatingPoint.cpp431 MachineInstr *PrevMI = 0; in processBasicBlock() local
433 PrevMI = prior(I); in processBasicBlock()
470 MachineBasicBlock::iterator PrevI(PrevMI); in processBasicBlock()
483 (void)PrevMI; in processBasicBlock()
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp516 MachineInstr *PrevMI = nullptr; in parseBasicBlock() local
534 PrevMI->setFlag(MachineInstr::BundledSucc); in parseBasicBlock()
537 PrevMI = MI; in parseBasicBlock()