Searched refs:UseBlock (Results 1 – 7 of 7) sorted by relevance
137 BasicBlock *UseBlock = UseInst->getParent(); in SinkInstruction() local139 if (!DT.isReachableFromEntry(UseBlock)) in SinkInstruction()145 UseBlock = PN->getIncomingBlock(Num); in SinkInstruction()148 SuccToSinkTo = DT.findNearestCommonDominator(SuccToSinkTo, UseBlock); in SinkInstruction()150 SuccToSinkTo = UseBlock; in SinkInstruction()
227 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local228 if (!(UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()241 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local245 UseBlock = UseInst->getOperand(OpNo+1).getMBB(); in AllUsesDominatedByBlock()246 } else if (UseBlock == DefMBB) { in AllUsesDominatedByBlock()252 if (!DT->dominates(MBB, UseBlock)) in AllUsesDominatedByBlock()516 MachineBasicBlock *UseBlock = UseInst.getParent(); in isProfitableToSinkTo() local517 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()
549 MemoryAccess *MemorySSA::findDominatingDef(BasicBlock *UseBlock, in findDominatingDef() argument554 if (MemoryPhi *Phi = getMemoryAccess(UseBlock)) in findDominatingDef()557 DomTreeNode *CurrNode = DT->getNode(UseBlock); in findDominatingDef()724 BasicBlock *UseBlock; in verifyDomination() local730 UseBlock = P->getIncomingBlock(Arg); in verifyDomination()735 UseBlock = cast<MemoryAccess>(U)->getBlock(); in verifyDomination()737 (void)UseBlock; in verifyDomination()738 assert(DT->dominates(MP->getBlock(), UseBlock) && in verifyDomination()749 BasicBlock *UseBlock; in verifyDomination() local750 (void)UseBlock; in verifyDomination()[all …]
46 BasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local51 UseBlock = PN->getIncomingBlock(Num); in AllUsesDominatedByBlock()54 if (!DT.dominates(BB, UseBlock)) in AllUsesDominatedByBlock()
287 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local288 if (!(UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()301 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local305 UseBlock = UseInst->getOperand(OpNo+1).getMBB(); in AllUsesDominatedByBlock()306 } else if (UseBlock == DefMBB) { in AllUsesDominatedByBlock()312 if (!DT->dominates(MBB, UseBlock)) in AllUsesDominatedByBlock()585 MachineBasicBlock *UseBlock = UseInst.getParent(); in isProfitableToSinkTo() local586 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()
301 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local302 return UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()313 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local317 UseBlock = UseInst->getOperand(OpNo+1).getMBB(); in AllUsesDominatedByBlock()318 } else if (UseBlock == DefMBB) { in AllUsesDominatedByBlock()324 if (!DT->dominates(MBB, UseBlock)) in AllUsesDominatedByBlock()642 MachineBasicBlock *UseBlock = UseInst.getParent(); in isProfitableToSinkTo() local643 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()