mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
76020ed6f3
Filling no-ops is done just before emitting of assembly, when the instruction stream is final. No-ops are inserted to align the instructions so the dual-issue of the pipeline is utilized. This speeds up generated code with a minimum of 1% on a select set of algorithms. This pass may be redundant if the instruction scheduler and all subsequent passes that modify the instruction stream (prolog+epilog inserter, register scavenger, are there others?) are made aware of the instruction alignments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123226 91177308-0d34-0410-b5e6-96231b3b80d8
36 lines
1017 B
C++
36 lines
1017 B
C++
//===-- SPU.h - Top-level interface for Cell SPU Target ----------*- C++ -*-==//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the entry points for global functions defined in the LLVM
|
|
// Cell SPU back-end.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TARGET_IBMCELLSPU_H
|
|
#define LLVM_TARGET_IBMCELLSPU_H
|
|
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
namespace llvm {
|
|
class SPUTargetMachine;
|
|
class FunctionPass;
|
|
class formatted_raw_ostream;
|
|
|
|
FunctionPass *createSPUISelDag(SPUTargetMachine &TM);
|
|
FunctionPass *createSPUNopFillerPass(SPUTargetMachine &tm);
|
|
|
|
extern Target TheCellSPUTarget;
|
|
}
|
|
|
|
// Defines symbolic names for the SPU instructions.
|
|
//
|
|
#include "SPUGenInstrNames.inc"
|
|
|
|
#endif /* LLVM_TARGET_IBMCELLSPU_H */
|