/external/llvm-project/llvm/utils/TableGen/ |
D | X86EVEX2VEXTablesEmitter.cpp | 100 if (RecV->getValueAsDef("OpEnc")->getName().str() != "EncVEX" || in operator ()() 103 RecV->getValueAsDef("OpPrefix") != RecE->getValueAsDef("OpPrefix") || in operator ()() 104 RecV->getValueAsDef("OpMap") != RecE->getValueAsDef("OpMap") || in operator ()() 113 RecV->getValueAsDef("Form") != RecE->getValueAsDef("Form")) in operator ()() 135 if (OpRec1->getValueAsDef("Type") != OpRec2->getValueAsDef("Type")) { in operator ()() 165 return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment"); in getRegOperandSize() 184 if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncVEX") { in run() 190 else if (Inst->TheDef->getValueAsDef("OpEnc")->getName() == "EncEVEX" && in run()
|
D | OptEmitter.cpp | 47 bool ASent = A->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords() 48 bool BSent = B->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords() 73 int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords() 74 int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords()
|
D | CodeGenSchedule.cpp | 301 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate() 331 const Record *SchedModel = Def->getValueAsDef("SchedModel"); in processSTIPredicate() 343 const Record *Pred = EC->getValueAsDef("Predicate"); in processSTIPredicate() 406 const Record *Decl = R->getValueAsDef("Declaration"); in collectSTIPredicates() 465 CodeGenProcModel &PM = getProcModel(RCU->getValueAsDef("SchedModel")); in collectRetireControlUnits() 480 CodeGenProcModel &PM = getProcModel(Queue->getValueAsDef("SchedModel")); in collectLoadStoreQueueInfo() 548 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel() 556 ProcDef->getValueAsDef("SchedModel"), ModelKey); in addProcModel() 643 Record *MatchDef = ADef->getValueAsDef("MatchRW"); in collectSchedRW() 644 Record *AliasDef = ADef->getValueAsDef("AliasRW"); in collectSchedRW() [all …]
|
D | X86FoldTablesEmitter.cpp | 229 RegRec = RegRec->getValueAsDef("RegClass"); in getRegOperandSize() 240 MemRec->getValueAsDef("ParserMatchClass")->getValueAsString("Name"); in getMemOperandSize() 328 if (RegRec->getValueAsDef("OpEnc") != MemRec->getValueAsDef("OpEnc") || in operator ()() 332 RegRec->getValueAsDef("OpPrefix") != in operator ()() 333 MemRec->getValueAsDef("OpPrefix") || in operator ()() 334 RegRec->getValueAsDef("OpMap") != MemRec->getValueAsDef("OpMap") || in operator ()() 335 RegRec->getValueAsDef("OpSize") != MemRec->getValueAsDef("OpSize") || in operator ()() 336 RegRec->getValueAsDef("AdSize") != MemRec->getValueAsDef("AdSize") || in operator ()() 407 if (MemOpRec->getValueAsDef("Type") != RegOpRec->getValueAsDef("Type")) in operator ()()
|
D | ExegesisEmitter.cpp | 88 AddPfmCounterName(Def->getValueAsDef("CycleCounter")); in collectPfmCounters() 89 AddPfmCounterName(Def->getValueAsDef("UopsCounter")); in collectPfmCounters() 111 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo() 113 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo() 195 << " &" << Target << Binding->getValueAsDef("Counters")->getName() // in emitPfmCountersLookupTable()
|
D | CallingConvEmitter.cpp | 117 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction() 121 Record *CC = Action->getValueAsDef("CC"); in EmitAction() 236 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 250 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 266 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 270 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 274 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
|
D | PredicateExpander.cpp | 251 expandStatement(OS, Rec->getValueAsDef("CaseStmt")); in expandOpcodeSwitchCase() 287 Rec->getValueAsDef("DefaultCase")); in expandStatement() 292 expandReturnStatement(OS, Rec->getValueAsDef("Pred")); in expandStatement() 315 expandPredicate(OS, Rec->getValueAsDef("Pred")); in expandPredicate() 328 Rec->getValueAsDef("Reg"), in expandPredicate()
|
D | SubtargetEmitter.cpp | 732 const Record *Queue = ProcModel.LoadQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo() 743 ProcModel.StoreQueue->getValueAsDef("QueueDescriptor"); in EmitLoadStoreQueueInfo() 806 SchedModels.findProcResUnits(PRDef->getValueAsDef("Super"), in EmitProcessorResources() 844 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources() 846 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources() 864 if (AliasDef == WR->getValueAsDef("WriteType") in FindWriteResources() 865 || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) { in FindWriteResources() 896 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance() 898 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindReadAdvance() 916 if (AliasDef == RA->getValueAsDef("ReadType") in FindReadAdvance() [all …]
|
/external/llvm-project/clang/utils/TableGen/ |
D | ClangOpenCLBuiltinEmitter.cpp | 368 T->getValueAsDef("VectorList")->getValueAsListOfInts("List").size(); in VerifySignature() 381 T->getValueAsDef("TypeList")->getValueAsListOfDefs("List").size(); in VerifySignature() 507 StringRef ExtName = Overload.first->getValueAsDef("Extension")->getName(); in EmitBuiltinTable() 514 << Overload.first->getValueAsDef("MinVersion")->getValueAsInt("ID") in EmitBuiltinTable() 516 << Overload.first->getValueAsDef("MaxVersion")->getValueAsInt("ID") in EmitBuiltinTable() 538 Rec->getValueAsDef("MinVersion")->getValueAsInt("ID") == in CanReuseSignature() 539 Rec2->getValueAsDef("MinVersion")->getValueAsInt("ID") && in CanReuseSignature() 540 Rec->getValueAsDef("MaxVersion")->getValueAsInt("ID") == in CanReuseSignature() 541 Rec2->getValueAsDef("MaxVersion")->getValueAsInt("ID") && in CanReuseSignature() 542 Rec->getValueAsDef("Extension")->getName() == in CanReuseSignature() [all …]
|
D | ASTTableGen.h | 283 return get()->getValueAsDef(ArrayElementTypeFieldName); in getArrayElementType() 290 return get()->getValueAsDef(OptionalElementTypeFieldName); in getOptionalElementType() 297 return get()->getValueAsDef(SubclassBaseTypeFieldName); in getSuperclassType() 337 return get()->getValueAsDef(TypeFieldName); in getParentType() 342 return get()->getValueAsDef(KindTypeFieldName); in getKindType() 372 return get()->getValueAsDef(TypeFieldName); in getParentType() 392 return get()->getValueAsDef(TypeFieldName); in getType() 397 return get()->getValueAsDef(ClassFieldName); in getClass() 424 return get()->getValueAsDef(ClassFieldName); in getClass() 444 return get()->getValueAsDef(ClassFieldName); in getClass() [all …]
|
D | ClangOptionDocEmitter.cpp | 232 getSeparatorsForKind(Option->getValueAsDef("Kind")); in emitOptionWithArgs() 243 unsigned NumArgs = getNumArgsForKind(Option->getValueAsDef("Kind"), Option); in emitOptionName() 272 Record *Alias = Option->getValueAsDef("Alias"); in emitOptionName() 305 if (Option.Option->getValueAsDef("Kind")->getName() == "KIND_UNKNOWN" || in emitOption() 306 Option.Option->getValueAsDef("Kind")->getName() == "KIND_INPUT") in emitOption()
|
D | ClangSyntaxEmitter.cpp | 114 *this = SyntaxConstraint(*R.getValueAsDef("inner")); in SyntaxConstraint() 221 SyntaxConstraint Constraint(*C->getValueAsDef("syntax")); in EmitClangSyntaxNodeClasses()
|
/external/llvm/utils/TableGen/ |
D | CodeGenSchedule.cpp | 165 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel() 173 ProcDef->getValueAsDef("SchedModel"), ModelKey); in addProcModel() 262 Record *MatchDef = (*AI)->getValueAsDef("MatchRW"); in collectSchedRW() 263 Record *AliasDef = (*AI)->getValueAsDef("AliasRW"); in collectSchedRW() 298 Record *AliasDef = (*AI)->getValueAsDef("AliasRW"); in collectSchedRW() 300 Record *MatchDef = (*AI)->getValueAsDef("MatchRW"); in collectSchedRW() 428 const CodeGenSchedRW &AliasRW = getSchedRW((*AI)->getValueAsDef("AliasRW")); in expandRWSeqForProc() 430 Record *ModelDef = (*AI)->getValueAsDef("SchedModel"); in expandRWSeqForProc() 508 Record *ItinDef = Inst->TheDef->getValueAsDef("Itinerary"); in collectSchedClasses() 564 getProcModel((*RWI)->getValueAsDef("SchedModel")); in collectSchedClasses() [all …]
|
D | CallingConvEmitter.cpp | 104 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction() 108 Record *CC = Action->getValueAsDef("CC"); in EmitAction() 222 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 236 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 251 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction() 255 Record *DestTy = Action->getValueAsDef("DestTy"); in EmitAction()
|
D | OptParserEmitter.cpp | 49 bool ASent = A->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords() 50 bool BSent = B->getValueAsDef("Kind")->getValueAsBit("Sentinel"); in CompareOptionRecords() 77 int APrec = A->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords() 78 int BPrec = B->getValueAsDef("Kind")->getValueAsInt("Precedence"); in CompareOptionRecords() 220 OS << ", " << R.getValueAsDef("Kind")->getValueAsString("Name"); in EmitOptParser()
|
D | SubtargetEmitter.cpp | 626 PRDef->getValueAsDef("Super"), ProcModel); in EmitProcessorResources() 659 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindWriteResources() 661 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindWriteResources() 679 if (AliasDef == WR->getValueAsDef("WriteType") in FindWriteResources() 680 || SchedWrite.TheDef == WR->getValueAsDef("WriteType")) { in FindWriteResources() 711 SchedModels.getSchedRW(A->getValueAsDef("AliasRW")); in FindReadAdvance() 713 Record *ModelDef = AliasRW.TheDef->getValueAsDef("SchedModel"); in FindReadAdvance() 731 if (AliasDef == RA->getValueAsDef("ReadType") in FindReadAdvance() 732 || SchedRead.TheDef == RA->getValueAsDef("ReadType")) { in FindReadAdvance() 774 SchedModels.findProcResUnits(SubDef->getValueAsDef("Super"), PM); in ExpandProcResources() [all …]
|
/external/llvm-project/libc/utils/HdrGen/PrototypeTestGen/ |
D | PrototypeTestGen.cpp | 39 llvm::Record *retValSpec = functionSpec->getValueAsDef("Return"); in TestGeneratorMain() 41 G.getTypeAsString(retValSpec->getValueAsDef("ReturnType")); in TestGeneratorMain() 50 llvm::Record *argType = args[i]->getValueAsDef("ArgType"); in TestGeneratorMain()
|
/external/llvm-project/mlir/lib/TableGen/ |
D | Type.cpp | 42 baseType = baseType->getValueAsDef("baseType"); in getBuilderCall() 63 return Dialect(def->getValueAsDef("dialect")); in getDialect()
|
D | Constraint.cpp | 22 def = def->getValueAsDef("constraint"); in Constraint() 40 def = def->getValueAsDef("constraint"); in Constraint()
|
D | Operator.cpp | 38 : dialect(def.getValueAsDef("opDialect")), def(def) { in Operator() 375 argDef = argDef->getValueAsDef("constraint"); in populateOpStructure() 424 argDef = argDef->getValueAsDef("constraint"); in populateOpStructure() 454 resultDef = resultDef->getValueAsDef("constraint"); in populateOpStructure()
|
/external/llvm-project/libc/utils/tools/WrapperGen/ |
D | Main.cpp | 85 llvm::Record *RetValSpec = FunctionSpec->getValueAsDef("Return"); in WrapperGenMain() 86 llvm::Record *ReturnType = RetValSpec->getValueAsDef("ReturnType"); in WrapperGenMain() 104 llvm::Record *ArgType = ArgsList[i]->getValueAsDef("ArgType"); in WrapperGenMain()
|
/external/llvm-project/libc/utils/HdrGen/ |
D | PublicAPICommand.cpp | 99 llvm::Record *RetValSpec = FunctionSpec->getValueAsDef("Return"); in writeAPIFromIndex() 100 llvm::Record *ReturnType = RetValSpec->getValueAsDef("ReturnType"); in writeAPIFromIndex() 106 llvm::Record *ArgType = ArgsList[i]->getValueAsDef("ArgType"); in writeAPIFromIndex()
|
/external/llvm-project/libc/utils/LibcTableGenUtil/ |
D | APIIndexer.cpp | 70 return getTypeAsString(TypeRecord->getValueAsDef("PointeeType")) + " *"; in getTypeAsString() 73 getTypeAsString(TypeRecord->getValueAsDef("UnqualifiedType")); in getTypeAsString() 75 return getTypeAsString(TypeRecord->getValueAsDef("PointeeType")) + in getTypeAsString()
|
/external/clang/utils/TableGen/ |
D | ClangDiagnosticsEmitter.cpp | 174 assert(R->getValueAsDef("Class")->getName() != "CLASS_NOTE" && in groupDiagnostics() 355 const std::string &ClsName = Diag->getValueAsDef("Class")->getName(); in isExtension() 361 Diag->getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in isOffByDefault() 472 const std::string &ClsName = Diag.getValueAsDef("Class")->getName(); in isError() 477 const std::string &ClsName = Diag.getValueAsDef("Class")->getName(); in isRemark() 540 OS << R.getValueAsDef("Class")->getName(); in EmitClangDiagsDefs() 542 << R.getValueAsDef("DefaultSeverity")->getValueAsString("Name"); in EmitClangDiagsDefs() 565 OS << ", " << R.getValueAsDef("SFINAE")->getName(); in EmitClangDiagsDefs()
|
D | ClangASTNodesEmitter.cpp | 164 Tree.insert(std::make_pair(R->getValueAsDef("Base"), R)); in run() 210 Record *B = R->getValueAsDef("Base"); in EmitClangDeclContext()
|