Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/utils/TableGen/
DCallingConvEmitter.cpp82 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction()
85 if (Action->isSubClassOf("CCIfType")) { in EmitAction()
93 } else if (Action->isSubClassOf("CCIf")) { in EmitAction()
104 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction()
109 } else if (Action->isSubClassOf("CCAssignToReg")) { in EmitAction()
130 } else if (Action->isSubClassOf("CCAssignToRegWithShadow")) { in EmitAction()
172 } else if (Action->isSubClassOf("CCAssignToStack")) { in EmitAction()
188 if (Action->isSubClassOf("CCAssignToStackWithShadow")) in EmitAction()
194 } else if (Action->isSubClassOf("CCPromoteToType")) { in EmitAction()
203 } else if (Action->isSubClassOf("CCBitConvertToType")) { in EmitAction()
[all …]
DDAGISelMatcherGen.cpp230 if (LeafRec->isSubClassOf("ValueType")) { in EmitLeafMatchCode()
239 LeafRec->isSubClassOf("RegisterClass") || in EmitLeafMatchCode()
240 LeafRec->isSubClassOf("RegisterOperand") || in EmitLeafMatchCode()
241 LeafRec->isSubClassOf("PointerLikeRegClass") || in EmitLeafMatchCode()
242 LeafRec->isSubClassOf("SubRegIndex") || in EmitLeafMatchCode()
249 if (LeafRec->isSubClassOf("Register")) { in EmitLeafMatchCode()
256 if (LeafRec->isSubClassOf("CondCode")) in EmitLeafMatchCode()
259 if (LeafRec->isSubClassOf("ComplexPattern")) { in EmitLeafMatchCode()
594 if (Def->isSubClassOf("Register")) { in EmitResultLeafAsOperand()
610 if (Def->isSubClassOf("RegisterOperand")) in EmitResultLeafAsOperand()
[all …]
DCodeGenInstruction.cpp73 if (Rec->isSubClassOf("RegisterOperand")) { in CGIOperandList()
75 } else if (Rec->isSubClassOf("Operand")) { in CGIOperandList()
93 if (Rec->isSubClassOf("PredicateOp")) in CGIOperandList()
95 else if (Rec->isSubClassOf("OptionalDefOperand")) in CGIOperandList()
100 } else if (Rec->isSubClassOf("RegisterClass")) { in CGIOperandList()
102 } else if (!Rec->isSubClassOf("PointerLikeRegClass") && in CGIOperandList()
103 !Rec->isSubClassOf("unknown_class")) in CGIOperandList()
365 assert(FirstImplicitDef->isSubClassOf("Register")); in HasOneImplicitDefWithKnownVT()
449 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch()
450 if (!InstOpRec->isSubClassOf("RegisterClass")) in tryAliasOpMatch()
[all …]
DCodeGenDAGPatterns.cpp781 if (!Def->isSubClassOf("Predicate")) { in getPredicateCheck()
803 if (R->isSubClassOf("SDTCisVT")) { in SDTypeConstraint()
809 } else if (R->isSubClassOf("SDTCisPtrTy")) { in SDTypeConstraint()
811 } else if (R->isSubClassOf("SDTCisInt")) { in SDTypeConstraint()
813 } else if (R->isSubClassOf("SDTCisFP")) { in SDTypeConstraint()
815 } else if (R->isSubClassOf("SDTCisVec")) { in SDTypeConstraint()
817 } else if (R->isSubClassOf("SDTCisSameAs")) { in SDTypeConstraint()
820 } else if (R->isSubClassOf("SDTCisVTSmallerThanOp")) { in SDTypeConstraint()
824 } else if (R->isSubClassOf("SDTCisOpSmallerThanOp")) { in SDTypeConstraint()
828 } else if (R->isSubClassOf("SDTCisEltOfVec")) { in SDTypeConstraint()
[all …]
DCodeGenTarget.cpp474 assert(TyEl->isSubClassOf("LLVMType") && "Expected a type!"); in CodeGenIntrinsic()
476 if (TyEl->isSubClassOf("LLVMMatchType")) { in CodeGenIntrinsic()
484 assert(((!TyEl->isSubClassOf("LLVMExtendedElementVectorType") && in CodeGenIntrinsic()
485 !TyEl->isSubClassOf("LLVMTruncatedElementVectorType")) || in CodeGenIntrinsic()
508 assert(TyEl->isSubClassOf("LLVMType") && "Expected a type!"); in CodeGenIntrinsic()
510 if (TyEl->isSubClassOf("LLVMMatchType")) { in CodeGenIntrinsic()
518 assert(((!TyEl->isSubClassOf("LLVMExtendedElementVectorType") && in CodeGenIntrinsic()
519 !TyEl->isSubClassOf("LLVMTruncatedElementVectorType")) || in CodeGenIntrinsic()
542 assert(Property->isSubClassOf("IntrinsicProperty") && in CodeGenIntrinsic()
559 else if (Property->isSubClassOf("NoCapture")) { in CodeGenIntrinsic()
[all …]
DCodeGenSchedule.cpp168 if (ModelKey->isSubClassOf("SchedMachineModel")) { in addProcModel()
191 if (RWDef->isSubClassOf("WriteSequence")) { in scanSchedRW()
196 else if (RWDef->isSubClassOf("SchedVariant")) { in scanSchedRW()
226 if ((*RWI)->isSubClassOf("SchedWrite")) in collectSchedRW()
229 assert((*RWI)->isSubClassOf("SchedRead") && "Unknown SchedReadWrite"); in collectSchedRW()
241 if ((*RWI)->isSubClassOf("SchedWrite")) in collectSchedRW()
244 assert((*RWI)->isSubClassOf("SchedRead") && "Unknown SchedReadWrite"); in collectSchedRW()
256 if ((*RWI)->isSubClassOf("SchedWrite")) in collectSchedRW()
259 assert((*RWI)->isSubClassOf("SchedRead") && "Unknown SchedReadWrite"); in collectSchedRW()
271 if (MatchDef->isSubClassOf("SchedWrite")) { in collectSchedRW()
[all …]
DFastISelEmitter.cpp256 if (OpLeafRec->isSubClassOf("RegisterOperand")) in initialize()
258 if (OpLeafRec->isSubClassOf("RegisterClass")) in initialize()
260 else if (OpLeafRec->isSubClassOf("Register")) in initialize()
262 else if (OpLeafRec->isSubClassOf("ValueType")) { in initialize()
413 if (!OpLeafRec->isSubClassOf("Register")) in PhyRegForNode()
440 if (!Op->isSubClassOf("Instruction")) in collectPatterns()
452 if (ChildOp->getOperator()->isSubClassOf("Instruction")) { in collectPatterns()
466 if (Op0Rec->isSubClassOf("RegisterOperand")) in collectPatterns()
468 if (!Op0Rec->isSubClassOf("RegisterClass")) in collectPatterns()
DCodeGenSchedule.h64 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW()
65 HasVariants = Def->isSubClassOf("SchedVariant"); in CodeGenSchedRW()
72 IsSequence = Def->isSubClassOf("WriteSequence"); in CodeGenSchedRW()
303 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW()
DPseudoLoweringEmitter.cpp80 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping()
135 if (!Operator->isSubClassOf("Instruction")) in evaluateExpansion()
278 if (I->second->isSubClassOf(ExpansionClass) && in run()
279 I->second->isSubClassOf(InstructionClass)) in run()
DInstrInfoEmitter.cpp118 if (OpR->isSubClassOf("RegisterOperand")) in GetOperandInfo()
120 if (OpR->isSubClassOf("RegisterClass")) in GetOperandInfo()
122 else if (OpR->isSubClassOf("PointerLikeRegClass")) in GetOperandInfo()
132 if (OpR->isSubClassOf("PointerLikeRegClass")) in GetOperandInfo()
137 if (Inst.Operands[i].Rec->isSubClassOf("PredicateOp")) in GetOperandInfo()
142 if (Inst.Operands[i].Rec->isSubClassOf("OptionalDefOperand")) in GetOperandInfo()
DDAGISelEmitter.cpp45 if (Op->isSubClassOf("Instruction")) { in getResultPatternCost()
64 if (Op->isSubClassOf("Instruction")) { in getResultPatternSize()
DSubtargetEmitter.cpp638 if (PRDef->isSubClassOf("ProcResGroup")) { in EmitProcessorResources()
676 if (SchedWrite.TheDef->isSubClassOf("SchedWriteRes")) in FindWriteResources()
695 if (AliasDef && AliasDef->isSubClassOf("SchedWriteRes")) in FindWriteResources()
702 if (!(*WRI)->isSubClassOf("WriteRes")) in FindWriteResources()
729 if (SchedRead.TheDef->isSubClassOf("SchedReadAdvance")) in FindReadAdvance()
749 if (AliasDef && AliasDef->isSubClassOf("SchedReadAdvance")) in FindReadAdvance()
756 if (!(*RAI)->isSubClassOf("ReadAdvance")) in FindReadAdvance()
788 if (PRDef->isSubClassOf("ProcResGroup")) in ExpandProcResources()
795 if (SubDef->isSubClassOf("ProcResGroup")) { in ExpandProcResources()
810 if (*PRI == PRDef || !(*PRI)->isSubClassOf("ProcResGroup")) in ExpandProcResources()
DIntrinsicEmitter.cpp304 if (R->isSubClassOf("LLVMMatchType")) { in EncodeFixedType()
307 if (R->isSubClassOf("LLVMExtendedElementVectorType")) in EncodeFixedType()
309 else if (R->isSubClassOf("LLVMTruncatedElementVectorType")) in EncodeFixedType()
339 if (R->isSubClassOf("LLVMQualPointerType")) { in EncodeFixedType()
DAsmWriterEmitter.cpp829 if (Rec->isSubClassOf("RegisterOperand")) in EmitPrintAliasInstruction()
831 if (Rec->isSubClassOf("RegisterClass")) { in EmitPrintAliasInstruction()
838 if (R->isSubClassOf("RegisterOperand")) in EmitPrintAliasInstruction()
851 assert(Rec->isSubClassOf("Operand") && "Unexpected operand!"); in EmitPrintAliasInstruction()
DAsmMatcherEmitter.cpp676 assert(Def->isSubClassOf("Predicate") && "Invalid predicate type!"); in getSubtargetFeature()
1027 if (Rec->isSubClassOf("RegisterOperand")) { in getOperandClass()
1052 if (Rec->isSubClassOf("RegisterClass")) { in getOperandClass()
1058 if (!Rec->isSubClassOf("Operand")) in getOperandClass()
1521 assert(Rec->isSubClassOf("Operand") && "Unexpected operand!"); in buildInstructionOperandReference()
DX86RecognizableInstr.cpp225 if (!Rec->isSubClassOf("X86Inst")) { in RecognizableInstr()
494 assert(Rec->isSubClassOf("X86Inst") && "Can only filter X86 instructions"); in filter()
DFixedLenDecoderEmitter.cpp1769 if (TypeRecord->isSubClassOf("RegisterOperand")) in populateInstruction()
1771 if (TypeRecord->isSubClassOf("RegisterClass")) { in populateInstruction()
DCodeGenRegisters.cpp676 if (!Type->isSubClassOf("ValueType")) in CodeGenRegisterClass()
/freebsd-10-stable/contrib/llvm/tools/clang/utils/TableGen/
DClangAttrEmitter.cpp1357 if ((*i)->isSubClassOf(InhParamClass)) in EmitClangAttrList()
1359 else if ((*i)->isSubClassOf(MSInheritanceClass)) in EmitClangAttrList()
1361 else if ((*i)->isSubClassOf(InhClass)) in EmitClangAttrList()
1402 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead()
1417 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead()
1443 if (R.isSubClassOf(InhClass) || !Args.empty()) in EmitClangAttrPCHWrite()
1446 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHWrite()
/freebsd-10-stable/contrib/llvm/lib/TableGen/
DRecord.cpp344 if (!DI->getDef()->isSubClassOf(Rec)) in convertValue()
352 if (RRT->getRecord()->isSubClassOf(getRecord()) || in convertValue()
363 if (Rec == RTy->getRecord() || RTy->getRecord()->isSubClassOf(Rec)) in baseClassOf()
368 if (RTy->getRecord()->isSubClassOf(SC[i])) in baseClassOf()
2025 if (I->second->isSubClassOf(Class)) in getAllDerivedDefinitions()
DTGParser.cpp191 if (CurRec->isSubClassOf(SCs[i])) in AddSubClass()
197 if (CurRec->isSubClassOf(SC)) in AddSubClass()
/freebsd-10-stable/contrib/llvm/include/llvm/TableGen/
DRecord.h1513 bool isSubClassOf(const Record *R) const { in isSubClassOf() function
1520 bool isSubClassOf(StringRef Name) const { in isSubClassOf() function
1528 assert(!isSubClassOf(R) && "Already subclassing record!"); in addSuperClass()