| /openbsd-src/gnu/llvm/clang/utils/TableGen/ |
| H A D | ClangOpenCLBuiltinEmitter.cpp | 461 T->getValueAsDef("VectorList")->getValueAsListOfInts("List").size(); in VerifySignature() 474 T->getValueAsDef("TypeList")->getValueAsListOfDefs("List").size(); in VerifySignature() 623 StringRef ExtName = Overload.first->getValueAsDef("Extension")->getName(); in EmitBuiltinTable() 625 Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID"); in EmitBuiltinTable() 627 Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID"); in EmitBuiltinTable() 656 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature() 657 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature() 658 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature() 659 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature() 660 Rec->getValueAsDef("Extension")->getName() == in CanReuseSignature() [all …]
|
| H A D | ASTTableGen.h | 284 return get()->getValueAsDef(ArrayElementTypeFieldName); in getArrayElementType() 291 return get()->getValueAsDef(OptionalElementTypeFieldName); in getOptionalElementType() 298 return get()->getValueAsDef(SubclassBaseTypeFieldName); in getSuperclassType() 338 return get()->getValueAsDef(TypeFieldName); in getParentType() 343 return get()->getValueAsDef(KindTypeFieldName); in getKindType() 373 return get()->getValueAsDef(TypeFieldName); in getParentType() 393 return get()->getValueAsDef(TypeFieldName); in getType() 398 return get()->getValueAsDef(ClassFieldName); in getClass() 425 return get()->getValueAsDef(ClassFieldName); in getClass() 445 return get()->getValueAsDef(ClassFieldName); in getClass() [all …]
|
| H A D | ClangOptionDocEmitter.cpp | 255 getSeparatorsForKind(Option->getValueAsDef("Kind")); in emitOptionWithArgs() 268 unsigned NumArgs = getNumArgsForKind(Option->getValueAsDef("Kind"), Option); in emitOptionName() 297 Record *Alias = Option->getValueAsDef("Alias"); in emitOptionName() 332 if (Option.Option->getValueAsDef("Kind")->getName() == "KIND_UNKNOWN" || in emitOption() 333 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 | 165 assert(R->getValueAsDef("Class")->getName() != "CLASS_NOTE" && in groupDiagnostics() 316 std::string(Diag->getValueAsDef("Class")->getName()); in isExtension() 322 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() 1681 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name")); in getDefaultSeverity()
|
| H A D | ClangAttrEmitter.cpp | 1391 Arg, Attr, (Arg.getValueAsDef("Kind")->getName() + "Decl *").str()); in createArgument() 1921 *Subject.getValueAsDef("Base")); in isSupportedPragmaClangAttributeSubject() 1971 Record *SubjectDecl = Aggregate->getValueAsDef("Subject"); in PragmaClangAttributeSupport() 2045 const Record *SubjectObj = Attribute.getValueAsDef("Subjects"); in isAttributedSupported() 2098 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in generateStrictConformsTo() 3329 const Record *R = Attr->getValueAsDef("Target"); in GenerateHasAttrSpellingStringSwitch() 3741 Record *Base = Subject.getValueAsDef(BaseFieldName); in GenerateCustomAppertainsTo() 3767 const Record *SubjectObj = Attr.getValueAsDef("Subjects"); in GenerateAppertainsTo() 3775 bool Warn = SubjectObj->getValueAsDef("Diag")->getValueAsBit("Warn"); in GenerateAppertainsTo() 4062 const Record *R = Attr.getValueAsDef("Target"); in GenerateTargetRequirements() [all …]
|
| H A D | MveEmitter.cpp | 1072 R = R->getValueAsDef("type"); in getType() 1074 R = R->getValueAsDef("underlying_type"); in getType() 1331 : ReturnType(ME.getType(R->getValueAsDef("ret"), Param)) { in ACLEIntrinsic() 1348 Record *PolymorphicNameType = R->getValueAsDef("pnt"); in ACLEIntrinsic() 1399 Record *Bounds = TypeRec->getValueAsDef("bounds"); in ACLEIntrinsic() 1415 const Type *T = ME.getType(Bounds->getValueAsDef("type"), Param); in ACLEIntrinsic()
|
| H A D | RISCVVEmitter.cpp | 504 Record *MPSRecord = R->getValueAsDef("MaskedPolicyScheme"); in createRVVIntrinsics() 507 Record *UMPSRecord = R->getValueAsDef("UnMaskedPolicyScheme"); in createRVVIntrinsics()
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | CodeGenSchedule.cpp | 300 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate() 330 const Record *SchedModel = Def->getValueAsDef("SchedModel"); in processSTIPredicate() 342 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate() 405 const Record *Decl = R->getValueAsDef("Declaration"); in collectSTIPredicates() 464 CodeGenProcModel &PM = getProcModel(RCU->getValueAsDef("SchedModel")); in collectRetireControlUnits() 479 CodeGenProcModel &PM = getProcModel(Queue->getValueAsDef("SchedModel")); in collectLoadStoreQueueInfo() 556 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel() 564 ProcDef->getValueAsDef("SchedModel"), ModelKey); in addProcModel() 651 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW() 652 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW() [all …]
|
| 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 | ExegesisEmitter.cpp | 84 AddPfmCounterName(Def->getValueAsDef("CycleCounter")); in collectPfmCounters() 85 AddPfmCounterName(Def->getValueAsDef("UopsCounter")); in collectPfmCounters() 107 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo() 109 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo() 191 << " &" << Target << Binding->getValueAsDef("Counters")->getName() // in emitPfmCountersLookupTable()
|
| H A D | CallingConvEmitter.cpp | 143 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction() 147 Record *CC = Action->getValueAsDef("CC"); in EmitAction() 293 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 307 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 323 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 327 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 331 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
|
| H A D | PredicateExpander.cpp | 250 expandStatement(OS, Rec->getValueAsDef("CaseStmt")); in expandOpcodeSwitchCase() 285 Rec->getValueAsDef("DefaultCase")); in expandStatement() 290 expandReturnStatement(OS, Rec->getValueAsDef("Pred")); in expandStatement() 313 expandPredicate(OS, Rec->getValueAsDef("Pred")); in expandPredicate() 326 Rec->getValueAsDef("Reg"), in expandPredicate()
|
| H A D | SubtargetEmitter.cpp | 766 const Record *Queue = ProcModel.LoadQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo() 775 ProcModel.StoreQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo() 836 SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in EmitProcessorResources() 874 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources() 876 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources() 894 if (AliasDef == WR->getValueAsDef("WriteType") in FindWriteResources() 895 || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) { in FindWriteResources() 926 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance() 928 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindReadAdvance() 946 if (AliasDef == RA->getValueAsDef("ReadType") in FindReadAdvance() [all …]
|
| H A D | DXILEmitter.cpp | 77 DXILClass = R->getValueAsDef("op_class")->getValueAsString("name"); in DXILOperationData() 78 Category = R->getValueAsDef("category")->getValueAsString("name"); in DXILOperationData() 81 auto *IntrinsicDef = R->getValueAsDef("llvm_intrinsic"); in DXILOperationData()
|
| H A D | X86EVEX2VEXTablesEmitter.cpp | 154 if (OpRec1->getValueAsDef("Type") != OpRec2->getValueAsDef("Type")) { in operator ()()
|
| H A D | IntrinsicEmitter.cpp | 324 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("ElTy")); in EncodeFixedType() 359 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT")); in EncodeFixedType() 394 return EncodeFixedType(R->getValueAsDef("ElTy"), ArgCodes, NextArgCode, Sig, in EncodeFixedType() 440 switch (getValueType(R->getValueAsDef("VT"))) { in UpdateArgCodes() 443 UpdateArgCodes(R->getValueAsDef("ElTy"), ArgCodes, NumInserted, Mapping); in UpdateArgCodes()
|
| H A D | CodeGenTarget.cpp | 318 return TargetRec->getValueAsDef("InstructionSet"); in getInstructionSet() 593 Ty = R->getValueAsDef("Ty"); in ComplexPattern() 743 MVT::SimpleValueType VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic() 770 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic() 806 VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
|
| H A D | CodeGenSchedule.h | 400 return FunctionDeclaration->getValueAsDef("DefaultReturnValue"); in getDefaultReturnPredicate() 469 Record *ModelDef = ProcDef->getValueAsDef("SchedModel"); in getModelOrItinDef() 470 Record *ItinsDef = ProcDef->getValueAsDef("ProcItin"); in getModelOrItinDef()
|
| H A D | CodeGenInstruction.cpp | 626 InstOpRec = InstOpRec->getValueAsDef("RegClass"); in tryAliasOpMatch() 629 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch() 805 InstOpRec->getValueAsDef("ParserMatchClass") in CodeGenInstAlias()
|
| H A D | X86FoldTablesEmitter.cpp | 348 if (MemOpRec->getValueAsDef("Type") != RegOpRec->getValueAsDef("Type")) in operator ()()
|
| H A D | InstrInfoEmitter.cpp | 161 OpR = OpR->getValueAsDef("RegClass"); in GetOperandInfo() 711 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitMCIIHelperMethods() 880 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitTIIHelperMethods()
|
| H A D | CodeGenDAGPatterns.cpp | 1274 return R->getValueAsDef("MemoryVT"); in getMemoryVT() 1295 return R->getValueAsDef("ScalarMemoryVT"); in getScalarMemoryVT() 1554 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint() 1586 VVT = getValueTypeByHwMode(R->getValueAsDef("VT"), CGH); in SDTypeConstraint() 1761 Record *R = Operand->getValueAsDef("Type"); in UpdateNodeTypeFromInst() 1776 RC = Operand->getValueAsDef("RegClass"); in UpdateNodeTypeFromInst() 1832 Record *TypeProfile = R->getValueAsDef("TypeProfile"); in SDNodeInfo() 2245 Record *RegClass = R->getValueAsDef("RegClass"); in getImplicitType() 2334 Record *T = R->getValueAsDef("Type"); in getImplicitType() 3250 Record *SDNode = XFormNode->getValueAsDef("Opcode"); in ParseNodeTransforms() [all …]
|
| H A D | AsmWriterEmitter.cpp | 654 O << R->getValueAsDef("FallbackRegAltNameIndex")->getName() << ");\n"; in EmitGetRegisterName() 923 Rec = Rec->getValueAsDef("RegClass"); in EmitPrintAliasInstruction() 929 R = R->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/ |
| H A D | DirectiveEmitter.h | 196 Clause getClause() const { return Clause{Def->getValueAsDef("clause")}; } in getClause()
|