Home
last modified time | relevance | path

Searched refs:opBlock (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/CodeGen/
DPHIElimination.cpp369 MachineBasicBlock &opBlock = *MPhi->getOperand(i*2+2).getMBB(); in LowerPHINode() local
374 if (!MBBsInsertedInto.insert(&opBlock).second) in LowerPHINode()
380 findPHICopyInsertPoint(&opBlock, &MBB, SrcReg); in LowerPHINode()
389 NewSrcInstr = BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(), in LowerPHINode()
398 NewSrcInstr = BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(), in LowerPHINode()
408 !VRegPHIUseCount[BBVRegPair(opBlock.getNumber(), SrcReg)] && in LowerPHINode()
409 !LV->isLiveOut(SrcReg, opBlock)) { in LowerPHINode()
426 MachineBasicBlock::iterator KillInst = opBlock.end(); in LowerPHINode()
427 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator(); in LowerPHINode()
429 Term != opBlock.end(); ++Term) { in LowerPHINode()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPHIElimination.cpp383 MachineBasicBlock &opBlock = *MPhi->getOperand(i*2+2).getMBB(); in LowerPHINode() local
388 if (!MBBsInsertedInto.insert(&opBlock).second) in LowerPHINode()
394 findPHICopyInsertPoint(&opBlock, &MBB, SrcReg); in LowerPHINode()
403 NewSrcInstr = BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(), in LowerPHINode()
412 NewSrcInstr = BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(), in LowerPHINode()
422 !VRegPHIUseCount[BBVRegPair(opBlock.getNumber(), SrcReg)] && in LowerPHINode()
423 !LV->isLiveOut(SrcReg, opBlock)) { in LowerPHINode()
440 MachineBasicBlock::iterator KillInst = opBlock.end(); in LowerPHINode()
441 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator(); in LowerPHINode()
443 Term != opBlock.end(); ++Term) { in LowerPHINode()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPHIElimination.cpp293 MachineBasicBlock &opBlock = *MPhi->getOperand(i*2+2).getMBB(); in LowerAtomicPHINode() local
306 if (!MBBsInsertedInto.insert(&opBlock)) in LowerAtomicPHINode()
312 findPHICopyInsertPoint(&opBlock, &MBB, SrcReg); in LowerAtomicPHINode()
316 BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(), in LowerAtomicPHINode()
334 bool ValueIsUsed = VRegPHIUseCount[BBVRegPair(opBlock.getNumber(), SrcReg)]; in LowerAtomicPHINode()
338 if (!ValueIsUsed && !LV->isLiveOut(SrcReg, opBlock)) { in LowerAtomicPHINode()
345 MachineBasicBlock::iterator Term = opBlock.getFirstTerminator(); in LowerAtomicPHINode()
346 if (Term != opBlock.end() && Term->readsRegister(SrcReg)) { in LowerAtomicPHINode()
352 TI != opBlock.end(); ++TI) { in LowerAtomicPHINode()
363 while (KillInst != opBlock.begin()) { in LowerAtomicPHINode()
[all …]