
This chapter lists all the preprocessing flags, i.e., the flags that control how CiaoPP processes a program. They can be set with set_pp_flag/2 (see The CiaoPP low-level interface), with the -f option of the ciaopp command, or through the interactive menu (see The CiaoPP high-level interface), which is also the source of the classification used below.
Values: naive, expert. Default: naive.
Values: analyze_check, optimize. Default: analyze_check.
Values: on, off. Default: on.
Values: all, curr_mod. Default: curr_mod. Applies when: ctcheck is on.
Values: off, on, on_succ. Default: on. Applies when: ctcheck is on.
Values: off, on. Default: on. Applies when: ctcheck is on.
Values: on, off. Default: on. (The menu proposes off.) Applies when: ctcheck is on.
Values: off, on. Default: off. Applies when: ctcheck is on.
Values: off, warning, error. Default: warning. Applies when: ctcheck is on.
Values: on, off. Default: on. (The menu proposes off.) Applies when: ctcheck is on.
Values: a module name, or '$default'. Default: '$default'.
Values: auto, manual. Default: auto.
Values: none, pd, pdb, def, gr, null, share, shareson, shfr, shfrson, shfrnv, son, share_amgu, share_clique, share_clique_1, share_clique_def, sharefree_amgu, shfrlin_amgu, sharefree_clique, sharefree_clique_def, aeq, depthk, path, difflsign, fr, frdef. Default: shfr. Applies when: dom_sel is manual.
Values: none, eterms, ptypes, svterms, terms, deftypes, rul. Default: eterms. Applies when: dom_sel is manual.
Values: defined, all. Default: all. Applies when: dom_sel is manual and types is terms.
Values: on, off. Default: off. Applies when: dom_sel is manual and types is svterms, or dom_sel is manual and types is eterms.
Values: off, amgu, plai_op. Default: off. Applies when: dom_sel is manual and modes is sharefree_clique, or dom_sel is manual and modes is share_clique.
Values: panic_1, panic_2, inter_1, inter_2, cautious. Default: cautious. Applies when: dom_sel is manual and modes is sharefree_clique, or dom_sel is manual and modes is share_clique.
Values: any integer. Default: 250. (The menu proposes 200.) Applies when: dom_sel is manual and modes is sharefree_clique, or dom_sel is manual and modes is share_clique.
Values: any integer. Default: 200. (The menu proposes 250.) Applies when: dom_sel is manual and modes is sharefree_clique, or dom_sel is manual and modes is share_clique.
Values: none, det, nfdet. Default: none. Applies when: dom_sel is manual.
Values: none, nf, nfg, nfdet. Default: none. Applies when: dom_sel is manual.
Values: none, polyhedra_clpq, nonrel_finterval, lsign. Default: none. Applies when: dom_sel is manual.
Values: none, steps_ub, steps_lb, steps_ualb, steps_o, resources, res_plai. Default: none. Applies when: dom_sel is manual.
Values: mathematica, builtin, chain. Default: chain. (The menu proposes builtin.) Applies when: dom_sel is manual and ana_cost is not none.
Values: mathematica, builtin. Default: builtin. Applies when: dom_sel is manual and ana_cost is not none.
Values: yes, no. Default: no. Applies when: dom_sel is manual and ana_cost is not none.
Values: none, lower, upper, both. Default: both. Applies when: para_grain is gr.
Values: none, calls, all. Default: calls.
Values: exported, all. Default: exported.
Values: off, on. Default: off.
Values: off, on, auto. Default: off.
Values: all, top_level, force, force_assrt. Default: all. (The menu proposes top_level.) Applies when: intermod is on.
Values: one, all, threshold, threshold_scc. Default: one. (The menu proposes all.) Applies when: intermod is on.
Values: over_best, over_first, over_all, top, under_first, under_best, under_all, bottom, bottom_up. Default: over_all. (The menu proposes under_all.) Applies when: intermod is on.
Values: off, on, no_engine, bundle. Default: bundle. Applies when: intermod is on.
Values: on, off. Default: on. Applies when: intermod is on.
Values: on, off. Default: on.
Values: plai, plai_gfp, plai_sp, dd, di, check_di, check_di2, check_di3, check_di4, check_di5, poly_spec, check_reduc_di, bu. Default: plai. Applies when: custo_fixpo is on.
Values: com_child, onlyfixp, off. Default: com_child. Applies when: custo_fixpo is on.
Values: off, on. Default: off. Applies when: custo_fixpo is on.
Values: off, on. Default: off. Applies when: custo_fixpo is on.
Values: off, on. Default: off. Applies when: custo_fixpo is on.
Values: debug, trace, info, no, view. Default: no. Applies when: custo_fixpo is on.
Values: on, off. Default: off.
Values: on, off. Default: on. Applies when: testing is on.
Values: on, off. Default: off. Applies when: testing is on.
Values: 25, 50, 100, 200, 400. Default: 100. Applies when: test_gen is on.
Values: on, off. Default: off. Applies when: test_gen is on.
Values: on, off. Default: on.
Values: intermediate, source, raw, plain. Default: source. Applies when: output is on.
Values: off, on. Default: off. Applies when: output is on.
Values: off, on. Default: off. Applies when: output is on.
Values: off, on. Default: on. Applies when: output is on.
Values: off, on. Default: off. Applies when: output is on.
Values: off, on. Default: off. Applies when: output is on.
Values: defined, all. Default: all. Applies when: output is on.
Values: equations, functions, both. Default: functions. Applies when: output is on.
Values: all, only_cost. Default: all. Applies when: output is on.
Values: off, default, incremental. Default: off.
Values: spec, parallelize, slice, poly_spec. Default: spec.
Values: off, mono, poly. Default: off. Applies when: inter_optimize is spec.
Values: off, on. Default: off. Applies when: spec_poly is not off and inter_optimize is spec.
Values: off, on. Default: on. Applies when: spec_poly is not off and inter_optimize is spec.
Values: off, on. Default: on. Applies when: spec_poly is not off and inter_optimize is spec.
Values: none, pd, pdb, def, gr, null, share, shareson, shfr, shfrson, shfrnv, son, share_amgu, share_clique, share_clique_1, share_clique_def, sharefree_amgu, shfrlin_amgu, sharefree_clique, sharefree_clique_def, aeq, depthk, path, difflsign, fr, frdef, eterms, ptypes, svterms, terms, deftypes, rul. Default: pd. Applies when: inter_optimize is spec.
Values: off, orig, inst, det, det_la, depth, first_sol, first_sol_d, all_sol, hom_emb, hom_emb_anc, hom_emb_as, df_hom_emb_as, df_tree_hom_emb, df_hom_emb, decompile, df_hom_emb_as_orig. Default: off. (The menu proposes df_hom_emb_as.) Applies when: inter_optimize is spec.
Values: any non-negative integer. Default: 1. Applies when: local_control is det_la and inter_optimize is spec, or local_control is first_sol_d and inter_optimize is spec, or local_control is depth and inter_optimize is spec.
Values: leftmost, safe_jb, bind_ins_jb, no_sideff_jb, jump_builtin, eval_builtin, local_emb. Default: bind_ins_jb. Applies when: local_control is not off and inter_optimize is spec.
Values: off, mono, multi. Default: off. Applies when: local_control is not off and inter_optimize is spec.
Values: off, on. Default: on. Applies when: local_control is not off and inter_optimize is spec.
Values: off, offline, hom_emb, hom_emb_num, hom_emb_pt, hom_emb_t, dyn, id, inst. Default: hom_emb. Applies when: local_control is not off and inter_optimize is spec.
Values: off, on. Default: off. Applies when: local_control is not off and inter_optimize is spec.
Values: none, equal, codemsg, nobindings, bindings, residual. Default: none. Applies when: local_control is not off and inter_optimize is spec.
Values: off, rem, exec, all. Default: off. Applies when: local_control is not off and inter_optimize is spec.
Values: off, pre, post, both. Default: off. Applies when: local_control is not off and inter_optimize is spec.
Values: off, pre, post, both. Default: pre. Applies when: local_control is not off and inter_optimize is spec.
Values: any non-negative integer. Default: 1. Applies when: local_control is not off and inter_optimize is spec.
Values: off, on. Default: off. Applies when: global_control is hom_emb and inter_optimize is spec.
Values: off, on, types. Default: off. Applies when: local_control is df_hom_emb_as and inter_optimize is spec.
Values: speedup, bytecode, memory, balance, bounded_size. Default: bytecode. (The menu proposes balance.) Applies when: inter_optimize is poly_spec.
Values: any atom. Default: '10K'. Applies when: poly_fitness is bounded_size and inter_optimize is poly_spec.
Values: all_sols, oracle. Default: all_sols. Applies when: inter_optimize is poly_spec.
Values: aggressive, normal, conservative. Default: normal. Applies when: inter_optimize is poly_spec.
Values: none, heuristic, bnb, both. Default: heuristic. Applies when: poly_strategy is all_sols and inter_optimize is poly_spec.
Values: pred, modes. Default: pred. Applies when: poly_pruning is both and inter_optimize is poly_spec, or poly_pruning is heuristic and inter_optimize is poly_spec.
Values: sd, sdl, sd_depth2. Default: sd. Applies when: polyvar_pcpe is modes and inter_optimize is poly_spec.
Values: any non-negative integer. Default: 3. Applies when: poly_pruning is both and inter_optimize is poly_spec, or poly_pruning is bnb and inter_optimize is poly_spec.
Values: any non-negative integer. Default: 200. Applies when: inter_optimize is poly_spec.
Values: off, on. Default: on. Applies when: inter_optimize is poly_spec.
Values: none, equal, codemsg, nobindings, bindings, residual. Default: none. Applies when: inter_optimize is poly_spec.
Values: none, medium, high. Default: none. (The menu proposes medium.) Applies when: inter_optimize is poly_spec.
Values: mel, cdg, udg, uoudg, uudg, disjwait, tgudg, urlp, crlp. Default: mel. Applies when: inter_optimize is parallelize.
Values: siap, nsiap, both. Default: nsiap. Applies when: inter_optimize is parallelize.
Values: none, local. Default: local. Applies when: inter_optimize is parallelize.
Values: none, gr, gr_res. Default: none. Applies when: inter_optimize is parallelize.
The following flags are not offered by the interactive menu. Most of them control internal details of the system, or facilities that are configured in some other way. They can be set as usual with set_pp_flag/2.
Values: off, on. Default: off.
Values: none, size_ub, size_lb, size_ualb, size_o. Default: none.
Values: on, off. Default: off.
Values: none, all, or a list of atoms. Default: none.
Values: bSH, tSH, tNSH. Default: tNSH.
Values: on, off. Default: off.
Values: off, on. Default: off.
Values: any atom. Default: ciaoc.
Values: funct, big_o. Default: funct.
Values: on, off. Default: on.
Values: lower, upper, upper_and_lower. Default: upper_and_lower.
Values: assertions, registry. Default: assertions.
Values: off, on. Default: on.
Values: off, on. Default: off.
Values: on, off. Default: off.
Values: unique, shared, none. Default: shared.
Values: off, on. Default: off.
Values: top_down, bottom_up, bottom_up_cls. Default: top_down.
Values: any non-negative integer. Default: 1.
Values: any non-negative integer. Default: 3.
Values: off, on. Default: on.
Values: all, int, iter. Default: all.
Values: all, nodep, off. Default: all.
Values: all, nodep, off. Default: all.
Values: none, all, or a list of atoms. Default: none.
Values: off, on. Default: off.
Values: none, all, or a list of atoms. Default: none.
Values: assertions, registry. Default: registry.
Values: any atom. Default: diff.
Values: on, off. Default: off.
Values: none, ancestor, relatives, offline. Default: none.
Values: any non-negative integer. Default: 959.
Values: a directory path, or '$default'. Default: '$default'.
Values: botfirst, botbest, botall, bottom. Default: bottom.
Values: any sublist of modes, types, ana_num, ana_nf, ana_cost, ana_det. Default: [modes,types,ana_num,ana_nf,ana_det,ana_cost].
Values: analyze. Default: analyze.
Values: any sublist of types, modes, java_ana_cost. Default: [types,modes,java_ana_cost].
Values: analyze, check_assertions. Default: analyze.
Values: any sublist of types, modes, llvm_ana_cost. Default: [types,modes,llvm_ana_cost].
Values: on, off. Default: off.
Values: depth_first, abs_depth_first, naive_top_down, naive_bottom_up, top_down_preanalysis, bottom_up_preanalysis. Default: naive_bottom_up.
Values: none, resources, res_plai. Default: none.
Values: bytecode, source. Default: bytecode.
Values: none, java_nullity. Default: none.
Values: none, java_cha. Default: none.
Values: none, res_plai, resources. Default: res_plai.
Values: off, on. Default: off.
Values: none, all, or a list of atoms. Default: none.
Values: any atom. Default: none.
Values: naive. Default: naive.
Values: the name of a saved menu configuration. Default: none.
Values: naive, expert. Default: naive.
Values: current, all. Default: all.
Values: off, on. Default: on.
Values: off, on. Default: off.
Values: off, on. Default: on.
Values: off, on. Default: on.
Values: yes, no. Default: yes.
Values: a list of atoms. Default: [none].
Values: only_type_symbols, all. Default: all.
Values: none, all, or a list of atoms. Default: none.
Values: on, off. Default: on.
Values: a list of atoms. Default: [id].
Values: a list of atoms. Default: [[local_control(det),comp_rule(leftmost),unf_bra_fac(1)],[local_control(df_hom_emb_as),comp_rule(bind_ins_jb),unf_bra_fac(0)]].
Values: on, off. Default: off.
Values: any sublist of auto_interface, analyze_module, ctchecks, dump, incremental, incremental_high, infer, load_assrts, load_module, modular, intermod_dump, intermod_reg, output, p_abs, spec_module, spec_module_high, transform_module, testing. Default: [auto_interface,analyze_module,ctchecks,dump,infer,load_module,modular,output,spec_module,transform_module,testing].
Values: c, ciao, java. Default: ciao.
Values: on, off. Default: off.
Values: on, off. Default: off.
Values: off, on. Default: off.
Values: on, off. Default: off.
* low: only the run-time tests are written. * medium: additional instrumentation to inform the user which predicate violated the assertion is written. * high: a stack will be shown when the exception is caught (not yet fully implemented).
Values: low, medium, high. Default: low.
Values: off, on. Default: off.
Values: none, all, or a list of atoms. Default: none.
Values: on, off. Default: off.
Values: rule, pred. Default: pred.
Values: off, on. Default: on.
Values: off, on, libraries. Default: libraries.
Values: off, low, high, very_high. Default: low.
Values: off, on. Default: off.