diff options
author | Tom Stellard <[email protected]> | 2012-04-24 21:20:26 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-04-25 09:02:16 -0400 |
commit | 8d3bf7ced5a3bb17910e9a763edc152fa5fbcd92 (patch) | |
tree | e6cc42b55c26635ed6d543cb386978bc4c711afc /src/gallium/drivers/radeon/AMDILAsmBackend.cpp | |
parent | ba9bd41880a7ce285537c3ead8a8c439c5a50555 (diff) |
radeon/llvm: Remove AsmPrinter files
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILAsmBackend.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/AMDILAsmBackend.cpp | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/src/gallium/drivers/radeon/AMDILAsmBackend.cpp b/src/gallium/drivers/radeon/AMDILAsmBackend.cpp deleted file mode 100644 index 63b688d20fd..00000000000 --- a/src/gallium/drivers/radeon/AMDILAsmBackend.cpp +++ /dev/null @@ -1,82 +0,0 @@ -//===------ AMDILAsmBackend.cpp - AMDIL Assembly Backend ---===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//==-----------------------------------------------------------------------===// -// -// -#include "AMDILAsmBackend.h" -#include "llvm/Support/TargetRegistry.h" - -using namespace llvm; -namespace llvm { - ASM_BACKEND_CLASS* createAMDILAsmBackend(const ASM_BACKEND_CLASS &T, - const std::string &TT) - { - return new AMDILAsmBackend(T); - } -} // namespace llvm - -//===--------------------- Default AMDIL Asm Backend ---------------------===// -AMDILAsmBackend::AMDILAsmBackend(const ASM_BACKEND_CLASS &T) - : ASM_BACKEND_CLASS() -{ -} - -MCObjectWriter * -AMDILAsmBackend::createObjectWriter(raw_ostream &OS) const -{ - return 0; -} - -bool -AMDILAsmBackend::doesSectionRequireSymbols(const MCSection &Section) const -{ - return false; -} - -bool -AMDILAsmBackend::isSectionAtomizable(const MCSection &Section) const -{ - return true; -} - -bool -AMDILAsmBackend::isVirtualSection(const MCSection &Section) const -{ - return false; - //const MCSectionELF &SE = static_cast<const MCSectionELF&>(Section); - //return SE.getType() == MCSectionELF::SHT_NOBITS; -} -void -AMDILAsmBackend::ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, - uint64_t Value) const -{ -} - -bool -AMDILAsmBackend::MayNeedRelaxation(const MCInst &Inst) const -{ - return false; -} - -void -AMDILAsmBackend::RelaxInstruction(const MCInst &Inst, - MCInst &Res) const -{ -} - -bool -AMDILAsmBackend::WriteNopData(uint64_t Count, MCObjectWriter *OW) const -{ - return false; -} - -unsigned -AMDILAsmBackend::getNumFixupKinds() const -{ - return 0; -} |