/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
H A D | ClangOpenCLBuiltinEmitter.cpp | 365 T->getValueAsDef("VectorList")->getValueAsListOfInts("List").size(); in VerifySignature() 378 T->getValueAsDef("TypeList")->getValueAsListOfDefs("List").size(); in VerifySignature() 527 StringRef ExtName = Overload.first->getValueAsDef("Extension")->getName(); in EmitBuiltinTable() 529 Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID"); in EmitBuiltinTable() 531 Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in EmitBuiltinTable() 560 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature() 561 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature() 562 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature() 563 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature() 564 Rec->getValueAsDef("Extension")->getName() == in CanReuseSignature() [all …]
|
H A D | ASTTableGen.h | 283 return get()->getValueAsDef(ArrayElementTypeFieldName); in getArrayElementType() 290 return get()->getValueAsDef(OptionalElementTypeFieldName); in getOptionalElementType() 297 return get()->getValueAsDef(SubclassBaseTypeFieldName); in getSuperclassType() 337 return get()->getValueAsDef(TypeFieldName); in getParentType() 342 return get()->getValueAsDef(KindTypeFieldName); in getKindType() 372 return get()->getValueAsDef(TypeFieldName); in getParentType() 392 return get()->getValueAsDef(TypeFieldName); in getType() 397 return get()->getValueAsDef(ClassFieldName); in getClass() 424 return get()->getValueAsDef(ClassFieldName); in getClass() 444 return get()->getValueAsDef(ClassFieldName); in getClass() [all …]
|
H A D | ClangOptionDocEmitter.cpp | 232 getSeparatorsForKind(Option->getValueAsDef("Kind")); in emitOptionWithArgs() 243 unsigned NumArgs = getNumArgsForKind(Option->getValueAsDef("Kind"), Option); in emitOptionName() 272 Record *Alias = Option->getValueAsDef("Alias"); in emitOptionName() 305 if (Option.Option->getValueAsDef("Kind")->getName() == "KIND_UNKNOWN" || in emitOption() 306 Option.Option->getValueAsDef("Kind")->getName() == "KIND_INPUT") in emitOption()
|
H A D | ClangSyntaxEmitter.cpp | 114 *this = SyntaxConstraint(*R.getValueAsDef("inner")); in SyntaxConstraint() 221 SyntaxConstraint Constraint(*C->getValueAsDef("syntax")); in EmitClangSyntaxNodeClasses()
|
H A D | ClangDiagnosticsEmitter.cpp | 164 assert(R->getValueAsDef("Class")->getName() != "CLASS_NOTE" && in groupDiagnostics() 313 std::string(Diag->getValueAsDef("Class")->getName()); in isExtension() 319 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in isOffByDefault() 1203 std::string(Diag.getValueAsDef("Class")->getName()); in isError() 1209 std::string(Diag.getValueAsDef("Class")->getName()); in isRemark() 1274 OS << R.getValueAsDef("Class")->getName(); in EmitClangDiagsDefs() 1276 << R.getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in EmitClangDiagsDefs() 1299 OS << ", " << R.getValueAsDef("SFINAE")->getName(); in EmitClangDiagsDefs() 1666 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in getDefaultSeverity()
|
H A D | ClangAttrEmitter.cpp | 1315 Arg, Attr, (Arg.getValueAsDef("Kind")->getName() + "Decl *").str()); in createArgument() 1842 *Subject.getValueAsDef("Base")); in isSupportedPragmaClangAttributeSubject() 1892 Record *SubjectDecl = Aggregate->getValueAsDef("Subject"); in PragmaClangAttributeSupport() 1966 const Record *SubjectObj = Attribute.getValueAsDef("Subjects"); in isAttributedSupported() 2019 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in generateStrictConformsTo() 3103 const Record *R = Attr->getValueAsDef("Target"); in GenerateHasAttrSpellingStringSwitch() 3499 Record *Base = Subject.getValueAsDef(BaseFieldName); in GenerateCustomAppertainsTo() 3525 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in GenerateAppertainsTo() 3533 bool Warn = SubjectObj->getValueAsDef("Diag")->getValueAsBit("Warn"); in GenerateAppertainsTo() 3826 const Record *R = Attr.getValueAsDef("Target"); in GenerateTargetRequirements() [all …]
|
H A D | MveEmitter.cpp | 1074 R = R->getValueAsDef("type"); in getType() 1076 R = R->getValueAsDef("underlying_type"); in getType() 1325 : ReturnType(ME.getType(R->getValueAsDef("ret"), Param)) { in ACLEIntrinsic() 1342 Record *PolymorphicNameType = R->getValueAsDef("pnt"); in ACLEIntrinsic() 1393 Record *Bounds = TypeRec->getValueAsDef("bounds"); in ACLEIntrinsic() 1409 const Type *T = ME.getType(Bounds->getValueAsDef("type"), Param); in ACLEIntrinsic()
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
H A D | X86EVEX2VEXTablesEmitter.cpp | 119 if (RecV->getValueAsDef("OpEnc")->getName().str() != "EncVEX" || in operator ()() 122 RecV->getValueAsDef("OpPrefix") != RecE->getValueAsDef("OpPrefix") || in operator ()() 123 RecV->getValueAsDef("OpMap") != RecE->getValueAsDef("OpMap") || in operator ()() 132 RecV->getValueAsDef("Form") != RecE->getValueAsDef("Form")) in operator ()() 154 if (OpRec1->getValueAsDef("Type") != OpRec2->getValueAsDef("Type")) { in operator ()() 184 return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment"); in getRegOperandSize() 215 if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncVEX") { in run() 221 else if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncEVEX" && in run()
|
H A D | CodeGenSchedule.cpp | 301 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate() 331 const Record *SchedModel = Def->getValueAsDef("SchedModel"); in processSTIPredicate() 343 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate() 406 const Record *Decl = R->getValueAsDef("Declaration"); in collectSTIPredicates() 465 CodeGenProcModel &PM = getProcModel(RCU->getValueAsDef("SchedModel")); in collectRetireControlUnits() 480 CodeGenProcModel &PM = getProcModel(Queue->getValueAsDef("SchedModel")); in collectLoadStoreQueueInfo() 548 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel() 556 ProcDef->getValueAsDef("SchedModel"), ModelKey); in addProcModel() 643 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW() 644 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW() [all …]
|
H A D | X86FoldTablesEmitter.cpp | 229 RegRec = RegRec->getValueAsDef("RegClass"); in getRegOperandSize() 240 MemRec->getValueAsDef("ParserMatchClass")->getValueAsString("Name"); in getMemOperandSize() 328 if (RegRec->getValueAsDef("OpEnc") != MemRec->getValueAsDef("OpEnc") || in operator ()() 332 RegRec->getValueAsDef("OpPrefix") != in operator ()() 333 MemRec->getValueAsDef("OpPrefix") || in operator ()() 334 RegRec->getValueAsDef("OpMap") != MemRec->getValueAsDef("OpMap") || in operator ()() 335 RegRec->getValueAsDef("OpSize") != MemRec->getValueAsDef("OpSize") || in operator ()() 336 RegRec->getValueAsDef("AdSize") != MemRec->getValueAsDef("AdSize") || in operator ()() 407 if (MemOpRec->getValueAsDef("Type") != RegOpRec->getValueAsDef("Type")) in operator ()()
|
H A D | OptEmitter.cpp | 47 bool ASent = A->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords() 48 bool BSent = B->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords() 73 int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords() 74 int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
|
H A D | CallingConvEmitter.cpp | 117 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction() 121 Record *CC = Action->getValueAsDef("CC"); in EmitAction() 232 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 246 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 262 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 266 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 270 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
|
H A D | ExegesisEmitter.cpp | 88 AddPfmCounterName(Def->getValueAsDef("CycleCounter")); in collectPfmCounters() 89 AddPfmCounterName(Def->getValueAsDef("UopsCounter")); in collectPfmCounters() 111 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo() 113 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo() 195 << " &" << Target << Binding->getValueAsDef("Counters")->getName() // in emitPfmCountersLookupTable()
|
H A D | SubtargetEmitter.cpp | 730 const Record *Queue = ProcModel.LoadQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo() 739 ProcModel.StoreQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo() 800 SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in EmitProcessorResources() 838 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources() 840 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources() 858 if (AliasDef == WR->getValueAsDef("WriteType") in FindWriteResources() 859 || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) { in FindWriteResources() 890 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance() 892 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindReadAdvance() 910 if (AliasDef == RA->getValueAsDef("ReadType") in FindReadAdvance() [all …]
|
H A D | PredicateExpander.cpp | 251 expandStatement(OS, Rec->getValueAsDef("CaseStmt")); in expandOpcodeSwitchCase() 287 Rec->getValueAsDef("DefaultCase")); in expandStatement() 292 expandReturnStatement(OS, Rec->getValueAsDef("Pred")); in expandStatement() 315 expandPredicate(OS, Rec->getValueAsDef("Pred")); in expandPredicate() 328 Rec->getValueAsDef("Reg"), in expandPredicate()
|
H A D | IntrinsicEmitter.cpp | 309 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("ElTy")); in EncodeFixedType() 337 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT")); in EncodeFixedType() 372 return EncodeFixedType(R->getValueAsDef("ElTy"), ArgCodes, NextArgCode, Sig, in EncodeFixedType() 414 switch (getValueType(R->getValueAsDef("VT"))) { in UpdateArgCodes() 417 UpdateArgCodes(R->getValueAsDef("ElTy"), ArgCodes, NumInserted, Mapping); in UpdateArgCodes()
|
H A D | CodeGenTarget.cpp | 287 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet() 564 Ty = ::getValueType(R->getValueAsDef("Ty")); in ComplexPattern() 717 MVT::SimpleValueType VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic() 744 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic() 780 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
|
H A D | CodeGenSchedule.h | 405 return FunctionDeclaration->getValueAsDef("DefaultReturnValue"); in getDefaultReturnPredicate() 474 Record *ModelDef = ProcDef->getValueAsDef("SchedModel"); in getModelOrItinDef() 475 Record *ItinsDef = ProcDef->getValueAsDef("ProcItin"); in getModelOrItinDef()
|
H A D | CodeGenInstruction.cpp | 558 InstOpRec = InstOpRec->getValueAsDef("RegClass"); in tryAliasOpMatch() 561 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch() 737 InstOpRec->getValueAsDef("ParserMatchClass") in CodeGenInstAlias()
|
H A D | InstrInfoEmitter.cpp | 150 OpR = OpR->getValueAsDef("RegClass"); in GetOperandInfo() 668 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitMCIIHelperMethods() 701 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitTIIHelperMethods()
|
H A D | CodeGenDAGPatterns.cpp | 1221 return R->getValueAsDef("MemoryVT"); in getMemoryVT() 1242 return R->getValueAsDef("ScalarMemoryVT"); in getScalarMemoryVT() 1501 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint() 1533 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint() 1705 Record *R = Operand->getValueAsDef("Type"); in UpdateNodeTypeFromInst() 1720 RC = Operand->getValueAsDef("RegClass"); in UpdateNodeTypeFromInst() 1776 Record *TypeProfile = R->getValueAsDef("TypeProfile"); in SDNodeInfo() 2189 Record *RegClass = R->getValueAsDef("RegClass"); in getImplicitType() 2276 Record *T = R->getValueAsDef("Type"); in getImplicitType() 3174 Record *SDNode = XFormNode->getValueAsDef("Opcode"); in ParseNodeTransforms() [all …]
|
H A D | AsmWriterEmitter.cpp | 649 O << R->getValueAsDef("FallbackRegAltNameIndex")->getName() << ");\n"; in EmitGetRegisterName() 922 Rec = Rec->getValueAsDef("RegClass"); in EmitPrintAliasInstruction() 928 R = R->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
|
H A D | DFAPacketizerEmitter.cpp | 152 Record *ComboFunc = FuncData->getValueAsDef("TheComboFunc"); in collectAllComboFuncs()
|
H A D | FastISelEmitter.cpp | 266 OpLeafRec = OpLeafRec->getValueAsDef("RegClass"); in initialize() 490 Op0Rec = Op0Rec->getValueAsDef("RegClass"); in collectPatterns()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/ |
H A D | DirectiveEmitter.h | 186 Clause getClause() const { return Clause{Def->getValueAsDef("clause")}; } in getClause()
|