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