Lines Matching refs:GuardBlocks

1973 static void setupBranchForGuard(SmallVectorImpl<BasicBlock *> &GuardBlocks,  in setupBranchForGuard()  argument
1978 GuardBlocks.push_back(Outgoing.back()); in setupBranchForGuard()
1980 for (int i = 0, e = GuardBlocks.size() - 1; i != e; ++i) { in setupBranchForGuard()
1983 BranchInst::Create(Out, GuardBlocks[i + 1], GuardPredicates[Out], in setupBranchForGuard()
1984 GuardBlocks[i]); in setupBranchForGuard()
1988 GuardBlocks.pop_back(); in setupBranchForGuard()
1995 SmallVectorImpl<BasicBlock *> &GuardBlocks, BBPredicates &GuardPredicates) { in calcPredicateUsingInteger() argument
1997 auto FirstGuardBlock = GuardBlocks.front(); in calcPredicateUsingInteger()
2032 Out->getName() + ".predicate", GuardBlocks[i]); in calcPredicateUsingInteger()
2040 SmallVectorImpl<BasicBlock *> &GuardBlocks, BBPredicates &GuardPredicates, in calcPredicateUsingBooleans() argument
2045 auto FirstGuardBlock = GuardBlocks.front(); in calcPredicateUsingBooleans()
2108 convertToGuardPredicates(SmallVectorImpl<BasicBlock *> &GuardBlocks, in convertToGuardPredicates() argument
2117 GuardBlocks.push_back( in convertToGuardPredicates()
2126 calcPredicateUsingBooleans(Incoming, Outgoing, GuardBlocks, GuardPredicates, in convertToGuardPredicates()
2129 calcPredicateUsingInteger(Incoming, Outgoing, GuardBlocks, GuardPredicates); in convertToGuardPredicates()
2131 setupBranchForGuard(GuardBlocks, Outgoing, GuardPredicates); in convertToGuardPredicates()
2135 DomTreeUpdater *DTU, SmallVectorImpl<BasicBlock *> &GuardBlocks, in CreateControlFlowHub() argument
2151 convertToGuardPredicates(GuardBlocks, DeletionCandidates, Incoming, Outgoing, in CreateControlFlowHub()
2153 auto FirstGuardBlock = GuardBlocks.front(); in CreateControlFlowHub()
2156 for (int i = 0, e = GuardBlocks.size(); i != e; ++i) in CreateControlFlowHub()
2157 reconnectPhis(Outgoing[i], GuardBlocks[i], Incoming, FirstGuardBlock); in CreateControlFlowHub()
2159 reconnectPhis(Outgoing.back(), GuardBlocks.back(), Incoming, FirstGuardBlock); in CreateControlFlowHub()
2162 int NumGuards = GuardBlocks.size(); in CreateControlFlowHub()
2169 Updates.push_back({DominatorTree::Insert, GuardBlocks[i], Outgoing[i]}); in CreateControlFlowHub()
2171 {DominatorTree::Insert, GuardBlocks[i], GuardBlocks[i + 1]}); in CreateControlFlowHub()
2173 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()
2175 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()