Lines Matching refs:PreEntryBlock
343 BasicBlock *PreEntryBlock,
347 BranchInst *createMergedBranch(BasicBlock *PreEntryBlock,
351 void fixupBranchesAndSelects(CHRScope *Scope, BasicBlock *PreEntryBlock,
1641 CHRScope *Scope, BasicBlock *PreEntryBlock) { in assertBranchOrSelectConditionHoisted() argument
1653 assert((I->getParent() == PreEntryBlock || in assertBranchOrSelectConditionHoisted()
1667 assert((I->getParent() == PreEntryBlock || in assertBranchOrSelectConditionHoisted()
1730 BasicBlock *PreEntryBlock = EntryBlock; in transformScopes() local
1736 cloneScopeBlocks(Scope, PreEntryBlock, ExitBlock, LastRegion, VMap); in transformScopes()
1740 BranchInst *MergedBr = createMergedBranch(PreEntryBlock, EntryBlock, in transformScopes()
1748 hoistScopeConditions(Scope, PreEntryBlock->getTerminator(), TrivialPHIs, DT); in transformScopes()
1751 assertBranchOrSelectConditionHoisted(Scope, PreEntryBlock); in transformScopes()
1756 fixupBranchesAndSelects(Scope, PreEntryBlock, MergedBr, in transformScopes()
1764 BasicBlock *PreEntryBlock, in cloneScopeBlocks() argument
1777 assert(BB != PreEntryBlock && "Don't copy the preetntry block"); in cloneScopeBlocks()
1822 BranchInst *CHR::createMergedBranch(BasicBlock *PreEntryBlock, in createMergedBranch() argument
1826 BranchInst *OldBR = cast<BranchInst>(PreEntryBlock->getTerminator()); in createMergedBranch()
1840 NewBR->insertInto(PreEntryBlock, PreEntryBlock->end()); in createMergedBranch()
1849 BasicBlock *PreEntryBlock, in fixupBranchesAndSelects() argument
1855 IRBuilder<> IRB(PreEntryBlock->getTerminator()); in fixupBranchesAndSelects()