Lines Matching refs:PreEntryBlock
342 BasicBlock *PreEntryBlock,
346 BranchInst *createMergedBranch(BasicBlock *PreEntryBlock,
350 void fixupBranchesAndSelects(CHRScope *Scope, BasicBlock *PreEntryBlock,
1640 CHRScope *Scope, BasicBlock *PreEntryBlock) { in assertBranchOrSelectConditionHoisted() argument
1652 assert((I->getParent() == PreEntryBlock || in assertBranchOrSelectConditionHoisted()
1666 assert((I->getParent() == PreEntryBlock || in assertBranchOrSelectConditionHoisted()
1729 BasicBlock *PreEntryBlock = EntryBlock; in transformScopes() local
1735 cloneScopeBlocks(Scope, PreEntryBlock, ExitBlock, LastRegion, VMap); in transformScopes()
1739 BranchInst *MergedBr = createMergedBranch(PreEntryBlock, EntryBlock, in transformScopes()
1747 hoistScopeConditions(Scope, PreEntryBlock->getTerminator(), TrivialPHIs, DT); in transformScopes()
1750 assertBranchOrSelectConditionHoisted(Scope, PreEntryBlock); in transformScopes()
1755 fixupBranchesAndSelects(Scope, PreEntryBlock, MergedBr, in transformScopes()
1763 BasicBlock *PreEntryBlock, in cloneScopeBlocks() argument
1776 assert(BB != PreEntryBlock && "Don't copy the preetntry block"); in cloneScopeBlocks()
1821 BranchInst *CHR::createMergedBranch(BasicBlock *PreEntryBlock, in createMergedBranch() argument
1825 BranchInst *OldBR = cast<BranchInst>(PreEntryBlock->getTerminator()); in createMergedBranch()
1839 NewBR->insertInto(PreEntryBlock, PreEntryBlock->end()); in createMergedBranch()
1848 BasicBlock *PreEntryBlock, in fixupBranchesAndSelects() argument
1854 IRBuilder<> IRB(PreEntryBlock->getTerminator()); in fixupBranchesAndSelects()