Home
last modified time | relevance | path

Searched refs:MPhi (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPHIElimination.cpp172 static bool isSourceDefinedByImplicitDef(const MachineInstr *MPhi, in isSourceDefinedByImplicitDef() argument
174 for (unsigned i = 1; i != MPhi->getNumOperands(); i += 2) { in isSourceDefinedByImplicitDef()
175 unsigned SrcReg = MPhi->getOperand(i).getReg(); in isSourceDefinedByImplicitDef()
195 MachineInstr *MPhi = MBB.remove(MBB.begin()); in LowerAtomicPHINode() local
197 unsigned NumSrcs = (MPhi->getNumOperands() - 1) / 2; in LowerAtomicPHINode()
198 unsigned DestReg = MPhi->getOperand(0).getReg(); in LowerAtomicPHINode()
199 assert(MPhi->getOperand(0).getSubReg() == 0 && "Can't handle sub-reg PHIs"); in LowerAtomicPHINode()
200 bool isDead = MPhi->getOperand(0).isDead(); in LowerAtomicPHINode()
211 if (isSourceDefinedByImplicitDef(MPhi, MRI)) in LowerAtomicPHINode()
214 BuildMI(MBB, AfterPHIsIt, MPhi->getDebugLoc(), in LowerAtomicPHINode()
[all …]
/external/llvm/lib/CodeGen/
DPHIElimination.cpp212 static bool isSourceDefinedByImplicitDef(const MachineInstr *MPhi, in isSourceDefinedByImplicitDef() argument
214 for (unsigned i = 1; i != MPhi->getNumOperands(); i += 2) in isSourceDefinedByImplicitDef()
215 if (!isImplicitlyDefined(MPhi->getOperand(i).getReg(), MRI)) in isSourceDefinedByImplicitDef()
230 MachineInstr *MPhi = MBB.remove(&*MBB.begin()); in LowerPHINode() local
232 unsigned NumSrcs = (MPhi->getNumOperands() - 1) / 2; in LowerPHINode()
233 unsigned DestReg = MPhi->getOperand(0).getReg(); in LowerPHINode()
234 assert(MPhi->getOperand(0).getSubReg() == 0 && "Can't handle sub-reg PHIs"); in LowerPHINode()
235 bool isDead = MPhi->getOperand(0).isDead(); in LowerPHINode()
246 if (isSourceDefinedByImplicitDef(MPhi, MRI)) in LowerPHINode()
249 BuildMI(MBB, AfterPHIsIt, MPhi->getDebugLoc(), in LowerPHINode()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPHIElimination.cpp227 static bool isSourceDefinedByImplicitDef(const MachineInstr *MPhi, in isSourceDefinedByImplicitDef() argument
229 for (unsigned i = 1; i != MPhi->getNumOperands(); i += 2) in isSourceDefinedByImplicitDef()
230 if (!isImplicitlyDefined(MPhi->getOperand(i).getReg(), MRI)) in isSourceDefinedByImplicitDef()
243 MachineInstr *MPhi = MBB.remove(&*MBB.begin()); in LowerPHINode() local
245 unsigned NumSrcs = (MPhi->getNumOperands() - 1) / 2; in LowerPHINode()
246 unsigned DestReg = MPhi->getOperand(0).getReg(); in LowerPHINode()
247 assert(MPhi->getOperand(0).getSubReg() == 0 && "Can't handle sub-reg PHIs"); in LowerPHINode()
248 bool isDead = MPhi->getOperand(0).isDead(); in LowerPHINode()
259 if (isSourceDefinedByImplicitDef(MPhi, MRI)) in LowerPHINode()
262 BuildMI(MBB, AfterPHIsIt, MPhi->getDebugLoc(), in LowerPHINode()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp472 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(Succ)) in moveAllAfterSpliceBlocks() local
473 MPhi->setIncomingBlock(MPhi->getBasicBlockIndex(From), To); in moveAllAfterSpliceBlocks()
482 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(Succ)) in moveAllAfterMergeBlocks() local
483 MPhi->setIncomingBlock(MPhi->getBasicBlockIndex(From), To); in moveAllAfterMergeBlocks()