Searched refs:visited (Results 1 - 25 of 53) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCFGReachabilityAnalysis.cpp44 llvm::BitVector visited(analyzed.size());
57 if (visited[block->getBlockID()])
59 visited[block->getBlockID()] = true;
/freebsd-11-stable/contrib/gcc/
H A Dcfganal.c168 sbitmap visited;
179 /* Allocate bitmap to track nodes that have been visited. */
180 visited = sbitmap_alloc (last_basic_block);
182 /* None of the nodes in the CFG have been visited yet. */
183 sbitmap_zero (visited);
200 /* Check if the edge destination has been visited yet. */
201 if (dest != EXIT_BLOCK_PTR && ! TEST_BIT (visited, dest->index))
203 /* Mark that we have visited the destination. */
204 SET_BIT (visited, dest->index);
209 /* Since the DEST node has been visited fo
166 sbitmap visited; local
657 sbitmap visited; local
738 sbitmap visited; local
946 static sbitmap visited; local
[all...]
H A Dtracer.c69 #define seen(bb) (bb->il.rtl->visited || bb->aux)
297 bb2->il.rtl->visited = 1;
338 && !e->dest->il.rtl->visited
345 best->dest->il.rtl->visited = 1;
350 if (!bb->il.rtl->visited)
353 bb->il.rtl->visited = 1;
H A Ddf-core.c524 SET_BIT (dataflow->visited, bb->index);
561 if (!TEST_BIT (dataflow->visited, e->dest->index))
576 SET_BIT (dataflow->visited, bb->index);
616 if (!TEST_BIT (dataflow->visited, e->src->index))
637 sbitmap visited = sbitmap_alloc (last_basic_block);
642 dataflow->visited = visited;
646 sbitmap_zero (visited);
681 if (TEST_BIT (pending, idx) && !TEST_BIT (visited, idx))
691 if (TEST_BIT (pending, idx) && !TEST_BIT (visited, id
636 sbitmap visited = sbitmap_alloc (last_basic_block); local
[all...]
H A Dtree-ssa-copy.c506 sbitmap visited; local
513 visited = sbitmap_alloc (num_ssa_names);
514 sbitmap_zero (visited);
515 SET_BIT (visited, SSA_NAME_VERSION (var));
528 if (TEST_BIT (visited, SSA_NAME_VERSION (val)))
530 SET_BIT (visited, SSA_NAME_VERSION (val));
541 sbitmap_free (visited);
H A Dtree-ssa.c101 /* Return true if SSA_NAME is malformed and mark it visited.
377 bitmap visited = BITMAP_ALLOC (NULL); local
392 bitmap_set_bit (visited, DECL_UID (alias));
410 && !bitmap_bit_p (visited, DECL_UID (var)))
417 BITMAP_FREE (visited);
587 /* Lastly, clear out the visited flags. */
1029 VISITED is a pointer set used to mark visited SSA_NAMEs to avoid
1031 SSA versions we had visited. But non-sparse bitmaps are way too
1037 visited first and then FN is called with each of the visited
1041 walk_use_def_chains_1(tree var, walk_use_def_chains_fn fn, void *data, struct pointer_set_t *visited, bool is_dfs) argument
1126 struct pointer_set_t *visited = pointer_set_create (); local
[all...]
H A Dtree-stdarg.c53 sbitmap visited; local
65 visited = sbitmap_alloc (last_basic_block);
66 sbitmap_zero (visited);
98 if (! TEST_BIT (visited, src->index))
100 SET_BIT (visited, src->index);
107 sbitmap_free (visited);
H A Dpredict.c903 expr_expected_value (tree expr, bitmap visited)
912 if (bitmap_bit_p (visited, SSA_NAME_VERSION (expr)))
914 bitmap_set_bit (visited, SSA_NAME_VERSION (expr));
936 new_val = expr_expected_value (arg, visited);
948 return expr_expected_value (TREE_OPERAND (def, 1), visited);
973 op0 = expr_expected_value (TREE_OPERAND (expr, 0), visited);
976 op1 = expr_expected_value (TREE_OPERAND (expr, 1), visited);
987 op0 = expr_expected_value (TREE_OPERAND (expr, 0), visited);
1039 bitmap visited;
1052 visited
902 expr_expected_value(tree expr, bitmap visited) argument
1036 bitmap visited; local
[all...]
H A Dtree-if-conv.c1036 /* Return TRUE iff, all pred blocks of BB are visited.
1037 Bitmap VISITED keeps history of visited blocks. */
1040 pred_blocks_visited_p (basic_block bb, bitmap *visited) argument
1045 if (!bitmap_bit_p (*visited, e->src->index))
1062 bitmap visited; local
1070 visited = BITMAP_ALLOC (NULL);
1082 BITMAP_FREE (visited);
1086 if (!bitmap_bit_p (visited, bb->index))
1088 if (pred_blocks_visited_p (bb, &visited)
1091 /* This block is now visited
[all...]
H A Dbb-reorder.c40 If the successor has not been visited in this trace it is added to the trace
42 If the successor has been visited in this trace the loop has been found.
302 /* The best edge is preferred when its destination is not visited yet
315 && e->dest->il.rtl->visited != trace_n
322 if (!e->dest->il.rtl->visited
338 if (!e->dest->il.rtl->visited
406 /* This function marks BB that it was visited in trace number TRACE. */
411 bb->il.rtl->visited = trace;
492 fprintf (dump_file, "Basic block %d was visited in trace %d\n",
505 if (e->dest->il.rtl->visited
[all...]
H A Dtree-outof-ssa.c89 sbitmap visited; member in struct:_elim_graph
91 /* Stack for visited nodes. */
227 g->visited = sbitmap_alloc (size);
248 sbitmap_free (g->visited);
414 SET_BIT (g->visited, T);
417 if (!TEST_BIT (g->visited, S))
432 if (!TEST_BIT (g->visited, P))
444 SET_BIT (g->visited, T);
447 if (!TEST_BIT (g->visited, P))
472 if (!TEST_BIT (g->visited,
[all...]
H A Dtree-ssa-phiopt.c257 sbitmap visited = sbitmap_alloc (last_basic_block); local
259 #define MARK_VISITED(BB) (SET_BIT (visited, (BB)->index))
260 #define VISITED_P(BB) (TEST_BIT (visited, (BB)->index))
262 sbitmap_zero (visited);
291 sbitmap_free (visited);
H A Dcfgloop.c874 bitmap visited;
882 visited = BITMAP_ALLOC (NULL);
890 if (!bitmap_bit_p (visited, bb->index))
892 /* This basic block is now visited */
893 bitmap_set_bit (visited, bb->index);
901 if (!bitmap_bit_p (visited, e->dest->index))
903 bitmap_set_bit (visited, e->dest->index);
914 BITMAP_FREE (visited);
873 bitmap visited; local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGPrinter.cpp223 bool SelectionDAG::setSubgraphColorHelper(SDNode *N, const char *Color, DenseSet<SDNode *> &visited, argument
236 unsigned oldSize = visited.size();
237 visited.insert(N);
238 if (visited.size() != oldSize) {
243 hit_limit = setSubgraphColorHelper(*i, Color, visited, level+1, printed) || hit_limit;
257 DenseSet<SDNode *> visited; local
259 if (setSubgraphColorHelper(N, Color, visited, 0, printed)) {
262 setSubgraphColorHelper(N, "blue", visited, 0, printed);
264 setSubgraphColorHelper(N, "green", visited, 0, printed);
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp9 // path-sensitive analysis. We mark any path visited, and then walk the CFG as a
10 // post-analysis to determine what was never visited.
42 CFGBlocksSet &visited);
51 CFGBlocksSet reachable, visited; local
106 if (!visited.count(CB->getBlockID()))
107 FindUnreachableEntryPoints(CB, reachable, visited);
180 CFGBlocksSet &visited) {
181 visited.insert(CB->getBlockID());
192 if (!visited.count((*I)->getBlockID()))
193 // If we haven't previously visited th
178 FindUnreachableEntryPoints(const CFGBlock *CB, CFGBlocksSet &reachable, CFGBlocksSet &visited) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bvgraph.h112 &visited = t2; local
114 visited.clear();
115 visited.setBit(from);
118 if (visited.setBit(idx))
121 return targets.intersectsWith(visited);
H A Dsanitizer_deadlock_detector2.cpp60 bool visited[kMaxMutex]; member in struct:__sanitizer::DDPhysicalThread
360 internal_memset(pt->visited, 0, sizeof(pt->visited));
375 if (pt->visited[link.id])
381 pt->visited[link.id] = true;
/freebsd-11-stable/contrib/apr-util/test/
H A Dtestdbm.c33 int visited; member in struct:__anon157
150 ABTS_INT_EQUAL(tc, 0, table[i].visited);
151 table[i].visited++;
161 ABTS_INT_EQUAL(tc, 1, table[i].visited);
162 table[i].visited = 0;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DTypeSystem.cpp191 std::set<TypeSystem *> visited;
194 if (type_system && !visited.count(type_system)) {
195 visited.insert(type_system);
211 std::set<TypeSystem *> visited;
214 if (type_system && !visited.count(type_system)) {
215 visited.insert(type_system);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDominanceFrontierImpl.h166 SmallPtrSet<BlockT *, 32> visited; local
182 if (visited.insert(currentBB).second) {
200 if (visited.count(childBB) == 0) {
207 // If all children are visited or there is any child then pop this block
H A DRegionInfoImpl.h279 void RegionBase<Tr>::verifyWalk(BlockT *BB, std::set<BlockT *> *visited) const {
282 visited->insert(BB);
288 if (Succ != exit && visited->find(Succ) == visited->end())
289 verifyWalk(Succ, visited);
301 std::set<BlockT *> visited;
302 verifyWalk(getEntry(), &visited); local
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_ucast_dnup.c79 unsigned visited; member in struct:dnup_node
135 u->visited = 0; /* cleanup */
202 /* Check if remote port has already been visited */
203 if (!rem_u->visited) {
206 rem_u->visited = 1;
247 /* Go over all remote nodes and rank them (if not already visited) */
343 u->visited = 0;
H A Dosm_ucast_updn.c79 unsigned visited; member in struct:updn_node
140 u->visited = 0; /* cleanup */
191 /* Check if remote port has already been visited */
192 if (!rem_u->visited) {
195 rem_u->visited = 1;
236 /* Go over all remote nodes and rank them (if not already visited) */
/freebsd-11-stable/sys/amd64/amd64/
H A Dminidump_machdep.c107 int visited; member in struct:__anon5100
131 if (progress_track[i].visited)
133 progress_track[i].visited = 1;
233 progress_track[i].visited = 0;
/freebsd-11-stable/sys/arm64/arm64/
H A Dminidump_machdep.c114 int visited; member in struct:__anon5188
138 if (progress_track[i].visited)
140 progress_track[i].visited = 1;

Completed in 183 milliseconds

123