| /freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | PredicateExpander.cpp | 301 if (Rec->isSubClassOf("MCTrue")) { in expandPredicate() 307 if (Rec->isSubClassOf("MCFalse")) { in expandPredicate() 313 if (Rec->isSubClassOf("CheckNot")) { in expandPredicate() 326 if (Rec->isSubClassOf("CheckRegOperand")) in expandPredicate() 338 if (Rec->isSubClassOf("CheckImmOperand")) in expandPredicate() 356 if (Rec->isSubClassOf("CheckNumOperands")) in expandPredicate() 359 if (Rec->isSubClassOf("CheckPseudo")) in expandPredicate() 362 if (Rec->isSubClassOf("CheckOpcode")) in expandPredicate() 365 if (Rec->isSubClassOf("CheckAll")) in expandPredicate() 369 if (Rec->isSubClassOf("CheckAny")) in expandPredicate() [all …]
|
| H A D | CallingConvEmitter.cpp | 98 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction() 101 if (Action->isSubClassOf("CCIfType")) { in EmitAction() 109 } else if (Action->isSubClassOf("CCIf")) { in EmitAction() 120 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction() 125 } else if (Action->isSubClassOf("CCAssignToReg")) { in EmitAction() 185 } else if (Action->isSubClassOf("CCAssignToStack")) { in EmitAction() 231 } else if (Action->isSubClassOf("CCPromoteToType")) { in EmitAction() 265 } else if (Action->isSubClassOf("CCTruncToType")) { in EmitAction() 269 } else if (Action->isSubClassOf("CCPassIndirect")) { in EmitAction() 273 } else if (Action->isSubClassOf("CCPassByVal")) { in EmitAction() [all …]
|
| H A D | CodeGenInstruction.cpp | 83 if (Rec->isSubClassOf("RegisterOperand")) { in CGIOperandList() 88 } else if (Rec->isSubClassOf("Operand")) { in CGIOperandList() 108 if (Rec->isSubClassOf("PredicateOp")) in CGIOperandList() 117 } else if (Rec->isSubClassOf("RegisterClass")) { in CGIOperandList() 120 !Rec->isSubClassOf("unknown_class")) in CGIOperandList() 557 if (InstOpRec->isSubClassOf("RegisterOperand")) in tryAliasOpMatch() 564 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch() 583 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch() 646 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch() 647 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch() [all …]
|
| H A D | DAGISelMatcherGen.cpp | 234 if (LeafRec->isSubClassOf("ValueType")) { in EmitLeafMatchCode() 246 LeafRec->isSubClassOf("SubRegIndex") || in EmitLeafMatchCode() 253 if (LeafRec->isSubClassOf("Register")) { in EmitLeafMatchCode() 260 if (LeafRec->isSubClassOf("CondCode")) in EmitLeafMatchCode() 684 if (Def->isSubClassOf("Register")) { in EmitResultLeafAsOperand() 711 if (Def->isSubClassOf("RegisterOperand")) in EmitResultLeafAsOperand() 713 if (Def->isSubClassOf("RegisterClass")) { in EmitResultLeafAsOperand() 731 if (Def->isSubClassOf("SubRegIndex")) { in EmitResultLeafAsOperand() 771 if (!OpRec->isSubClassOf("Instruction")) in numNodesThatMayLoadOrStore() 1029 if (OpRec->isSubClassOf("Instruction")) in EmitResultOperand() [all …]
|
| H A D | InfoByHwMode.cpp | 42 if (R->isSubClassOf("PtrValueType")) in ValueTypeByHwMode() 109 if (!Rec->isSubClassOf("ValueType")) in getValueTypeByHwMode() 112 assert(Rec->isSubClassOf("ValueType") && in getValueTypeByHwMode() 114 if (Rec->isSubClassOf("HwModeSelect")) in getValueTypeByHwMode() 130 bool RegSizeInfo::isSubClassOf(const RegSizeInfo &I) const { in isSubClassOf() function in RegSizeInfo 161 bool RegSizeInfoByHwMode::isSubClassOf(const RegSizeInfoByHwMode &I) const { in isSubClassOf() function in RegSizeInfoByHwMode 163 return get(M0).isSubClassOf(I.get(M0)); in isSubClassOf() 192 assert(P.second && P.second->isSubClassOf("InstructionEncoding") && in EncodingInfoByHwMode()
|
| H A D | CodeGenDAGPatterns.cpp | 1499 if (R->isSubClassOf("SDTCisVT")) { in SDTypeConstraint() 1829 if (Operator->isSubClassOf("SDNode")) in GetNumNodeResults() 2045 if (!Op->isSubClassOf("PatFrags")) { in InlinePatternFragments() 2210 if (R->isSubClassOf("PatFrags")) { in getImplicitType() 2216 if (R->isSubClassOf("Register")) { in getImplicitType() 2224 if (R->isSubClassOf("SubRegIndex")) { in getImplicitType() 2229 if (R->isSubClassOf("ValueType")) { in getImplicitType() 2248 if (R->isSubClassOf("CondCode")) { in getImplicitType() 2274 if (R->isSubClassOf("Operand")) { in getImplicitType() 2793 if (R->isSubClassOf("SDNode") || R->isSubClassOf("PatFrags")) in ParseTreePattern() [all …]
|
| H A D | CodeGenTarget.cpp | 729 if (TyEl->isSubClassOf("LLVMMatchType")) in CodeGenIntrinsic() 746 if (TyEl->isSubClassOf("LLVMMatchType")) { in CodeGenIntrinsic() 882 else if (R->isSubClassOf("NoCapture")) { in setProperty() 885 } else if (R->isSubClassOf("NoAlias")) { in setProperty() 888 } else if (R->isSubClassOf("NoUndef")) { in setProperty() 891 } else if (R->isSubClassOf("Returned")) { in setProperty() 894 } else if (R->isSubClassOf("ReadOnly")) { in setProperty() 897 } else if (R->isSubClassOf("WriteOnly")) { in setProperty() 900 } else if (R->isSubClassOf("ReadNone")) { in setProperty() 903 } else if (R->isSubClassOf("ImmArg")) { in setProperty() [all …]
|
| H A D | X86EVEX2VEXTablesEmitter.cpp | 166 return Rec->isSubClassOf("RegisterClass") || in isRegisterOperand() 167 Rec->isSubClassOf("RegisterOperand"); in isRegisterOperand() 171 return Rec->isSubClassOf("Operand") && in isMemoryOperand() 176 return Rec->isSubClassOf("Operand") && in isImmediateOperand() 181 if (RegRec->isSubClassOf("RegisterClass")) in getRegOperandSize() 183 if (RegRec->isSubClassOf("RegisterOperand")) in getRegOperandSize() 210 if (!Inst->TheDef->isSubClassOf("X86Inst")) in run()
|
| H A D | IntrinsicEmitter.cpp | 297 if (R->isSubClassOf("LLVMMatchType")) { in EncodeFixedType() 300 if (R->isSubClassOf("LLVMExtendedType")) in EncodeFixedType() 302 else if (R->isSubClassOf("LLVMTruncatedType")) in EncodeFixedType() 313 else if (R->isSubClassOf("LLVMPointerTo")) in EncodeFixedType() 322 } else if (R->isSubClassOf("LLVMPointerToElt")) in EncodeFixedType() 324 else if (R->isSubClassOf("LLVMVectorElementType")) in EncodeFixedType() 326 else if (R->isSubClassOf("LLVMSubdivide2VectorType")) in EncodeFixedType() 328 else if (R->isSubClassOf("LLVMSubdivide4VectorType")) in EncodeFixedType() 330 else if (R->isSubClassOf("LLVMVectorOfBitcastsToInt")) in EncodeFixedType() 362 if (R->isSubClassOf("LLVMQualPointerType")) { in EncodeFixedType() [all …]
|
| H A D | RISCVCompressInstEmitter.cpp | 143 assert(RegClass->isSubClassOf("RegisterClass") && in validateRegister() 161 if (DagOpType->isSubClassOf("RegisterClass") && in validateTypes() 162 InstOpType->isSubClassOf("RegisterClass")) { in validateTypes() 169 if (DagOpType->isSubClassOf("RegisterClass") || in validateTypes() 170 InstOpType->isSubClassOf("RegisterClass")) in validateTypes() 209 if (DI->getDef()->isSubClassOf("Register")) { in addDagOperandMapping() 237 if (Inst.Operands[i].Rec->isSubClassOf("RegisterClass")) in addDagOperandMapping() 420 if (!Operator->isSubClassOf("RVInst")) in evaluateCompressPat() 432 if (!DestOperator->isSubClassOf("RVInst16")) in evaluateCompressPat() 702 if (Source.Operands[OpNo].Rec->isSubClassOf("RegisterClass")) in emitCompressInstEmitter() [all …]
|
| H A D | CodeGenSchedule.cpp | 481 if (Queue->isSubClassOf("LoadQueue")) { in collectLoadStoreQueueInfo() 492 if (Queue->isSubClassOf("StoreQueue")) { in collectLoadStoreQueueInfo() 568 if (RWDef->isSubClassOf("WriteSequence")) { in scanSchedRW() 573 else if (RWDef->isSubClassOf("SchedVariant")) { in scanSchedRW() 602 if (RW->isSubClassOf("SchedWrite")) in collectSchedRW() 616 if (RWDef->isSubClassOf("SchedWrite")) in collectSchedRW() 630 if (RWDef->isSubClassOf("SchedWrite")) in collectSchedRW() 645 if (MatchDef->isSubClassOf("SchedWrite")) { in collectSchedRW() 646 if (!AliasDef->isSubClassOf("SchedWrite")) in collectSchedRW() 652 if (!AliasDef->isSubClassOf("SchedRead")) in collectSchedRW() [all …]
|
| H A D | X86FoldTablesEmitter.cpp | 228 if (RegRec->isSubClassOf("RegisterOperand")) in getRegOperandSize() 230 if (RegRec->isSubClassOf("RegisterClass")) in getRegOperandSize() 238 if (MemRec->isSubClassOf("Operand")) { in getMemOperandSize() 285 return Rec->isSubClassOf("RegisterClass") || in isRegisterOperand() 286 Rec->isSubClassOf("RegisterOperand") || in isRegisterOperand() 287 Rec->isSubClassOf("PointerLikeRegClass"); in isRegisterOperand() 291 return Rec->isSubClassOf("Operand") && in isMemoryOperand() 296 return Rec->isSubClassOf("Operand") && in isImmediateOperand() 588 if (!Inst->TheDef->getNameInit() || !Inst->TheDef->isSubClassOf("X86Inst")) in run()
|
| H A D | InstrInfoEmitter.cpp | 149 if (OpR->isSubClassOf("RegisterOperand")) in GetOperandInfo() 151 if (OpR->isSubClassOf("RegisterClass")) in GetOperandInfo() 163 if (OpR->isSubClassOf("PointerLikeRegClass")) in GetOperandInfo() 168 if (Op.Rec->isSubClassOf("PredicateOp")) in GetOperandInfo() 173 if (Op.Rec->isSubClassOf("OptionalDefOperand")) in GetOperandInfo() 433 if ((OpR->isSubClassOf("Operand") || in emitOperandTypeMappings() 434 OpR->isSubClassOf("RegisterOperand") || in emitOperandTypeMappings() 435 OpR->isSubClassOf("RegisterClass")) && in emitOperandTypeMappings() 557 if ((OpR->isSubClassOf("Operand") || in emitLogicalOperandTypeMappings() 558 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() 433 if (!OpLeafRec->isSubClassOf("Register")) in PhyRegForNode() 456 if (!Op->isSubClassOf("Instruction")) in collectPatterns() 475 if (ChildOp->getOperator()->isSubClassOf("Instruction")) { in collectPatterns() 489 if (Op0Rec->isSubClassOf("RegisterOperand")) in collectPatterns() 491 if (!Op0Rec->isSubClassOf("RegisterClass")) in collectPatterns()
|
| H A D | SubtargetEmitter.cpp | 628 if (!PRDef->isSubClassOf("ProcResGroup")) in EmitProcessorResourceSubUnits() 789 if (PRDef->isSubClassOf("ProcResGroup")) { in EmitProcessorResources() 832 if (SchedWrite.TheDef->isSubClassOf("SchedWriteRes")) in FindWriteResources() 856 if (!WR->isSubClassOf("WriteRes")) in FindWriteResources() 883 if (SchedRead.TheDef->isSubClassOf("SchedReadAdvance")) in FindReadAdvance() 908 if (!RA->isSubClassOf("ReadAdvance")) in FindReadAdvance() 939 if (PRDef->isSubClassOf("ProcResGroup")) in ExpandProcResources() 946 if (SubDef->isSubClassOf("ProcResGroup")) { in ExpandProcResources() 1441 return Rec->isSubClassOf("MCSchedPredicate") && in isTruePredicate() 1476 if (Rec->isSubClassOf("MCSchedPredicate")) { in emitPredicates() [all …]
|
| H A D | DAGISelEmitter.cpp | 47 if (Op->isSubClassOf("Instruction")) { in getResultPatternCost() 66 if (Op->isSubClassOf("Instruction")) { in getResultPatternSize()
|
| H A D | InfoByHwMode.h | 164 bool isSubClassOf(const RegSizeInfo &I) const; 177 bool isSubClassOf(const RegSizeInfoByHwMode &I) const;
|
| 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() 4323 if (ChildRec->isSubClassOf("Register")) { in importChildMatcher() 4348 if (ChildRec->isSubClassOf("ImmLeaf")) { in importChildMatcher() 4501 if (ChildRec->isSubClassOf("Register")) { in importExplicitUseRenderer() 4703 if (!DstOp->isSubClassOf("Instruction")) { in createInstructionRenderer() 4704 if (DstOp->isSubClassOf("ValueType")) in createInstructionRenderer() 5009 if (!OpRec->isSubClassOf("Instruction")) in inferRegClassFromPattern() [all …]
|
| H A D | CodeGenSchedule.h | 64 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW() 65 HasVariants = Def->isSubClassOf("SchedVariant"); in CodeGenSchedRW() 72 IsSequence = Def->isSubClassOf("WriteSequence"); in CodeGenSchedRW() 526 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW()
|
| /freebsd-13.1/contrib/llvm-project/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 | 109 bool isSubClassOf(llvm::StringRef className) const { in isSubClassOf() function 110 return get()->isSubClassOf(className); in isSubClassOf() 115 return (isSubClassOf(NodeClass::getTableGenNodeClassName()) in getAs() 282 if (isSubClassOf(ArrayTypeClassName)) in getArrayElementType() 289 if (isSubClassOf(OptionalTypeClassName)) in getOptionalElementType() 296 if (isSubClassOf(SubclassPropertyTypeClassName)) in getSuperclassType() 310 return isSubClassOf(EnumPropertyTypeClassName); in isEnum()
|
| H A D | MveEmitter.cpp | 1073 if (R->isSubClassOf("Immediate")) in getType() 1075 else if (R->isSubClassOf("unpromoted")) in getType() 1080 if (R->isSubClassOf("PrimitiveType")) in getType() 1082 if (R->isSubClassOf("ComplexType")) in getType() 1093 if (!Op->isSubClassOf("ComplexTypeOp")) in getType() 1119 if (Op->isSubClassOf("CTO_Tuple")) { in getType() 1125 if (Op->isSubClassOf("CTO_Pointer")) { in getType() 1176 } else if (Op->isSubClassOf("Type")) { in getCodeForDag() 1208 if (!TypeRec->isSubClassOf("Type")) in getCodeForDag() 1220 if (!TypeRec->isSubClassOf("Type")) in getCodeForDag() [all …]
|
| H A D | ClangOpenCLBuiltinEmitter.cpp | 424 if (T->isSubClassOf("GenericType")) { in VerifySignature() 976 bool isGenType = Type->isSubClassOf("GenericType"); in getTypeLists() 984 if (Type->isSubClassOf("PointerType") || Type->isSubClassOf("ConstType") || in getTypeLists() 985 Type->isSubClassOf("VolatileType")) { in getTypeLists() 988 if (PossibleGenType && PossibleGenType->isSubClassOf("GenericType")) { in getTypeLists()
|
| H A D | ClangAttrEmitter.cpp | 1836 if (Subject.isSubClassOf("DeclNode") || Subject.isSubClassOf("DeclBase") || in isSupportedPragmaClangAttributeSubject() 1840 if (Subject.isSubClassOf("SubsetSubject")) in isSupportedPragmaClangAttributeSubject() 2765 if (Attr->isSubClassOf(TheRecord)) { in classifyAttr() 2934 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead() 2950 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead() 2977 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHWrite() 3542 return R->isSubClassOf("SubsetSubject") || !R->isSubClassOf("StmtNode"); in GenerateAppertainsTo() 3645 if (Attr.isSubClassOf("TypeAttr")) in GenerateMutualExclusionsChecks() 3651 Attr.isSubClassOf("StmtAttr") || Attr.isSubClassOf("DeclOrStmtAttr"); in GenerateMutualExclusionsChecks() 3978 OS << (Attr.isSubClassOf("TypeAttr") || in EmitClangAttrParsedAttrImpl() [all …]
|