/external/llvm/utils/TableGen/ |
D | CallingConvEmitter.cpp | 82 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() 192 } else if (Action->isSubClassOf("CCAssignToStackWithShadow")) { in EmitAction() 216 } else if (Action->isSubClassOf("CCPromoteToType")) { in EmitAction() 230 } else if (Action->isSubClassOf("CCBitConvertToType")) { in EmitAction() [all …]
|
D | DAGISelMatcherGen.cpp | 240 if (LeafRec->isSubClassOf("ValueType")) { in EmitLeafMatchCode() 249 LeafRec->isSubClassOf("RegisterClass") || in EmitLeafMatchCode() 250 LeafRec->isSubClassOf("RegisterOperand") || in EmitLeafMatchCode() 251 LeafRec->isSubClassOf("PointerLikeRegClass") || in EmitLeafMatchCode() 252 LeafRec->isSubClassOf("SubRegIndex") || in EmitLeafMatchCode() 259 if (LeafRec->isSubClassOf("Register")) { in EmitLeafMatchCode() 266 if (LeafRec->isSubClassOf("CondCode")) in EmitLeafMatchCode() 269 if (LeafRec->isSubClassOf("ComplexPattern")) { in EmitLeafMatchCode() 292 if (N->getOperator()->isSubClassOf("ComplexPattern")) { in EmitOperatorMatchCode() 624 if (Def->isSubClassOf("Register")) { in EmitResultLeafAsOperand() [all …]
|
D | CodeGenInstruction.cpp | 73 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() 368 assert(FirstImplicitDef->isSubClassOf("Register")); in HasOneImplicitDefWithKnownVT() 453 if (InstOpRec->isSubClassOf("RegisterOperand")) in tryAliasOpMatch() 456 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch() [all …]
|
D | CodeGenDAGPatterns.cpp | 788 if (!Def->isSubClassOf("Predicate")) { in getPredicateCheck() 810 if (R->isSubClassOf("SDTCisVT")) { in SDTypeConstraint() 816 } else if (R->isSubClassOf("SDTCisPtrTy")) { in SDTypeConstraint() 818 } else if (R->isSubClassOf("SDTCisInt")) { in SDTypeConstraint() 820 } else if (R->isSubClassOf("SDTCisFP")) { in SDTypeConstraint() 822 } else if (R->isSubClassOf("SDTCisVec")) { in SDTypeConstraint() 824 } else if (R->isSubClassOf("SDTCisSameAs")) { in SDTypeConstraint() 827 } else if (R->isSubClassOf("SDTCisVTSmallerThanOp")) { in SDTypeConstraint() 831 } else if (R->isSubClassOf("SDTCisOpSmallerThanOp")) { in SDTypeConstraint() 835 } else if (R->isSubClassOf("SDTCisEltOfVec")) { in SDTypeConstraint() [all …]
|
D | CodeGenTarget.cpp | 496 assert(TyEl->isSubClassOf("LLVMType") && "Expected a type!"); in CodeGenIntrinsic() 498 if (TyEl->isSubClassOf("LLVMMatchType")) { in CodeGenIntrinsic() 506 assert(((!TyEl->isSubClassOf("LLVMExtendedType") && in CodeGenIntrinsic() 507 !TyEl->isSubClassOf("LLVMTruncatedType")) || in CodeGenIntrinsic() 530 assert(TyEl->isSubClassOf("LLVMType") && "Expected a type!"); in CodeGenIntrinsic() 532 if (TyEl->isSubClassOf("LLVMMatchType")) { in CodeGenIntrinsic() 540 assert(((!TyEl->isSubClassOf("LLVMExtendedType") && in CodeGenIntrinsic() 541 !TyEl->isSubClassOf("LLVMTruncatedType")) || in CodeGenIntrinsic() 564 assert(Property->isSubClassOf("IntrinsicProperty") && in CodeGenIntrinsic() 583 else if (Property->isSubClassOf("NoCapture")) { in CodeGenIntrinsic() [all …]
|
D | CodeGenSchedule.cpp | 166 if (ModelKey->isSubClassOf("SchedMachineModel")) { in addProcModel() 189 if (RWDef->isSubClassOf("WriteSequence")) { in scanSchedRW() 194 else if (RWDef->isSubClassOf("SchedVariant")) { in scanSchedRW() 224 if ((*RWI)->isSubClassOf("SchedWrite")) in collectSchedRW() 227 assert((*RWI)->isSubClassOf("SchedRead") && "Unknown SchedReadWrite"); in collectSchedRW() 239 if ((*RWI)->isSubClassOf("SchedWrite")) in collectSchedRW() 242 assert((*RWI)->isSubClassOf("SchedRead") && "Unknown SchedReadWrite"); in collectSchedRW() 254 if ((*RWI)->isSubClassOf("SchedWrite")) in collectSchedRW() 257 assert((*RWI)->isSubClassOf("SchedRead") && "Unknown SchedReadWrite"); in collectSchedRW() 269 if (MatchDef->isSubClassOf("SchedWrite")) { in collectSchedRW() [all …]
|
D | FastISelEmitter.cpp | 256 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()
|
D | PseudoLoweringEmitter.cpp | 81 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping() 136 if (!Operator->isSubClassOf("Instruction")) in evaluateExpansion() 282 if (I->second->isSubClassOf(ExpansionClass) && in run() 283 I->second->isSubClassOf(InstructionClass)) in run()
|
D | InstrInfoEmitter.cpp | 118 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 (Op.Rec->isSubClassOf("PredicateOp")) in GetOperandInfo() 142 if (Op.Rec->isSubClassOf("OptionalDefOperand")) in GetOperandInfo()
|
D | CodeGenSchedule.h | 64 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW() 65 HasVariants = Def->isSubClassOf("SchedVariant"); in CodeGenSchedRW() 72 IsSequence = Def->isSubClassOf("WriteSequence"); in CodeGenSchedRW() 325 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW()
|
D | DAGISelEmitter.cpp | 47 if (Op->isSubClassOf("Instruction")) { in getResultPatternCost() 66 if (Op->isSubClassOf("Instruction")) { in getResultPatternSize()
|
D | SubtargetEmitter.cpp | 638 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()
|
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() 304 else if (R->isSubClassOf("LLVMHalfElementsVectorType")) in EncodeFixedType() 334 if (R->isSubClassOf("LLVMQualPointerType")) { in EncodeFixedType()
|
D | AsmWriterEmitter.cpp | 852 if (Rec->isSubClassOf("RegisterOperand") || in EmitPrintAliasInstruction() 853 Rec->isSubClassOf("Operand")) { in EmitPrintAliasInstruction() 864 if (Rec->isSubClassOf("RegisterOperand")) in EmitPrintAliasInstruction() 866 if (Rec->isSubClassOf("RegisterClass")) { in EmitPrintAliasInstruction() 872 if (R->isSubClassOf("RegisterOperand")) in EmitPrintAliasInstruction()
|
D | FixedLenDecoderEmitter.cpp | 1856 if (TypeRecord->isSubClassOf("RegisterOperand")) in populateInstruction() 1858 if (TypeRecord->isSubClassOf("RegisterClass")) { in populateInstruction() 1861 } else if (TypeRecord->isSubClassOf("PointerLikeRegClass")) { in populateInstruction() 1928 if (TypeRecord->isSubClassOf("RegisterOperand")) in populateInstruction() 1930 if (TypeRecord->isSubClassOf("RegisterClass")) { in populateInstruction() 1933 } else if (TypeRecord->isSubClassOf("PointerLikeRegClass")) { in populateInstruction()
|
D | AsmMatcherEmitter.cpp | 673 assert(Def->isSubClassOf("Predicate") && "Invalid predicate type!"); in getSubtargetFeature() 1024 if (Rec->isSubClassOf("RegisterOperand")) { in getOperandClass() 1049 if (Rec->isSubClassOf("RegisterClass")) { in getOperandClass() 1055 if (!Rec->isSubClassOf("Operand")) in getOperandClass() 1520 assert(Rec->isSubClassOf("Operand") && "Unexpected operand!"); in buildInstructionOperandReference()
|
D | X86RecognizableInstr.cpp | 183 if (!Rec->isSubClassOf("X86Inst")) { in RecognizableInstr()
|
D | CodeGenRegisters.cpp | 676 if (!Type->isSubClassOf("ValueType")) in CodeGenRegisterClass()
|
/external/clang/utils/TableGen/ |
D | ClangAttrEmitter.cpp | 142 if (Attr->isSubClassOf("TargetSpecificAttr") && in getParsedAttrList() 1644 if (Attr->isSubClassOf(InhParamClass)) in EmitClangAttrList() 1646 else if (Attr->isSubClassOf(InhClass)) in EmitClangAttrList() 1681 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead() 1697 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHRead() 1723 if (R.isSubClassOf(InhClass) || !Args.empty()) in EmitClangAttrPCHWrite() 1726 if (R.isSubClassOf(InhClass)) in EmitClangAttrPCHWrite() 1747 if (Attr->isSubClassOf("TargetSpecificAttr")) { in GenerateHasAttrSpellingStringSwitch() 2087 if (R.isSubClassOf("SubsetSubject")) { in CalculateDiagnostic() 2186 if (Base->isSubClassOf("SubsetSubject")) { in GenerateCustomAppertainsTo() [all …]
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 344 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()
|
D | TGParser.cpp | 191 if (CurRec->isSubClassOf(SCs[i])) in AddSubClass() 197 if (CurRec->isSubClassOf(SC)) in AddSubClass()
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 1509 bool isSubClassOf(const Record *R) const { in isSubClassOf() function 1516 bool isSubClassOf(StringRef Name) const { in isSubClassOf() function 1524 assert(!isSubClassOf(R) && "Already subclassing record!"); in addSuperClass()
|