Mercurial > hg > CbC > CbC_llvm
diff lib/Target/Sparc/SparcSubtarget.h @ 147:c2174574ed3a
LLVM 10
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 16:55:33 +0900 |
parents | 3a76565eade5 |
children |
line wrap: on
line diff
--- a/lib/Target/Sparc/SparcSubtarget.h Sat Feb 17 09:57:20 2018 +0900 +++ b/lib/Target/Sparc/SparcSubtarget.h Wed Aug 14 16:55:33 2019 +0900 @@ -1,9 +1,8 @@ //===-- SparcSubtarget.h - Define Subtarget for the SPARC -------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // @@ -47,10 +46,11 @@ // LEON features bool HasUmacSmac; bool HasLeonCasa; + bool HasPWRPSR; bool InsertNOPLoad; bool FixAllFDIVSQRT; bool DetectRoundChange; - bool PerformSDIVReplace; + bool HasLeonCycleCounter; SparcInstrInfo InstrInfo; SparcTargetLowering TLInfo; @@ -92,11 +92,12 @@ // Leon options bool hasUmacSmac() const { return HasUmacSmac; } - bool performSDIVReplace() const { return PerformSDIVReplace; } bool hasLeonCasa() const { return HasLeonCasa; } + bool hasPWRPSR() const { return HasPWRPSR; } bool insertNOPLoad() const { return InsertNOPLoad; } bool fixAllFDIVSQRT() const { return FixAllFDIVSQRT; } bool detectRoundChange() const { return DetectRoundChange; } + bool hasLeonCycleCounter() const { return HasLeonCycleCounter; } /// ParseSubtargetFeatures - Parses features string setting specified /// subtarget options. Definition of function is auto generated by tblgen.