mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
98a366d547
which better identifies what the optimization is doing. And is more flexible for future uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70440 91177308-0d34-0410-b5e6-96231b3b80d8
59 lines
1.8 KiB
C++
59 lines
1.8 KiB
C++
//===-- IA64.h - Top-level interface for IA64 representation ------*- C++ -*-===//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the entry points for global functions defined in the IA64
|
|
// target library, as used by the LLVM JIT.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef TARGET_IA64_H
|
|
#define TARGET_IA64_H
|
|
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
namespace llvm {
|
|
|
|
class IA64TargetMachine;
|
|
class FunctionPass;
|
|
class raw_ostream;
|
|
|
|
/// createIA64DAGToDAGInstructionSelector - This pass converts an LLVM
|
|
/// function into IA64 machine code in a sane, DAG->DAG transform.
|
|
///
|
|
FunctionPass *createIA64DAGToDAGInstructionSelector(IA64TargetMachine &TM);
|
|
|
|
/// createIA64BundlingPass - This pass adds stop bits and bundles
|
|
/// instructions.
|
|
///
|
|
FunctionPass *createIA64BundlingPass(IA64TargetMachine &TM);
|
|
|
|
/// createIA64CodePrinterPass - Returns a pass that prints the IA64
|
|
/// assembly code for a MachineFunction to the given output stream,
|
|
/// using the given target machine description. This should work
|
|
/// regardless of whether the function is in SSA form.
|
|
///
|
|
FunctionPass *createIA64CodePrinterPass(raw_ostream &o,
|
|
IA64TargetMachine &tm,
|
|
CodeGenOpt::Level OptLevel,
|
|
bool verbose);
|
|
|
|
} // End llvm namespace
|
|
|
|
// Defines symbolic names for IA64 registers. This defines a mapping from
|
|
// register name to register number.
|
|
//
|
|
#include "IA64GenRegisterNames.inc"
|
|
|
|
// Defines symbolic names for the IA64 instructions.
|
|
//
|
|
#include "IA64GenInstrNames.inc"
|
|
|
|
#endif
|
|
|
|
|