summaryrefslogtreecommitdiff
path: root/gcc/trans-mem.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-28 08:42:34 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-28 08:42:34 +0000
commit9af5ce0cdcae10ebe09a9b1d081bccfaa9b1248c (patch)
treed508fc7773e01b720c3929468a0618058edbf8f9 /gcc/trans-mem.c
parent3f71db404b5e3a91a324663f76d92c0300c24fe0 (diff)
downloadgcc-9af5ce0cdcae10ebe09a9b1d081bccfaa9b1248c.tar.gz
gcc/
* alloc-pool.c, asan.c, auto-inc-dec.c, basic-block.h, bb-reorder.c, bitmap.c, bitmap.h, bt-load.c, builtins.c, calls.c, cfgcleanup.c, cfgexpand.c, cfghooks.c, cfgloop.c, cfgloopmanip.c, cfgrtl.c, cgraph.c, cgraph.h, cgraphbuild.c, cgraphclones.c, cgraphunit.c, collect2.c, combine-stack-adj.c, combine.c, compare-elim.c, context.c, context.h, cprop.c, cse.c, cselib.c, dbxout.c, dce.c, defaults.h, df-core.c, df-problems.c, df-scan.c, df.h, diagnostic.c, double-int.c, dse.c, dumpfile.c, dwarf2asm.c, dwarf2cfi.c, dwarf2out.c, emit-rtl.c, errors.c, except.c, expmed.c, expr.c, file-find.c, final.c, fixed-value.c, fold-const.c, function.c, fwprop.c, gcc-ar.c, gcc.c, gcov-io.c, gcov-io.h, gcov.c, gcse.c, genattr-common.c, genattr.c, genattrtab.c, genautomata.c, genconfig.c, genemit.c, genextract.c, genflags.c, gengenrtl.c, gengtype-state.c, gengtype.c, genmodes.c, genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c, gensupport.c, ggc-common.c, ggc-page.c, gimple-fold.c, gimple-low.c, gimple-pretty-print.c, gimple-ssa-strength-reduction.c, gimple.c, gimple.h, godump.c, graphite-clast-to-gimple.c, graphite-optimize-isl.c, graphite-poly.h, graphite-sese-to-poly.c, graphite.c, haifa-sched.c, hash-table.c, hash-table.h, hwint.c, hwint.h, ifcvt.c, incpath.c, init-regs.c, input.h, intl.c, intl.h, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa-utils.c, ipa.c, ira-build.c, ira.c, jump.c, loop-doloop.c, loop-init.c, loop-invariant.c, loop-iv.c, lower-subreg.c, lto-cgraph.c, lto-streamer-in.c, lto-streamer-out.c, lto-wrapper.c, mcf.c, mode-switching.c, modulo-sched.c, omp-low.c, optabs.c, opts.c, pass_manager.h, passes.c, plugin.c, postreload-gcse.c, postreload.c, predict.c, prefix.c, pretty-print.c, print-rtl.c, print-tree.c, profile.c, read-md.c, real.c, real.h, recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regmove.c, regrename.c, regs.h, regstat.c, reload1.c, reorg.c, rtl.c, rtl.h, rtlanal.c, sbitmap.c, sched-rgn.c, sdbout.c, sel-sched-ir.c, sel-sched.c, sparseset.c, stack-ptr-mod.c, statistics.c, stmt.c, stor-layout.c, store-motion.c, streamer-hooks.h, system.h, target-hooks-macros.h, targhooks.c, targhooks.h, toplev.c, tracer.c, trans-mem.c, tree-browser.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c, tree-data-ref.c, tree-data-ref.h, tree-eh.c, tree-emutls.c, tree-flow.h, tree-if-conv.c, tree-into-ssa.c, tree-iterator.c, tree-loop-distribution.c, tree-mudflap.c, tree-nested.c, tree-nomudflap.c, tree-nrv.c, tree-object-size.c, tree-optimize.c, tree-pass.h, tree-pretty-print.c, tree-profile.c, tree-scalar-evolution.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-ifcombine.c, tree-ssa-live.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-prefetch.c, tree-ssa-loop.c, tree-ssa-math-opts.c, tree-ssa-operands.c, tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c, tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c, tree-ssa-structalias.c, tree-ssa-threadedge.c, tree-ssa-threadupdate.c, tree-ssa-uncprop.c, tree-ssa-uninit.c, tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c, tree-vect-data-refs.c, tree-vect-generic.c, tree-vect-loop-manip.c, tree-vect-stmts.c, tree-vectorizer.c, tree-vectorizer.h, tree-vrp.c, tree.c, tree.h, tsan.c, tsystem.h, value-prof.c, var-tracking.c, varasm.c, vec.h, vmsdbgout.c, vtable-verify.c, web.c: Add missing whitespace before "(". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203004 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/trans-mem.c')
-rw-r--r--gcc/trans-mem.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c
index fbc876a5386..82f3ee08a39 100644
--- a/gcc/trans-mem.c
+++ b/gcc/trans-mem.c
@@ -821,8 +821,8 @@ const pass_data pass_data_diagnose_tm_blocks =
class pass_diagnose_tm_blocks : public gimple_opt_pass
{
public:
- pass_diagnose_tm_blocks(gcc::context *ctxt)
- : gimple_opt_pass(pass_data_diagnose_tm_blocks, ctxt)
+ pass_diagnose_tm_blocks (gcc::context *ctxt)
+ : gimple_opt_pass (pass_data_diagnose_tm_blocks, ctxt)
{}
/* opt_pass methods: */
@@ -1631,7 +1631,7 @@ lower_transaction (gimple_stmt_iterator *gsi, struct walk_stmt_info *wi)
/* If the transaction calls abort or if this is an outer transaction,
add an "over" label afterwards. */
if ((this_state & (GTMA_HAVE_ABORT))
- || (gimple_transaction_subcode(stmt) & GTMA_IS_OUTER))
+ || (gimple_transaction_subcode (stmt) & GTMA_IS_OUTER))
{
tree label = create_artificial_label (UNKNOWN_LOCATION);
gimple_transaction_set_label (stmt, label);
@@ -1744,8 +1744,8 @@ const pass_data pass_data_lower_tm =
class pass_lower_tm : public gimple_opt_pass
{
public:
- pass_lower_tm(gcc::context *ctxt)
- : gimple_opt_pass(pass_data_lower_tm, ctxt)
+ pass_lower_tm (gcc::context *ctxt)
+ : gimple_opt_pass (pass_data_lower_tm, ctxt)
{}
/* opt_pass methods: */
@@ -2024,8 +2024,8 @@ const pass_data pass_data_tm_init =
class pass_tm_init : public gimple_opt_pass
{
public:
- pass_tm_init(gcc::context *ctxt)
- : gimple_opt_pass(pass_data_tm_init, ctxt)
+ pass_tm_init (gcc::context *ctxt)
+ : gimple_opt_pass (pass_data_tm_init, ctxt)
{}
/* opt_pass methods: */
@@ -2753,8 +2753,8 @@ expand_transaction (struct tm_region *region, void *data ATTRIBUTE_UNUSED)
ei->probability = PROB_ALWAYS;
et->probability = PROB_LIKELY;
ef->probability = PROB_UNLIKELY;
- et->count = apply_probability(test_bb->count, et->probability);
- ef->count = apply_probability(test_bb->count, ef->probability);
+ et->count = apply_probability (test_bb->count, et->probability);
+ ef->count = apply_probability (test_bb->count, ef->probability);
code_bb->count = et->count;
code_bb->frequency = EDGE_FREQUENCY (et);
@@ -2793,14 +2793,14 @@ expand_transaction (struct tm_region *region, void *data ATTRIBUTE_UNUSED)
fallthru_edge->flags = EDGE_FALSE_VALUE;
fallthru_edge->probability = PROB_VERY_LIKELY;
fallthru_edge->count
- = apply_probability(test_bb->count, fallthru_edge->probability);
+ = apply_probability (test_bb->count, fallthru_edge->probability);
// Abort/over edge.
redirect_edge_pred (abort_edge, test_bb);
abort_edge->flags = EDGE_TRUE_VALUE;
abort_edge->probability = PROB_VERY_UNLIKELY;
abort_edge->count
- = apply_probability(test_bb->count, abort_edge->probability);
+ = apply_probability (test_bb->count, abort_edge->probability);
transaction_bb = test_bb;
}
@@ -2842,13 +2842,13 @@ expand_transaction (struct tm_region *region, void *data ATTRIBUTE_UNUSED)
inst_edge->flags = EDGE_FALSE_VALUE;
inst_edge->probability = REG_BR_PROB_BASE / 2;
inst_edge->count
- = apply_probability(test_bb->count, inst_edge->probability);
+ = apply_probability (test_bb->count, inst_edge->probability);
redirect_edge_pred (uninst_edge, test_bb);
uninst_edge->flags = EDGE_TRUE_VALUE;
uninst_edge->probability = REG_BR_PROB_BASE / 2;
uninst_edge->count
- = apply_probability(test_bb->count, uninst_edge->probability);
+ = apply_probability (test_bb->count, uninst_edge->probability);
}
// If we have no previous special cases, and we have PHIs at the beginning
@@ -3000,8 +3000,8 @@ const pass_data pass_data_tm_mark =
class pass_tm_mark : public gimple_opt_pass
{
public:
- pass_tm_mark(gcc::context *ctxt)
- : gimple_opt_pass(pass_data_tm_mark, ctxt)
+ pass_tm_mark (gcc::context *ctxt)
+ : gimple_opt_pass (pass_data_tm_mark, ctxt)
{}
/* opt_pass methods: */
@@ -3183,8 +3183,8 @@ const pass_data pass_data_tm_edges =
class pass_tm_edges : public gimple_opt_pass
{
public:
- pass_tm_edges(gcc::context *ctxt)
- : gimple_opt_pass(pass_data_tm_edges, ctxt)
+ pass_tm_edges (gcc::context *ctxt)
+ : gimple_opt_pass (pass_data_tm_edges, ctxt)
{}
/* opt_pass methods: */
@@ -3923,8 +3923,8 @@ const pass_data pass_data_tm_memopt =
class pass_tm_memopt : public gimple_opt_pass
{
public:
- pass_tm_memopt(gcc::context *ctxt)
- : gimple_opt_pass(pass_data_tm_memopt, ctxt)
+ pass_tm_memopt (gcc::context *ctxt)
+ : gimple_opt_pass (pass_data_tm_memopt, ctxt)
{}
/* opt_pass methods: */
@@ -4287,7 +4287,7 @@ ipa_tm_scan_irr_block (basic_block bb)
if (find_tm_replacement_function (fn))
break;
- node = cgraph_get_node(fn);
+ node = cgraph_get_node (fn);
d = get_cg_data (&node, true);
/* Return true if irrevocable, but above all, believe
@@ -4991,7 +4991,7 @@ ipa_tm_insert_gettmclone_call (struct cgraph_node *node,
cgraph_create_edge (node, cgraph_get_create_node (gettm_fn), g, 0,
compute_call_stmt_bb_frequency (node->symbol.decl,
- gimple_bb(g)));
+ gimple_bb (g)));
/* Cast return value from tm_gettmclone* into appropriate function
pointer. */
@@ -5272,9 +5272,9 @@ ipa_tm_transform_clone (struct cgraph_node *node)
static unsigned int
ipa_tm_execute (void)
{
- cgraph_node_queue tm_callees = cgraph_node_queue();
+ cgraph_node_queue tm_callees = cgraph_node_queue ();
/* List of functions that will go irrevocable. */
- cgraph_node_queue irr_worklist = cgraph_node_queue();
+ cgraph_node_queue irr_worklist = cgraph_node_queue ();
struct cgraph_node *node;
struct tm_ipa_cg_data *d;
@@ -5558,8 +5558,8 @@ const pass_data pass_data_ipa_tm =
class pass_ipa_tm : public simple_ipa_opt_pass
{
public:
- pass_ipa_tm(gcc::context *ctxt)
- : simple_ipa_opt_pass(pass_data_ipa_tm, ctxt)
+ pass_ipa_tm (gcc::context *ctxt)
+ : simple_ipa_opt_pass (pass_data_ipa_tm, ctxt)
{}
/* opt_pass methods: */