Home
last modified time | relevance | path

Searched refs:RISCVISAInfo (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DRISCVISAInfo.h24 class RISCVISAInfo {
26 RISCVISAInfo(const RISCVISAInfo &) = delete;
27 RISCVISAInfo &operator=(const RISCVISAInfo &) = delete;
34 static llvm::Expected<std::unique_ptr<RISCVISAInfo>>
41 static llvm::Expected<std::unique_ptr<RISCVISAInfo>>
45 static llvm::Expected<std::unique_ptr<RISCVISAInfo>>
48 static llvm::Expected<std::unique_ptr<RISCVISAInfo>>
84 RISCVISAInfo(unsigned XLen) : XLen(XLen) {} in RISCVISAInfo() function
101 static llvm::Expected<std::unique_ptr<RISCVISAInfo>>
102 postProcessAndChecking(std::unique_ptr<RISCVISAInfo> &&ISAInfo);
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DRISCVISAInfo.cpp83 void RISCVISAInfo::printSupportedExtensions(StringMap<StringRef> &DescMap) { in printSupportedExtensions()
118 void RISCVISAInfo::printEnabledExtensions( in printEnabledExtensions()
153 if (auto ISAString = RISCVISAInfo::createFromExtMap(XLen, FullExtMap)) in printEnabledExtensions()
240 bool RISCVISAInfo::isSupportedExtensionFeature(StringRef Ext) { in isSupportedExtensionFeature()
251 bool RISCVISAInfo::isSupportedExtension(StringRef Ext) { in isSupportedExtension()
264 bool RISCVISAInfo::isSupportedExtension(StringRef Ext, unsigned MajorVersion, in isSupportedExtension()
278 bool RISCVISAInfo::hasExtension(StringRef Ext) const { in hasExtension()
287 std::vector<std::string> RISCVISAInfo::toFeatures(bool AddAllExtensions, in toFeatures()
423 if (RISCVISAInfo::isSupportedExtension(Ext, Major, Minor)) in getExtensionVersion()
426 if (!RISCVISAInfo::isSupportedExtension(Ext)) in getExtensionVersion()
[all …]
H A DRISCVTargetParser.cpp117 auto RII = RISCVISAInfo::parseArchString( in getFeaturesForCPU()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DRISCV.cpp268 return !llvm::RISCVISAInfo::isSupportedExtensionFeature(Ext); in initFeatureMap()
278 auto ParseResult = llvm::RISCVISAInfo::parseFeatures(XLen, FeaturesVec); in initFeatureMap()
337 auto ParseResult = llvm::RISCVISAInfo::parseFeatures(XLen, Features); in handleTargetFeatures()
395 auto RII = llvm::RISCVISAInfo::parseArchString( in handleFullArchString()
438 llvm::RISCVISAInfo::getTargetFeatureForExtension(ExtName); in parseTargetAttr()
H A DRISCV.h30 std::unique_ptr<llvm::RISCVISAInfo> ISAInfo;
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp121 llvm::Expected<std::unique_ptr<RISCVISAInfo>>
128 llvm::RISCVISAInfo::isSupportedExtensionFeature(Feature.Key)) in parseFeatureBits()
131 return llvm::RISCVISAInfo::parseFeatures(XLen, FeatureVector); in parseFeatureBits()
H A DRISCVBaseInfo.h480 llvm::Expected<std::unique_ptr<RISCVISAInfo>>
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DRISCV.cpp35 llvm::RISCVISAInfo::parseArchString(Arch, EnableExperimentalExtensions); in getArchFeatures()
253 auto ParseResult = llvm::RISCVISAInfo::parseArchString( in getRISCVABI()
324 auto ParseResult = llvm::RISCVISAInfo::parseFeatures( in getRISCVArch()
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1_main.cpp150 llvm::RISCVISAInfo::printSupportedExtensions(DescMap); in PrintSupportedExtensions()
199 llvm::RISCVISAInfo::printEnabledExtensions(MachineTriple.isArch64Bit(), in PrintEnabledExtensions()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DRISCV.cpp1063 auto maybeInfo = RISCVISAInfo::parseNormalizedArchString(s); in mergeArch()
1071 RISCVISAInfo &info = **maybeInfo; in mergeArch()
1258 if (auto result = RISCVISAInfo::createFromExtMap(xlen, exts)) { in mergeAttributesSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVAsmPrinter.cpp411 if (!llvm::RISCVISAInfo::isSupportedExtensionFeature(Feature.Key)) in emitDirectiveOptionArch()
455 auto ParseResult = llvm::RISCVISAInfo::parseArchString( in emitStartOfAsmFile()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELFObjectFile.cpp382 auto ParseResult = RISCVISAInfo::parseNormalizedArchString(*Attr); in getRISCVFeatures()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DGnu.cpp1750 llvm::Expected<std::unique_ptr<llvm::RISCVISAInfo>> ParseResult = in selectRISCVMultilib()
1751 llvm::RISCVISAInfo::parseArchString( in selectRISCVMultilib()
1787 llvm::Expected<std::unique_ptr<llvm::RISCVISAInfo>> MLConfigParseResult = in selectRISCVMultilib()
1788 llvm::RISCVISAInfo::parseArchString( in selectRISCVMultilib()
H A DFlang.cpp217 auto ISAInfo = llvm::RISCVISAInfo::parseArchString( in AddRISCVTargetArgs()
H A DClang.cpp2180 auto ISAInfo = llvm::RISCVISAInfo::parseArchString( in AddRISCVTargetArgs()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp2782 if (llvm::RISCVISAInfo::isSupportedExtensionFeature(Feature.Key)) in resetToArch()
2785 auto ParseResult = llvm::RISCVISAInfo::parseArchString( in resetToArch()
2892 std::string Feature = RISCVISAInfo::getTargetFeatureForExtension(Arch); in parseDirectiveOption()
/freebsd/lib/clang/libllvm/
H A DMakefile1692 SRCS_MIN+= TargetParser/RISCVISAInfo.cpp
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp688 auto ISAInfo = llvm::RISCVISAInfo::parseArchString( in computeTargetTriple()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp1110 llvm::RISCVISAInfo::parseFeatures(T.isRISCV64() ? 64 : 32, Features); in Release()