Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Support/RISCVISAInfo.h
//===-- RISCVISAInfo.h - RISCV ISA Information ------*- C++ -*-===// | //===-- RISCVISAInfo.h - RISCV ISA Information ------*- C++ -*-===// | ||||
Lint: Lint: clang-format not found in user’s local PATH; not linting file. | |||||
// | // | ||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||
// See https://llvm.org/LICENSE.txt for license information. | // See https://llvm.org/LICENSE.txt for license information. | ||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | public: | ||||
const OrderedExtensionMap &getExtensions() const { return Exts; }; | const OrderedExtensionMap &getExtensions() const { return Exts; }; | ||||
unsigned getXLen() const { return XLen; }; | unsigned getXLen() const { return XLen; }; | ||||
unsigned getFLen() const { return FLen; }; | unsigned getFLen() const { return FLen; }; | ||||
unsigned getMinVLen() const { return MinVLen; } | unsigned getMinVLen() const { return MinVLen; } | ||||
unsigned getMaxELen() const { return MaxELen; } | unsigned getMaxELen() const { return MaxELen; } | ||||
unsigned getMaxELenFp() const { return MaxELenFp; } | unsigned getMaxELenFp() const { return MaxELenFp; } | ||||
bool hasVInstructions() const; | |||||
bool hasExtension(StringRef Ext) const; | bool hasExtension(StringRef Ext) const; | ||||
std::string toString() const; | std::string toString() const; | ||||
std::vector<std::string> toFeatureVector() const; | std::vector<std::string> toFeatureVector() const; | ||||
StringRef computeDefaultABI() const; | StringRef computeDefaultABI() const; | ||||
static bool isSupportedExtensionFeature(StringRef Ext); | static bool isSupportedExtensionFeature(StringRef Ext); | ||||
static bool isSupportedExtension(StringRef Ext); | static bool isSupportedExtension(StringRef Ext); | ||||
Show All 32 Lines |
clang-format not found in user’s local PATH; not linting file.