mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Merging r181706:
------------------------------------------------------------------------ r181706 | rafael | 2013-05-13 07:34:48 -0700 (Mon, 13 May 2013) | 1 line Remove unused fields and arguments. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_33@182147 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ce52f1601
commit
ed3c685148
@ -78,7 +78,7 @@ static MCCodeEmitter *createAMDGPUMCCodeEmitter(const MCInstrInfo &MCII,
|
||||
if (STI.getFeatureBits() & AMDGPU::Feature64BitPtr) {
|
||||
return createSIMCCodeEmitter(MCII, MRI, STI, Ctx);
|
||||
} else {
|
||||
return createR600MCCodeEmitter(MCII, MRI, STI, Ctx);
|
||||
return createR600MCCodeEmitter(MCII, MRI);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -32,9 +32,7 @@ class raw_ostream;
|
||||
extern Target TheAMDGPUTarget;
|
||||
|
||||
MCCodeEmitter *createR600MCCodeEmitter(const MCInstrInfo &MCII,
|
||||
const MCRegisterInfo &MRI,
|
||||
const MCSubtargetInfo &STI,
|
||||
MCContext &Ctx);
|
||||
const MCRegisterInfo &MRI);
|
||||
|
||||
MCCodeEmitter *createSIMCCodeEmitter(const MCInstrInfo &MCII,
|
||||
const MCRegisterInfo &MRI,
|
||||
|
@ -35,14 +35,11 @@ class R600MCCodeEmitter : public AMDGPUMCCodeEmitter {
|
||||
void operator=(const R600MCCodeEmitter &) LLVM_DELETED_FUNCTION;
|
||||
const MCInstrInfo &MCII;
|
||||
const MCRegisterInfo &MRI;
|
||||
const MCSubtargetInfo &STI;
|
||||
MCContext &Ctx;
|
||||
|
||||
public:
|
||||
|
||||
R600MCCodeEmitter(const MCInstrInfo &mcii, const MCRegisterInfo &mri,
|
||||
const MCSubtargetInfo &sti, MCContext &ctx)
|
||||
: MCII(mcii), MRI(mri), STI(sti), Ctx(ctx) { }
|
||||
R600MCCodeEmitter(const MCInstrInfo &mcii, const MCRegisterInfo &mri)
|
||||
: MCII(mcii), MRI(mri) { }
|
||||
|
||||
/// \brief Encode the instruction and write it to the OS.
|
||||
virtual void EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
||||
@ -98,10 +95,8 @@ enum TextureTypes {
|
||||
};
|
||||
|
||||
MCCodeEmitter *llvm::createR600MCCodeEmitter(const MCInstrInfo &MCII,
|
||||
const MCRegisterInfo &MRI,
|
||||
const MCSubtargetInfo &STI,
|
||||
MCContext &Ctx) {
|
||||
return new R600MCCodeEmitter(MCII, MRI, STI, Ctx);
|
||||
const MCRegisterInfo &MRI) {
|
||||
return new R600MCCodeEmitter(MCII, MRI);
|
||||
}
|
||||
|
||||
void R600MCCodeEmitter::EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
||||
|
Loading…
Reference in New Issue
Block a user