Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp260 void filterInstsUnrelatedToPDI(BasicBlock *GEntryBlock,
542 BasicBlock *GEntryBlock, std::vector<Instruction *> &PDIUnrelatedWL) { in filterInstsUnrelatedToPDI() argument
544 for (BasicBlock::iterator BI = GEntryBlock->begin(), BIE = GEntryBlock->end(); in filterInstsUnrelatedToPDI()
611 } else if (dyn_cast<TerminatorInst>(BI) == GEntryBlock->getTerminator()) { in filterInstsUnrelatedToPDI()
625 for (BasicBlock::iterator BI = GEntryBlock->begin(), BE = GEntryBlock->end(); in filterInstsUnrelatedToPDI()
665 BasicBlock *GEntryBlock = nullptr; in writeThunk() local
673 GEntryBlock = &G->getEntryBlock(); in writeThunk()
678 filterInstsUnrelatedToPDI(GEntryBlock, PDIUnrelatedWL); in writeThunk()
679 GEntryBlock->getTerminator()->eraseFromParent(); in writeThunk()
680 BB = GEntryBlock; in writeThunk()