• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4"""Config file for pass level bisection
5
6Provides a mapping from pass info from -opt-bisect result to DebugCounter name.
7"""
8pass_name = {
9    # The list now contains all the passes in LLVM that support DebugCounter at
10    # transformation level.
11    # We will need to keep updating this map after more DebugCounter added to
12    # each pass in LLVM.
13    # For users who make local changes to passes, please add a map from pass
14    # description to newly introduced DebugCounter name for transformation
15    # level bisection purpose.
16    'Hoist/decompose integer division and remainder':
17        'div-rem-pairs-transform',
18    'Early CSE':
19        'early-cse',
20    'Falkor HW Prefetch Fix Late Phase':
21        'falkor-hwpf',
22    'Combine redundant instructions':
23        'instcombine-visit',
24    'Machine Copy Propagation Pass':
25        'machine-cp-fwd',
26    'Global Value Numbering':
27        'newgvn-phi',
28    'PredicateInfo Printer':
29        'predicateinfo-rename',
30    'SI Insert Waitcnts':
31        'si-insert-waitcnts-forceexp',
32}
33