Home
last modified time | relevance | path

Searched refs:UseBlock (Results 1 – 8 of 8) 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/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineSink.cpp178 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
179 if (!(UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()
193 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
197 UseBlock = UseInst->getOperand(I.getOperandNo()+1).getMBB(); in AllUsesDominatedByBlock()
198 } else if (UseBlock == DefMBB) { in AllUsesDominatedByBlock()
204 if (!DT->dominates(MBB, UseBlock)) in AllUsesDominatedByBlock()
/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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSink.cpp81 BasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
86 UseBlock = PN->getIncomingBlock(Num); in AllUsesDominatedByBlock()
89 if (!DT->dominates(BB, UseBlock)) in AllUsesDominatedByBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineSink.cpp263 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
264 if (!(UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()
277 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
281 UseBlock = UseInst->getOperand(OpNo+1).getMBB(); in AllUsesDominatedByBlock()
282 } else if (UseBlock == DefMBB) { in AllUsesDominatedByBlock()
288 if (!DT->dominates(MBB, UseBlock)) in AllUsesDominatedByBlock()
557 MachineBasicBlock *UseBlock = UseInst.getParent(); in isProfitableToSinkTo() local
558 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()
/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-7.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/lib/VMCore/
DVerifier.cpp1554 BasicBlock *UseBlock = BB; in visitInstruction() local
1557 UseBlock = PN->getIncomingBlock(j); in visitInstruction()
1559 Assert2(UseBlock, "Invoke operand is PHI node with bad incoming-BB", in visitInstruction()
1562 if (isa<PHINode>(I) && UseBlock == OpBlock) { in visitInstruction()
1565 Assert2(BB == NormalDest || !DT->isReachableFromEntry(UseBlock), in visitInstruction()
1569 Assert2(DT->dominates(NormalDest, UseBlock) || in visitInstruction()
1570 !DT->isReachableFromEntry(UseBlock), in visitInstruction()
1578 DT->isReachableFromEntry(UseBlock)) in visitInstruction()