1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/lib/MC/MCParser/TargetAsmParser.cpp
Daniel Dunbar f58b5d7ad0 TblGen/AsmMatcher: Add support for honoring instruction Requires<[]> attributes as part of the matcher.
- Currently includes a hack to limit ourselves to "In32BitMode" and "In64BitMode", because we don't have the other infrastructure to properly deal with setting SSE, etc. features on X86.

llvm-svn: 108677
2010-07-19 05:44:09 +00:00

20 lines
541 B
C++

//===-- TargetAsmParser.cpp - Target Assembly Parser -----------------------==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "llvm/Target/TargetAsmParser.h"
using namespace llvm;
TargetAsmParser::TargetAsmParser(const Target &T)
: TheTarget(T), AvailableFeatures(0)
{
}
TargetAsmParser::~TargetAsmParser() {
}