Files
llvm-6502/lib/Target/Mos6502/Mos6502ISelLowering.cpp
Damián Silvani 5445972c1b Trying to clean source code and compile blindly
But it's not working :(
AsmParser and Disassembler were removed for now, to simplify things.
2015-08-07 00:07:40 -03:00

36 lines
1.3 KiB
C++

//===-- Mos6502ISelLowering.cpp - Mos6502 DAG Lowering Implementation ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements the interfaces that Mos6502 uses to lower LLVM code into a
// selection DAG.
//
//===----------------------------------------------------------------------===//
#include "Mos6502ISelLowering.h"
#include "MCTargetDesc/Mos6502MCExpr.h"
#include "Mos6502MachineFunctionInfo.h"
#include "Mos6502RegisterInfo.h"
#include "Mos6502TargetMachine.h"
#include "llvm/CodeGen/CallingConvLower.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/ErrorHandling.h"
using namespace llvm;
Mos6502TargetLowering::Mos6502TargetLowering(TargetMachine &TM,
const Mos6502Subtarget &STI)
: TargetLowering(TM), Subtarget(&STI) { }