/freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
H A D | RISCVISAInfo.cpp | 195 findDefaultVersion(StringRef ExtName) { in findDefaultVersion() argument 200 auto I = llvm::lower_bound(ExtInfo, ExtName, LessExtName()); in findDefaultVersion() 202 if (I == ExtInfo.end() || I->Name != ExtName) in findDefaultVersion() 290 for (const auto &[ExtName, _] : Exts) { in toFeatures() 294 if (ExtName == "i") in toFeatures() 296 if (IgnoreUnknown && !isSupportedExtension(ExtName)) in toFeatures() 299 if (isExperimentalExtension(ExtName)) { in toFeatures() 300 Features.push_back((llvm::Twine("+experimental-") + ExtName).str()); in toFeatures() 302 Features.push_back((llvm::Twine("+") + ExtName).str()); in toFeatures() 325 static Error getErrorForInvalidExt(StringRef ExtName) { in getErrorForInvalidExt() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | RISCVISAUtils.cpp | 60 static unsigned getExtensionRank(const std::string &ExtName) { in getExtensionRank() argument 61 assert(ExtName.size() >= 1); in getExtensionRank() 62 switch (ExtName[0]) { in getExtensionRank() 66 assert(ExtName.size() >= 2); in getExtensionRank() 69 return RF_Z_EXTENSION | singleLetterExtensionRank(ExtName[1]); in getExtensionRank() 73 if (ExtName.size() == 1) in getExtensionRank() 74 return singleLetterExtensionRank(ExtName[0]); in getExtensionRank()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | COFFImportFile.h | 95 std::string ExtName; member 118 return L.Name == R.Name && L.ExtName == R.ExtName &&
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | COFFModuleDefinition.cpp | 234 E.ExtName = E.Name; in parseExport() 243 if (!E.ExtName.empty() && !isDecorated(E.ExtName, MingwDef)) in parseExport() 244 E.ExtName = (std::string("_").append(E.ExtName)); in parseExport()
|
H A D | COFFImportFile.cpp | 172 static ImportNameType getNameType(StringRef Sym, StringRef ExtName, in getNameType() argument 180 if (ExtName.starts_with("_") && ExtName.contains('@') && !MinGW) in getNameType() 182 if (Sym != ExtName) in getNameType() 704 if (E.ExtName.empty()) { in writeImportLibrary() 708 replace(SymbolName, E.Name, E.ExtName); in writeImportLibrary()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | RISCVTargetDefEmitter.cpp | 231 StringRef ExtName = Rec->getValueAsString("Name"); in emitRISCVExtensionBitmask() local 232 ExtName.consume_front("experimental-"); in emitRISCVExtensionBitmask() 240 << "\"" << ExtName << "\"" in emitRISCVExtensionBitmask()
|
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/ |
H A D | DlltoolDriver.cpp | 145 if (!E.ExtName.empty()) { in parseModuleDefinition() 146 E.Name = E.ExtName; in parseModuleDefinition() 147 E.ExtName.clear(); in parseModuleDefinition()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 112 std::string ExtName = "lle_"; in lookupFunction() local 114 ExtName += getTypeID(FT->getReturnType()); in lookupFunction() 116 ExtName += getTypeID(T); in lookupFunction() 117 ExtName += ("_" + F->getName()).str(); in lookupFunction() 121 ExFunc FnPtr = Fns.FuncNames[ExtName]; in lookupFunction()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | RISCV.cpp | 164 auto ExtName = Extension.first; in getTargetDefines() local 167 Builder.defineMacro(Twine("__riscv_", ExtName), in getTargetDefines() 436 StringRef ExtName = Ext.substr(1); in parseTargetAttr() local 438 llvm::RISCVISAInfo::getTargetFeatureForExtension(ExtName); in parseTargetAttr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
H A D | CSKYTargetParser.h | 117 struct ExtName { struct 127 const CSKY::ExtName CSKYARCHExtNames[] = { argument
|
H A D | ARMTargetParser.h | 73 struct ExtName { struct 80 const ExtName ARCHExtNames[] = { argument
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Driver.cpp | 938 e2.ExtName = std::string(e1.extName); in createImportLibrary() 1031 if (!e1.ExtName.empty() && e1.ExtName != e1.Name && in parseModuleDefs() 1033 e2.name = saver().save(e1.ExtName); in parseModuleDefs() 1037 e2.extName = saver().save(e1.ExtName); in parseModuleDefs()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjCMac.cpp | 3346 SmallString<256> ExtName; in GenerateCategory() local 3347 llvm::raw_svector_ostream(ExtName) << Interface->getName() << '_' in GenerateCategory() 3368 Values.add(emitMethodList(ExtName, MethodListType::CategoryInstanceMethods, in GenerateCategory() 3370 Values.add(emitMethodList(ExtName, MethodListType::CategoryClassMethods, in GenerateCategory() 3374 EmitProtocolList("OBJC_CATEGORY_PROTOCOLS_" + ExtName.str(), in GenerateCategory() 3383 Values.add(EmitPropertyList("_OBJC_$_PROP_LIST_" + ExtName.str(), in GenerateCategory() 3385 Values.add(EmitPropertyList("_OBJC_$_CLASS_PROP_LIST_" + ExtName.str(), in GenerateCategory() 3393 CreateMetadataVar("OBJC_CATEGORY_" + ExtName.str(), Values, in GenerateCategory() 3397 DefinedCategoryNames.insert(llvm::CachedHashString(ExtName)); in GenerateCategory() 6675 SmallString<256> ExtName; in GenerateCategory() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Gnu.cpp | 1801 auto ExtName = MLConfigArchExt.first; in selectRISCVMultilib() local 1802 NewMultilib.flag(Twine("-", ExtName).str()); in selectRISCVMultilib() 1804 if (AllArchExts.insert(ExtName).second) { in selectRISCVMultilib() 1805 addMultilibFlag(ISAInfo->hasExtension(ExtName), in selectRISCVMultilib() 1806 Twine("-", ExtName).str(), NewFlags); in selectRISCVMultilib()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVModuleAnalysis.cpp | 773 #define ATOM_FLT_REQ_EXT_MSG(ExtName) \ argument 775 "extension: SPV_EXT_shader_atomic_float" ExtName
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | OpenCLBuiltins.td | 47 string ExtName = _Ext; 66 !empty(NewExts) : Base.ExtName, 69 !empty(Base.ExtName) : NewExts, 72 true : Base.ExtName # " " # NewExts
|