comparison gcc/hsa-regalloc.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* HSAIL IL Register allocation and out-of-SSA. 1 /* HSAIL IL Register allocation and out-of-SSA.
2 Copyright (C) 2013-2018 Free Software Foundation, Inc. 2 Copyright (C) 2013-2020 Free Software Foundation, Inc.
3 Contributed by Michael Matz <matz@suse.de> 3 Contributed by Michael Matz <matz@suse.de>
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
33 #include "bitmap.h" 33 #include "bitmap.h"
34 #include "dumpfile.h" 34 #include "dumpfile.h"
35 #include "cgraph.h" 35 #include "cgraph.h"
36 #include "print-tree.h" 36 #include "print-tree.h"
37 #include "cfghooks.h" 37 #include "cfghooks.h"
38 #include "alloc-pool.h"
38 #include "symbol-summary.h" 39 #include "symbol-summary.h"
39 #include "hsa-common.h" 40 #include "hsa-common.h"
40 41
41 42
42 /* Process a PHI node PHI of basic block BB as a part of naive out-f-ssa. */ 43 /* Process a PHI node PHI of basic block BB as a part of naive out-f-ssa. */
254 255
255 fprintf (f, "\nHSAIL IL for %s\n", hsa_cfun->m_name); 256 fprintf (f, "\nHSAIL IL for %s\n", hsa_cfun->m_name);
256 257
257 FOR_ALL_BB_FN (bb, cfun) 258 FOR_ALL_BB_FN (bb, cfun)
258 { 259 {
259 hsa_bb *hbb = (struct hsa_bb *) bb->aux; 260 hsa_bb *hbb = (class hsa_bb *) bb->aux;
260 bitmap_print (dump_file, hbb->m_livein, "m_livein ", "\n"); 261 bitmap_print (dump_file, hbb->m_livein, "m_livein ", "\n");
261 dump_hsa_bb (f, hbb); 262 dump_hsa_bb (f, hbb);
262 bitmap_print (dump_file, hbb->m_liveout, "m_liveout ", "\n"); 263 bitmap_print (dump_file, hbb->m_liveout, "m_liveout ", "\n");
263 } 264 }
264 } 265 }