/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | ARMTargetDefEmitter.cpp | 62 if (Rec->getValueAsString("FieldName") == FieldName) { in EmitARMTargetDef() 63 Set.insert(Rec->getValueAsString("Value")); in EmitARMTargetDef() 73 const auto NameA = A->getValueAsString("Name"); in EmitARMTargetDef() 74 const auto NameB = B->getValueAsString("Name"); in EmitARMTargetDef() 111 auto AEK = Rec->getValueAsString("ArchExtKindSpelling").upper(); in EmitARMTargetDef() 123 auto AEK = Rec->getValueAsString("ArchExtKindSpelling").upper(); in EmitARMTargetDef() 125 OS << "{\"" << Rec->getValueAsString("UserVisibleName") << "\""; in EmitARMTargetDef() 126 if (auto Alias = Rec->getValueAsString("UserVisibleAlias"); Alias.empty()) in EmitARMTargetDef() 131 OS << ", \"" << Rec->getValueAsString("ArchFeatureName") << "\""; in EmitARMTargetDef() 132 OS << ", \"" << Rec->getValueAsString("Desc") << "\""; in EmitARMTargetDef() [all …]
|
H A D | OptParserEmitter.cpp | 27 return std::string(R.getValueAsString("EnumName")); in getOptionName() 39 StringRef Name = R.getValueAsString("Name"); in getOptionPrefixedName() 152 Ret.MacroPrefix = R.getValueAsString("MacroPrefix"); in createMarshallingInfo() 153 Ret.KeyPath = R.getValueAsString("KeyPath"); in createMarshallingInfo() 154 Ret.DefaultValue = R.getValueAsString("DefaultValue"); in createMarshallingInfo() 155 Ret.NormalizedValuesScope = R.getValueAsString("NormalizedValuesScope"); in createMarshallingInfo() 156 Ret.ImpliedCheck = R.getValueAsString("ImpliedCheck"); in createMarshallingInfo() 160 Ret.ShouldParse = R.getValueAsString("ShouldParse"); in createMarshallingInfo() 161 Ret.Normalizer = R.getValueAsString("Normalizer"); in createMarshallingInfo() 162 Ret.Denormalizer = R.getValueAsString("Denormalizer"); in createMarshallingInfo() [all …]
|
H A D | ExegesisEmitter.cpp | 66 const llvm::StringRef Counter = PfmCounterDef->getValueAsString("Counter"); in collectPfmCounters() 76 IssueCounter->getValueAsString("ResourceName"); in collectPfmCounters() 123 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo() 125 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo() 141 getPfmCounterId(ValidationCounter->getValueAsString("Counter"))}); in emitPfmCounters() 211 << getPfmCounterId(ICDef->getValueAsString("Counter")) << "], \"" 212 << ICDef->getValueAsString("ResourceName") << "\"},\n"; 230 return L->getValueAsString("CpuName") < R->getValueAsString("CpuName"); 238 << Binding->getValueAsString("CpuNam [all...] |
H A D | OptRSTEmitter.cpp | 32 OptionsByGroup.try_emplace(R.getValueAsString("Name")); in EmitOptRST() 39 OptionsByGroup[DI->getDef()->getValueAsString("Name")].push_back(Opts[i]); in EmitOptRST() 61 OS << R->getValueAsString("Name"); in EmitOptRST() 66 MetaVarName = R->getValueAsString("MetaVarName"); in EmitOptRST() 80 HelpText = R->getValueAsString("HelpText").trim().str(); in EmitOptRST() 87 SplitString(R->getValueAsString("Values"), Values, ","); in EmitOptRST()
|
H A D | RISCVTargetDefEmitter.cpp | 22 StringRef Name = R->getValueAsString("Name"); in getExtensionName() 138 StringRef Name = Rec->getValueAsString("Name"); in printProfileTable() 178 return Feature->getValueAsString("Name") == "unaligned-scalar-mem"; in emitRISCVProcs() 182 return Feature->getValueAsString("Name") == "unaligned-vector-mem"; in emitRISCVProcs() 185 OS << "PROC(" << Rec->getName() << ", {\"" << Rec->getValueAsString("Name") in emitRISCVProcs() 188 StringRef MArch = Rec->getValueAsString("DefaultMarch"); in emitRISCVProcs() 207 << "\"" << Rec->getValueAsString("Name") << "\")\n"; in emitRISCVProcs() 231 StringRef ExtName = Rec->getValueAsString("Name"); in emitRISCVExtensionBitmask()
|
H A D | Attributes.cpp | 49 << A->getValueAsString("AttrString") << ")\n"; in emitTargetIndependentNames() 92 StringRef FuncName = Rule->getValueAsString("CompatFunc"); in emitFnAttrCompatCheck() 94 StringRef AttrName = Rule->getValueAsString("AttrName"); in emitFnAttrCompatCheck() 110 StringRef FuncName = Rule->getValueAsString("MergeFunc"); in emitFnAttrCompatCheck()
|
H A D | VTEmitter.cpp | 43 auto OutputVTName = OutputVT->getValueAsString("LLVMName"); in VTtoGetLLVMTyString() 116 auto Name = VT->getValueAsString("LLVMName"); in run() 173 << VT->getValueAsString("LLVMName") << ", " in run() 192 OS << " GET_VT_EVT(" << VT->getValueAsString("LLVMName") << ", "; in run()
|
H A D | AsmMatcherEmitter.cpp | 1114 if (!IsAlias && TheDef->getValueAsString("AsmMatchConverter").empty() && in validate() 1414 CI->ClassName = std::string(Rec->getValueAsString("Name")); in buildOperandClasses() 1534 AsmVariant->getValueAsString("CommentDelimiter"); in buildInfo() 1536 Variant.RegisterPrefix = AsmVariant->getValueAsString("RegisterPrefix"); in buildInfo() 1538 AsmVariant->getValueAsString("TokenizingCharacters"); in buildInfo() 1540 AsmVariant->getValueAsString("SeparatorCharacters"); in buildInfo() 1541 Variant.BreakCharacters = AsmVariant->getValueAsString("BreakCharacters"); in buildInfo() 1542 Variant.Name = AsmVariant->getValueAsString("Name"); in buildInfo() 1557 StringRef V = CGI->TheDef->getValueAsString("AsmVariantName"); in buildInfo() 1587 StringRef V = Alias->TheDef->getValueAsString("AsmVariantName"); in buildInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | DirectiveEmitter.h | 24 StringRef getName() const { return Def->getValueAsString("name"); } in getName() 27 return Def->getValueAsString("cppNamespace"); in getCppNamespace() 31 return Def->getValueAsString("directivePrefix"); in getDirectivePrefix() 35 return Def->getValueAsString("clausePrefix"); in getClausePrefix() 39 return Def->getValueAsString("clauseEnumSetClass"); in getClauseEnumSetClass() 43 return Def->getValueAsString("flangClauseBaseClass"); in getFlangClauseBaseClass() 87 StringRef getName() const { return Def->getValueAsString("name"); } in getName() 90 return Def->getValueAsString("alternativeName"); in getAlternativeName() 96 StringRef Name = Def->getValueAsString("name"); in getFormattedName() 150 return Def->getValueAsString("clangClass"); in getClangClass() [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | PredicateExpander.cpp | 98 const StringRef Str = Reg->getValueAsString("Namespace"); in expandCheckRegOperand() 137 << (shouldNegate() ? "!= " : "== ") << Inst->getValueAsString("Namespace") in expandCheckOpcode() 273 OS << "case " << Opcode->getValueAsString("Namespace") in expandOpcodeSwitchCase() 359 Rec->getValueAsString("FunctionMapper")); in expandPredicate() 363 Rec->getValueAsString("FunctionMapper")); in expandPredicate() 371 Rec->getValueAsString("FunctionMapper")); in expandPredicate() 375 Rec->getValueAsString("ImmVal"), in expandPredicate() 376 Rec->getValueAsString("FunctionMapper")); in expandPredicate() 381 Rec->getValueAsString("FunctionMapper")); in expandPredicate() 386 Rec->getValueAsString("FunctionMapper")); in expandPredicate() [all …]
|
H A D | CodeGenInstruction.cpp | 86 PrintMethod = std::string(Rec->getValueAsString("PrintMethod")); in CGIOperandList() 87 OperandType = std::string(Rec->getValueAsString("OperandType")); in CGIOperandList() 88 OperandNamespace = std::string(Rec->getValueAsString("OperandNamespace")); in CGIOperandList() 89 EncoderMethod = std::string(Rec->getValueAsString("EncoderMethod")); in CGIOperandList() 91 PrintMethod = std::string(Rec->getValueAsString("PrintMethod")); in CGIOperandList() 92 OperandType = std::string(Rec->getValueAsString("OperandType")); in CGIOperandList() 93 OperandNamespace = std::string(Rec->getValueAsString("OperandNamespace")); in CGIOperandList() 95 EncoderMethod = std::string(Rec->getValueAsString("EncoderMethod")); in CGIOperandList() 433 Namespace = R->getValueAsString("Namespace"); in CodeGenInstruction() 434 AsmString = std::string(R->getValueAsString("AsmString")); in CodeGenInstruction() [all …]
|
/freebsd/contrib/llvm-project/lldb/utils/TableGen/ |
H A D | LLDBPropertyDefEmitter.cpp | 34 OS << "\"" << Property->getValueAsString("Name") << "\""; in emitProperty() 38 llvm::StringRef type = Property->getValueAsString("Type"); in emitProperty() 63 assert(!(Property->getValueAsString("Type") == "Boolean" && in emitProperty() 68 assert(!(Property->getValueAsString("Type") == "String" && in emitProperty() 74 !(Property->getValueAsString("Type") == "Enum" && !hasDefaultEnumValue) && in emitProperty() 85 OS << Property->getValueAsString("DefaultEnumValue"); in emitProperty() 88 OS << Property->getValueAsString("ElementType"); in emitProperty() 110 OS << Property->getValueAsString("EnumValues"); in emitProperty()
|
H A D | LLDBOptionDefEmitter.cpp | 57 FullName = std::string(Option->getValueAsString("FullName")); in CommandOption() 58 ShortName = std::string(Option->getValueAsString("ShortName")); in CommandOption() 65 Validator = std::string(Option->getValueAsString("Validator")); in CommandOption()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ASTTableGen.h | 266 return get()->getValueAsString(CXXTypeNameFieldName); in getCXXTypeName() 306 return get()->getValueAsString(SubclassClassNameFieldName); in getSubclassClassName() 315 return get()->getValueAsString(PackOptionalCodeFieldName); in getPackOptionalCode() 319 return get()->getValueAsString(UnpackOptionalCodeFieldName); in getUnpackOptionalCode() 348 return get()->getValueAsString(KindPropertyNameFieldName); in getKindPropertyName() 353 return get()->getValueAsString(ReadFieldName); in getReadCode() 368 return get()->getValueAsString(NameFieldName); in getCaseName() 388 return get()->getValueAsString(NameFieldName); in getName() 403 return get()->getValueAsString(ReadFieldName); in getReadCode() 408 return get()->getValueAsString(ConditionalCodeFieldName); in getCondition() [all …]
|
H A D | ClangOptionDocEmitter.cpp | 78 OptionsByName[std::string(R->getValueAsString("Name"))] = R; in extractDocumentation() 111 std::string Name = std::string(R->getValueAsString("Name")); in extractDocumentation() 130 return A->getValueAsString("Name") < B->getValueAsString("Name"); in extractDocumentation() 214 for (char C : Option->getValueAsString("Name")) in canSphinxCopeWithOption() 244 OS << Prefix << escapeRST(Option->getValueAsString("Name")); in emitOptionWithArgs() 265 Args.push_back(std::string(Option->getValueAsString("MetaVarName"))); in emitOptionName() 334 (Prefix + Option->getValueAsString("Name")).str()))); in emitOption() 346 std::string Program = DocInfo->getValueAsString("Program").lower(); in emitOption() 379 Description = escapeRST(VisibilityHelp->getValueAsString("Text")); in emitOption() 401 MetaVarName = R->getValueAsString("MetaVarName"); in emitOption() [all …]
|
H A D | ClangOpcodesEmitter.cpp | 89 StringRef N = Opcode->getValueAsString("Name"); in run() 137 OS << "ReadArg<" << Arg->getValueAsString("Name") in EmitInterp() 180 OS << " << ReadArg<" << Arg->getValueAsString("Name") << ">(P, PC)"; in EmitDisasm() 204 auto Name = Arg->getValueAsString("Name"); in EmitEmitter() 216 OS << Args[I]->getValueAsString("Name"); in EmitEmitter() 236 auto Name = Arg->getValueAsString("Name"); in EmitProto() 257 OS << Arg->getValueAsString("Name") << ", "; in EmitProto() 281 OS << Arg->getValueAsString("Name") << ", "; in EmitGroup() 299 auto Name = Arg->getValueAsString("Name"); in EmitGroup() 373 auto Name = Arg->getValueAsString("Name"); in EmitEval()
|
H A D | ClangCommentCommandInfoEmitter.cpp | 34 << "\"" << Tag.getValueAsString("Name") << "\", " in EmitClangCommentCommandInfo() 35 << "\"" << Tag.getValueAsString("EndCommandName") << "\", " << i << ", " in EmitClangCommentCommandInfo() 66 std::string Name = std::string(Tag.getValueAsString("Name")); in EmitClangCommentCommandInfo() 127 std::string MangledName = MangleName(Tag.getValueAsString("Name")); in EmitClangCommentCommandList()
|
H A D | ClangBuiltinsEmitter.cpp | 34 ParsePrototype(Builtin->getValueAsString("Prototype")); in PrototypeParser() 201 for (char c : Builtin->getValueAsString("Header")) { in HeaderNameParser() 237 OS << Attr->getValueAsString("Mangling"); in PrintAttributes() 278 OS << ", " << Builtin->getValueAsString("Languages"); in EmitBuiltinDef() 282 OS << ", \"" << Builtin->getValueAsString("Features") << "\""; in EmitBuiltinDef() 384 OS << Entry->getValueAsString("Entry") << '\n'; in EmitClangBuiltins()
|
H A D | ClangDiagnosticsEmitter.cpp | 66 std::string CatName = std::string(Group->getValueAsString("CategoryName")); in getCategoryFromDiagGroup() 92 return std::string(R->getValueAsString("CategoryName")); in getDiagnosticCategory() 150 return LHS->getValueAsString("GroupName") < in diagGroupBeforeByName() 151 RHS->getValueAsString("GroupName"); in diagGroupBeforeByName() 168 std::string(DI->getDef()->getValueAsString("GroupName")); in groupDiagnostics() 177 DiagsInGroup[std::string(Group->getValueAsString("GroupName"))]; in groupDiagnostics() 184 std::string(SubGroups[j]->getValueAsString("GroupName"))); in groupDiagnostics() 301 std::string(Group->getValueAsString("GroupName")); in isSubGroupOfGroup() 322 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in isOffByDefault() 331 DiagsInGroup[std::string(Group->getValueAsString("GroupName"))]; in groupInPedantic() [all …]
|
H A D | RISCVVEmitter.cpp | 503 StringRef Name = R->getValueAsString("Name"); in createRVVIntrinsics() 504 StringRef SuffixProto = R->getValueAsString("Suffix"); in createRVVIntrinsics() 505 StringRef OverloadedName = R->getValueAsString("OverloadedName"); in createRVVIntrinsics() 506 StringRef OverloadedSuffixProto = R->getValueAsString("OverloadedSuffix"); in createRVVIntrinsics() 507 StringRef Prototypes = R->getValueAsString("Prototype"); in createRVVIntrinsics() 508 StringRef TypeRange = R->getValueAsString("TypeRange"); in createRVVIntrinsics() 523 StringRef ManualCodegen = R->getValueAsString("ManualCodegen"); in createRVVIntrinsics() 528 StringRef IRName = R->getValueAsString("IRName"); in createRVVIntrinsics() 529 StringRef MaskedIRName = R->getValueAsString("MaskedIRName"); in createRVVIntrinsics() 701 StringRef HeaderCodeStr = R->getValueAsString("HeaderCode"); in printHeaderCode()
|
H A D | ClangSACheckersEmitter.cpp | 41 assert(!R->getValueAsString("PackageName").empty()); in getPackageFullName() 42 name += R->getValueAsString("PackageName"); in getPackageFullName() 50 assert(!R->getValueAsString("CheckerName").empty()); in getCheckerFullName() 51 name += R->getValueAsString("CheckerName"); in getCheckerFullName()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Statepoint.cpp | 30 if (!AttrID.getValueAsString().getAsInteger(10, StatepointID)) in parseStatepointDirectivesFromAttrs() 36 if (!AttrNumPatchBytes.getValueAsString().getAsInteger(10, NumPatchBytes)) in parseStatepointDirectivesFromAttrs()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYTargetMachine.cpp | 71 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl() 73 TuneAttr.isValid() ? TuneAttr.getValueAsString().str() : CPU; in getSubtargetImpl() 75 FSAttr.isValid() ? FSAttr.getValueAsString().str() : TargetFS; in getSubtargetImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetOptionsImpl.cpp | 33 StringRef FP = F.getFnAttribute("frame-pointer").getValueAsString(); in DisableFramePointerElim() 53 StringRef FP = F.getFnAttribute("frame-pointer").getValueAsString(); in FramePointerIsReserved()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64MachineFunctionInfo.cpp | 49 StringRef Scope = F.getFnAttribute("sign-return-address").getValueAsString(); in GetSignReturnAddress() 70 F.getFnAttribute("sign-return-address-key").getValueAsString(); in ShouldSignWithBKey() 111 ProbeKind = F.getFnAttribute("probe-stack").getValueAsString(); in AArch64FunctionInfo()
|