Home
last modified time | relevance | path

Searched refs:ISAInfo (Results 1 – 10 of 10) sorted by relevance

/openbsd/gnu/llvm/clang/lib/Basic/Targets/
H A DRISCV.cpp132 unsigned FLen = ISAInfo->getFLen(); in getTargetDefines()
133 unsigned MinVLen = ISAInfo->getMinVLen(); in getTargetDefines()
134 unsigned MaxELen = ISAInfo->getMaxELen(); in getTargetDefines()
166 if (ISAInfo->hasExtension("m") || ISAInfo->hasExtension("zmmul")) in getTargetDefines()
169 if (ISAInfo->hasExtension("m")) { in getTargetDefines()
174 if (ISAInfo->hasExtension("a")) { in getTargetDefines()
195 if (ISAInfo->hasExtension("c")) in getTargetDefines()
198 if (ISAInfo->hasExtension("zve32x")) { in getTargetDefines()
293 return ISAInfo->hasExtension(Feature); in hasFeature()
312 ISAInfo = std::move(*ParseResult); in handleTargetFeatures()
[all …]
H A DRISCV.h30 std::unique_ptr<llvm::RISCVISAInfo> ISAInfo; variable
133 if (ISAInfo->hasExtension("a")) in setMaxAtomicWidth()
157 if (ISAInfo->hasExtension("a")) in setMaxAtomicWidth()
/openbsd/gnu/llvm/llvm/lib/Support/
H A DRISCVISAInfo.cpp499 ISAInfo->Exts.erase(ExtName.str()); in parseFeatures()
560 ISAInfo->updateFLen(); in parseNormalizedArchString()
561 ISAInfo->updateMinVLen(); in parseNormalizedArchString()
562 ISAInfo->updateMaxELen(); in parseNormalizedArchString()
563 return std::move(ISAInfo); in parseNormalizedArchString()
1075 ISAInfo->updateImplication(); in postProcessAndChecking()
1076 ISAInfo->updateCombination(); in postProcessAndChecking()
1077 ISAInfo->updateFLen(); in postProcessAndChecking()
1078 ISAInfo->updateMinVLen(); in postProcessAndChecking()
1079 ISAInfo->updateMaxELen(); in postProcessAndChecking()
[all …]
/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DRISCVTargetDefEmitter.cpp41 ISAInfoTy ISAInfo = llvm::RISCVISAInfo::parseFeatures(XLen, FeatureVector); in getMArch() local
42 if (!ISAInfo) in getMArch()
47 return (*ISAInfo)->toString(); in getMArch()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp68 auto ISAInfo = RISCVFeatures::parseFeatureBits(IsRV64, FeatureBits); in computeTargetABI() local
69 if (!ISAInfo) in computeTargetABI()
70 report_fatal_error(ISAInfo.takeError()); in computeTargetABI()
71 return getTargetABI((*ISAInfo)->computeDefaultABI()); in computeTargetABI()
H A DRISCVTargetStreamer.cpp60 auto &ISAInfo = *ParseResult; in emitTargetAttributes() local
61 emitTextAttribute(RISCVAttrs::ARCH, ISAInfo->toString()); in emitTargetAttributes()
/openbsd/gnu/llvm/clang/lib/Driver/ToolChains/Arch/
H A DRISCV.cpp34 auto ISAInfo = in getArchFeatures() local
36 if (!ISAInfo) { in getArchFeatures()
37 handleAllErrors(ISAInfo.takeError(), [&](llvm::StringError &ErrMsg) { in getArchFeatures()
45 (*ISAInfo)->toFeatures( in getArchFeatures()
/openbsd/gnu/llvm/llvm/lib/Object/
H A DELFObjectFile.cpp309 auto &ISAInfo = *ParseResult; in getRISCVFeatures() local
311 if (ISAInfo->getXLen() == 32) in getRISCVFeatures()
313 else if (ISAInfo->getXLen() == 64) in getRISCVFeatures()
318 Features.addFeaturesVector(ISAInfo->toFeatureVector()); in getRISCVFeatures()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DRISCVISAInfo.h88 postProcessAndChecking(std::unique_ptr<RISCVISAInfo> &&ISAInfo);
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp2249 auto &ISAInfo = *ParseResult; in parseDirectiveAttribute() local
2252 if (ISAInfo->hasExtension(Feature.Key)) in parseDirectiveAttribute()
2255 if (ISAInfo->getXLen() == 32) in parseDirectiveAttribute()
2257 else if (ISAInfo->getXLen() == 64) in parseDirectiveAttribute()
2263 getTargetStreamer().emitTextAttribute(Tag, ISAInfo->toString()); in parseDirectiveAttribute()