blob: 1200cd3b0d5708379bd6d6086f7be94634a0d50e [file] [log] [blame]
Evan Cheng381cb072008-08-08 07:27:28 +00001//===-- SimpleBBISel.cpp - Implement the SimpleBBISel class ---------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This implements simple basic block instruction selection. If the given
11// BasicBlock is considered "simple", i.e. all operations are supported by
12// the target and their types are legal, it does instruction directly from
13// LLVM BasicBlock to MachineInstr's.
14//
15//===----------------------------------------------------------------------===//
16
17#define DEBUG_TYPE "simple-isel"
18#include "SimpleBBISel.h"
19#include "llvm/CodeGen/MachineFunction.h"
20#include "llvm/CodeGen/MachineInstrBuilder.h"
21#include "llvm/CodeGen/SelectionDAG.h"
22using namespace llvm;
23
24/// SelectBasicBlock - Try to convert a LLVM basic block into a
25/// MachineBasicBlock using simple instruction selection. Returns false if it
26/// is not able to do so.
27bool SimpleBBISel::SelectBasicBlock(BasicBlock *BB, MachineBasicBlock *MBB) {
28 return false;
29}