Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/Scalar/
DSink.cpp137 BasicBlock *UseBlock = UseInst->getParent(); in SinkInstruction() local
139 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()
/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()
/external/llvm-project/llvm/lib/CodeGen/
DMachineSink.cpp301 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
302 return UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()
313 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
317 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() local
643 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()