/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | OpenMPKinds.cpp | 28 #define OMP_DEFAULT_KIND(Enum, Name) .Case(Name, unsigned(Enum)) in getOpenMPSimpleClauseType() argument 33 #define OMP_PROC_BIND_KIND(Enum, Name, Value) .Case(Name, Value) in getOpenMPSimpleClauseType() argument 38 #define OPENMP_SCHEDULE_KIND(Name) \ in getOpenMPSimpleClauseType() argument 39 .Case(#Name, static_cast<unsigned>(OMPC_SCHEDULE_##Name)) in getOpenMPSimpleClauseType() 40 #define OPENMP_SCHEDULE_MODIFIER(Name) \ in getOpenMPSimpleClauseType() argument 41 .Case(#Name, static_cast<unsigned>(OMPC_SCHEDULE_MODIFIER_##Name)) in getOpenMPSimpleClauseType() 46 #define OPENMP_DEPEND_KIND(Name) .Case(#Name, OMPC_DEPEND_##Name) in getOpenMPSimpleClauseType() argument 55 #define OPENMP_DOACROSS_MODIFIER(Name) .Case(#Name, OMPC_DOACROSS_##Name) in getOpenMPSimpleClauseType() argument 60 #define OPENMP_LINEAR_KIND(Name) .Case(#Name, OMPC_LINEAR_##Name) in getOpenMPSimpleClauseType() argument 65 #define OPENMP_MAP_KIND(Name) \ in getOpenMPSimpleClauseType() argument [all …]
|
H A D | TargetInfo.cpp | 536 StringRef Name = F; in initFeatureMap() local 537 if (Name.empty()) in initFeatureMap() 540 if (Name[0] != '+' && Name[0] != '-') in initFeatureMap() 541 Diags.Report(diag::warn_fe_backend_invalid_feature_flag) << Name; in initFeatureMap() 543 setFeatureEnabled(Features, Name.substr(1), Name[0] == '+'); in initFeatureMap() 621 static StringRef removeGCCRegisterPrefix(StringRef Name) { in removeGCCRegisterPrefix() argument 622 if (Name[0] == '%' || Name[0] == '#') in removeGCCRegisterPrefix() 623 Name = Name.substr(1); in removeGCCRegisterPrefix() 625 return Name; in removeGCCRegisterPrefix() 631 bool TargetInfo::isValidClobber(StringRef Name) const { in isValidClobber() [all …]
|
H A D | TypeTraits.cpp | 20 #define TYPE_TRAIT_1(Spelling, Name, Key) #Name, argument 22 #define TYPE_TRAIT_2(Spelling, Name, Key) #Name, argument 24 #define TYPE_TRAIT_N(Spelling, Name, Key) #Name, argument 29 #define TYPE_TRAIT_1(Spelling, Name, Key) #Spelling, argument 31 #define TYPE_TRAIT_2(Spelling, Name, Key) #Spelling, argument 33 #define TYPE_TRAIT_N(Spelling, Name, Key) #Spelling, argument 38 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) #Name, argument 43 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) #Spelling, argument 48 #define UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) #Name, argument 49 #define CXX11_UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) #Name, argument [all …]
|
H A D | Attributes.cpp | 22 static int hasAttributeImpl(AttributeCommonInfo::Syntax Syntax, StringRef Name, in hasAttributeImpl() argument 34 StringRef Name = Attr->getName(); in hasAttribute() local 36 if (Name.size() >= 4 && Name.starts_with("__") && Name.ends_with("__")) in hasAttribute() 37 Name = Name.substr(2, Name.size() - 4); in hasAttribute() 54 (Name == "directive" || Name == "sequence")) in hasAttribute() 57 int res = hasAttributeImpl(Syntax, Name, ScopeName, Target, LangOpts); in hasAttribute() 63 if (Ptr->hasSpelling(Syntax, Name)) in hasAttribute() 98 static StringRef normalizeAttrName(const IdentifierInfo *Name, in normalizeAttrName() argument 109 StringRef AttrName = Name->getName(); in normalizeAttrName() 127 static SmallString<64> normalizeName(const IdentifierInfo *Name, in normalizeName() argument [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | OpenMPKinds.h | 31 #define OPENMP_SCHEDULE_KIND(Name) \ argument 32 OMPC_SCHEDULE_##Name, 40 #define OPENMP_SCHEDULE_MODIFIER(Name) \ argument 41 OMPC_SCHEDULE_MODIFIER_##Name, 48 #define OPENMP_DEVICE_MODIFIER(Name) OMPC_DEVICE_##Name, argument 55 #define OPENMP_DEPEND_KIND(Name) \ argument 56 OMPC_DEPEND_##Name, 63 #define OPENMP_LINEAR_KIND(Name) \ argument 64 OMPC_LINEAR_##Name, 71 #define OPENMP_MAP_KIND(Name) \ argument [all …]
|
H A D | TypeTraits.h | 22 #define TYPE_TRAIT_1(Spelling, Name, Key) UTT_##Name, argument 25 #define TYPE_TRAIT_1(Spelling, Name, Key) +1 argument 28 #define TYPE_TRAIT_2(Spelling, Name, Key) BTT_##Name, argument 31 #define TYPE_TRAIT_2(Spelling, Name, Key) +1 argument 34 #define TYPE_TRAIT_N(Spelling, Name, Key) TT_##Name, argument 37 #define TYPE_TRAIT_N(Spelling, Name, Key) +1 argument 43 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) ATT_##Name, argument 46 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) +1 argument 52 #define UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) UETT_##Name, argument 53 #define CXX11_UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) UETT_##Name, argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrFMA3Info.cpp | 23 #define FMA3GROUP(Name, Suf, Attrs) \ argument 24 { { X86::Name##132##Suf, X86::Name##213##Suf, X86::Name##231##Suf }, Attrs }, 26 #define FMA3GROUP_MASKED(Name, Suf, Attrs) \ argument 27 FMA3GROUP(Name, Suf, Attrs) \ 28 FMA3GROUP(Name, Suf##k, Attrs | X86InstrFMA3Group::KMergeMasked) \ 29 FMA3GROUP(Name, Suf##kz, Attrs | X86InstrFMA3Group::KZeroMasked) 31 #define FMA3GROUP_PACKED_WIDTHS_Z(Name, Suf, Attrs) \ argument 32 FMA3GROUP_MASKED(Name, Suf##Z128m, Attrs) \ 33 FMA3GROUP_MASKED(Name, Suf##Z128r, Attrs) \ 34 FMA3GROUP_MASKED(Name, Suf##Z256m, Attrs) \ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 119 static bool shouldUpgradeX86Intrinsic(Function *F, StringRef Name) { in shouldUpgradeX86Intrinsic() argument 125 if (Name.consume_front("avx.")) in shouldUpgradeX86Intrinsic() 126 return (Name.starts_with("blend.p") || // Added in 3.7 in shouldUpgradeX86Intrinsic() 127 Name == "cvt.ps2.pd.256" || // Added in 3.9 in shouldUpgradeX86Intrinsic() 128 Name == "cvtdq2.pd.256" || // Added in 3.9 in shouldUpgradeX86Intrinsic() 129 Name == "cvtdq2.ps.256" || // Added in 7.0 in shouldUpgradeX86Intrinsic() 130 Name.starts_with("movnt.") || // Added in 3.2 in shouldUpgradeX86Intrinsic() 131 Name.starts_with("sqrt.p") || // Added in 7.0 in shouldUpgradeX86Intrinsic() 132 Name.starts_with("storeu.") || // Added in 3.9 in shouldUpgradeX86Intrinsic() 133 Name.starts_with("vbroadcast.s") || // Added in 3.5 in shouldUpgradeX86Intrinsic() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_win_defs.h | 68 #define WIN_WEAK_ALIAS(Name, Default) \ argument 69 __pragma(comment(linker, "/alternatename:" WIN_SYM_PREFIX STRINGIFY(Name) "="\ 72 #define WIN_FORCE_LINK(Name) \ argument 73 __pragma(comment(linker, "/include:" WIN_SYM_PREFIX STRINGIFY(Name))) 75 #define WIN_EXPORT(ExportedName, Name) \ argument 77 "=" WIN_EXPORT_PREFIX STRINGIFY(Name))) 89 # define WEAK_DEFAULT_NAME(Name) Name##__def argument 91 # define WEAK_EXPORT_NAME(Name) Name##__dll argument 96 # define WIN_WEAK_EXPORT_DEF(ReturnType, Name, ...) \ argument 97 WIN_WEAK_ALIAS(Name, WEAK_DEFAULT_NAME(Name)) \ [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | TypeName.h | 29 StringRef Name = __PRETTY_FUNCTION__; in getTypeName() local 32 Name = Name.substr(Name.find(Key)); in getTypeName() 33 assert(!Name.empty() && "Unable to find the template parameter!"); in getTypeName() 34 Name = Name.drop_front(Key.size()); in getTypeName() 36 assert(Name.ends_with("]") && "Name doesn't end in the substitution key!"); in getTypeName() 37 return Name in getTypeName() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVSupport.cpp | 34 std::string Name(Path); in transformPath() local 35 std::transform(Name.begin(), Name.end(), Name.begin(), tolower); in transformPath() 36 std::replace(Name.begin(), Name.end(), '\\', '/'); in transformPath() 40 while ((Pos = Name.find("//", Pos)) != std::string::npos) in transformPath() 41 Name.erase(Pos, 1); in transformPath() 43 return Name; in transformPath() 51 std::string Name(Path); in flattenedFilePath() local 52 std::transform(Name.begin(), Name.end(), Name.begin(), tolower); in flattenedFilePath() 55 char *Input = Name.data(); in flattenedFilePath() 61 return Name; in flattenedFilePath() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 64 virtual void InsertHelper(Instruction *I, const Twine &Name, in InsertHelper() argument 68 I->setName(Name); in InsertHelper() 83 void InsertHelper(Instruction *I, const Twine &Name, in InsertHelper() argument 85 IRBuilderDefaultInserter::InsertHelper(I, Name, InsertPt); in InsertHelper() 142 InstTy *Insert(InstTy *I, const Twine &Name = "") const { 143 Inserter.InsertHelper(I, Name, InsertPt); 153 Value *Insert(Value *V, const Twine &Name = "") const { 155 return Insert(I, Name); 453 GlobalVariable *CreateGlobalString(StringRef Str, const Twine &Name = "", 630 Function *MallocF = nullptr, const Twine &Name = ""); [all …]
|
/freebsd/contrib/libfido2/windows/ |
H A D | const.ps1 | 7 New-Variable -Name 'LIBRESSL_URL' ` 10 New-Variable -Name 'LIBRESSL' -Value 'libressl-3.7.3' -Option Constant 11 New-Variable -Name 'CRYPTO_LIBRARIES' -Value 'crypto-50' -Option Constant 14 New-Variable -Name 'LIBCBOR' -Value 'libcbor-0.10.2' -Option Constant 15 New-Variable -Name 'LIBCBOR_BRANCH' -Value 'v0.10.2' -Option Constant 16 New-Variable -Name 'LIBCBOR_GIT' -Value 'https://github.com/pjk/libcbor' ` 20 New-Variable -Name 'ZLIB' -Value 'zlib-1.3' -Option Constant 21 New-Variable -Name 'ZLIB_BRANCH' -Value 'v1.3' -Option Constant 22 New-Variable -Name 'ZLIB_GIT' -Value 'https://github.com/madler/zlib' ` 26 New-Variable -Name 'BUIL [all...] |
/freebsd/contrib/libxo/tests/core/saved/ |
H A D | test_09.T.out | 2 Name: gum 3 Name: rope 4 Name: ladder 5 Name: bolt 6 Name: water 10 Name: gum 11 Name: rope 12 Name: ladder 13 Name: bolt 14 Name: water [all …]
|
H A D | test_08.T.out | 27 Name: 0 + 1 = 1 28 Name: 1 + 1 = 2 29 Name: 2 + 1 = 3 32 Name: 0 + 1 = 1 33 Name: 1 + 1 = 2 34 Name: 2 + 1 = 3 37 Name: 0 + 1 = 1 38 Name: 1 + 1 = 2 39 Name: 2 + 1 = 3 42 Name: 0 + 1 = 1 [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | UnicodeNameToCodepoint.cpp | 37 StringRef Name; member 41 return !Name.empty() || Value == 0xFFFFFFFF; in isValid() 53 std::reverse_copy(N->Name.begin(), N->Name.end(), std::back_inserter(S)); in fullName() 86 N.Name = StringRef(UnicodeNameToCodepointDict + NameOffset, Size); in readNode() 88 N.Name = StringRef(UnicodeNameToCodepointDict + Size, 1); in readNode() 120 static bool startsWith(StringRef Name, StringRef Needle, bool Strict, in startsWith() argument 126 if (!Name.starts_with(Needle)) in startsWith() 134 auto NamePos = Name.begin(); in startsWith() 159 NamePos = IgnoreSpaces(NamePos, Name in startsWith() 180 compareNode(uint32_t Offset,StringRef Name,bool Strict,char PreviousCharInName,char PreviousCharInNeedle,BufferType & Buffer,const Node * Parent=nullptr) compareNode() argument 217 compareNode(uint32_t Offset,StringRef Name,bool Strict,BufferType & Buffer) compareNode() argument 261 findSyllable(StringRef Name,bool Strict,char & PreviousInName,int & Pos,int Column) findSyllable() argument 289 nameToHangulCodePoint(StringRef Name,bool Strict,BufferType & Buffer) nameToHangulCodePoint() argument 347 nameToGeneratedCodePoint(StringRef Name,bool Strict,BufferType & Buffer) nameToGeneratedCodePoint() argument 373 nameToCodepoint(StringRef Name,bool Strict,BufferType & Buffer) nameToCodepoint() argument 403 nameToCodepointStrict(StringRef Name) nameToCodepointStrict() argument 411 nameToCodepointLooseMatching(StringRef Name) nameToCodepointLooseMatching() argument 440 std::string Name; nearestMatchesForCodepointName() local 466 __anonef2277cc0602(StringRef Name) nearestMatchesForCodepointName() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Testing/Annotations/ |
H A D | Annotations.cpp | 30 std::optional<llvm::StringRef> Name; in Annotations() local 38 {Code.size(), size_t(-1), Name.value_or(""), Payload.value_or("")}); in Annotations() 39 Points[Name.value_or("")].push_back(All.size() - 1); in Annotations() 40 Name = std::nullopt; in Annotations() 46 {Code.size(), size_t(-1), Name.value_or(""), Payload.value_or("")}); in Annotations() 47 Name = std::nullopt; in Annotations() 51 Require(!Name, "$name should be followed by ^ or [["); in Annotations() 57 {NewRange.Begin, Code.size(), NewRange.Name, NewRange.Payload}); in Annotations() 58 Ranges[NewRange.Name].push_back(All.size() - 1); in Annotations() 64 Name = in Annotations() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | RecordName.cpp | 32 /// Name of the current type. Only valid before visitTypeEnd. 33 SmallString<256> Name; member in __anonfba922570111::TypeNameComputer 38 StringRef name() const { return Name; } in name() 46 #define TYPE_RECORD(EnumName, EnumVal, Name) \ argument 47 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override; 48 #define TYPE_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument 49 #define MEMBER_RECORD(EnumName, EnumVal, Name) argument 60 // Reset Name to the empty string. If the visitor sets it, we know it. in visitTypeBegin() 61 Name = ""; in visitTypeBegin() 70 Name in visitKnownRecord() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Passes/ |
H A D | PassBuilder.cpp | 526 parseFunctionPipelineName(StringRef Name) { in parseFunctionPipelineName() argument 528 if (!Name.consume_front("function")) in parseFunctionPipelineName() 530 if (Name.empty()) in parseFunctionPipelineName() 532 if (!Name.consume_front("<") || !Name.consume_back(">")) in parseFunctionPipelineName() 534 while (!Name.empty()) { in parseFunctionPipelineName() 535 auto [Front, Back] = Name.split(';'); in parseFunctionPipelineName() 536 Name = Back; in parseFunctionPipelineName() 547 static std::optional<int> parseDevirtPassName(StringRef Name) { in parseDevirtPassName() argument 548 if (!Name.consume_front("devirt<") || !Name.consume_back(">")) in parseDevirtPassName() 551 if (Name.getAsInteger(0, Count) || Count < 0) in parseDevirtPassName() [all …]
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | aslpredef.c | 175 char *Name); 248 ThisName->Info.Name, RequiredArgCount); in ApCheckForPredefinedMethod() 274 AslGbl_StringBuffer, ThisName->Info.Name); in ApCheckForPredefinedMethod() 415 ApCheckObjectType (ThisName->Info.Name, ReturnValueOp, in ApCheckPredefinedReturnValue() 461 char *Name) in ApCheckForPredefinedObject() argument 472 Index = ApCheckForPredefinedName (Op, Name); in ApCheckForPredefinedObject() 529 ApCheckObjectType (ThisName->Info.Name, Op->Asl.Child->Asl.Next, in ApCheckForPredefinedObject() 557 char *Name) in ApCheckForPredefinedName() argument 563 if (Name[0] == 0) in ApCheckForPredefinedName() 571 if (Name[0] != '_') in ApCheckForPredefinedName() [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | SearchableTableEmitter.cpp | 48 std::string Name; member 56 std::string Name; member 63 GenericField(StringRef Name) : Name(std::string(Name)) {} in GenericField() 67 std::string Name; member 75 std::string Name; member 85 const GenericField *getFieldByName(StringRef Name) const { in getFieldByName() 87 if (Name == Field.Name) in getFieldByName() 135 Twine("Entry for field '") + Field.Name + "' is null"); in primaryRepresentation() 138 PrintFatalError(Loc, Twine("invalid field type for field '") + Field.Name + in primaryRepresentation() 177 PrintFatalError(Index.Loc, Twine("In table '") + Table.Name + in searchableFieldType() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/disassembler/ |
H A D | dmnames.c | 185 UINT32 Name) in AcpiDmDumpName() argument 194 *ACPI_CAST_PTR (UINT32, &NewName[0]) = Name; in AcpiDmDumpName() 321 char *Name) in AcpiDmNamestring() argument 326 if (!Name) in AcpiDmNamestring() 333 while (ACPI_IS_ROOT_PREFIX (ACPI_GET8 (Name)) || in AcpiDmNamestring() 334 ACPI_IS_PARENT_PREFIX (ACPI_GET8 (Name))) in AcpiDmNamestring() 338 AcpiOsPrintf ("%1c", ACPI_GET8 (Name)); in AcpiDmNamestring() 339 Name++; in AcpiDmNamestring() 342 switch (ACPI_GET8 (Name)) in AcpiDmNamestring() 352 Name++; in AcpiDmNamestring() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/ |
H A D | WebAssemblyAsmTypeCheck.cpp | 251 auto Name = GetMnemonic(Opc); in typeCheck() local 252 dumpTypeStack("typechecking " + Name + ": "); in typeCheck() 254 if (Name == "local.get") { in typeCheck() 258 } else if (Name == "local.set") { in typeCheck() 263 } else if (Name == "local.tee") { in typeCheck() 269 } else if (Name == "global.get") { in typeCheck() 273 } else if (Name == "global.set") { in typeCheck() 278 } else if (Name == "table.get") { in typeCheck() 284 } else if (Name == "table.set") { in typeCheck() 291 } else if (Name == "table.size") { in typeCheck() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
H A D | RecordsSlice.cpp | 23 Record *RecordsSlice::addRecord(StringRef Name, SymbolFlags Flags, in addRecord() argument 26 auto [APIName, SymKind, InterfaceType] = parseSymbol(Name); in addRecord() 27 Name = APIName; in addRecord() 30 return addGlobal(Name, Linkage, GV, Flags); in addRecord() 32 return addObjCInterface(Name, Linkage, InterfaceType); in addRecord() 34 ObjCInterfaceRecord *Rec = addObjCInterface(Name, Linkage, InterfaceType); in addRecord() 42 auto [Super, IVar] = Name.split('.'); in addRecord() 56 StringRef Name) const { in findContainer() 57 StringRef Super = IsIVar ? Name.split('.').first : Name; in findContainer() 74 GlobalRecord *RecordsSlice::findGlobal(StringRef Name, in findGlobal() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | RISCV.h | 54 bool setCPU(const std::string &Name) override { in setCPU() argument 55 if (!isValidCPUName(Name)) in setCPU() 57 CPU = Name; in setCPU() 91 bool validateAsmConstraint(const char *&Name, 119 bool isValidCPUName(StringRef Name) const override; 121 bool isValidTuneCPUName(StringRef Name) const override; 140 bool setABI(const std::string &Name) override { in setABI() argument 141 if (Name == "ilp32e") { in setABI() 142 ABI = Name; in setABI() 147 if (Name == "ilp32" || Name == "ilp32f" || Name == "ilp32d") { in setABI() [all …]
|