mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
8e71e617c9
If the code is generated as assembler, this transformation does not occur assuming that it will occur later in the assembler. This code was originally called from MipsAsmPrinter.cpp and we needed to check for OutStreamer.hasRawTextSupport(). This was not a good place for it and has been moved to MCTargetDesc/MipsMCCodeEmitter.cpp where both direct object and the assembler use it it automagically. The test cases have been checked in for a number of weeks now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165067 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
838 B
C++
29 lines
838 B
C++
//===-- MipsDirectObjLower.h - Mips LLVM direct object lowering *- C++ -*--===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef MIPSDIRECTOBJLOWER_H
|
|
#define MIPSDIRECTOBJLOWER_H
|
|
#include "llvm/ADT/SmallVector.h"
|
|
#include "llvm/Support/Compiler.h"
|
|
|
|
namespace llvm {
|
|
class MCInst;
|
|
class MCStreamer;
|
|
|
|
namespace Mips {
|
|
/// MipsDirectObjLower - This name space is used to lower MCInstr in cases
|
|
// where the assembler usually finishes the lowering
|
|
// such as large shifts.
|
|
void LowerLargeShift(MCInst &Inst);
|
|
void LowerDextDins(MCInst &Inst);
|
|
}
|
|
}
|
|
|
|
#endif
|