HomeSort by: relevance | last modified time | path
    Searched defs:phi (Results 1 - 25 of 120) sorted by relevancy

1 2 3 4 5

  /src/external/gpl3/gcc.old/dist/gcc/
tree-phinodes.h 1 /* Header file for PHI node routines
25 extern void add_phi_node_to_bb (gphi *phi, basic_block bb);
40 /* Return the phi argument which contains the specified use. */
47 gimple *phi; local
49 /* Since the use is the first thing in a PHI argument element, we can
53 phi = USE_STMT (use);
56 root = gimple_phi_arg (phi, 0);
63 && index < gimple_phi_capacity (phi));
gimple-streamer-out.cc 36 /* Output PHI function PHI to the main stream in OB. */
39 output_phi (struct output_block *ob, gphi *phi)
41 unsigned i, len = gimple_phi_num_args (phi);
44 streamer_write_uhwi (ob, SSA_NAME_VERSION (PHI_RESULT (phi)));
48 stream_write_tree (ob, gimple_phi_arg_def (phi, i), true);
49 streamer_write_uhwi (ob, gimple_phi_arg_edge (phi, i)->src->index);
51 location_t loc = gimple_phi_arg_location (phi, i);
246 gphi *phi = psi.phi (); local
    [all...]
gimple-iterator.h 41 gphi *phi () const function in struct:gphi_iterator
338 while (!gsi_end_p (*i) && virtual_operand_p (gimple_phi_result (i->phi ())));
341 /* Return a new iterator pointing to the first non-virtual phi statement in
349 if (!gsi_end_p (i) && virtual_operand_p (gimple_phi_result (i.phi ())))
gimple-walk.cc 523 gphi *phi = as_a <gphi *> (stmt); local
529 ret = walk_tree (gimple_phi_result_ptr (phi), callback_op, wi, pset);
534 for (unsigned i = 0; i < gimple_phi_num_args (phi); ++i)
536 ret = walk_tree (gimple_phi_arg_def_ptr (phi, i),
tree-phinodes.cc 33 were threaded through PHI nodes.
45 PHI nodes have different sizes, so we can't have a single list of all
46 the PHI nodes as it would be too expensive to walk down that list to
47 find a PHI of a suitable size.
49 Instead we have an array of lists of free PHI nodes. The array is
50 indexed by the number of PHI alternatives that PHI node can hold.
51 Except for the last array member, which holds all remaining PHI
54 So to find a free PHI node, we compute its index into the free PHI
96 gphi *phi; local
171 gphi *phi; local
341 gphi *phi = make_phi_node (var, EDGE_COUNT (bb->preds)); local
    [all...]
value-pointer-equiv.cc 186 gphi *phi = iter.phi (); local
187 tree lhs = gimple_phi_result (phi);
190 tree arg0 = gimple_phi_arg_def (phi, 0);
195 // If all the PHI args point to the same place, set the
196 // pointer equivalency info for the PHI result. This can
198 // PHI<&foo, &foo> or PHI<&foo>.
199 for (size_t i = 1; i < gimple_phi_num_args (phi); ++i)
201 tree argi = gimple_phi_arg_def (phi, i)
    [all...]
gimple-harden-conditionals.cc 570 gphi *phi = psi.phi (); local
571 add_phi_arg (phi, PHI_ARG_DEF_FROM_EDGE (phi, aseh), ckeh,
572 gimple_phi_arg_location_from_edge (phi, aseh));
577 "Copying PHI args in EH block %i from %i to %i\n",
gimple-range.cc 419 gphi *phi = dyn_cast <gphi *> (stmt); local
420 if (phi)
422 for (unsigned x = 0; x < gimple_phi_num_args (phi); x++)
423 prefill_name (r, gimple_phi_arg_def (phi, x));
gimple-ssa-evrp-analyze.cc 238 /* Visit PHI stmts and discover any new VRs possible. */
253 gphi *phi = gpi.phi (); local
254 tree lhs = PHI_RESULT (phi);
264 bool interesting = stmt_interesting_for_vrp (phi);
266 extract_range_from_phi_node (phi, &vr_result);
271 use PHI arg ranges which may be still UNDEFINED but have
277 && (l = loop_containing_stmt (phi))
278 && l->header == gimple_bb (phi))
279 adjust_range_with_scev (&vr_result, l, phi, lhs)
    [all...]
