Searched refs:MPhi (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | PHIElimination.cpp | 212 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/ |
D | PHIElimination.cpp | 227 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/ |
D | MemorySSAUpdater.cpp | 472 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()
|