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