mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
6e400f76e6
1. Rename createLoaderPass to CreateProfileLoaderPass 2. Opt shouldn't use the pass registered in CodeGen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19431 91177308-0d34-0410-b5e6-96231b3b80d8
115 lines
3.7 KiB
C++
115 lines
3.7 KiB
C++
//===-- llvm/Analysis/Passes.h - Constructors for analyses ------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file was developed by the LLVM research group and is distributed under
|
|
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This header file defines prototypes for accessor functions that expose passes
|
|
// in the analysis libraries.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_ANALYSIS_PASSES_H
|
|
#define LLVM_ANALYSIS_PASSES_H
|
|
|
|
namespace llvm {
|
|
class FunctionPass;
|
|
class ImmutablePass;
|
|
class ModulePass;
|
|
class Pass;
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createGlobalsModRefPass - This pass provides alias and mod/ref info for
|
|
// global values that do not have their addresses taken.
|
|
//
|
|
Pass *createGlobalsModRefPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createAliasAnalysisCounterPass - This pass counts alias queries and how the
|
|
// alias analysis implementation responds.
|
|
//
|
|
ModulePass *createAliasAnalysisCounterPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createAAEvalPass - This pass implements a simple N^2 alias analysis
|
|
// accuracy evaluator.
|
|
//
|
|
FunctionPass *createAAEvalPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createNoAAPass - This pass implements a "I don't know" alias analysis.
|
|
//
|
|
ImmutablePass *createNoAAPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createBasicAliasAnalysisPass - This pass implements the default alias
|
|
// analysis.
|
|
//
|
|
ImmutablePass *createBasicAliasAnalysisPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createAndersensPass - This pass implements Andersen's interprocedural alias
|
|
// analysis.
|
|
//
|
|
ModulePass *createAndersensPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createBasicVNPass - This pass walks SSA def-use chains to trivially
|
|
// identify lexically identical expressions.
|
|
//
|
|
ImmutablePass *createBasicVNPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createProfileLoaderPass - This pass loads information from a profile dump
|
|
// file.
|
|
//
|
|
ModulePass *createProfileLoaderPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createNoProfileInfoPass - This pass implements the default "no profile".
|
|
//
|
|
ImmutablePass *createNoProfileInfoPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createDSAAPass - This pass implements simple context sensitive alias
|
|
// analysis.
|
|
//
|
|
ModulePass *createDSAAPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createDSOptPass - This pass uses DSA to do a series of simple
|
|
// optimizations.
|
|
//
|
|
ModulePass *createDSOptPass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createParallelizePass - This pass parallelizes a program using the cilk
|
|
// multi-threaded runtime system.
|
|
//
|
|
ModulePass *createParallelizePass();
|
|
|
|
//===--------------------------------------------------------------------===//
|
|
//
|
|
// createSteensgaardPass - This pass uses the data structure graphs to do a
|
|
// simple context insensitive alias analysis.
|
|
//
|
|
ModulePass *createSteensgaardPass();
|
|
}
|
|
|
|
#endif
|