mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +00:00
381cb07544
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54522 91177308-0d34-0410-b5e6-96231b3b80d8
30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
//===-- SimpleBBISel.cpp - Implement the SimpleBBISel class ---------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This implements simple basic block instruction selection. If the given
|
|
// BasicBlock is considered "simple", i.e. all operations are supported by
|
|
// the target and their types are legal, it does instruction directly from
|
|
// LLVM BasicBlock to MachineInstr's.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#define DEBUG_TYPE "simple-isel"
|
|
#include "SimpleBBISel.h"
|
|
#include "llvm/CodeGen/MachineFunction.h"
|
|
#include "llvm/CodeGen/MachineInstrBuilder.h"
|
|
#include "llvm/CodeGen/SelectionDAG.h"
|
|
using namespace llvm;
|
|
|
|
/// SelectBasicBlock - Try to convert a LLVM basic block into a
|
|
/// MachineBasicBlock using simple instruction selection. Returns false if it
|
|
/// is not able to do so.
|
|
bool SimpleBBISel::SelectBasicBlock(BasicBlock *BB, MachineBasicBlock *MBB) {
|
|
return false;
|
|
}
|