Home
last modified time | relevance | path

Searched refs:UseBlock (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/CodeGen/
DMachineSink.cpp227 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
228 if (!(UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()
241 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
245 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() local
517 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp549 MemoryAccess *MemorySSA::findDominatingDef(BasicBlock *UseBlock, in findDominatingDef() argument
554 if (MemoryPhi *Phi = getMemoryAccess(UseBlock)) in findDominatingDef()
557 DomTreeNode *CurrNode = DT->getNode(UseBlock); in findDominatingDef()
724 BasicBlock *UseBlock; in verifyDomination() local
730 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() local
750 (void)UseBlock; in verifyDomination()
[all …]
/external/llvm/lib/Transforms/Scalar/
DSink.cpp46 BasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
51 UseBlock = PN->getIncomingBlock(Num); in AllUsesDominatedByBlock()
54 if (!DT.dominates(BB, UseBlock)) in AllUsesDominatedByBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSink.cpp46 BasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
51 UseBlock = PN->getIncomingBlock(Num); in AllUsesDominatedByBlock()
54 if (!DT.dominates(BB, UseBlock)) in AllUsesDominatedByBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineSink.cpp287 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
288 if (!(UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()
301 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
305 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() local
586 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()