2005-02-05 03:24:26 +01:00
|
|
|
//===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
|
2005-04-22 01:13:11 +02:00
|
|
|
//
|
2005-01-23 00:41:55 +01:00
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 21:36:04 +01:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2005-04-22 01:13:11 +02:00
|
|
|
//
|
2005-01-23 00:41:55 +01:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the entry points for global functions defined in the LLVM
|
|
|
|
// Alpha back-end.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef TARGET_ALPHA_H
|
|
|
|
#define TARGET_ALPHA_H
|
|
|
|
|
2011-07-14 22:59:42 +02:00
|
|
|
#include "MCTargetDesc/AlphaMCTargetDesc.h"
|
2009-04-30 01:29:43 +02:00
|
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
|
2005-01-23 00:41:55 +01:00
|
|
|
namespace llvm {
|
2010-11-15 01:06:54 +01:00
|
|
|
namespace Alpha {
|
|
|
|
// These describe LDAx
|
|
|
|
|
|
|
|
static const int IMM_LOW = -32768;
|
|
|
|
static const int IMM_HIGH = 32767;
|
|
|
|
static const int IMM_MULT = 65536;
|
|
|
|
}
|
2005-01-23 00:41:55 +01:00
|
|
|
|
2006-07-25 22:40:54 +02:00
|
|
|
class AlphaTargetMachine;
|
2005-01-23 00:41:55 +01:00
|
|
|
class FunctionPass;
|
2009-07-14 22:18:05 +02:00
|
|
|
class formatted_raw_ostream;
|
2005-01-23 00:41:55 +01:00
|
|
|
|
2008-05-14 03:58:56 +02:00
|
|
|
FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
|
2005-01-23 00:41:55 +01:00
|
|
|
FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
|
2009-05-30 22:51:52 +02:00
|
|
|
FunctionPass *createAlphaJITCodeEmitterPass(AlphaTargetMachine &TM,
|
2009-07-06 07:09:34 +02:00
|
|
|
JITCodeEmitter &JCE);
|
2006-09-18 21:44:29 +02:00
|
|
|
FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
|
2006-10-31 17:49:55 +01:00
|
|
|
FunctionPass *createAlphaBranchSelectionPass();
|
2006-09-18 21:44:29 +02:00
|
|
|
|
2005-01-23 00:41:55 +01:00
|
|
|
} // end namespace llvm;
|
|
|
|
|
|
|
|
#endif
|