2005-03-18 02:17:03 +08:00
|
|
|
//===-- IA64.h - Top-level interface for IA64 representation ------*- C++ -*-===//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-30 04:36:04 +08:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2005-04-22 07:13:11 +08:00
|
|
|
//
|
2005-03-18 02:17:03 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// 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 <iosfwd>
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2006-03-14 07:20:37 +08:00
|
|
|
class IA64TargetMachine;
|
2005-03-18 02:17:03 +08:00
|
|
|
class FunctionPass;
|
2008-08-21 08:14:44 +08:00
|
|
|
class raw_ostream;
|
2005-03-18 02:17:03 +08:00
|
|
|
|
2005-10-29 01:46:35 +08:00
|
|
|
/// createIA64DAGToDAGInstructionSelector - This pass converts an LLVM
|
|
|
|
/// function into IA64 machine code in a sane, DAG->DAG transform.
|
|
|
|
///
|
2006-03-14 07:20:37 +08:00
|
|
|
FunctionPass *createIA64DAGToDAGInstructionSelector(IA64TargetMachine &TM);
|
2005-10-29 01:46:35 +08:00
|
|
|
|
2006-01-25 10:23:38 +08:00
|
|
|
/// createIA64BundlingPass - This pass adds stop bits and bundles
|
|
|
|
/// instructions.
|
2005-03-18 02:17:03 +08:00
|
|
|
///
|
2006-03-14 07:20:37 +08:00
|
|
|
FunctionPass *createIA64BundlingPass(IA64TargetMachine &TM);
|
2005-03-18 02:17:03 +08:00
|
|
|
|
|
|
|
/// 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.
|
|
|
|
///
|
2008-08-21 08:14:44 +08:00
|
|
|
FunctionPass *createIA64CodePrinterPass(raw_ostream &o, IA64TargetMachine &tm);
|
2005-03-18 02:17:03 +08:00
|
|
|
|
|
|
|
} // 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
|
|
|
|
|
|
|
|
|