Lines Matching refs:GuardBlocks
1985 static void setupBranchForGuard(SmallVectorImpl<BasicBlock *> &GuardBlocks, in setupBranchForGuard() argument
1990 GuardBlocks.push_back(Outgoing.back()); in setupBranchForGuard()
1992 for (int i = 0, e = GuardBlocks.size() - 1; i != e; ++i) { in setupBranchForGuard()
1995 BranchInst::Create(Out, GuardBlocks[i + 1], GuardPredicates[Out], in setupBranchForGuard()
1996 GuardBlocks[i]); in setupBranchForGuard()
2000 GuardBlocks.pop_back(); in setupBranchForGuard()
2007 SmallVectorImpl<BasicBlock *> &GuardBlocks, BBPredicates &GuardPredicates) { in calcPredicateUsingInteger() argument
2009 auto FirstGuardBlock = GuardBlocks.front(); in calcPredicateUsingInteger()
2044 Out->getName() + ".predicate", GuardBlocks[i]); in calcPredicateUsingInteger()
2052 SmallVectorImpl<BasicBlock *> &GuardBlocks, BBPredicates &GuardPredicates, in calcPredicateUsingBooleans() argument
2057 auto FirstGuardBlock = GuardBlocks.front(); in calcPredicateUsingBooleans()
2120 convertToGuardPredicates(SmallVectorImpl<BasicBlock *> &GuardBlocks, in convertToGuardPredicates() argument
2129 GuardBlocks.push_back( in convertToGuardPredicates()
2138 calcPredicateUsingBooleans(Incoming, Outgoing, GuardBlocks, GuardPredicates, in convertToGuardPredicates()
2141 calcPredicateUsingInteger(Incoming, Outgoing, GuardBlocks, GuardPredicates); in convertToGuardPredicates()
2143 setupBranchForGuard(GuardBlocks, Outgoing, GuardPredicates); in convertToGuardPredicates()
2147 DomTreeUpdater *DTU, SmallVectorImpl<BasicBlock *> &GuardBlocks, in CreateControlFlowHub() argument
2163 convertToGuardPredicates(GuardBlocks, DeletionCandidates, Incoming, Outgoing, in CreateControlFlowHub()
2165 auto FirstGuardBlock = GuardBlocks.front(); in CreateControlFlowHub()
2168 for (int i = 0, e = GuardBlocks.size(); i != e; ++i) in CreateControlFlowHub()
2169 reconnectPhis(Outgoing[i], GuardBlocks[i], Incoming, FirstGuardBlock); in CreateControlFlowHub()
2171 reconnectPhis(Outgoing.back(), GuardBlocks.back(), Incoming, FirstGuardBlock); in CreateControlFlowHub()
2174 int NumGuards = GuardBlocks.size(); in CreateControlFlowHub()
2181 Updates.push_back({DominatorTree::Insert, GuardBlocks[i], Outgoing[i]}); in CreateControlFlowHub()
2183 {DominatorTree::Insert, GuardBlocks[i], GuardBlocks[i + 1]}); in CreateControlFlowHub()
2185 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()
2187 Updates.push_back({DominatorTree::Insert, GuardBlocks[NumGuards - 1], in CreateControlFlowHub()