Lines Matching refs:GuardBlocks
1308 static void createGuardBlocks(SmallVectorImpl<BasicBlock *> &GuardBlocks, in createGuardBlocks() argument
1312 GuardBlocks.push_back( in createGuardBlocks()
1315 assert(GuardBlocks.size() == GuardPredicates.size()); in createGuardBlocks()
1319 GuardBlocks.push_back(Outgoing.back()); in createGuardBlocks()
1321 for (int i = 0, e = GuardBlocks.size() - 1; i != e; ++i) { in createGuardBlocks()
1324 BranchInst::Create(Out, GuardBlocks[i + 1], GuardPredicates[Out], in createGuardBlocks()
1325 GuardBlocks[i]); in createGuardBlocks()
1329 GuardBlocks.pop_back(); in createGuardBlocks()
1333 DomTreeUpdater *DTU, SmallVectorImpl<BasicBlock *> &GuardBlocks, in CreateControlFlowHub() argument
1356 GuardBlocks.push_back(FirstGuardBlock); in CreateControlFlowHub()
1357 createGuardBlocks(GuardBlocks, F, Outgoing, GuardPredicates, Prefix); in CreateControlFlowHub()
1360 for (int i = 0, e = GuardBlocks.size(); i != e; ++i) { in CreateControlFlowHub()
1361 reconnectPhis(Outgoing[i], GuardBlocks[i], Incoming, FirstGuardBlock); in CreateControlFlowHub()
1363 reconnectPhis(Outgoing.back(), GuardBlocks.back(), Incoming, FirstGuardBlock); in CreateControlFlowHub()
1366 int NumGuards = GuardBlocks.size(); in CreateControlFlowHub()
1369 Updates.push_back({DominatorTree::Insert, GuardBlocks[i], Outgoing[i]}); in CreateControlFlowHub()
1371 {DominatorTree::Insert, GuardBlocks[i], GuardBlocks[i + 1]}); in CreateControlFlowHub()
1373 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()
1375 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()