gimple-ssa-split-paths.cc 173 the output of that statement feed the same PHI in BB. */
194 gimple *phi = gsi_stmt (gsi); local
195 if ((gimple_phi_arg_def (phi, 0) == lhs1
196 && gimple_phi_arg_def (phi, 1) == lhs2)
197 || (gimple_phi_arg_def (phi, 1) == lhs1
198 && gimple_phi_arg_def (phi, 0) == lhs2))
240 gimple *phi = gsi_stmt (gsi); local
241 if ((gimple_phi_arg_def (phi, 0) == lhs1
242 && gimple_phi_arg_def (phi, 1) == rhs1)
243 || (gimple_phi_arg_def (phi, 1) == lhs
279 gimple *phi = gsi_stmt (gsi); local
302 gphi *phi = si.phi (); local
    [all...]
sese.cc 78 FOR_EACH_PHI_ARG (use_p, bsi.phi (), iter, SSA_OP_USE)
186 gphi *phi = create_phi_node (NULL_TREE, exit); local
187 create_new_def_for (use, phi, gimple_phi_result_ptr (phi));
188 add_phi_arg (phi, use, false_e, UNKNOWN_LOCATION);
189 add_phi_arg (phi, use, true_e, UNKNOWN_LOCATION);
190 update_stmt (phi);
193 /* Insert in the block BB phi nodes for variables defined in REGION
tree-ssa-copy.cc 63 When visiting a statement or PHI node the lattice value for an
324 /* Visit PHI node PHI. If all the arguments produce the same value,
325 set it to be the value of the LHS of PHI. */
328 copy_prop::visit_phi (gphi *phi)
334 tree lhs = gimple_phi_result (phi);
338 fprintf (dump_file, "\nVisiting PHI node: ");
339 print_gimple_stmt (dump_file, phi, 0, dump_flags);
342 for (i = 0; i < gimple_phi_num_args (phi); i++)
346 tree arg = gimple_phi_arg_def (phi, i)
477 gphi *phi = si.phi (); local
    [all...]
tree-ssa-ifcombine.cc 155 /* Verify if all PHI node arguments in DEST for edges from BB1 or
165 gphi *phi; local
169 phi = gsi.phi ();
170 if (!operand_equal_p (PHI_ARG_DEF_FROM_EDGE (phi, e1),
171 PHI_ARG_DEF_FROM_EDGE (phi, e2), 0))
654 guaranteed by matching PHI arguments in the else_bb and
693 by matching PHI arguments in the then_bb and the inner cond_bb
834 block. This is opposite of PHI-OPT, because we cascade the
tree-ssa-loop-ch.cc 137 gphi *phi = psi.phi (); local
138 tree res = gimple_phi_result (phi);
141 gimple_set_uid (phi, 1 /* IV */);
143 gimple_set_uid (phi, 0);
tree-ssa-scopedtables.h 46 struct { size_t nargs; tree *args; } phi; member in union:hashable_expr::__anon11429
tree-ssa-uncprop.cc 227 constant initializations on edges to eliminate PHI nodes.
261 When we encounter a PHI node, we walk its arguments to see if we
262 have an equivalence for the PHI argument. If so, then we replace
329 /* Unpropagate values from PHI nodes in successor blocks of BB. */
338 on that edge. Then unpropagate values in any PHI nodes at the
345 /* If there are no PHI nodes in this destination, then there is
357 /* Walk over the PHI nodes, unpropagating values. */
360 gimple *phi = gsi_stmt (gsi); local
361 tree arg = PHI_ARG_DEF (phi, e->dest_idx);
362 tree res = PHI_RESULT (phi);
    [all...]
gimple-if-to-switch.cc 71 /* Recond PHI mapping for an original edge E and save these into
85 /* Recond PHI mapping for an original edge E and save these into vector VEC. */
93 gphi *phi = gsi.phi (); local
94 tree arg = PHI_ARG_DEF_FROM_EDGE (phi, e);
95 vec->safe_push (std::make_pair (phi, arg));
356 /* Fill up missing PHI node arguments. */
369 /* Fill up missing PHI nodes for the default BB. */
gimple-match-head.cc 1225 is an exact integer, arg1 = phi_res +/- cst1 and phi_res = PHI <cst2, ...>
1241 gphi *phi = dyn_cast <gphi *> (def); local
1244 if (!phi)
1263 phi = dyn_cast <gphi *> (SSA_NAME_DEF_STMT (gimple_assign_rhs1 (def)));
1264 if (!phi)
1269 int n = gimple_phi_num_args (phi);
1272 tree arg = PHI_ARG_DEF (phi, i);
gimple-range-path.cc 264 // Return the range of the result of PHI in R.
269 // calculating the PHI's range must not trigger additional lookups.
272 path_range_query::ssa_range_in_phi (irange &r, gphi *phi)
274 tree name = gimple_phi_result (phi);
275 basic_block bb = gimple_bb (phi);
276 unsigned nargs = gimple_phi_num_args (phi);
280 if (m_resolve && m_ranger->range_of_expr (r, name, phi))
283 // Try to fold the phi exclusively with global or cached values.
284 // This will get things like PHI <5(99), 6(88)>. We do this by
290 tree arg = gimple_phi_arg_def (phi, i)
390 gphi *phi = iter.phi (); local
822 gphi *phi = iter.phi (); local
    [all...]
gimple-ssa-backprop.cc 69 optimistic assumption about a backedge phi onto a worklist.
457 /* Make INFO describe the uses of PHI's result. */
460 backprop::process_phi_use (gphi *phi, usage_info *info)
462 tree result = gimple_phi_result (phi);
484 else if (gphi *phi = dyn_cast <gphi *> (stmt))
485 process_phi_use (phi, info);
507 gphi *phi = dyn_cast <gphi *> (stmt); local
508 if (phi
509 && !bitmap_bit_p (m_visited_blocks, gimple_bb (phi)->index)
511 SSA_NAME_VERSION (gimple_phi_result (phi))))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
UnreachableBlockElim.cpp 156 // Cleanup PHI nodes.
159 // Prune unneeded PHI entries.
162 MachineBasicBlock::iterator phi = BB->begin(); local
163 while (phi != BB->end() && phi->isPHI()) {
164 for (unsigned i = phi->getNumOperands() - 1; i >= 2; i-=2)
165 if (!preds.count(phi->getOperand(i).getMBB())) {
166 phi->RemoveOperand(i);
167 phi->RemoveOperand(i-1);
171 if (phi->getNumOperands() == 3)
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/analyzer/
program-point.cc 141 const gphi *phi = gpi.phi (); local
142 pp_gimple_stmt_1 (pp, phi, 0, (dump_flags_t)0);
state-purge.cc 246 /* We ignore m_returning_call and phi nodes. */
342 /* If it's a use within a phi node, then we care about
350 gphi *phi = gpi.phi (); local
351 if (phi == use_stmt)
355 arg_idx < gimple_phi_num_args (phi);
358 if (name == gimple_phi_arg (phi, arg_idx)->def)
360 edge in_edge = gimple_phi_arg_edge (phi, arg_idx);
491 /* Return true iff NAME is used by any of the phi nodes in SNODE
504 gphi *phi = gpi.phi () local
553 gphi *phi = gpi.phi (); local
    [all...]
  /src/external/bsd/ntp/dist/clockstuff/
propdelay.c 436 double phi; local
441 phi = (PI/2.0) - atan((h / (EARTHRADIUS * sin(theta))) + tan(theta/2));
442 td = dg / (LIGHTSPEED * sin(phi));
  /src/external/gpl3/gcc.old/dist/gcc/config/gcn/
gcn-tree.cc 174 gphi *phi = create_phi_node (expect_var, loop_bb); local
175 add_phi_arg (phi, init_var, pre_edge, loc);
176 add_phi_arg (phi, actual_var, loop_edge, loc);

Completed in 59 milliseconds

1 2 3 4 5