Home
last modified time | relevance | path

Searched refs:getValueAsString (Results 1 – 25 of 174) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DOptParserEmitter.cpp58 if (int Cmp = StrCmpOptionName(A->getValueAsString("Name").str().c_str(), in CompareOptionRecords()
59 B->getValueAsString("Name").str().c_str())) in CompareOptionRecords()
96 return R.getValueAsString("EnumName"); in getOptionName()
172 OS << ", \"" << R.getValueAsString("Name") << '"'; in EmitOptParser()
194 write_cstring(OS, R.getValueAsString("HelpText")); in EmitOptParser()
219 write_cstring(OS, R.getValueAsString("Name")); in EmitOptParser()
225 OS << ", " << R.getValueAsDef("Kind")->getValueAsString("Name"); in EmitOptParser()
280 write_cstring(OS, R.getValueAsString("HelpText")); in EmitOptParser()
287 write_cstring(OS, R.getValueAsString("MetaVarName")); in EmitOptParser()
294 write_cstring(OS, R.getValueAsString("Values")); in EmitOptParser()
[all …]
DPredicateExpander.cpp41 const StringRef Str = Reg->getValueAsString("Namespace"); in expandCheckRegOperand()
69 << (shouldNegate() ? "!= " : "== ") << Inst->getValueAsString("Namespace") in expandCheckOpcode()
224 Rec->getValueAsString("ImmVal")); in expandPredicate()
249 OS, Rec->getValueAsString("MCInstFnName"), in expandPredicate()
250 Rec->getValueAsString("MachineInstrFnName")); in expandPredicate()
253 return expandCheckNonPortable(OS, Rec->getValueAsString("CodeBlock")); in expandPredicate()
256 return expandTIIFunctionCall(OS, Rec->getValueAsString("TargetName"), in expandPredicate()
257 Rec->getValueAsString("FunctionName")); in expandPredicate()
DCodeGenInstruction.cpp77 PrintMethod = Rec->getValueAsString("PrintMethod"); in CGIOperandList()
78 OperandType = Rec->getValueAsString("OperandType"); in CGIOperandList()
79 OperandNamespace = Rec->getValueAsString("OperandNamespace"); in CGIOperandList()
80 EncoderMethod = Rec->getValueAsString("EncoderMethod"); in CGIOperandList()
82 PrintMethod = Rec->getValueAsString("PrintMethod"); in CGIOperandList()
83 OperandType = Rec->getValueAsString("OperandType"); in CGIOperandList()
84 OperandNamespace = Rec->getValueAsString("OperandNamespace"); in CGIOperandList()
86 EncoderMethod = Rec->getValueAsString("EncoderMethod"); in CGIOperandList()
301 Namespace = R->getValueAsString("Namespace"); in CodeGenInstruction()
302 AsmString = R->getValueAsString("AsmString"); in CodeGenInstruction()
[all …]
DAttributes.cpp65 OS << " .Case(\"" << A->getValueAsString("AttrString"); in emitConversionFn()
116 StringRef FuncName = Rule->getValueAsString("CompatFunc"); in emitFnAttrCompatCheck()
130 StringRef FuncName = Rule->getValueAsString("MergeFunc"); in emitFnAttrCompatCheck()
158 OS << " return \"" << R->getValueAsString("AttrString") << "\";\n"; in printStrBoolAttrClasses()
DAsmMatcherEmitter.cpp1372 CI->ClassName = Rec->getValueAsString("Name"); in buildOperandClasses()
1489 AsmVariant->getValueAsString("CommentDelimiter"); in buildInfo()
1491 Variant.RegisterPrefix = AsmVariant->getValueAsString("RegisterPrefix"); in buildInfo()
1493 AsmVariant->getValueAsString("TokenizingCharacters"); in buildInfo()
1495 AsmVariant->getValueAsString("SeparatorCharacters"); in buildInfo()
1497 AsmVariant->getValueAsString("BreakCharacters"); in buildInfo()
1498 Variant.Name = AsmVariant->getValueAsString("Name"); in buildInfo()
1513 StringRef V = CGI->TheDef->getValueAsString("AsmVariantName"); in buildInfo()
1544 StringRef V = Alias->TheDef->getValueAsString("AsmVariantName"); in buildInfo()
1614 II->TheDef->getValueAsString("TwoOperandAliasConstraint"); in buildInfo()
[all …]
DCodeEmitterGen.cpp220 StringRef PostEmitter = R->getValueAsString("PostEncoderMethod"); in getInstructionCase()
253 if (R->getValueAsString("Namespace") == "TargetOpcode" || in run()
278 if (R->getValueAsString("Namespace") == "TargetOpcode" || in run()
282 (R->getValueAsString("Namespace") + "::" + R->getName()).str(); in run()
DSearchableTableEmitter.cpp568 Name = EntryRec->getValueAsString(NameField); in collectEnumEntries()
637 NameField = EnumRec->getValueAsString("NameField"); in run()
641 ValueField = EnumRec->getValueAsString("ValueField"); in run()
647 StringRef FilterClass = EnumRec->getValueAsString("FilterClass"); in run()
663 Table->CppTypeName = TableRec->getValueAsString("CppTypeName"); in run()
679 TableRec->getValueAsString("FilterClass"))); in run()
683 parseSearchIndex(*Table, TableRec->getValueAsString("PrimaryKeyName"), in run()
721 StringRef NameField = Class->getValueAsString("EnumNameField"); in run()
724 ValueField = Class->getValueAsString("EnumValueField"); in run()
/external/llvm/utils/TableGen/
DOptParserEmitter.cpp56 if (int Cmp = StrCmpOptionName(A->getValueAsString("Name").c_str(), in CompareOptionRecords()
57 B->getValueAsString("Name").c_str())) in CompareOptionRecords()
94 return R.getValueAsString("EnumName"); in getOptionName()
170 OS << ", \"" << R.getValueAsString("Name") << '"'; in EmitOptParser()
192 write_cstring(OS, R.getValueAsString("HelpText")); in EmitOptParser()
214 write_cstring(OS, R.getValueAsString("Name")); in EmitOptParser()
220 OS << ", " << R.getValueAsDef("Kind")->getValueAsString("Name"); in EmitOptParser()
275 write_cstring(OS, R.getValueAsString("HelpText")); in EmitOptParser()
282 write_cstring(OS, R.getValueAsString("MetaVarName")); in EmitOptParser()
DCodeGenInstruction.cpp77 PrintMethod = Rec->getValueAsString("PrintMethod"); in CGIOperandList()
78 OperandType = Rec->getValueAsString("OperandType"); in CGIOperandList()
79 OperandNamespace = Rec->getValueAsString("OperandNamespace"); in CGIOperandList()
81 PrintMethod = Rec->getValueAsString("PrintMethod"); in CGIOperandList()
82 OperandType = Rec->getValueAsString("OperandType"); in CGIOperandList()
83 OperandNamespace = Rec->getValueAsString("OperandNamespace"); in CGIOperandList()
85 EncoderMethod = Rec->getValueAsString("EncoderMethod"); in CGIOperandList()
300 Namespace = R->getValueAsString("Namespace"); in CodeGenInstruction()
301 AsmString = R->getValueAsString("AsmString"); in CodeGenInstruction()
346 ParseConstraints(R->getValueAsString("Constraints"), Operands); in CodeGenInstruction()
[all …]
DAttributes.cpp67 OS << " .Case(\"" << A->getValueAsString("AttrString"); in emitConversionFn()
118 std::string FuncName = Rule->getValueAsString("CompatFunc"); in emitFnAttrCompatCheck()
132 std::string FuncName = Rule->getValueAsString("MergeFunc"); in emitFnAttrCompatCheck()
160 OS << " return \"" << R->getValueAsString("AttrString") << "\";\n"; in printStrBoolAttrClasses()
DCodeGenTarget.cpp139 Namespace = R->getValueAsString("Namespace"); in getQualifiedName()
348 if (R->getValueAsString("Namespace") == "TargetOpcode" || in reverseBitsForLittleEndianEncoding()
393 SelectFunc = R->getValueAsString("SelectFunc"); in ComplexPattern()
466 GCCBuiltinName = R->getValueAsString("GCCBuiltinName"); in CodeGenIntrinsic()
468 MSBuiltinName = R->getValueAsString("MSBuiltinName"); in CodeGenIntrinsic()
470 TargetPrefix = R->getValueAsString("TargetPrefix"); in CodeGenIntrinsic()
471 Name = R->getValueAsString("LLVMName"); in CodeGenIntrinsic()
DCodeEmitterGen.cpp212 std::string PostEmitter = R->getValueAsString("PostEncoderMethod"); in getInstructionCase()
243 if (R->getValueAsString("Namespace") == "TargetOpcode" || in run()
268 if (R->getValueAsString("Namespace") == "TargetOpcode" || in run()
271 const std::string &InstName = R->getValueAsString("Namespace") + "::" in run()
DAsmMatcherEmitter.cpp1350 CI->ClassName = Rec->getValueAsString("Name"); in buildOperandClasses()
1465 AsmVariant->getValueAsString("CommentDelimiter"); in buildInfo()
1467 Variant.RegisterPrefix = AsmVariant->getValueAsString("RegisterPrefix"); in buildInfo()
1469 AsmVariant->getValueAsString("TokenizingCharacters"); in buildInfo()
1471 AsmVariant->getValueAsString("SeparatorCharacters"); in buildInfo()
1473 AsmVariant->getValueAsString("BreakCharacters"); in buildInfo()
1581 II->TheDef->getValueAsString("TwoOperandAliasConstraint"); in buildInfo()
1605 ClassInfo *FromClass = getTokenClass(Rec->getValueAsString("FromToken")); in buildInfo()
1606 ClassInfo *ToClass = getTokenClass(Rec->getValueAsString("ToToken")); in buildInfo()
1650 if (MatchClass && MatchClass->getValueAsString("Name") == "Imm") { in buildInstructionOperandReference()
[all …]
/external/clang/utils/TableGen/
DClangCommentCommandInfoEmitter.cpp33 << "\"" << Tag.getValueAsString("Name") << "\", " in EmitClangCommentCommandInfo()
34 << "\"" << Tag.getValueAsString("EndCommandName") << "\", " in EmitClangCommentCommandInfo()
66 std::string Name = Tag.getValueAsString("Name"); in EmitClangCommentCommandInfo()
120 std::string MangledName = MangleName(Tag.getValueAsString("Name")); in EmitClangCommentCommandList()
DClangDiagnosticsEmitter.cpp66 std::string CatName = Group->getValueAsString("CategoryName"); in getCategoryFromDiagGroup()
92 return R->getValueAsString("CategoryName"); in getDiagnosticCategory()
176 std::string GroupName = DI->getDef()->getValueAsString("GroupName"); in groupDiagnostics()
187 GroupInfo &GI = DiagsInGroup[Group->getValueAsString("GroupName")]; in groupDiagnostics()
200 GI.SubGroups.push_back(SubGroups[j]->getValueAsString("GroupName")); in groupDiagnostics()
227 std::string Name = (*I)->ExplicitDef->getValueAsString("GroupName"); in groupDiagnostics()
264 std::string Name = NextDiagGroup->getValueAsString("GroupName"); in groupDiagnostics()
341 const std::string &GroupName = Group->getValueAsString("GroupName"); in isSubGroupOfGroup()
361 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in isOffByDefault()
369 const GroupInfo &GI = DiagsInGroup[Group->getValueAsString("GroupName")]; in groupInPedantic()
[all …]
DClangSACheckersEmitter.cpp39 return !R->getValueAsString("CheckerName").empty(); in isCheckerNamed()
54 return name + R->getValueAsString("PackageName"); in getPackageFullName()
61 name += R->getValueAsString("CheckerName"); in getCheckerFullName()
123 std::string name = R->getValueAsString("GroupName"); in EmitClangSACheckers()
179 sortedGroups[checkerGroups[i]->getValueAsString("GroupName")] in EmitClangSACheckers()
188 OS.write_escaped(R->getValueAsString("GroupName")) << "\""; in EmitClangSACheckers()
DClangCommentHTMLTagsEmitter.cpp27 Matches.emplace_back(Tag->getValueAsString("Spelling"), "return true;"); in EmitClangCommentHTMLTags()
44 std::string Spelling = Tag->getValueAsString("Spelling"); in EmitClangCommentHTMLTagsProperties()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenInstruction.cpp74 PrintMethod = Rec->getValueAsString("PrintMethod"); in CGIOperandList()
76 PrintMethod = Rec->getValueAsString("PrintMethod"); in CGIOperandList()
77 OperandType = Rec->getValueAsString("OperandType"); in CGIOperandList()
79 EncoderMethod = Rec->getValueAsString("EncoderMethod"); in CGIOperandList()
291 Namespace = R->getValueAsString("Namespace"); in CodeGenInstruction()
292 AsmString = R->getValueAsString("AsmString"); in CodeGenInstruction()
329 ParseConstraints(R->getValueAsString("Constraints"), Operands); in CodeGenInstruction()
332 Operands.ProcessDisableEncoding(R->getValueAsString("DisableEncoding")); in CodeGenInstruction()
482 AsmString = R->getValueAsString("AsmString"); in CodeGenInstAlias()
DCodeEmitterGen.cpp37 if (R->getValueAsString("Namespace") == "TargetOpcode" || in reverseBits()
203 std::string PostEmitter = R->getValueAsString("PostEncoderMethod"); in getInstructionCase()
239 if (R->getValueAsString("Namespace") == "TargetOpcode" || in run()
264 if (R->getValueAsString("Namespace") == "TargetOpcode" || in run()
267 const std::string &InstName = R->getValueAsString("Namespace") + "::" in run()
DCodeGenTarget.cpp104 Namespace = R->getValueAsString("Namespace"); in getQualifiedName()
177 if (Regs[i]->TheDef->getValueAsString("AsmName") == Name) in getRegisterByName()
310 SelectFunc = R->getValueAsString("SelectFunc"); in ComplexPattern()
375 GCCBuiltinName = R->getValueAsString("GCCBuiltinName"); in CodeGenIntrinsic()
377 TargetPrefix = R->getValueAsString("TargetPrefix"); in CodeGenIntrinsic()
378 Name = R->getValueAsString("LLVMName"); in CodeGenIntrinsic()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetMachine.cpp256 ? CPUAttr.getValueAsString() in getSubtargetImpl()
259 ? FSAttr.getValueAsString() in getSubtargetImpl()
273 F.getFnAttribute("use-soft-float").getValueAsString() == "true"; in getSubtargetImpl()
286 StringRef Val = F.getFnAttribute("prefer-vector-width").getValueAsString(); in getSubtargetImpl()
298 StringRef Val = F.getFnAttribute("required-vector-width").getValueAsString(); in getSubtargetImpl()
/external/llvm/lib/IR/
DStatepoint.cpp63 if (!AttrID.getValueAsString().getAsInteger(10, StatepointID)) in parseStatepointDirectivesFromAttrs()
70 if (!AttrNumPatchBytes.getValueAsString().getAsInteger(10, NumPatchBytes)) in parseStatepointDirectivesFromAttrs()
/external/llvm/lib/CodeGen/
DXRayInstrumentation.cpp45 InstrAttr.getValueAsString() == "xray-always"; in runOnMachineFunction()
51 if (Attr.getValueAsString().getAsInteger(10, XRayThreshold)) in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DStatepoint.cpp76 if (!AttrID.getValueAsString().getAsInteger(10, StatepointID)) in parseStatepointDirectivesFromAttrs()
83 if (!AttrNumPatchBytes.getValueAsString().getAsInteger(10, NumPatchBytes)) in parseStatepointDirectivesFromAttrs()
/external/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp85 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
88 ? FSAttr.getValueAsString().str() in getSubtargetImpl()
96 F.getFnAttribute("use-soft-float").getValueAsString() == "true"; in getSubtargetImpl()

1234567