//===- Record.cpp - Record implementation ---------------------------------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// Implement the tablegen record classes.////===----------------------------------------------------------------------===//#include"Record.h"#include"llvm/System/DataTypes.h"#include"llvm/Support/Format.h"#include"llvm/ADT/StringExtras.h"usingnamespacellvm;//===----------------------------------------------------------------------===//// Type implementations//===----------------------------------------------------------------------===//voidRecTy::dump()const{print(errs());}Init*BitRecTy::convertValue(BitsInit*BI){if(BI->getNumBits()!=