/openbsd/gnu/llvm/llvm/utils/TableGen/ |
H A D | PredicateExpander.cpp | 299 if (Rec->isSubClassOf("MCTrue")) { in expandPredicate() 305 if (Rec->isSubClassOf("MCFalse")) { in expandPredicate() 311 if (Rec->isSubClassOf("CheckNot")) { in expandPredicate() 324 if (Rec->isSubClassOf("CheckRegOperand")) in expandPredicate() 336 if (Rec->isSubClassOf("CheckImmOperand")) in expandPredicate() 354 if (Rec->isSubClassOf("CheckNumOperands")) in expandPredicate() 357 if (Rec->isSubClassOf("CheckPseudo")) in expandPredicate() 360 if (Rec->isSubClassOf("CheckOpcode")) in expandPredicate() 363 if (Rec->isSubClassOf("CheckAll")) in expandPredicate() 367 if (Rec->isSubClassOf("CheckAny")) in expandPredicate() [all …]
|
H A D | CallingConvEmitter.cpp | 124 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction() 127 if (Action->isSubClassOf("CCIfType")) { in EmitAction() 135 } else if (Action->isSubClassOf("CCIf")) { in EmitAction() 146 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction() 152 } else if (Action->isSubClassOf("CCAssignToReg") || in EmitAction() 182 if (Action->isSubClassOf("CCAssignToRegAndStack")) { in EmitAction() 246 } else if (Action->isSubClassOf("CCAssignToStack")) { in EmitAction() 326 } else if (Action->isSubClassOf("CCTruncToType")) { in EmitAction() 330 } else if (Action->isSubClassOf("CCPassIndirect")) { in EmitAction() 334 } else if (Action->isSubClassOf("CCPassByVal")) { in EmitAction() [all …]
|
H A D | CodeGenInstruction.cpp | 86 if (Rec->isSubClassOf("RegisterOperand")) { in CGIOperandList() 91 } else if (Rec->isSubClassOf("Operand")) { in CGIOperandList() 111 if (Rec->isSubClassOf("PredicateOp")) in CGIOperandList() 120 } else if (Rec->isSubClassOf("RegisterClass")) { in CGIOperandList() 123 !Rec->isSubClassOf("unknown_class")) { in CGIOperandList() 625 if (InstOpRec->isSubClassOf("RegisterOperand")) in tryAliasOpMatch() 632 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch() 651 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch() 714 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch() 715 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch() [all …]
|
H A D | DAGISelMatcherGen.cpp | 235 if (LeafRec->isSubClassOf("ValueType")) { in EmitLeafMatchCode() 247 LeafRec->isSubClassOf("SubRegIndex") || in EmitLeafMatchCode() 254 if (LeafRec->isSubClassOf("Register")) { in EmitLeafMatchCode() 261 if (LeafRec->isSubClassOf("CondCode")) in EmitLeafMatchCode() 685 if (Def->isSubClassOf("Register")) { in EmitResultLeafAsOperand() 712 if (Def->isSubClassOf("RegisterOperand")) in EmitResultLeafAsOperand() 714 if (Def->isSubClassOf("RegisterClass")) { in EmitResultLeafAsOperand() 732 if (Def->isSubClassOf("SubRegIndex")) { in EmitResultLeafAsOperand() 772 if (!OpRec->isSubClassOf("Instruction")) in numNodesThatMayLoadOrStore() 1030 if (OpRec->isSubClassOf("Instruction")) in EmitResultOperand() [all …]
|
H A D | InfoByHwMode.cpp | 41 if (R->isSubClassOf("PtrValueType")) in ValueTypeByHwMode() 108 if (!Rec->isSubClassOf("ValueType")) in getValueTypeByHwMode() 111 assert(Rec->isSubClassOf("ValueType") && in getValueTypeByHwMode() 113 if (Rec->isSubClassOf("HwModeSelect")) in getValueTypeByHwMode() 129 bool RegSizeInfo::isSubClassOf(const RegSizeInfo &I) const { in isSubClassOf() function in RegSizeInfo 160 bool RegSizeInfoByHwMode::isSubClassOf(const RegSizeInfoByHwMode &I) const { in isSubClassOf() function in RegSizeInfoByHwMode 162 return get(M0).isSubClassOf(I.get(M0)); in isSubClassOf() 191 assert(P.second && P.second->isSubClassOf("InstructionEncoding") && in EncodingInfoByHwMode()
|
H A D | CodeGenTarget.cpp | 740 if (TyEl->isSubClassOf("LLVMMatchType")) in CodeGenIntrinsic() 895 else if (R->isSubClassOf("NoCapture")) { in setProperty() 898 } else if (R->isSubClassOf("NoAlias")) { in setProperty() 901 } else if (R->isSubClassOf("NoUndef")) { in setProperty() 904 } else if (R->isSubClassOf("NonNull")) { in setProperty() 907 } else if (R->isSubClassOf("Returned")) { in setProperty() 910 } else if (R->isSubClassOf("ReadOnly")) { in setProperty() 913 } else if (R->isSubClassOf("WriteOnly")) { in setProperty() 916 } else if (R->isSubClassOf("ReadNone")) { in setProperty() 919 } else if (R->isSubClassOf("ImmArg")) { in setProperty() [all …]
|
H A D | CodeGenDAGPatterns.cpp | 1552 if (R->isSubClassOf("SDTCisVT")) { in SDTypeConstraint() 1885 if (Operator->isSubClassOf("SDNode")) in GetNumNodeResults() 2101 if (!Op->isSubClassOf("PatFrags")) { in InlinePatternFragments() 2266 if (R->isSubClassOf("PatFrags")) { in getImplicitType() 2272 if (R->isSubClassOf("Register")) { in getImplicitType() 2280 if (R->isSubClassOf("SubRegIndex")) { in getImplicitType() 2285 if (R->isSubClassOf("ValueType")) { in getImplicitType() 2304 if (R->isSubClassOf("CondCode")) { in getImplicitType() 2332 if (R->isSubClassOf("Operand")) { in getImplicitType() 2868 if (R->isSubClassOf("SDNode") || R->isSubClassOf("PatFrags")) in ParseTreePattern() [all …]
|
H A D | IntrinsicEmitter.cpp | 312 if (R->isSubClassOf("LLVMMatchType")) { in EncodeFixedType() 315 if (R->isSubClassOf("LLVMExtendedType")) in EncodeFixedType() 317 else if (R->isSubClassOf("LLVMTruncatedType")) in EncodeFixedType() 328 else if (R->isSubClassOf("LLVMPointerTo")) in EncodeFixedType() 337 } else if (R->isSubClassOf("LLVMAnyPointerToElt")) { in EncodeFixedType() 344 } else if (R->isSubClassOf("LLVMPointerToElt")) in EncodeFixedType() 346 else if (R->isSubClassOf("LLVMVectorElementType")) in EncodeFixedType() 348 else if (R->isSubClassOf("LLVMSubdivide2VectorType")) in EncodeFixedType() 384 if (R->isSubClassOf("LLVMQualPointerType")) { in EncodeFixedType() 428 if (R->isSubClassOf("LLVMMatchType")) { in UpdateArgCodes() [all …]
|
H A D | CompressInstEmitter.cpp | 152 assert(RegClass->isSubClassOf("RegisterClass") && in validateRegister() 169 if (DagOpType->isSubClassOf("RegisterClass") && in validateTypes() 170 InstOpType->isSubClassOf("RegisterClass")) { in validateTypes() 177 if (DagOpType->isSubClassOf("RegisterClass") || in validateTypes() 178 InstOpType->isSubClassOf("RegisterClass")) in validateTypes() 218 if (DI->getDef()->isSubClassOf("Register")) { in addDagOperandMapping() 246 if (Inst.Operands[i].Rec->isSubClassOf("RegisterClass")) in addDagOperandMapping() 714 if (Source.Operands[OpNo].Rec->isSubClassOf("RegisterClass")) in emitCompressInstEmitter() 757 if (DestOperand.Rec->isSubClassOf("RegisterClass") || in emitCompressInstEmitter() 758 DestOperand.Rec->isSubClassOf("RegisterOperand")) { in emitCompressInstEmitter() [all …]
|
H A D | CodeGenSchedule.cpp | 480 if (Queue->isSubClassOf("LoadQueue")) { in collectLoadStoreQueueInfo() 491 if (Queue->isSubClassOf("StoreQueue")) { in collectLoadStoreQueueInfo() 576 if (RWDef->isSubClassOf("WriteSequence")) { in scanSchedRW() 581 else if (RWDef->isSubClassOf("SchedVariant")) { in scanSchedRW() 610 if (RW->isSubClassOf("SchedWrite")) in collectSchedRW() 624 if (RWDef->isSubClassOf("SchedWrite")) in collectSchedRW() 638 if (RWDef->isSubClassOf("SchedWrite")) in collectSchedRW() 653 if (MatchDef->isSubClassOf("SchedWrite")) { in collectSchedRW() 654 if (!AliasDef->isSubClassOf("SchedWrite")) in collectSchedRW() 660 if (!AliasDef->isSubClassOf("SchedRead")) in collectSchedRW() [all …]
|
H A D | InstrInfoEmitter.cpp | 160 if (OpR->isSubClassOf("RegisterOperand")) in GetOperandInfo() 162 if (OpR->isSubClassOf("RegisterClass")) in GetOperandInfo() 174 if (OpR->isSubClassOf("PointerLikeRegClass")) in GetOperandInfo() 179 if (Op.Rec->isSubClassOf("PredicateOp")) in GetOperandInfo() 449 if ((OpR->isSubClassOf("Operand") || in emitOperandTypeMappings() 450 OpR->isSubClassOf("RegisterOperand") || in emitOperandTypeMappings() 451 OpR->isSubClassOf("RegisterClass")) && in emitOperandTypeMappings() 478 if (!Op->isSubClassOf("X86MemOperand")) in emitOperandTypeMappings() 598 if ((OpR->isSubClassOf("Operand") || in emitLogicalOperandTypeMappings() 599 OpR->isSubClassOf("RegisterOperand") || in emitLogicalOperandTypeMappings() [all …]
|
H A D | FastISelEmitter.cpp | 265 if (OpLeafRec->isSubClassOf("RegisterOperand")) in initialize() 267 if (OpLeafRec->isSubClassOf("RegisterClass")) in initialize() 269 else if (OpLeafRec->isSubClassOf("Register")) in initialize() 271 else if (OpLeafRec->isSubClassOf("ValueType")) { in initialize() 428 if (!OpLeafRec->isSubClassOf("Register")) in PhyRegForNode() 451 if (!Op->isSubClassOf("Instruction")) in collectPatterns() 470 if (ChildOp->getOperator()->isSubClassOf("Instruction")) { in collectPatterns() 484 if (Op0Rec->isSubClassOf("RegisterOperand")) in collectPatterns() 486 if (!Op0Rec->isSubClassOf("RegisterClass")) in collectPatterns()
|
H A D | SubtargetEmitter.cpp | 664 if (!PRDef->isSubClassOf("ProcResGroup")) in EmitProcessorResourceSubUnits() 825 if (PRDef->isSubClassOf("ProcResGroup")) { in EmitProcessorResources() 868 if (SchedWrite.TheDef->isSubClassOf("SchedWriteRes")) in FindWriteResources() 892 if (!WR->isSubClassOf("WriteRes")) in FindWriteResources() 919 if (SchedRead.TheDef->isSubClassOf("SchedReadAdvance")) in FindReadAdvance() 944 if (!RA->isSubClassOf("ReadAdvance")) in FindReadAdvance() 975 if (PRDef->isSubClassOf("ProcResGroup")) in ExpandProcResources() 982 if (SubDef->isSubClassOf("ProcResGroup")) { in ExpandProcResources() 1476 return Rec->isSubClassOf("MCSchedPredicate") && in isTruePredicate() 1511 if (Rec->isSubClassOf("MCSchedPredicate")) { in emitPredicates() [all …]
|
H A D | DAGISelEmitter.cpp | 48 if (Op->isSubClassOf("Instruction")) { in getResultPatternCost() 67 if (Op->isSubClassOf("Instruction")) { in getResultPatternSize()
|
H A D | X86RecognizableInstr.cpp | 42 return Rec->isSubClassOf("RegisterClass") || in isRegisterOperand() 43 Rec->isSubClassOf("RegisterOperand"); in isRegisterOperand() 47 return Rec->isSubClassOf("Operand") && in isMemoryOperand() 52 return Rec->isSubClassOf("Operand") && in isImmediateOperand() 57 if (RegRec->isSubClassOf("RegisterClass")) in getRegOperandSize() 59 if (RegRec->isSubClassOf("RegisterOperand")) in getRegOperandSize() 66 if (MemRec->isSubClassOf("X86MemOperand")) in getMemOperandSize() 111 assert(Rec->isSubClassOf("X86Inst") && "Not a X86 Instruction"); in RecognizableInstrBase() 168 if (!insn.TheDef->isSubClassOf("X86Inst")) in processInstr()
|
H A D | CodeGenSchedule.h | 60 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW() 61 HasVariants = Def->isSubClassOf("SchedVariant"); in CodeGenSchedRW() 68 IsSequence = Def->isSubClassOf("WriteSequence"); in CodeGenSchedRW() 521 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW()
|
H A D | GlobalISelEmitter.cpp | 296 if (Operator->isSubClassOf("SDNode")) in explainOperator() 299 if (Operator->isSubClassOf("Intrinsic")) in explainOperator() 302 if (Operator->isSubClassOf("ComplexPattern")) in explainOperator() 307 if (Operator->isSubClassOf("SDNodeXForm")) in explainOperator() 4377 if (ChildRec->isSubClassOf("Register")) { in importChildMatcher() 4402 if (ChildRec->isSubClassOf("ImmLeaf")) { in importChildMatcher() 4555 if (ChildRec->isSubClassOf("Register")) { in importExplicitUseRenderer() 4757 if (!DstOp->isSubClassOf("Instruction")) { in createInstructionRenderer() 4758 if (DstOp->isSubClassOf("ValueType")) in createInstructionRenderer() 5063 if (!OpRec->isSubClassOf("Instruction")) in inferRegClassFromPattern() [all …]
|
H A D | InfoByHwMode.h | 162 bool isSubClassOf(const RegSizeInfo &I) const; 175 bool isSubClassOf(const RegSizeInfoByHwMode &I) const;
|
H A D | X86MnemonicTables.cpp | 48 if (!Def->isSubClassOf("X86Inst")) in run()
|
/openbsd/gnu/llvm/clang/utils/TableGen/ |
H A D | ClangSyntaxEmitter.cpp | 55 assert(N.Record->isSubClassOf("Alternatives") || in Hierarchy() 56 N.Record->isSubClassOf("External") || N.Derived.empty()); in Hierarchy() 57 assert(!N.Record->isSubClassOf("Alternatives") || !N.Derived.empty()); in Hierarchy() 113 if (R.isSubClassOf("Optional")) { in SyntaxConstraint() 115 } else if (R.isSubClassOf("AnyToken")) { in SyntaxConstraint() 117 } else if (R.isSubClassOf("NodeType")) { in SyntaxConstraint() 202 if (N.Record->isSubClassOf("External")) in EmitClangSyntaxNodeClasses() 216 if (N.Record->isSubClassOf("Sequence")) { in EmitClangSyntaxNodeClasses() 219 assert(C->isSubClassOf("Role")); in EmitClangSyntaxNodeClasses()
|
H A D | ClangTypeNodesEmitter.cpp | 155 if (type.isSubClassOf(AlwaysDependentClassName)) in emitNodeInvocations() 157 if (type.isSubClassOf(NeverCanonicalClassName)) in emitNodeInvocations() 159 if (type.isSubClassOf(NeverCanonicalUnlessDependentClassName)) in emitNodeInvocations() 188 if (!type.isSubClassOf(LeafTypeClassName)) continue; in emitLeafNodeInvocations()
|
H A D | ASTTableGen.h | 110 bool isSubClassOf(llvm::StringRef className) const { in isSubClassOf() function 111 return get()->isSubClassOf(className); in isSubClassOf() 116 return (isSubClassOf(NodeClass::getTableGenNodeClassName()) in getAs() 283 if (isSubClassOf(ArrayTypeClassName)) in getArrayElementType() 290 if (isSubClassOf(OptionalTypeClassName)) in getOptionalElementType() 297 if (isSubClassOf(SubclassPropertyTypeClassName)) in getSuperclassType() 311 return isSubClassOf(EnumPropertyTypeClassName); in isEnum()
|
H A D | MveEmitter.cpp | 1071 if (R->isSubClassOf("Immediate")) in getType() 1073 else if (R->isSubClassOf("unpromoted")) in getType() 1078 if (R->isSubClassOf("PrimitiveType")) in getType() 1080 if (R->isSubClassOf("ComplexType")) in getType() 1091 if (!Op->isSubClassOf("ComplexTypeOp")) in getType() 1117 if (Op->isSubClassOf("CTO_Tuple")) { in getType() 1123 if (Op->isSubClassOf("CTO_Pointer")) { in getType() 1174 } else if (Op->isSubClassOf("Type")) { in getCodeForDag() 1214 if (!TypeRec->isSubClassOf("Type")) in getCodeForDag() 1226 if (!TypeRec->isSubClassOf("Type")) in getCodeForDag() [all …]
|
H A D | ClangAttrEmitter.cpp | 1915 if (Subject.isSubClassOf("DeclNode") || Subject.isSubClassOf("DeclBase") || in isSupportedPragmaClangAttributeSubject() 1919 if (Subject.isSubClassOf("SubsetSubject")) in isSupportedPragmaClangAttributeSubject() 2976 if (Attr->isSubClassOf(TheRecord)) { in classifyAttr() 3146 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead() 3168 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead() 3201 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHWrite() 3784 return R->isSubClassOf("SubsetSubject") || !R->isSubClassOf("StmtNode"); in GenerateAppertainsTo() 3887 if (Attr.isSubClassOf("TypeAttr")) in GenerateMutualExclusionsChecks() 3893 Attr.isSubClassOf("StmtAttr") || Attr.isSubClassOf("DeclOrStmtAttr"); in GenerateMutualExclusionsChecks() 4286 OS << (Attr.isSubClassOf("TypeAttr") || Attr.isSubClassOf("DeclOrTypeAttr")) in EmitClangAttrParsedAttrImpl() [all …]
|
H A D | ClangOpenCLBuiltinEmitter.cpp | 458 if (T->isSubClassOf("GenericType")) { in VerifySignature() 1031 bool isGenType = Type->isSubClassOf("GenericType"); in getTypeLists() 1039 if (Type->isSubClassOf("PointerType") || Type->isSubClassOf("ConstType") || in getTypeLists() 1040 Type->isSubClassOf("VolatileType")) { in getTypeLists() 1043 if (PossibleGenType && PossibleGenType->isSubClassOf("GenericType")) { in getTypeLists()
|