blob: efe3d9f3efffd02221bdbdabdbfe5dc1238b49df [file] [log] [blame]
Brian Gaekee785e532004-02-25 19:28:19 +00001//===-- SparcV8.h - Top-level interface for SparcV8 representation -*- C++ -*-//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file was developed by the LLVM research group and is distributed under
6// the University of Illinois Open Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the entry points for global functions defined in the LLVM
11// SparcV8 back-end.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef TARGET_SPARCV8_H
16#define TARGET_SPARCV8_H
17
18#include <iosfwd>
19
20namespace llvm {
21
Chris Lattner1c809c52004-02-29 00:27:00 +000022 class FunctionPass;
23 class TargetMachine;
Brian Gaekee785e532004-02-25 19:28:19 +000024
Chris Lattner1c809c52004-02-29 00:27:00 +000025 FunctionPass *createSparcV8SimpleInstructionSelector(TargetMachine &TM);
Brian Gaekee785e532004-02-25 19:28:19 +000026// FunctionPass *createSparcV8CodePrinterPass(std::ostream &OS,
27// TargetMachine &TM);
28
29} // end namespace llvm;
30
31// Defines symbolic names for SparcV8 registers. This defines a mapping from
32// register name to register number.
33//
34#include "SparcV8GenRegisterNames.inc"
35
36// Defines symbolic names for the SparcV8 instructions.
37//
38#include "SparcV8GenInstrNames.inc"
39
40#endif