Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DPredicateExpander.cpp290 if (Rec->isSubClassOf("MCTrue")) { in expandPredicate()
296 if (Rec->isSubClassOf("MCFalse")) { in expandPredicate()
302 if (Rec->isSubClassOf("CheckNot")) { in expandPredicate()
315 if (Rec->isSubClassOf("CheckRegOperand")) in expandPredicate()
327 if (Rec->isSubClassOf("CheckImmOperand")) in expandPredicate()
345 if (Rec->isSubClassOf("CheckNumOperands")) in expandPredicate()
348 if (Rec->isSubClassOf("CheckPseudo")) in expandPredicate()
351 if (Rec->isSubClassOf("CheckOpcode")) in expandPredicate()
354 if (Rec->isSubClassOf("CheckAll")) in expandPredicate()
358 if (Rec->isSubClassOf("CheckAny")) in expandPredicate()
[all …]
H A DCallingConvEmitter.cpp85 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction()
88 if (Action->isSubClassOf("CCIfType")) { in EmitAction()
96 } else if (Action->isSubClassOf("CCIf")) { in EmitAction()
107 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction()
112 } else if (Action->isSubClassOf("CCAssignToReg")) { in EmitAction()
174 } else if (Action->isSubClassOf("CCAssignToStack")) { in EmitAction()
221 } else if (Action->isSubClassOf("CCPromoteToType")) { in EmitAction()
250 } else if (Action->isSubClassOf("CCBitConvertToType")) { in EmitAction()
254 } else if (Action->isSubClassOf("CCPassIndirect")) { in EmitAction()
258 } else if (Action->isSubClassOf("CCPassByVal")) { in EmitAction()
[all …]
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()
660 if (Def->isSubClassOf("Register")) { in EmitResultLeafAsOperand()
676 if (Def->isSubClassOf("RegisterOperand")) in EmitResultLeafAsOperand()
678 if (Def->isSubClassOf("RegisterClass")) { in EmitResultLeafAsOperand()
686 if (Def->isSubClassOf("SubRegIndex")) { in EmitResultLeafAsOperand()
714 if (!OpRec->isSubClassOf("Instruction")) in numNodesThatMayLoadOrStore()
955 if (OpRec->isSubClassOf("Instruction")) in EmitResultOperand()
[all …]
H A DCodeGenInstruction.cpp76 if (Rec->isSubClassOf("RegisterOperand")) { in CGIOperandList()
81 } else if (Rec->isSubClassOf("Operand")) { in CGIOperandList()
100 if (Rec->isSubClassOf("PredicateOp")) in CGIOperandList()
107 } else if (Rec->isSubClassOf("RegisterClass")) { in CGIOperandList()
110 !Rec->isSubClassOf("unknown_class")) in CGIOperandList()
521 if (InstOpRec->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
528 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
546 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
609 if (InstOpRec->isSubClassOf("Operand") && ADI && in tryAliasOpMatch()
610 ADI->getDef()->isSubClassOf("Operand")) { in tryAliasOpMatch()
[all …]
H A DX86EVEX2VEXTablesEmitter.cpp164 return Rec->isSubClassOf("RegisterClass") || in isRegisterOperand()
165 Rec->isSubClassOf("RegisterOperand"); in isRegisterOperand()
169 return Rec->isSubClassOf("Operand") && in isMemoryOperand()
174 return Rec->isSubClassOf("Operand") && in isImmediateOperand()
179 if (RegRec->isSubClassOf("RegisterClass")) in getRegOperandSize()
181 if (RegRec->isSubClassOf("RegisterOperand")) in getRegOperandSize()
196 if (!Inst->TheDef->isSubClassOf("X86Inst")) in run()
H A DCodeGenDAGPatterns.cpp1358 if (R->isSubClassOf("SDTCisVT")) { in SDTypeConstraint()
1687 if (Operator->isSubClassOf("SDNode")) in GetNumNodeResults()
1903 if (!Op->isSubClassOf("PatFrags")) { in InlinePatternFragments()
2065 if (R->isSubClassOf("PatFrags")) { in getImplicitType()
2071 if (R->isSubClassOf("Register")) { in getImplicitType()
2079 if (R->isSubClassOf("SubRegIndex")) { in getImplicitType()
2084 if (R->isSubClassOf("ValueType")) { in getImplicitType()
2103 if (R->isSubClassOf("CondCode")) { in getImplicitType()
2128 if (R->isSubClassOf("Operand")) { in getImplicitType()
2627 if (R->isSubClassOf("SDNode") || R->isSubClassOf("PatFrags")) in ParseTreePattern()
[all …]
H A DCodeGenTarget.cpp589 if (TyEl->isSubClassOf("LLVMMatchType")) { in CodeGenIntrinsic()
597 assert(((!TyEl->isSubClassOf("LLVMExtendedType") && in CodeGenIntrinsic()
623 if (TyEl->isSubClassOf("LLVMMatchType")) { in CodeGenIntrinsic()
635 assert(((!TyEl->isSubClassOf("LLVMExtendedType") && in CodeGenIntrinsic()
636 !TyEl->isSubClassOf("LLVMTruncatedType") && in CodeGenIntrinsic()
660 assert(Property->isSubClassOf("IntrinsicProperty") && in CodeGenIntrinsic()
692 else if (Property->isSubClassOf("NoCapture")) { in CodeGenIntrinsic()
695 } else if (Property->isSubClassOf("Returned")) { in CodeGenIntrinsic()
698 } else if (Property->isSubClassOf("ReadOnly")) { in CodeGenIntrinsic()
701 } else if (Property->isSubClassOf("WriteOnly")) { in CodeGenIntrinsic()
[all …]
H A DInfoByHwMode.cpp108 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()
H A DRISCVCompressInstEmitter.cpp153 if (DagOpType->isSubClassOf("RegisterClass") && in validateTypes()
154 InstOpType->isSubClassOf("RegisterClass")) { in validateTypes()
161 if (DagOpType->isSubClassOf("RegisterClass") || in validateTypes()
162 InstOpType->isSubClassOf("RegisterClass")) in validateTypes()
201 if (DI->getDef()->isSubClassOf("Register")) { in addDagOperandMapping()
229 if (Inst.Operands[i].Rec->isSubClassOf("RegisterClass")) in addDagOperandMapping()
417 if (!Operator->isSubClassOf("RVInst")) in evaluateCompressPat()
434 if (!DestOperator->isSubClassOf("RVInst16")) in evaluateCompressPat()
650 if (Source.Operands[OpNo].Rec->isSubClassOf("RegisterClass")) in emitCompressInstEmitter()
691 if (DestOperand.Rec->isSubClassOf("RegisterClass")) { in emitCompressInstEmitter()
[all …]
H A DCodeGenSchedule.cpp487 if (Queue->isSubClassOf("LoadQueue")) { in collectLoadStoreQueueInfo()
498 if (Queue->isSubClassOf("StoreQueue")) { in collectLoadStoreQueueInfo()
574 if (RWDef->isSubClassOf("WriteSequence")) { in scanSchedRW()
608 if (RW->isSubClassOf("SchedWrite")) in collectSchedRW()
622 if (RWDef->isSubClassOf("SchedWrite")) in collectSchedRW()
636 if (RWDef->isSubClassOf("SchedWrite")) in collectSchedRW()
651 if (MatchDef->isSubClassOf("SchedWrite")) { in collectSchedRW()
652 if (!AliasDef->isSubClassOf("SchedWrite")) in collectSchedRW()
658 if (!AliasDef->isSubClassOf("SchedRead")) in collectSchedRW()
751 if (RWDef->isSubClassOf("SchedWrite")) in splitSchedReadWrites()
[all …]
H A DX86FoldTablesEmitter.cpp216 if (RegRec->isSubClassOf("RegisterOperand")) in getRegOperandSize()
218 if (RegRec->isSubClassOf("RegisterClass")) in getRegOperandSize()
227 if (MemRec->isSubClassOf("Operand")) { in getMemOperandSize()
279 return Rec->isSubClassOf("RegisterClass") || in isRegisterOperand()
280 Rec->isSubClassOf("RegisterOperand") || in isRegisterOperand()
281 Rec->isSubClassOf("PointerLikeRegClass"); in isRegisterOperand()
285 return Rec->isSubClassOf("Operand") && in isMemoryOperand()
290 return Rec->isSubClassOf("Operand") && in isImmediateOperand()
573 if (!Inst->TheDef->getNameInit() || !Inst->TheDef->isSubClassOf("X86Inst")) in run()
H A DIntrinsicEmitter.cpp264 if (R->isSubClassOf("LLVMMatchType")) { in EncodeFixedType()
267 if (R->isSubClassOf("LLVMExtendedType")) in EncodeFixedType()
269 else if (R->isSubClassOf("LLVMTruncatedType")) in EncodeFixedType()
271 else if (R->isSubClassOf("LLVMHalfElementsVectorType")) in EncodeFixedType()
273 else if (R->isSubClassOf("LLVMVectorSameWidth")) { in EncodeFixedType()
280 else if (R->isSubClassOf("LLVMPointerTo")) in EncodeFixedType()
282 else if (R->isSubClassOf("LLVMVectorOfAnyPointersToElt")) { in EncodeFixedType()
291 } else if (R->isSubClassOf("LLVMPointerToElt")) in EncodeFixedType()
322 if (R->isSubClassOf("LLVMQualPointerType")) { in EncodeFixedType()
H A DPseudoLoweringEmitter.cpp81 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping()
136 if (!Operator->isSubClassOf("Instruction")) in evaluateExpansion()
282 if (D.second->isSubClassOf(ExpansionClass) && in run()
283 D.second->isSubClassOf(InstructionClass)) in run()
H A DFastISelEmitter.cpp266 if (OpLeafRec->isSubClassOf("RegisterOperand")) in initialize()
268 if (OpLeafRec->isSubClassOf("RegisterClass")) in initialize()
270 else if (OpLeafRec->isSubClassOf("Register")) in initialize()
272 else if (OpLeafRec->isSubClassOf("ValueType")) { in initialize()
438 if (!OpLeafRec->isSubClassOf("Register")) in PhyRegForNode()
461 if (!Op->isSubClassOf("Instruction")) in collectPatterns()
480 if (ChildOp->getOperator()->isSubClassOf("Instruction")) { in collectPatterns()
494 if (Op0Rec->isSubClassOf("RegisterOperand")) in collectPatterns()
496 if (!Op0Rec->isSubClassOf("RegisterClass")) in collectPatterns()
H A DInstrInfoEmitter.cpp139 if (OpR->isSubClassOf("RegisterOperand")) in GetOperandInfo()
141 if (OpR->isSubClassOf("RegisterClass")) in GetOperandInfo()
143 else if (OpR->isSubClassOf("PointerLikeRegClass")) in GetOperandInfo()
153 if (OpR->isSubClassOf("PointerLikeRegClass")) in GetOperandInfo()
158 if (Op.Rec->isSubClassOf("PredicateOp")) in GetOperandInfo()
163 if (Op.Rec->isSubClassOf("OptionalDefOperand")) in GetOperandInfo()
H A DSubtargetEmitter.cpp604 if (!PRDef->isSubClassOf("ProcResGroup")) in EmitProcessorResourceSubUnits()
769 if (PRDef->isSubClassOf("ProcResGroup")) { in EmitProcessorResources()
812 if (SchedWrite.TheDef->isSubClassOf("SchedWriteRes")) in FindWriteResources()
836 if (!WR->isSubClassOf("WriteRes")) in FindWriteResources()
863 if (SchedRead.TheDef->isSubClassOf("SchedReadAdvance")) in FindReadAdvance()
888 if (!RA->isSubClassOf("ReadAdvance")) in FindReadAdvance()
919 if (PRDef->isSubClassOf("ProcResGroup")) in ExpandProcResources()
926 if (SubDef->isSubClassOf("ProcResGroup")) { in ExpandProcResources()
1457 return Rec->isSubClassOf("MCSchedPredicate") && in emitPredicates()
1486 if (Rec->isSubClassOf("MCSchedPredicate")) { in emitPredicates()
[all …]
H A DGlobalISelEmitter.cpp259 if (Operator->isSubClassOf("SDNode")) in explainOperator()
262 if (Operator->isSubClassOf("Intrinsic")) in explainOperator()
265 if (Operator->isSubClassOf("ComplexPattern")) in explainOperator()
270 if (Operator->isSubClassOf("SDNodeXForm")) in explainOperator()
3474 if (ChildRec->isSubClassOf("ValueType")) { in importChildMatcher()
3484 if (ChildRec->isSubClassOf("ImmLeaf")) { in importChildMatcher()
3593 if (ChildRec->isSubClassOf("Register")) { in importExplicitUseRenderer()
3600 ChildRec->isSubClassOf("ValueType")) { in importExplicitUseRenderer()
3680 if (!DstOp->isSubClassOf("Instruction")) { in createInstructionRenderer()
3681 if (DstOp->isSubClassOf("ValueType")) in createInstructionRenderer()
[all …]
H A DDAGISelEmitter.cpp47 if (Op->isSubClassOf("Instruction")) { in getResultPatternCost()
66 if (Op->isSubClassOf("Instruction")) { in getResultPatternSize()
H A DInfoByHwMode.h159 bool isSubClassOf(const RegSizeInfo &I) const;
172 bool isSubClassOf(const RegSizeInfoByHwMode &I) const;
H A DCodeGenSchedule.h63 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW()
64 HasVariants = Def->isSubClassOf("SchedVariant"); in CodeGenSchedRW()
71 IsSequence = Def->isSubClassOf("WriteSequence"); in CodeGenSchedRW()
522 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW()
H A DSearchableTableEmitter.cpp131 return DI->getDef()->isSubClassOf("Intrinsic"); in isIntrinsic()
531 if (TypeRec->isSubClassOf("GenericEnum")) { in parseFieldType()
627 if (IntrinsicClass && RecordTy->isSubClassOf(IntrinsicClass)) in collectTableEntries()
629 else if (InstructionClass && RecordTy->isSubClassOf(InstructionClass)) in collectTableEntries()
722 !Class->isSubClassOf(SearchableTable)) in run()
H A DAsmWriterEmitter.cpp867 if (Rec->isSubClassOf("RegisterOperand") || in EmitPrintAliasInstruction()
868 Rec->isSubClassOf("Operand")) { in EmitPrintAliasInstruction()
878 if (Rec->isSubClassOf("RegisterOperand")) in EmitPrintAliasInstruction()
880 if (Rec->isSubClassOf("RegisterClass")) { in EmitPrintAliasInstruction()
886 if (R->isSubClassOf("RegisterOperand")) in EmitPrintAliasInstruction()
H A DFixedLenDecoderEmitter.cpp1741 if (Record->isSubClassOf("RegisterOperand")) in findOperandDecoderMethod()
1744 if (Record->isSubClassOf("RegisterClass")) { in findOperandDecoderMethod()
1746 } else if (Record->isSubClassOf("PointerLikeRegClass")) { in findOperandDecoderMethod()
1911 if (TypeRecord->isSubClassOf("RegisterOperand")) in populateInstruction()
1913 if (TypeRecord->isSubClassOf("RegisterClass")) { in populateInstruction()
1916 } else if (TypeRecord->isSubClassOf("PointerLikeRegClass")) { in populateInstruction()
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DClangAttrEmitter.cpp166 if (Attr->isSubClassOf("TargetSpecificAttr") && in getParsedAttrList()
2539 if (Attr->isSubClassOf(TheRecord)) { in classifyAttr()
2708 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead()
2724 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead()
2747 if (R.isSubClassOf(InhClass) || !Args.empty()) in EmitClangAttrPCHWrite()
2750 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHWrite()
3270 if (Base->isSubClassOf("SubsetSubject")) { in GenerateCustomAppertainsTo()
3323 if ((*I)->isSubClassOf("SubsetSubject")) { in GenerateAppertainsTo()
3369 if ((*I)->isSubClassOf("SubsetSubject")) in emitAttributeMatchRules()
3448 if (!Attr.isSubClassOf("TargetSpecificAttr")) in GenerateTargetRequirements()
[all …]
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DRecord.cpp176 assert(i == j || !Classes[i]->isSubClassOf(Classes[j])); in get()
211 bool RecordRecTy::isSubClassOf(Record *Class) const { in isSubClassOf() function in RecordRecTy
214 MySuperClass->isSubClassOf(Class); in isSubClassOf()
227 return isSubClassOf(TargetClass); in typeIsConvertibleTo()
245 if (T2->isSubClassOf(R)) { in resolveRecordTypes()
2163 if (D.second->isSubClassOf(Class)) in getAllDerivedDefinitions()

12