Lines Matching refs:PreEntryBlock

374                         BasicBlock *PreEntryBlock,
378 BranchInst *createMergedBranch(BasicBlock *PreEntryBlock,
383 BasicBlock *PreEntryBlock,
1660 CHRScope *Scope, BasicBlock *PreEntryBlock) { in assertBranchOrSelectConditionHoisted() argument
1672 assert((I->getParent() == PreEntryBlock || in assertBranchOrSelectConditionHoisted()
1686 assert((I->getParent() == PreEntryBlock || in assertBranchOrSelectConditionHoisted()
1728 BasicBlock *PreEntryBlock = EntryBlock; in transformScopes() local
1734 cloneScopeBlocks(Scope, PreEntryBlock, ExitBlock, LastRegion, VMap); in transformScopes()
1738 BranchInst *MergedBr = createMergedBranch(PreEntryBlock, EntryBlock, in transformScopes()
1746 hoistScopeConditions(Scope, PreEntryBlock->getTerminator(), TrivialPHIs, DT); in transformScopes()
1749 assertBranchOrSelectConditionHoisted(Scope, PreEntryBlock); in transformScopes()
1754 fixupBranchesAndSelects(Scope, PreEntryBlock, MergedBr, in transformScopes()
1762 BasicBlock *PreEntryBlock, in cloneScopeBlocks() argument
1775 assert(BB != PreEntryBlock && "Don't copy the preetntry block"); in cloneScopeBlocks()
1814 BranchInst *CHR::createMergedBranch(BasicBlock *PreEntryBlock, in createMergedBranch() argument
1818 BranchInst *OldBR = cast<BranchInst>(PreEntryBlock->getTerminator()); in createMergedBranch()
1832 PreEntryBlock->getInstList().push_back(NewBR); in createMergedBranch()
1841 BasicBlock *PreEntryBlock, in fixupBranchesAndSelects() argument
1847 IRBuilder<> IRB(PreEntryBlock->getTerminator()); in fixupBranchesAndSelects()