Home
last modified time | relevance | path

Searched refs:isSubClassOf (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DPredicateExpander.cpp329 if (Rec->isSubClassOf("MCTrue")) { in expandPredicate()
335 if (Rec->isSubClassOf("MCFalse")) { in expandPredicate()
341 if (Rec->isSubClassOf("CheckNot")) { in expandPredicate()
357 if (Rec->isSubClassOf("CheckRegOperand")) in expandPredicate()
369 if (Rec->isSubClassOf("CheckImmOperand")) in expandPredicate()
397 if (Rec->isSubClassOf("CheckNumOperands")) in expandPredicate()
400 if (Rec->isSubClassOf("CheckPseudo")) in expandPredicate()
403 if (Rec->isSubClassOf("CheckOpcode")) in expandPredicate()
406 if (Rec->isSubClassOf("CheckAll")) in expandPredicate()
410 if (Rec->isSubClassOf("CheckAny")) in expandPredicate()
[all …]
H A DCodeGenIntrinsics.cpp209 else if (R->isSubClassOf("NoCapture")) { in setProperty()
212 } else if (R->isSubClassOf("NoAlias")) { in setProperty()
215 } else if (R->isSubClassOf("NoUndef")) { in setProperty()
218 } else if (R->isSubClassOf("NonNull")) { in setProperty()
221 } else if (R->isSubClassOf("Returned")) { in setProperty()
224 } else if (R->isSubClassOf("ReadOnly")) { in setProperty()
227 } else if (R->isSubClassOf("WriteOnly")) { in setProperty()
230 } else if (R->isSubClassOf("ReadNone")) { in setProperty()
233 } else if (R->isSubClassOf("ImmArg")) { in setProperty()
236 } else if (R->isSubClassOf("Align")) { in setProperty()
[all …]
H A DCodeGenInstAlias.cpp48 if (InstOpRec->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
55 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
66 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch()
67 if (InstOpRec->isSubClassOf("OptionalDefOperand")) { in tryAliasOpMatch()
74 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
109 if (hasSubOps || !InstOpRec->isSubClassOf("Operand")) in tryAliasOpMatch()
121 if (hasSubOps || !InstOpRec->isSubClassOf("Operand")) in tryAliasOpMatch()
137 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch()
138 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
156 if (!Rec->isSubClassOf("Operand")) in getMINumOperands()
[all …]
H A DCallingConvEmitter.cpp129 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction()
132 if (Action->isSubClassOf("CCIfType")) { in EmitAction()
140 } else if (Action->isSubClassOf("CCIf")) { in EmitAction()
151 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction()
157 } else if (Action->isSubClassOf("CCAssignToReg") || in EmitAction()
187 if (Action->isSubClassOf("CCAssignToRegAndStack")) { in EmitAction()
251 } else if (Action->isSubClassOf("CCAssignToStack")) { in EmitAction()
331 } else if (Action->isSubClassOf("CCTruncToType")) { in EmitAction()
335 } else if (Action->isSubClassOf("CCPassIndirect")) { in EmitAction()
339 } else if (Action->isSubClassOf("CCPassByVal")) { in EmitAction()
[all …]
H A DInfoByHwMode.cpp38 if (R->isSubClassOf("PtrValueType")) in ValueTypeByHwMode()
43 if (R->isSubClassOf("PtrValueType")) in ValueTypeByHwMode()
110 if (!Rec->isSubClassOf("ValueType")) in getValueTypeByHwMode()
113 assert(Rec->isSubClassOf("ValueType") && in getValueTypeByHwMode()
115 if (Rec->isSubClassOf("HwModeSelect")) in getValueTypeByHwMode()
131 bool RegSizeInfo::isSubClassOf(const RegSizeInfo &I) const { in isSubClassOf() function in RegSizeInfo
162 bool RegSizeInfoByHwMode::isSubClassOf(const RegSizeInfoByHwMode &I) const { in isSubClassOf() function in RegSizeInfoByHwMode
164 return get(M0).isSubClassOf(I.get(M0)); in isSubClassOf()
193 assert(P.second && P.second->isSubClassOf("InstructionEncoding") && in EncodingInfoByHwMode()
H A DDAGISelMatcherGen.cpp235 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()
678 if (Def->isSubClassOf("Register")) { in EmitResultLeafAsOperand()
705 if (Def->isSubClassOf("RegisterOperand")) in EmitResultLeafAsOperand()
707 if (Def->isSubClassOf("RegisterClass")) { in EmitResultLeafAsOperand()
725 if (Def->isSubClassOf("SubRegIndex")) { in EmitResultLeafAsOperand()
765 if (!OpRec->isSubClassOf("Instruction")) in numNodesThatMayLoadOrStore()
1021 if (OpRec->isSubClassOf("Instruction")) in EmitResultOperand()
[all …]
H A DMacroFusionPredicatorEmitter.cpp143 if (Predicate->isSubClassOf("WildcardPred")) { in emitFirstPredicate()
148 } else if (Predicate->isSubClassOf("OneUsePred")) { in emitFirstPredicate()
155 } else if (Predicate->isSubClassOf("FusionPredicateWithMCInstPredicate")) { in emitFirstPredicate()
175 if (Predicate->isSubClassOf("FusionPredicateWithMCInstPredicate")) { in emitSecondPredicate()
195 if (Predicate->isSubClassOf("FusionPredicateWithCode")) in emitBothPredicate()
197 else if (Predicate->isSubClassOf("BothFusionPredicateWithMCInstPredicate")) { in emitBothPredicate()
200 } else if (Predicate->isSubClassOf("TieReg")) { in emitBothPredicate()
H A DCodeGenDAGPatterns.cpp1533 if (R->isSubClassOf("SDTCisVT")) { in SDTypeConstraint()
1866 if (Operator->isSubClassOf("SDNode")) in GetNumNodeResults()
2089 if (!Op->isSubClassOf("PatFrags")) { in InlinePatternFragments()
2201 if (Op->isSubClassOf("GISelFlags")) in InlinePatternFragments()
2258 if (R->isSubClassOf("PatFrags")) { in getImplicitType()
2264 if (R->isSubClassOf("Register")) { in getImplicitType()
2277 if (R->isSubClassOf("ValueType")) { in getImplicitType()
2296 if (R->isSubClassOf("CondCode")) { in getImplicitType()
2324 if (R->isSubClassOf("Operand")) { in getImplicitType()
2862 if (R->isSubClassOf("SDNode") || R->isSubClassOf("PatFrags")) in ParseTreePattern()
[all …]
H A DGlobalISelEmitter.cpp173 if (Operator->isSubClassOf("SDNode")) in explainOperator()
176 if (Operator->isSubClassOf("Intrinsic")) in explainOperator()
179 if (Operator->isSubClassOf("ComplexPattern")) in explainOperator()
184 if (Operator->isSubClassOf("SDNodeXForm")) in explainOperator()
1087 if (ChildRec->isSubClassOf("Register")) { in importChildMatcher()
1112 if (ChildRec->isSubClassOf("ImmLeaf")) { in importChildMatcher()
1266 if (ChildRec->isSubClassOf("Register")) { in importExplicitUseRenderer()
1479 if (!DstOp->isSubClassOf("Instruction")) { in createInstructionRenderer()
1480 if (DstOp->isSubClassOf("ValueType")) in createInstructionRenderer()
1790 if (!OpRec->isSubClassOf("Instruction")) in inferRegClassFromPattern()
[all …]
H A DCompressInstEmitter.cpp153 assert(RegClass->isSubClassOf("RegisterClass") && in validateRegister()
170 if (DagOpType->isSubClassOf("RegisterClass") && in validateTypes()
171 InstOpType->isSubClassOf("RegisterClass")) { in validateTypes()
178 if (DagOpType->isSubClassOf("RegisterClass") || in validateTypes()
179 InstOpType->isSubClassOf("RegisterClass")) in validateTypes()
219 if (DI->getDef()->isSubClassOf("Register")) { in addDagOperandMapping()
247 if (Inst.Operands[I].Rec->isSubClassOf("RegisterClass")) in addDagOperandMapping()
716 if (Source.Operands[OpNo].Rec->isSubClassOf("RegisterClass")) in emitCompressInstEmitter()
759 if (DestOperand.Rec->isSubClassOf("RegisterClass") || in emitCompressInstEmitter()
760 DestOperand.Rec->isSubClassOf("RegisterOperand")) { in emitCompressInstEmitter()
[all …]
H A DCodeGenSchedule.cpp499 if (Queue->isSubClassOf("LoadQueue")) { in collectLoadStoreQueueInfo()
510 if (Queue->isSubClassOf("StoreQueue")) { in collectLoadStoreQueueInfo()
595 if (RWDef->isSubClassOf("WriteSequence")) { in scanSchedRW()
600 else if (RWDef->isSubClassOf("SchedVariant")) { in scanSchedRW()
629 if (RW->isSubClassOf("SchedWrite")) in collectSchedRW()
643 if (RWDef->isSubClassOf("SchedWrite")) in collectSchedRW()
657 if (RWDef->isSubClassOf("SchedWrite")) in collectSchedRW()
672 if (MatchDef->isSubClassOf("SchedWrite")) { in collectSchedRW()
673 if (!AliasDef->isSubClassOf("SchedWrite")) in collectSchedRW()
679 if (!AliasDef->isSubClassOf("SchedRead")) in collectSchedRW()
[all …]
H A DCodeGenInstruction.cpp85 if (Rec->isSubClassOf("RegisterOperand")) { in CGIOperandList()
90 } else if (Rec->isSubClassOf("Operand")) { in CGIOperandList()
110 if (Rec->isSubClassOf("PredicateOp")) in CGIOperandList()
112 else if (Rec->isSubClassOf("OptionalDefOperand")) in CGIOperandList()
119 } else if (Rec->isSubClassOf("RegisterClass")) { in CGIOperandList()
121 } else if (!Rec->isSubClassOf("PointerLikeRegClass") && in CGIOperandList()
122 !Rec->isSubClassOf("unknown_class")) { in CGIOperandList()
525 assert(FirstImplicitDef->isSubClassOf("Register")); in HasOneImplicitDefWithKnownVT()
591 return Constraint->getDef()->isSubClassOf("TypedOperand") && in isOperandImpl()
H A DInstrInfoEmitter.cpp156 if (OpR->isSubClassOf("RegisterOperand")) in GetOperandInfo()
158 if (OpR->isSubClassOf("RegisterClass")) in GetOperandInfo()
170 if (OpR->isSubClassOf("PointerLikeRegClass")) in GetOperandInfo()
175 if (Op.Rec->isSubClassOf("PredicateOp")) in GetOperandInfo()
451 if ((OpR->isSubClassOf("Operand") || in emitOperandTypeMappings()
452 OpR->isSubClassOf("RegisterOperand") || in emitOperandTypeMappings()
453 OpR->isSubClassOf("RegisterClass")) && in emitOperandTypeMappings()
480 if (!Op->isSubClassOf("X86MemOperand")) in emitOperandTypeMappings()
600 if ((OpR->isSubClassOf("Operand") || in emitLogicalOperandTypeMappings()
601 OpR->isSubClassOf("RegisterOperand") || in emitLogicalOperandTypeMappings()
[all …]
H A DFastISelEmitter.cpp269 if (OpLeafRec->isSubClassOf("RegisterOperand")) in initialize()
271 if (OpLeafRec->isSubClassOf("RegisterClass")) in initialize()
273 else if (OpLeafRec->isSubClassOf("Register")) in initialize()
275 else if (OpLeafRec->isSubClassOf("ValueType")) { in initialize()
432 if (!OpLeafRec->isSubClassOf("Register")) in PhyRegForNode()
455 if (!Op->isSubClassOf("Instruction")) in collectPatterns()
474 if (ChildOp->getOperator()->isSubClassOf("Instruction")) { in collectPatterns()
488 if (Op0Rec->isSubClassOf("RegisterOperand")) in collectPatterns()
490 if (!Op0Rec->isSubClassOf("RegisterClass")) in collectPatterns()
H A DSubtargetEmitter.cpp676 if (!PRDef->isSubClassOf("ProcResGroup")) in EmitProcessorResourceSubUnits()
837 if (PRDef->isSubClassOf("ProcResGroup")) { in EmitProcessorResources()
880 if (SchedWrite.TheDef->isSubClassOf("SchedWriteRes")) in FindWriteResources()
904 if (!WR->isSubClassOf("WriteRes")) in FindWriteResources()
931 if (SchedRead.TheDef->isSubClassOf("SchedReadAdvance")) in FindReadAdvance()
956 if (!RA->isSubClassOf("ReadAdvance")) in FindReadAdvance()
987 if (PRDef->isSubClassOf("ProcResGroup")) in ExpandProcResources()
994 if (SubDef->isSubClassOf("ProcResGroup")) { in ExpandProcResources()
1546 return Rec->isSubClassOf("MCSchedPredicate") && in isTruePredicate()
1581 if (Rec->isSubClassOf("MCSchedPredicate")) { in emitPredicates()
[all …]
H A DDAGISelEmitter.cpp49 if (Op->isSubClassOf("Instruction")) { in getResultPatternCost()
68 if (Op->isSubClassOf("Instruction")) { in getResultPatternSize()
H A DX86RecognizableInstr.cpp43 return Rec->isSubClassOf("RegisterClass") || in isRegisterOperand()
44 Rec->isSubClassOf("RegisterOperand"); in isRegisterOperand()
48 return Rec->isSubClassOf("Operand") && in isMemoryOperand()
53 return Rec->isSubClassOf("Operand") && in isImmediateOperand()
58 if (RegRec->isSubClassOf("RegisterClass")) in getRegOperandSize()
60 if (RegRec->isSubClassOf("RegisterOperand")) in getRegOperandSize()
67 if (MemRec->isSubClassOf("X86MemOperand")) in getMemOperandSize()
112 assert(Rec->isSubClassOf("X86Inst") && "Not a X86 Instruction"); in RecognizableInstrBase()
171 if (!insn.TheDef->isSubClassOf("X86Inst")) in processInstr()
H A DCodeGenSchedule.h67 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW()
68 HasVariants = Def->isSubClassOf("SchedVariant"); in CodeGenSchedRW()
75 IsSequence = Def->isSubClassOf("WriteSequence"); in CodeGenSchedRW()
528 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW()
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DClangSyntaxEmitter.cpp55 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 DClangTypeNodesEmitter.cpp155 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 DASTTableGen.h110 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 DMveEmitter.cpp1071 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 DClangAttrEmitter.cpp1983 if (Subject.isSubClassOf("DeclNode") || Subject.isSubClassOf("DeclBase") || in isSupportedPragmaClangAttributeSubject()
1987 if (Subject.isSubClassOf("SubsetSubject")) in isSupportedPragmaClangAttributeSubject()
3134 if (Attr->isSubClassOf(TheRecord)) { in classifyAttr()
3337 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead()
3359 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead()
3392 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHWrite()
4040 return R->isSubClassOf("SubsetSubject") || !R->isSubClassOf("StmtNode"); in GenerateAppertainsTo()
4145 if (Attr.isSubClassOf("TypeAttr")) in GenerateMutualExclusionsChecks()
4151 Attr.isSubClassOf("StmtAttr") || Attr.isSubClassOf("DeclOrStmtAttr"); in GenerateMutualExclusionsChecks()
4592 OS << (Attr.isSubClassOf("TypeAttr") || Attr.isSubClassOf("DeclOrTypeAttr")) in EmitClangAttrParsedAttrImpl()
[all …]
H A DClangOpenCLBuiltinEmitter.cpp470 if (T->isSubClassOf("GenericType")) { in VerifySignature()
1043 bool isGenType = Type->isSubClassOf("GenericType"); in getTypeLists()
1051 if (Type->isSubClassOf("PointerType") || Type->isSubClassOf("ConstType") || in getTypeLists()
1052 Type->isSubClassOf("VolatileType")) { in getTypeLists()
1055 if (PossibleGenType && PossibleGenType->isSubClassOf("GenericType")) { in getTypeLists()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DCombinerUtils.h37 if (OpI->getDef()->isSubClassOf(Cls)) in getDefOfSubClass()
64 if (OpI->getDef()->isSubClassOf(Cls)) in getDagWithOperatorOfSubClass()

12