blob: 28151761493584b8a14db91575b7ac0852a16589 [file] [log] [blame]
Misha Brukmanffe99682005-02-05 02:24:26 +00001//===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
Misha Brukman89b8c8d2005-04-21 23:13:11 +00002//
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +00003// The LLVM Compiler Infrastructure
4//
Chris Lattnerf3ebc3f2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Misha Brukman89b8c8d2005-04-21 23:13:11 +00007//
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +00008//===----------------------------------------------------------------------===//
9//
10// This file contains the entry points for global functions defined in the LLVM
11// Alpha back-end.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef TARGET_ALPHA_H
16#define TARGET_ALPHA_H
17
Bill Wendling026e5d72009-04-29 23:29:43 +000018#include "llvm/Target/TargetMachine.h"
19
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +000020namespace llvm {
21
Evan Chengf6acb342006-07-25 20:40:54 +000022 class AlphaTargetMachine;
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +000023 class FunctionPass;
Andrew Lenharth55d04512005-07-22 20:52:16 +000024 class MachineCodeEmitter;
Owen Anderson93719642008-08-21 00:14:44 +000025 class raw_ostream;
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +000026
Dan Gohmaneabd6472008-05-14 01:58:56 +000027 FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
Owen Anderson93719642008-08-21 00:14:44 +000028 FunctionPass *createAlphaCodePrinterPass(raw_ostream &OS,
Bill Wendlingc5437ea2009-02-24 08:30:20 +000029 TargetMachine &TM,
Bill Wendling026e5d72009-04-29 23:29:43 +000030 CodeGenOpt::Level OptLevel,
31 bool Verbose);
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +000032 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
Evan Chengf6acb342006-07-25 20:40:54 +000033 FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
34 MachineCodeEmitter &MCE);
Bruno Cardoso Lopesa194c3a2009-05-30 20:51:52 +000035 FunctionPass *createAlphaJITCodeEmitterPass(AlphaTargetMachine &TM,
36 JITCodeEmitter &JCE);
Andrew Lenharthf23e3bf2006-09-18 19:44:29 +000037 FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
Andrew Lenharth692e4152006-10-31 16:49:55 +000038 FunctionPass *createAlphaBranchSelectionPass();
Andrew Lenharthf23e3bf2006-09-18 19:44:29 +000039
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +000040} // end namespace llvm;
41
42// Defines symbolic names for Alpha registers. This defines a mapping from
43// register name to register number.
44//
45#include "AlphaGenRegisterNames.inc"
46
47// Defines symbolic names for the Alpha instructions.
48//
49#include "AlphaGenInstrNames.inc"
50
51#endif