2005-02-05 10:24:26 +08:00
|
|
|
//===- Alpha.td - Describe the Alpha Target Machine --------*- tablegen -*-===//
|
2005-01-23 07:41:55 +08:00
|
|
|
//
|
|
|
|
// 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-01-23 07:41:55 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
// Get the target-independent interfaces which we are implementing...
|
|
|
|
//
|
2008-11-24 15:34:46 +08:00
|
|
|
include "llvm/Target/Target.td"
|
2005-01-23 07:41:55 +08:00
|
|
|
|
|
|
|
//Alpha is little endian
|
|
|
|
|
2005-10-24 06:08:45 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Subtarget Features
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2007-04-16 22:06:19 +08:00
|
|
|
def FeatureCIX : SubtargetFeature<"cix", "HasCT", "true",
|
2005-10-27 01:28:23 +08:00
|
|
|
"Enable CIX extentions">;
|
2005-10-24 06:08:45 +08:00
|
|
|
|
2005-01-23 07:41:55 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Register File Description
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "AlphaRegisterInfo.td"
|
|
|
|
|
2009-07-19 09:11:32 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Calling Convention Description
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "AlphaCallingConv.td"
|
|
|
|
|
2006-03-10 01:16:45 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Schedule Description
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "AlphaSchedule.td"
|
|
|
|
|
2005-01-23 07:41:55 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Instruction Descriptions
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "AlphaInstrInfo.td"
|
|
|
|
|
2010-04-05 11:10:20 +08:00
|
|
|
def AlphaInstrInfo : InstrInfo;
|
2005-01-23 07:41:55 +08:00
|
|
|
|
2005-10-24 06:08:45 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Alpha Processor Definitions
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2006-03-10 01:16:45 +08:00
|
|
|
def : Processor<"generic", Alpha21264Itineraries, []>;
|
2007-01-25 05:09:16 +08:00
|
|
|
def : Processor<"ev6" , Alpha21264Itineraries, []>;
|
|
|
|
def : Processor<"ev67" , Alpha21264Itineraries, [FeatureCIX]>;
|
2005-10-24 06:08:45 +08:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// The Alpha Target
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
|
2005-01-23 07:41:55 +08:00
|
|
|
def Alpha : Target {
|
|
|
|
// Pull in Instruction Info:
|
|
|
|
let InstructionSet = AlphaInstrInfo;
|
|
|
|
}
|