OSDN Git Service

Undo changes to the PDR representation.
[pf3gnuchains/gcc-fork.git] / gcc / graphite-poly.c
1 /* Graphite polyhedral representation.
2    Copyright (C) 2009 Free Software Foundation, Inc.
3    Contributed by Sebastian Pop <sebastian.pop@amd.com> and
4    Tobias Grosser <grosser@fim.uni-passau.de>.
5
6 This file is part of GCC.
7
8 GCC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
11 any later version.
12
13 GCC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3.  If not see
20 <http://www.gnu.org/licenses/>.  */
21 #include "config.h"
22 #include "system.h"
23 #include "coretypes.h"
24 #include "tm.h"
25 #include "ggc.h"
26 #include "tree.h"
27 #include "rtl.h"
28 #include "output.h"
29 #include "basic-block.h"
30 #include "diagnostic.h"
31 #include "tree-flow.h"
32 #include "toplev.h"
33 #include "tree-dump.h"
34 #include "timevar.h"
35 #include "cfgloop.h"
36 #include "tree-chrec.h"
37 #include "tree-data-ref.h"
38 #include "tree-scalar-evolution.h"
39 #include "tree-pass.h"
40 #include "domwalk.h"
41 #include "value-prof.h"
42 #include "pointer-set.h"
43 #include "gimple.h"
44 #include "params.h"
45
46 #ifdef HAVE_cloog
47 #include "cloog/cloog.h"
48 #include "ppl_c.h"
49 #include "sese.h"
50 #include "graphite-ppl.h"
51 #include "graphite.h"
52 #include "graphite-poly.h"
53 #include "graphite-dependences.h"
54
55 /* Return the maximal loop depth in SCOP.  */
56
57 int
58 scop_max_loop_depth (scop_p scop)
59 {
60   int i;
61   poly_bb_p pbb;
62   int max_nb_loops = 0;
63
64   for (i = 0; VEC_iterate (poly_bb_p, SCOP_BBS (scop), i, pbb); i++)
65     {
66       int nb_loops = pbb_dim_iter_domain (pbb);
67       if (max_nb_loops < nb_loops)
68         max_nb_loops = nb_loops;
69     }
70
71   return max_nb_loops;
72 }
73
74 /* Extend the scattering matrix of PBB to MAX_SCATTERING scattering
75    dimensions.  */
76
77 static void
78 extend_scattering (poly_bb_p pbb, int max_scattering)
79 {
80   ppl_dimension_type nb_old_dims, nb_new_dims;
81   int nb_added_dims, i;
82   ppl_Coefficient_t coef;
83   Value one;
84
85   nb_added_dims = max_scattering - pbb_nb_scattering_transform (pbb);
86   value_init (one);
87   value_set_si (one, 1);
88   ppl_new_Coefficient (&coef);
89   ppl_assign_Coefficient_from_mpz_t (coef, one);
90
91   gcc_assert (nb_added_dims >= 0);
92
93   nb_old_dims = pbb_nb_scattering_transform (pbb) + pbb_dim_iter_domain (pbb)
94     + scop_nb_params (PBB_SCOP (pbb));
95   nb_new_dims = nb_old_dims + nb_added_dims;
96
97   ppl_insert_dimensions (PBB_TRANSFORMED_SCATTERING (pbb),
98                          pbb_nb_scattering_transform (pbb), nb_added_dims);
99   PBB_NB_SCATTERING_TRANSFORM (pbb) += nb_added_dims;
100
101   /* Add identity matrix for the added dimensions.  */
102   for (i = max_scattering - nb_added_dims; i < max_scattering; i++)
103     {
104       ppl_Constraint_t cstr;
105       ppl_Linear_Expression_t expr;
106
107       ppl_new_Linear_Expression_with_dimension (&expr, nb_new_dims);
108       ppl_Linear_Expression_add_to_coefficient (expr, i, coef);
109       ppl_new_Constraint (&cstr, expr, PPL_CONSTRAINT_TYPE_EQUAL);
110       ppl_Polyhedron_add_constraint (PBB_TRANSFORMED_SCATTERING (pbb), cstr);
111       ppl_delete_Constraint (cstr);
112       ppl_delete_Linear_Expression (expr);
113     }
114
115   ppl_delete_Coefficient (coef);
116   value_clear (one);
117 }
118
119 /* All scattering matrices in SCOP will have the same number of scattering
120    dimensions.  */
121
122 int
123 unify_scattering_dimensions (scop_p scop)
124 {
125   int i;
126   poly_bb_p pbb;
127   graphite_dim_t max_scattering = 0;
128
129   for (i = 0; VEC_iterate (poly_bb_p, SCOP_BBS (scop), i, pbb); i++)
130     max_scattering = MAX (pbb_nb_scattering_transform (pbb), max_scattering);
131
132   for (i = 0; VEC_iterate (poly_bb_p, SCOP_BBS (scop), i, pbb); i++)
133     extend_scattering (pbb, max_scattering);
134
135   return max_scattering;
136 }
137
138 /* Prints to FILE the scattering function of PBB.  */
139
140 void
141 print_scattering_function (FILE *file, poly_bb_p pbb)
142 {
143   graphite_dim_t i;
144
145   if (!PBB_TRANSFORMED (pbb))
146     return;
147
148   fprintf (file, "scattering bb_%d (\n", GBB_BB (PBB_BLACK_BOX (pbb))->index);
149   fprintf (file, "#  eq");
150
151   for (i = 0; i < pbb_nb_scattering_transform (pbb); i++)
152     fprintf (file, "     s%d", (int) i);
153
154   for (i = 0; i < pbb_nb_local_vars (pbb); i++)
155     fprintf (file, "    lv%d", (int) i);
156
157   for (i = 0; i < pbb_dim_iter_domain (pbb); i++)
158     fprintf (file, "     i%d", (int) i);
159
160   for (i = 0; i < pbb_nb_params (pbb); i++)
161     fprintf (file, "     p%d", (int) i);
162
163   fprintf (file, "    cst\n");
164
165   ppl_print_polyhedron_matrix (file, PBB_TRANSFORMED_SCATTERING (pbb));
166
167   fprintf (file, ")\n");
168 }
169
170 /* Prints to FILE the iteration domain of PBB.  */
171
172 void
173 print_iteration_domain (FILE *file, poly_bb_p pbb)
174 {
175   print_pbb_domain (file, pbb);
176 }
177
178 /* Prints to FILE the scattering functions of every PBB of SCOP.  */
179
180 void
181 print_scattering_functions (FILE *file, scop_p scop)
182 {
183   int i;
184   poly_bb_p pbb;
185
186   for (i = 0; VEC_iterate (poly_bb_p, SCOP_BBS (scop), i, pbb); i++)
187     print_scattering_function (file, pbb);
188 }
189
190 /* Prints to FILE the iteration domains of every PBB of SCOP.  */
191
192 void
193 print_iteration_domains (FILE *file, scop_p scop)
194 {
195   int i;
196   poly_bb_p pbb;
197
198   for (i = 0; VEC_iterate (poly_bb_p, SCOP_BBS (scop), i, pbb); i++)
199     print_iteration_domain (file, pbb);
200 }
201
202 /* Prints to STDERR the scattering function of PBB.  */
203
204 void
205 debug_scattering_function (poly_bb_p pbb)
206 {
207   print_scattering_function (stderr, pbb);
208 }
209
210 /* Prints to STDERR the iteration domain of PBB.  */
211
212 void
213 debug_iteration_domain (poly_bb_p pbb)
214 {
215   print_iteration_domain (stderr, pbb);
216 }
217
218 /* Prints to STDERR the scattering functions of every PBB of SCOP.  */
219
220 void
221 debug_scattering_functions (scop_p scop)
222 {
223   print_scattering_functions (stderr, scop);
224 }
225
226 /* Prints to STDERR the iteration domains of every PBB of SCOP.  */
227
228 void
229 debug_iteration_domains (scop_p scop)
230 {
231   print_iteration_domains (stderr, scop);
232 }
233
234 /* Apply graphite transformations to all the basic blocks of SCOP.  */
235
236 bool
237 apply_poly_transforms (scop_p scop)
238 {
239   bool transform_done = false;
240
241   gcc_assert (graphite_legal_transform (scop));
242
243   /* Generate code even if we did not apply any real transformation.
244      This also allows to check the performance for the identity
245      transformation: GIMPLE -> GRAPHITE -> GIMPLE
246      Keep in mind that CLooG optimizes in control, so the loop structure
247      may change, even if we only use -fgraphite-identity.  */
248   if (flag_graphite_identity)
249     transform_done = true;
250
251   if (flag_loop_parallelize_all)
252     transform_done = true;
253
254   if (flag_loop_block)
255     gcc_unreachable (); /* Not yet supported.  */
256
257   if (flag_loop_strip_mine)
258     transform_done |= scop_do_strip_mine (scop);
259
260   if (flag_loop_interchange)
261     transform_done |= scop_do_interchange (scop);
262
263   return transform_done;
264 }
265
266 /* Create a new polyhedral data reference and add it to PBB. It is defined by
267    its ACCESSES, its TYPE*/
268
269 void
270 new_poly_dr (poly_bb_p pbb,
271              ppl_Pointset_Powerset_C_Polyhedron_t accesses,
272              enum POLY_DR_TYPE type, void *cdr)
273 {
274   poly_dr_p pdr = XNEW (struct poly_dr);
275
276   PDR_PBB (pdr) = pbb;
277   PDR_ACCESSES (pdr) = accesses;
278   PDR_TYPE (pdr) = type;
279   PDR_CDR (pdr) = cdr;
280   VEC_safe_push (poly_dr_p, heap, PBB_DRS (pbb), pdr);
281 }
282
283 /* Free polyhedral data reference PDR.  */
284
285 void
286 free_poly_dr (poly_dr_p pdr)
287 {
288   ppl_delete_Pointset_Powerset_C_Polyhedron (PDR_ACCESSES (pdr));
289   XDELETE (pdr);
290 }
291
292 /* Create a new polyhedral black box.  */
293
294 void
295 new_poly_bb (scop_p scop, void *black_box)
296 {
297   poly_bb_p pbb = XNEW (struct poly_bb);
298
299   PBB_DOMAIN (pbb) = NULL;
300   PBB_SCOP (pbb) = scop;
301   pbb_set_black_box (pbb, black_box);
302   PBB_TRANSFORMED (pbb) = NULL;
303   PBB_SAVED (pbb) = NULL;
304   PBB_ORIGINAL (pbb) = NULL;
305   PBB_DRS (pbb) = VEC_alloc (poly_dr_p, heap, 3);
306   VEC_safe_push (poly_bb_p, heap, SCOP_BBS (scop), pbb);
307 }
308
309 /* Free polyhedral black box.  */
310
311 void
312 free_poly_bb (poly_bb_p pbb)
313 {
314   int i;
315   poly_dr_p pdr;
316
317   ppl_delete_Pointset_Powerset_C_Polyhedron (PBB_DOMAIN (pbb));
318
319   if (PBB_TRANSFORMED (pbb))
320     poly_scattering_free (PBB_TRANSFORMED (pbb));
321
322   if (PBB_SAVED (pbb))
323     poly_scattering_free (PBB_SAVED (pbb));
324
325   if (PBB_ORIGINAL (pbb))
326     poly_scattering_free (PBB_ORIGINAL (pbb));
327
328   if (PBB_DRS (pbb))
329     for (i = 0; VEC_iterate (poly_dr_p, PBB_DRS (pbb), i, pdr); i++)
330       free_poly_dr (pdr);
331
332   VEC_free (poly_dr_p, heap, PBB_DRS (pbb));
333   XDELETE (pbb);
334 }
335
336 static void
337 print_pdr_access_layout (FILE *file, poly_dr_p pdr)
338 {
339   graphite_dim_t i;
340
341   fprintf (file, "#  eq");
342
343   for (i = 0; i < pdr_dim_iter_domain (pdr); i++)
344     fprintf (file, "     i%d", (int) i);
345
346   for (i = 0; i < pdr_nb_params (pdr); i++)
347     fprintf (file, "     p%d", (int) i);
348
349   fprintf (file, "  alias");
350
351   for (i = 0; i < pdr_nb_subscripts (pdr); i++)
352     fprintf (file, "   sub%d", (int) i);
353
354   fprintf (file, "    cst\n");
355 }
356
357 /* Prints to FILE the polyhedral data reference PDR.  */
358
359 void
360 print_pdr (FILE *file, poly_dr_p pdr)
361 {
362   fprintf (file, "pdr (");
363
364   switch (PDR_TYPE (pdr))
365     {
366     case PDR_READ:
367       fprintf (file, "read \n");
368       break;
369
370     case PDR_WRITE:
371       fprintf (file, "write \n");
372       break;
373
374     case PDR_MAY_WRITE:
375       fprintf (file, "may_write \n");
376       break;
377
378     default:
379       gcc_unreachable ();
380     }
381
382   dump_data_reference (file, (data_reference_p) PDR_CDR (pdr));
383
384   fprintf (file, "data accesses (\n");
385   print_pdr_access_layout (file, pdr);
386   ppl_print_powerset_matrix (file, PDR_ACCESSES (pdr));
387   fprintf (file, ")\n");
388
389   fprintf (file, ")\n");
390 }
391
392 /* Prints to STDERR the polyhedral data reference PDR.  */
393
394 void
395 debug_pdr (poly_dr_p pdr)
396 {
397   print_pdr (stderr, pdr);
398 }
399
400 /* Creates a new SCOP containing REGION.  */
401
402 scop_p
403 new_scop (void *region)
404 {
405   scop_p scop = XNEW (struct scop);
406
407   SCOP_DEP_GRAPH (scop) = NULL;
408   SCOP_CONTEXT (scop) = NULL;
409   scop_set_region (scop, region);
410   SCOP_BBS (scop) = VEC_alloc (poly_bb_p, heap, 3);
411   SCOP_ORIGINAL_PDR_PAIRS (scop) = htab_create (10, hash_poly_dr_pair_p,
412                                                 eq_poly_dr_pair_p, free);
413   return scop;
414 }
415
416 /* Deletes SCOP.  */
417
418 void
419 free_scop (scop_p scop)
420 {
421   int i;
422   poly_bb_p pbb;
423
424   for (i = 0; VEC_iterate (poly_bb_p, SCOP_BBS (scop), i, pbb); i++)
425     free_poly_bb (pbb);
426
427   VEC_free (poly_bb_p, heap, SCOP_BBS (scop));
428
429   if (SCOP_CONTEXT (scop))
430     ppl_delete_Pointset_Powerset_C_Polyhedron (SCOP_CONTEXT (scop));
431
432   htab_delete (SCOP_ORIGINAL_PDR_PAIRS (scop));
433   XDELETE (scop);
434 }
435
436 /* Print to FILE the domain of PBB.  */
437
438 void
439 print_pbb_domain (FILE *file, poly_bb_p pbb)
440 {
441   graphite_dim_t i;
442   gimple_bb_p gbb = PBB_BLACK_BOX (pbb);
443
444   if (!PBB_DOMAIN (pbb))
445     return;
446
447   fprintf (file, "domains bb_%d (\n", GBB_BB (gbb)->index);
448   fprintf (file, "#  eq");
449
450   for (i = 0; i < pbb_dim_iter_domain (pbb); i++)
451     fprintf (file, "     i%d", (int) i);
452
453   for (i = 0; i < pbb_nb_params (pbb); i++)
454     fprintf (file, "     p%d", (int) i);
455
456   fprintf (file, "    cst\n");
457
458   if (PBB_DOMAIN (pbb))
459     ppl_print_powerset_matrix (file, PBB_DOMAIN (pbb));
460
461   fprintf (file, ")\n");
462 }
463
464 /* Dump the cases of a graphite basic block GBB on FILE.  */
465
466 static void
467 dump_gbb_cases (FILE *file, gimple_bb_p gbb)
468 {
469   int i;
470   gimple stmt;
471   VEC (gimple, heap) *cases;
472
473   if (!gbb)
474     return;
475
476   cases = GBB_CONDITION_CASES (gbb);
477   if (VEC_empty (gimple, cases))
478     return;
479
480   fprintf (file, "cases bb_%d (", GBB_BB (gbb)->index);
481
482   for (i = 0; VEC_iterate (gimple, cases, i, stmt); i++)
483     print_gimple_stmt (file, stmt, 0, 0);
484
485   fprintf (file, ")\n");
486 }
487
488 /* Dump conditions of a graphite basic block GBB on FILE.  */
489
490 static void
491 dump_gbb_conditions (FILE *file, gimple_bb_p gbb)
492 {
493   int i;
494   gimple stmt;
495   VEC (gimple, heap) *conditions;
496
497   if (!gbb)
498     return;
499
500   conditions = GBB_CONDITIONS (gbb);
501   if (VEC_empty (gimple, conditions))
502     return;
503
504   fprintf (file, "conditions bb_%d (", GBB_BB (gbb)->index);
505
506   for (i = 0; VEC_iterate (gimple, conditions, i, stmt); i++)
507     print_gimple_stmt (file, stmt, 0, 0);
508
509   fprintf (file, ")\n");
510 }
511
512 /* Print to FILE all the data references of PBB.  */
513
514 void
515 print_pdrs (FILE *file, poly_bb_p pbb)
516 {
517   int i;
518   poly_dr_p pdr;
519
520   for (i = 0; VEC_iterate (poly_dr_p, PBB_DRS (pbb), i, pdr); i++)
521     print_pdr (file, pdr);
522 }
523
524 /* Print to STDERR all the data references of PBB.  */
525
526 void
527 debug_pdrs (poly_bb_p pbb)
528 {
529   print_pdrs (stderr, pbb);
530 }
531
532 /* Print to FILE the domain and scattering function of PBB.  */
533
534 void
535 print_pbb (FILE *file, poly_bb_p pbb)
536 {
537   fprintf (file, "pbb (\n");
538   dump_gbb_conditions (file, PBB_BLACK_BOX (pbb));
539   dump_gbb_cases (file, PBB_BLACK_BOX (pbb));
540   print_pdrs (file, pbb);
541   print_pbb_domain (file, pbb);
542   print_scattering_function (file, pbb);
543   fprintf (file, ")\n");
544 }
545
546 /* Print to FILE the parameters of SCOP.  */
547
548 void
549 print_scop_params (FILE *file, scop_p scop)
550 {
551   int i;
552   tree t;
553
554   fprintf (file, "parameters (\n");
555   for (i = 0; VEC_iterate (tree, SESE_PARAMS (SCOP_REGION (scop)), i, t); i++)
556     {
557       fprintf (file, "p_%d -> ", i);
558       print_generic_expr (file, t, 0);
559       fprintf (file, "\n");
560     }
561   fprintf (file, ")\n");
562 }
563
564 /* Print to FILE the context of SCoP.  */
565 void
566 print_scop_context (FILE *file, scop_p scop)
567 {
568   graphite_dim_t i;
569
570   fprintf (file, "context (\n");
571   fprintf (file, "#  eq");
572
573   for (i = 0; i < scop_nb_params (scop); i++)
574     fprintf (file, "     p%d", (int) i);
575
576   fprintf (file, "    cst\n");
577
578   if (SCOP_CONTEXT (scop))
579     ppl_print_powerset_matrix (file, SCOP_CONTEXT (scop));
580
581   fprintf (file, ")\n");
582 }
583
584 /* Print to FILE the SCOP.  */
585
586 void
587 print_scop (FILE *file, scop_p scop)
588 {
589   int i;
590   poly_bb_p pbb;
591
592   fprintf (file, "scop (\n");
593   print_scop_params (file, scop);
594   print_scop_context (file, scop);
595
596   for (i = 0; VEC_iterate (poly_bb_p, SCOP_BBS (scop), i, pbb); i++)
597     print_pbb (file, pbb);
598
599   fprintf (file, ")\n");
600 }
601
602 /* Print to STDERR the domain of PBB.  */
603
604 void
605 debug_pbb_domain (poly_bb_p pbb)
606 {
607   print_pbb_domain (stderr, pbb);
608 }
609
610 /* Print to FILE the domain and scattering function of PBB.  */
611
612 void
613 debug_pbb (poly_bb_p pbb)
614 {
615   print_pbb (stderr, pbb);
616 }
617
618 /* Print to STDERR the context of SCOP.  */
619
620 void
621 debug_scop_context (scop_p scop)
622 {
623   print_scop_context (stderr, scop);
624 }
625
626 /* Print to STDERR the SCOP.  */
627
628 void
629 debug_scop (scop_p scop)
630 {
631   print_scop (stderr, scop);
632 }
633
634 /* Print to STDERR the parameters of SCOP.  */
635
636 void
637 debug_scop_params (scop_p scop)
638 {
639   print_scop_params (stderr, scop);
640 }
641
642
643 /* The dimension in the transformed scattering polyhedron of PBB
644    containing the scattering iterator for the loop at depth LOOP_DEPTH.  */
645
646 ppl_dimension_type
647 psct_scattering_dim_for_loop_depth (poly_bb_p pbb, graphite_dim_t loop_depth)
648 {
649   ppl_const_Constraint_System_t pcs;
650   ppl_Constraint_System_const_iterator_t cit, cend;
651   ppl_const_Constraint_t cstr;
652   ppl_Polyhedron_t ph = PBB_TRANSFORMED_SCATTERING (pbb);
653   ppl_dimension_type iter = psct_iterator_dim (pbb, loop_depth);
654   ppl_Linear_Expression_t expr;
655   ppl_Coefficient_t coef;
656   Value val;
657   graphite_dim_t i;
658
659   value_init (val);
660   ppl_new_Coefficient (&coef);
661   ppl_Polyhedron_get_constraints (ph, &pcs);
662   ppl_new_Constraint_System_const_iterator (&cit);
663   ppl_new_Constraint_System_const_iterator (&cend);
664
665   for (ppl_Constraint_System_begin (pcs, cit),
666          ppl_Constraint_System_end (pcs, cend);
667        !ppl_Constraint_System_const_iterator_equal_test (cit, cend);
668        ppl_Constraint_System_const_iterator_increment (cit))
669     {
670       ppl_Constraint_System_const_iterator_dereference (cit, &cstr);
671       ppl_new_Linear_Expression_from_Constraint (&expr, cstr);
672       ppl_Linear_Expression_coefficient (expr, iter, coef);
673       ppl_Coefficient_to_mpz_t (coef, val);
674
675       if (value_zero_p (val))
676         {
677           ppl_delete_Linear_Expression (expr);
678           continue;
679         }
680
681       for (i = 0; i < pbb_nb_scattering_transform (pbb); i++)
682         {
683           ppl_dimension_type scatter = psct_scattering_dim (pbb, i);
684
685           ppl_Linear_Expression_coefficient (expr, scatter, coef);
686           ppl_Coefficient_to_mpz_t (coef, val);
687
688           if (value_notzero_p (val))
689             {
690               value_clear (val);
691               ppl_delete_Linear_Expression (expr);
692               ppl_delete_Coefficient (coef);
693               ppl_delete_Constraint_System_const_iterator (cit);
694               ppl_delete_Constraint_System_const_iterator (cend);
695
696               return scatter;
697             }
698         }
699     }
700
701   gcc_unreachable ();
702 }
703
704 /* Returns the number of iterations NITER of the loop around PBB at
705    depth LOOP_DEPTH.  */
706
707 void
708 pbb_number_of_iterations (poly_bb_p pbb,
709                           graphite_dim_t loop_depth,
710                           Value niter)
711 {
712   ppl_dimension_type loop_iter = pbb_iterator_dim (pbb, loop_depth);
713   ppl_Linear_Expression_t le;
714   ppl_Coefficient_t num, denom;
715   Value dv;
716   int maximum;
717   ppl_dimension_type dim;
718
719   value_init (dv);
720   ppl_new_Coefficient (&num);
721   ppl_new_Coefficient (&denom);
722   ppl_Pointset_Powerset_C_Polyhedron_space_dimension (PBB_DOMAIN (pbb), &dim);
723   ppl_new_Linear_Expression_with_dimension (&le, dim);
724   ppl_set_coef (le, loop_iter, 1);
725   ppl_Pointset_Powerset_C_Polyhedron_maximize (PBB_DOMAIN (pbb), le,
726                                                num, denom, &maximum);
727
728   if (maximum == 1)
729     {
730       ppl_Coefficient_to_mpz_t (num, niter);
731       ppl_Coefficient_to_mpz_t (denom, dv);
732       value_division (niter, niter, dv);
733     }
734   else
735     value_set_si (niter, -1);
736
737   value_clear (dv);
738   ppl_delete_Linear_Expression (le);
739   ppl_delete_Coefficient (num);
740   ppl_delete_Coefficient (denom);
741 }
742
743 #endif
744