Home
last modified time | relevance | path

Searched refs:Rec (Results 1 – 25 of 61) sorted by relevance

123

/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DPredicateExpander.cpp132 for (const Record *Rec : Opcodes) { in expandCheckOpcode() local
138 expandCheckOpcode(OS, Rec); in expandCheckOpcode()
170 for (const Record *Rec : Sequence) { in expandPredicateSequence() local
175 expandPredicate(OS, Rec); in expandPredicateSequence()
223 expandPredicate(SS, Rec); in expandReturnStatement()
251 for (const Record *Rec : Cases) { in expandOpcodeSwitchStatement() local
252 expandOpcodeSwitchCase(SS, Rec); in expandOpcodeSwitchStatement()
290 if (Rec->isSubClassOf("MCTrue")) { in expandPredicate()
296 if (Rec->isSubClassOf("MCFalse")) { in expandPredicate()
354 if (Rec->isSubClassOf("CheckAll")) in expandPredicate()
[all …]
H A DRISCVCompressInstEmitter.cpp204 PrintFatalError(Rec->getLoc(), in addDagOperandMapping()
218 PrintFatalError(Rec->getLoc(), in addDagOperandMapping()
231 Rec->getLoc(), in addDagOperandMapping()
314 PrintFatalError(Rec->getLoc(), in createDagOperandMapping()
368 PrintFatalError(Rec->getLoc(), in createInstOperandMapping()
413 PrintFatalError(Rec->getLoc(), in evaluateCompressPat()
430 PrintFatalError(Rec->getLoc(), in evaluateCompressPat()
495 Record *Rec) { in getMCOpPredicate() argument
501 MCOpPredicates.push_back(Rec); in getMCOpPredicate()
503 MCOpPredicateMap[Rec] = Entry; in getMCOpPredicate()
[all …]
H A DCodeGenInstruction.cpp69 Record *Rec = Arg->getDef(); in CGIOperandList() local
81 } else if (Rec->isSubClassOf("Operand")) { in CGIOperandList()
100 if (Rec->isSubClassOf("PredicateOp")) in CGIOperandList()
206 Record *Rec) { in ParseConstraint() argument
224 Rec->getLoc(), "Operand '" + Name + "' of '" + Rec->getName() + in ParseConstraint()
236 "' in '" + Rec->getName() + "'"); in ParseConstraint()
279 Rec->getLoc(), "Operand '" + SrcOpName + "' of '" + Rec->getName() + in ParseConstraint()
291 Rec->getLoc(), "Operand '" + DestOpName + "' of '" + Rec->getName() + in ParseConstraint()
299 Record *Rec) { in ParseConstraints() argument
626 Record *Rec = getRecord(); in getMINumOperands() local
[all …]
H A DPseudoLoweringEmitter.cpp55 unsigned addDagOperandMapping(Record *Rec, DagInit *Dag,
74 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn, in addDagOperandMapping() argument
93 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) in addDagOperandMapping()
94 PrintFatalError(Rec->getLoc(), in addDagOperandMapping()
97 Insn.Operands[BaseIdx + i].Rec->getName() + "'"); in addDagOperandMapping()
122 void PseudoLoweringEmitter::evaluateExpansion(Record *Rec) { in evaluateExpansion() argument
127 DagInit *Dag = Rec->getValueAsDag("ResultInst"); in evaluateExpansion()
133 PrintFatalError(Rec->getLoc(), Rec->getName() + in evaluateExpansion()
156 addDagOperandMapping(Rec, Dag, Insn, OperandMap, 0); in evaluateExpansion()
168 CodeGenInstruction SourceInsn(Rec); in evaluateExpansion()
[all …]
H A DX86FoldTablesEmitter.cpp177 return OpIn.Rec->getName() == "RST"; in hasRSTRegClass()
184 return OpIn.Rec->getName() == "ptr_rc_tailcall"; in hasPtrTailcallRegClass()
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()
379 Record *MemOpRec = MemInst->Operands[i].Rec; in operator ()()
576 const Record *Rec = Inst->TheDef; in run() local
593 if (hasMemoryFormat(Rec)) in run()
[all …]
H A DX86EVEX2VEXTablesEmitter.cpp141 Record *OpRec1 = EVEXInst->Operands[i].Rec; in operator ()()
142 Record *OpRec2 = VEXInst->Operands[i].Rec; in operator ()()
163 static inline bool isRegisterOperand(const Record *Rec) { in isRegisterOperand() argument
164 return Rec->isSubClassOf("RegisterClass") || in isRegisterOperand()
165 Rec->isSubClassOf("RegisterOperand"); in isRegisterOperand()
168 static inline bool isMemoryOperand(const Record *Rec) { in isMemoryOperand() argument
169 return Rec->isSubClassOf("Operand") && in isMemoryOperand()
170 Rec->getValueAsString("OperandType") == "OPERAND_MEMORY"; in isMemoryOperand()
173 static inline bool isImmediateOperand(const Record *Rec) { in isImmediateOperand() argument
174 return Rec->isSubClassOf("Operand") && in isImmediateOperand()
[all …]
H A DX86RecognizableInstr.cpp68 Rec = insn.TheDef; in RecognizableInstr()
69 Name = Rec->getName(); in RecognizableInstr()
72 if (!Rec->isSubClassOf("X86Inst")) { in RecognizableInstr()
77 OpPrefix = byteFromRec(Rec, "OpPrefixBits"); in RecognizableInstr()
78 OpMap = byteFromRec(Rec, "OpMapBits"); in RecognizableInstr()
79 Opcode = byteFromRec(Rec, "Opcode"); in RecognizableInstr()
80 Form = byteFromRec(Rec, "FormBits"); in RecognizableInstr()
81 Encoding = byteFromRec(Rec, "OpEncBits"); in RecognizableInstr()
95 CD8_Scale = byteFromRec(Rec, "CD8_Scale"); in RecognizableInstr()
97 Name = Rec->getName(); in RecognizableInstr()
[all …]
H A DAsmMatcherEmitter.cpp1150 Record *Rec = OI.Rec; in getOperandClass() local
1175 PrintFatalError(Rec->getLoc(), "RegisterOperand `" + Rec->getName() + in getOperandClass()
1188 if (!Rec->isSubClassOf("Operand")) in getOperandClass()
1189 PrintFatalError(Rec->getLoc(), "Operand `" + Rec->getName() + in getOperandClass()
1227 RegisterSets.insert(RegisterSet(&Rec, &Rec + 1)); in buildRegisterClasses()
1335 CI->ClassName = Rec->getName(); in buildRegisterClasses()
1348 for (Record *Rec : AsmOperands) { in buildOperandClasses()
1354 for (Record *Rec : AsmOperands) { in buildOperandClasses()
1374 CI->ValueName = Rec->getName(); in buildOperandClasses()
1646 PrintFatalError(Rec->getLoc(), in buildInfo()
[all …]
H A DInfoByHwMode.cpp105 ValueTypeByHwMode llvm::getValueTypeByHwMode(Record *Rec, in getValueTypeByHwMode() argument
108 if (!Rec->isSubClassOf("ValueType")) in getValueTypeByHwMode()
109 Rec->dump(); in getValueTypeByHwMode()
111 assert(Rec->isSubClassOf("ValueType") && in getValueTypeByHwMode()
113 if (Rec->isSubClassOf("HwModeSelect")) in getValueTypeByHwMode()
114 return ValueTypeByHwMode(Rec, CGH); in getValueTypeByHwMode()
115 return ValueTypeByHwMode(llvm::getValueType(Rec)); in getValueTypeByHwMode()
H A DInstrInfoEmitter.cpp131 OperandList.back().Rec = OpR; in GetOperandInfo()
136 Record *OpR = OperandList[j].Rec; in GetOperandInfo()
158 if (Op.Rec->isSubClassOf("PredicateOp")) in GetOperandInfo()
163 if (Op.Rec->isSubClassOf("OptionalDefOperand")) in GetOperandInfo()
369 for (const Record *Rec : TIIPredicates) { in emitMCIIHelperMethods() local
370 OS << "bool " << Rec->getValueAsString("FunctionName") in emitMCIIHelperMethods()
388 for (const Record *Rec : TIIPredicates) { in emitMCIIHelperMethods() local
393 PE.expandStatement(OS, Rec->getValueAsDef("Body")); in emitMCIIHelperMethods()
413 for (const Record *Rec : TIIPredicates) { in emitTIIHelperMethods() local
417 OS << Rec->getValueAsString("FunctionName"); in emitTIIHelperMethods()
[all …]
H A DTableGen.cpp197 for (Record *Rec : Records.getAllDerivedDefinitions(Class)) in LLVMTableGenMain()
198 OS << Rec->getName() << ", "; in LLVMTableGenMain()
206 for (Record *Rec : Records.getAllDerivedDefinitions("Set")) { in LLVMTableGenMain()
207 OS << Rec->getName() << " = ["; in LLVMTableGenMain()
208 const std::vector<Record*> *Elts = Sets.expand(Rec); in LLVMTableGenMain()
H A DPredicateExpander.h84 void expandPredicate(raw_ostream &OS, const Record *Rec);
85 void expandReturnStatement(raw_ostream &OS, const Record *Rec);
86 void expandOpcodeSwitchCase(raw_ostream &OS, const Record *Rec);
89 void expandStatement(raw_ostream &OS, const Record *Rec);
H A DAsmWriterEmitter.cpp845 if (Operands[OpNum].Rec->getName() == in EmitPrintAliasInstruction()
846 Operands[TiedOpNum].Rec->getName()) { in EmitPrintAliasInstruction()
860 const Record *Rec = RO.getRecord(); in EmitPrintAliasInstruction() local
867 if (Rec->isSubClassOf("RegisterOperand") || in EmitPrintAliasInstruction()
868 Rec->isSubClassOf("Operand")) { in EmitPrintAliasInstruction()
878 if (Rec->isSubClassOf("RegisterOperand")) in EmitPrintAliasInstruction()
879 Rec = Rec->getValueAsDef("RegClass"); in EmitPrintAliasInstruction()
880 if (Rec->isSubClassOf("RegisterClass")) { in EmitPrintAliasInstruction()
901 unsigned Entry = MCOpPredicateMap[Rec]; in EmitPrintAliasInstruction()
904 MCOpPredicates.push_back(Rec); in EmitPrintAliasInstruction()
[all …]
H A DSubtargetEmitter.cpp670 Record *Rec = RC.RCDef; in EmitRegisterFileTables() local
671 if (Rec->getValue("Namespace")) in EmitRegisterFileTables()
672 OS << Rec->getValueAsString("Namespace") << "::"; in EmitRegisterFileTables()
1456 auto IsTruePredicate = [](const Record *Rec) { in emitPredicates() argument
1457 return Rec->isSubClassOf("MCSchedPredicate") && in emitPredicates()
1473 for (const Record *Rec : T.PredTerm) { in emitPredicates() local
1475 if (IsTruePredicate(Rec)) in emitPredicates()
1486 if (Rec->isSubClassOf("MCSchedPredicate")) { in emitPredicates()
1494 << Rec->getValueAsString("Predicate") in emitPredicates()
1522 return all_of(T.PredTerm, [](const Record *Rec) { in hasMCSchedPredicates() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DTpiHashing.cpp28 static uint32_t getHashForUdt(const TagRecord &Rec, in getHashForUdt() argument
30 ClassOptions Opts = Rec.getOptions(); in getHashForUdt()
37 return hashStringV1(Rec.getName()); in getHashForUdt()
39 return hashStringV1(Rec.getUniqueName()); in getHashForUdt()
49 return getHashForUdt(Deserialized, Rec.data()); in getHashForUdt()
107 switch (Rec.kind()) { in hashTypeRecord()
111 return getHashForUdt<ClassRecord>(Rec); in hashTypeRecord()
113 return getHashForUdt<UnionRecord>(Rec); in hashTypeRecord()
115 return getHashForUdt<EnumRecord>(Rec); in hashTypeRecord()
118 return getSourceLineHash<UdtSourceLineRecord>(Rec); in hashTypeRecord()
[all …]
H A DTpiStreamBuilder.cpp156 for (auto Rec : TypeRecords) in commit() local
157 if (auto EC = Writer.writeBytes(Rec)) in commit()
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DTGParser.cpp39 Record *Rec; member
293 if (Entry.Rec) in AddSubClass()
417 auto Rec = make_unique<Record>(*E.Rec); in resolve() local
450 checkConcrete(*Rec); in addDefOne()
579 Result.Rec = &MC->Rec; in ParseSubClassReference()
594 Result.Rec = nullptr; in ParseSubClassReference()
643 ParseValueList(Result.TemplateArgs, &CurMC->Rec, &Result.MC->Rec); in ParseSubMultiClassReference()
2463 if (Entry.Rec) in ApplyLetStack()
3043 if (Rec) in dump()
3044 Rec->dump(); in dump()
[all …]
H A DTGParser.h47 std::unique_ptr<Record> Rec; member
53 RecordsEntry(std::unique_ptr<Record> Rec) : Rec(std::move(Rec)) {} in RecordsEntry()
79 Record Rec; // Placeholder for template args and Name. member
85 Rec(Name, Loc, Records) {} in MultiClass()
142 bool AddSubClass(Record *Rec, SubClassReference &SubClass);
155 bool addDefOne(std::unique_ptr<Record> Rec);
H A DSetTheory.cpp226 Record *Rec = Records.getDef(OS.str()); in apply() local
227 if (!Rec) in apply()
231 if (const RecVec *Result = ST.expand(Rec)) in apply()
234 Elts.insert(Rec); in apply()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp184 Expr *Rec = E->getInstanceReceiver(); in isReturnedAfterAutorelease() local
185 if (!Rec) in isReturnedAfterAutorelease()
188 Decl *RefD = getReferencedDecl(Rec); in isReturnedAfterAutorelease()
205 Expr *Rec = E->getInstanceReceiver(); in isPlusOneAssignBeforeOrAfterAutorelease() local
206 if (!Rec) in isPlusOneAssignBeforeOrAfterAutorelease()
209 Decl *RefD = getReferencedDecl(Rec); in isPlusOneAssignBeforeOrAfterAutorelease()
327 Expr *&Rec, SourceRange &RecRange) { in checkForGCDOrXPC()
379 Rec = Init->IgnoreParenImpCasts(); in checkForGCDOrXPC()
380 if (FullExpr *FE = dyn_cast<FullExpr>(Rec)) in checkForGCDOrXPC()
381 Rec = FE->getSubExpr()->IgnoreParenImpCasts(); in checkForGCDOrXPC()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp46 if (Rec->getMethodFamily() == OMF_alloc) in checkForLiteralCreation()
160 const Expr *Rec = Msg->getInstanceReceiver(); in canRewriteToSubscriptSyntax() local
161 if (!Rec) in canRewriteToSubscriptSyntax()
185 const Expr *Rec = Msg->getInstanceReceiver(); in rewriteToSubscriptGetCommon() local
186 if (!Rec) in rewriteToSubscriptGetCommon()
190 SourceRange RecRange = Rec->getSourceRange(); in rewriteToSubscriptGetCommon()
199 maybePutParensOnReceiver(Rec, commit); in rewriteToSubscriptGetCommon()
234 if (!Rec) in rewriteToArraySubscriptSet()
253 maybePutParensOnReceiver(Rec, commit); in rewriteToArraySubscriptSet()
268 if (!Rec) in rewriteToDictionarySubscriptSet()
[all …]
/freebsd-12.1/share/examples/netgraph/
H A Dngctl83 Rec'd response "getname" (5) from "fred:":
106 Rec'd data packet on hook "foo":
112 Rec'd data packet on hook "foo":
118 Rec'd data packet on hook "foo":
135 Rec'd data packet on hook "foo":
168 Rec'd response "listhooks" (7) from "bar":
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DSampleProf.h367 const SampleRecord &Rec = I.second;
368 MergeResult(Result, BodySamples[Loc].merge(Rec, Weight));
373 for (const auto &Rec : I.second)
374 MergeResult(Result, FSMap[Rec.first].merge(Rec.second, Weight));
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DMapFile.cpp129 for (const CieRecord *Rec : In.EhFrame->getCieRecords()) { in printEhFrame() local
130 Add(*Rec->Cie); in printEhFrame()
131 for (const EhSectionPiece *Fde : Rec->Fdes) in printEhFrame()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DCXXInheritance.h230 void setOrigin(CXXRecordDecl *Rec) { Origin = Rec; } in setOrigin() argument

123