comparison lib/Target/XCore/XCoreSubtarget.h @ 148:63bd29f05246

merged
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 19:46:37 +0900
parents c2174574ed3a
children
comparison
equal deleted inserted replaced
146:3fc4d5c3e21e 148:63bd29f05246
1 //===-- XCoreSubtarget.h - Define Subtarget for the XCore -------*- C++ -*-===// 1 //===-- XCoreSubtarget.h - Define Subtarget for the XCore -------*- C++ -*-===//
2 // 2 //
3 // The LLVM Compiler Infrastructure 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // 4 // See https://llvm.org/LICENSE.txt for license information.
5 // This file is distributed under the University of Illinois Open Source 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 // License. See LICENSE.TXT for details.
7 // 6 //
8 //===----------------------------------------------------------------------===// 7 //===----------------------------------------------------------------------===//
9 // 8 //
10 // This file declares the XCore specific subclass of TargetSubtargetInfo. 9 // This file declares the XCore specific subclass of TargetSubtargetInfo.
11 // 10 //
41 /// of the specified triple. 40 /// of the specified triple.
42 /// 41 ///
43 XCoreSubtarget(const Triple &TT, const std::string &CPU, 42 XCoreSubtarget(const Triple &TT, const std::string &CPU,
44 const std::string &FS, const TargetMachine &TM); 43 const std::string &FS, const TargetMachine &TM);
45 44
46 /// ParseSubtargetFeatures - Parses features string setting specified 45 /// ParseSubtargetFeatures - Parses features string setting specified
47 /// subtarget options. Definition of function is auto generated by tblgen. 46 /// subtarget options. Definition of function is auto generated by tblgen.
48 void ParseSubtargetFeatures(StringRef CPU, StringRef FS); 47 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
49 48
50 const XCoreInstrInfo *getInstrInfo() const override { return &InstrInfo; } 49 const XCoreInstrInfo *getInstrInfo() const override { return &InstrInfo; }
51 const XCoreFrameLowering *getFrameLowering() const override { 50 const XCoreFrameLowering *getFrameLowering() const override {