Home
last modified time | relevance | path

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

123

/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.cpp75 PrintMethod = Rec->getValueAsString("PrintMethod"); in CGIOperandList()
76 OperandType = Rec->getValueAsString("OperandType"); in CGIOperandList()
77 OperandNamespace = Rec->getValueAsString("OperandNamespace"); in CGIOperandList()
79 PrintMethod = Rec->getValueAsString("PrintMethod"); in CGIOperandList()
80 OperandType = Rec->getValueAsString("OperandType"); in CGIOperandList()
82 EncoderMethod = Rec->getValueAsString("EncoderMethod"); in CGIOperandList()
297 Namespace = R->getValueAsString("Namespace"); in CodeGenInstruction()
298 AsmString = R->getValueAsString("AsmString"); in CodeGenInstruction()
342 ParseConstraints(R->getValueAsString("Constraints"), Operands); in CodeGenInstruction()
345 Operands.ProcessDisableEncoding(R->getValueAsString("DisableEncoding")); in CodeGenInstruction()
[all …]
DAsmMatcherEmitter.cpp1277 CI->ClassName = Rec->getValueAsString("Name"); in buildOperandClasses()
1378 AsmVariant->getValueAsString("CommentDelimiter"); in buildInfo()
1379 std::string RegisterPrefix = AsmVariant->getValueAsString("RegisterPrefix"); in buildInfo()
1382 AsmVariant->getValueAsString("TokenizingCharacters"); in buildInfo()
1384 AsmVariant->getValueAsString("SeparatorCharacters"); in buildInfo()
1386 AsmVariant->getValueAsString("BreakCharacters"); in buildInfo()
1495 II->TheDef->getValueAsString("TwoOperandAliasConstraint"); in buildInfo()
1520 ClassInfo *FromClass = getTokenClass(Rec->getValueAsString("FromToken")); in buildInfo()
1521 ClassInfo *ToClass = getTokenClass(Rec->getValueAsString("ToToken")); in buildInfo()
1555 if (MatchClass && MatchClass->getValueAsString("Name") == "Imm") { in buildInstructionOperandReference()
[all …]
DCodeGenTarget.cpp139 Namespace = R->getValueAsString("Namespace"); in getQualifiedName()
353 if (R->getValueAsString("Namespace") == "TargetOpcode" || in reverseBitsForLittleEndianEncoding()
398 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.cpp213 std::string PostEmitter = R->getValueAsString("PostEncoderMethod"); in getInstructionCase()
248 if (R->getValueAsString("Namespace") == "TargetOpcode" || in run()
273 if (R->getValueAsString("Namespace") == "TargetOpcode" || in run()
276 const std::string &InstName = R->getValueAsString("Namespace") + "::" in run()
DAsmWriterEmitter.cpp280 std::string ClassName = AsmWriter->getValueAsString("AsmWriterClassName"); in EmitPrintInstruction()
540 AsmName = Reg.TheDef->getValueAsString("AsmName"); in emitRegisterNameString()
585 std::string ClassName = AsmWriter->getValueAsString("AsmWriterClassName"); in EmitGetRegisterName()
590 Registers.front().TheDef->getValueAsString("Namespace"); in EmitGetRegisterName()
791 std::string ClassName = AsmWriter->getValueAsString("AsmWriterClassName"); in EmitPrintAliasInstruction()
863 std::string PrintMethod = Rec->getValueAsString("PrintMethod"); in EmitPrintAliasInstruction()
DSubtargetEmitter.cpp174 const std::string &CommandLineName = Feature->getValueAsString("Name"); in FeatureKeyValues()
175 const std::string &Desc = Feature->getValueAsString("Desc"); in FeatureKeyValues()
234 const std::string &Name = Processor->getValueAsString("Name"); in CPUKeyValues()
1231 const std::string &Name = Processor->getValueAsString("Name"); in EmitProcessorLookup()
1295 OS << (*PI)->getValueAsString("Code") << '\n'; in EmitSchedModelHelpers()
1339 OS << "(" << (*RI)->getValueAsString("Predicate") << ")"; in EmitSchedModelHelpers()
1390 const std::string &Value = R->getValueAsString("Value"); in ParseFeaturesFunction()
1391 const std::string &Attribute = R->getValueAsString("Attribute"); in ParseFeaturesFunction()
DCallingConvEmitter.cpp97 O << Action->getValueAsString("Predicate"); in EmitAction()
267 << "if (" << Action->getValueAsString("FuncName") << "(ValNo, ValVT, " in EmitAction()
/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()
177 std::string GroupName = DI->getDef()->getValueAsString("GroupName"); in groupDiagnostics()
188 GroupInfo &GI = DiagsInGroup[Group->getValueAsString("GroupName")]; in groupDiagnostics()
201 GI.SubGroups.push_back(SubGroups[j]->getValueAsString("GroupName")); in groupDiagnostics()
228 std::string Name = (*I)->ExplicitDef->getValueAsString("GroupName"); in groupDiagnostics()
265 std::string Name = NextDiagGroup->getValueAsString("GroupName"); in groupDiagnostics()
342 const std::string &GroupName = Group->getValueAsString("GroupName"); in isSubGroupOfGroup()
362 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in isOffByDefault()
370 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()
DClangAttrEmitter.cpp41 V(Spelling.getValueAsString("Variety")), in FlattenedSpelling()
42 N(Spelling.getValueAsString("Name")) { in FlattenedSpelling()
47 NS = Spelling.getValueAsString("Namespace"); in FlattenedSpelling()
65 if (Spelling->getValueAsString("Variety") == "GCC") { in GetFlattenedSpellings()
67 Ret.emplace_back("GNU", Spelling->getValueAsString("Name"), "", true); in GetFlattenedSpellings()
68 Ret.emplace_back("CXX11", Spelling->getValueAsString("Name"), "gnu", in GetFlattenedSpellings()
145 AN = Attr->getValueAsString("ParseKind"); in getParsedAttrList()
173 : lowerName(Arg.getValueAsString("Name")), upperName(lowerName), in Argument()
636 : Argument(Arg, Attr), type(Arg.getValueAsString("Type")), in EnumArgument()
758 : VariadicArgument(Arg, Attr, Arg.getValueAsString("Type")), in VariadicEnumArgument()
[all …]
DClangCommentHTMLNamedCharacterReferenceEmitter.cpp58 std::string Spelling = Tag.getValueAsString("Spelling"); in EmitClangCommentHTMLNamedCharacterReferences()
/external/llvm/lib/Target/X86/
DX86TargetMachine.cpp141 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
144 ? FSAttr.getValueAsString().str() in getSubtargetImpl()
154 F.getFnAttribute("use-soft-float").getValueAsString() == "true"; in getSubtargetImpl()
/external/llvm/lib/Target/Mips/
DMipsTargetMachine.cpp129 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
132 ? FSAttr.getValueAsString().str() in getSubtargetImpl()
144 F.getFnAttribute("use-soft-float").getValueAsString() == "true"; in getSubtargetImpl()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetMachine.cpp73 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
76 ? FSAttr.getValueAsString().str() in getSubtargetImpl()
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp236 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
239 ? FSAttr.getValueAsString().str() in getSubtargetImpl()
249 F.getFnAttribute("use-soft-float").getValueAsString() == "true"; in getSubtargetImpl()
/external/llvm/lib/Target/ARM/
DARMTargetMachine.cpp210 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
213 ? FSAttr.getValueAsString().str() in getSubtargetImpl()
223 F.getFnAttribute("use-soft-float").getValueAsString() == "true"; in getSubtargetImpl()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp145 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
148 ? FSAttr.getValueAsString().str() in getSubtargetImpl()
/external/llvm/lib/CodeGen/
DTargetFrameLoweringImpl.cpp33 return Attr.getValueAsString() == "true"; in noFramePointerElim()
/external/llvm/lib/IR/
DAttributeImpl.h63 StringRef getValueAsString() const;
74 Profile(ID, getKindAsString(), getValueAsString()); in Profile()
DAttributes.cpp140 StringRef Attribute::getValueAsString() const { in getValueAsString() function in Attribute
144 return pImpl->getValueAsString(); in getValueAsString()
323 StringRef Val = pImpl->getValueAsString(); in getAsString()
375 StringRef AttributeImpl::getValueAsString() const { in getValueAsString() function in AttributeImpl
398 return getValueAsString() < AI.getValueAsString(); in operator <()
1167 addAttribute(Attr.getKindAsString(), Attr.getValueAsString()); in addAttribute()
/external/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp146 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
149 ? FSAttr.getValueAsString().str() in getSubtargetImpl()
/external/llvm/lib/Target/
DTargetMachine.cpp66 Options.X = (F.getFnAttribute(Y).getValueAsString() == "true"); \ in resetTargetOptions()

123