Searched refs:Rec (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-10.3-release/contrib/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp54 unsigned addDagOperandMapping(Record *Rec, DagInit *Dag,
73 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn, argument
92 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec)
93 PrintFatalError(Rec->getLoc(),
96 Insn.Operands[BaseIdx + i].Rec->getName() + "'");
111 addDagOperandMapping(Rec, SubDag, Insn, OperandMap, BaseIdx + i);
121 void PseudoLoweringEmitter::evaluateExpansion(Record *Rec) { argument
122 DEBUG(dbgs() << "Pseudo definition: " << Rec->getName() << "\n");
126 DagInit *Dag = Rec->getValueAsDag("ResultInst");
132 PrintFatalError(Rec
[all...]
H A DX86RecognizableInstr.cpp221 Rec = insn.TheDef;
222 Name = Rec->getName();
225 if (!Rec->isSubClassOf("X86Inst")) {
230 Prefix = byteFromRec(Rec, "Prefix");
231 Opcode = byteFromRec(Rec, "Opcode");
232 Form = byteFromRec(Rec, "FormBits");
233 SegOvr = byteFromRec(Rec, "SegOvrBits");
235 HasOpSizePrefix = Rec->getValueAsBit("hasOpSizePrefix");
236 HasAdSizePrefix = Rec->getValueAsBit("hasAdSizePrefix");
237 HasREX_WPrefix = Rec
[all...]
H A DCodeGenInstruction.cpp67 Record *Rec = Arg->getDef(); local
73 if (Rec->isSubClassOf("RegisterOperand")) {
74 PrintMethod = Rec->getValueAsString("PrintMethod");
75 } else if (Rec->isSubClassOf("Operand")) {
76 PrintMethod = Rec->getValueAsString("PrintMethod");
77 OperandType = Rec->getValueAsString("OperandType");
79 EncoderMethod = Rec->getValueAsString("EncoderMethod");
80 MIOpInfo = Rec->getValueAsDag("MIOperandInfo");
85 PrintFatalError("Bad value for MIOperandInfo in operand '" + Rec->getName() +
93 if (Rec
[all...]
H A DAsmMatcherEmitter.cpp646 ClassInfo *getOperandClass(Record *Rec, int SubOpIdx);
1019 Record *Rec = OI.Rec; local
1021 Rec = cast<DefInit>(OI.MIOperandInfo->getArg(SubOpIdx))->getDef();
1022 return getOperandClass(Rec, SubOpIdx);
1026 AsmMatcherInfo::getOperandClass(Record *Rec, int SubOpIdx) { argument
1027 if (Rec->isSubClassOf("RegisterOperand")) {
1030 const RecordVal *R = Rec->getValue("ParserMatchClass");
1032 PrintFatalError("Record `" + Rec->getName() +
1042 Record *ClassRec = Rec
1101 Record *Rec = *it; local
1199 Record *Rec = *it; local
1487 Record *Rec = AllTokenAliases[i]; local
1520 Record *Rec = Operands[Idx].Rec; local
[all...]
H A DX86RecognizableInstr.h39 const Record* Rec; member in class:llvm::X86Disassembler::RecognizableInstr
142 /// @param s - The string, as extracted by calling Rec->getName()
H A DSetTheory.cpp220 Record *Rec = Records.getDef(OS.str()); local
221 if (!Rec)
224 // Try to reevaluate Rec in case it is a set.
225 if (const RecVec *Result = ST.expand(Rec))
228 Elts.insert(Rec);
H A DCodeGenInstruction.h65 /// Rec - The definition this operand is declared as.
67 Record *Rec; member in struct:llvm::CGIOperandList::OperandInfo
110 : Rec(R), Name(N), PrinterMethodName(PMN), EncoderMethodName(EMN),
H A DCodeGenTarget.cpp38 MVT::SimpleValueType llvm::getValueType(Record *Rec) { argument
39 return (MVT::SimpleValueType)Rec->getValueAsInt("Value");
282 const Record *Rec = Records.getDef(Name); local
285 I = Insts.find(Rec);
286 if (Rec == 0 || I == Insts.end())
H A DCodeGenTarget.h53 MVT::SimpleValueType getValueType(Record *Rec);
H A DInstrInfoEmitter.cpp110 OperandList.back().Rec = OpR;
115 Record *OpR = OperandList[j].Rec;
137 if (Inst.Operands[i].Rec->isSubClassOf("PredicateOp"))
142 if (Inst.Operands[i].Rec->isSubClassOf("OptionalDefOperand"))
H A DAsmWriterEmitter.cpp825 const Record *Rec = RO.getRecord();
829 if (Rec->isSubClassOf("RegisterOperand"))
830 Rec = Rec->getValueAsDef("RegClass");
831 if (Rec->isSubClassOf("RegisterClass")) {
851 assert(Rec->isSubClassOf("Operand") && "Unexpected operand!");
H A DCodeGenDAGPatterns.cpp2341 Record *Rec; local
2345 Rec = DI->getDef();
2347 Rec = Pat->getOperator();
2351 if (Rec->getName() == "srcvalue")
2368 if (Rec != SlotRec)
2663 if (OI.Rec == Leaf)
2749 Results.push_back(CGI.Operands[i].Rec);
2770 if (Op.Rec->isSubClassOf("OperandWithDefaultOps")) {
2773 if (!getDefaultOperand(Op.Rec).DefaultOps.empty())
2788 Operands.push_back(Op.Rec);
2926 NameRecord &Rec = Names[P->getName()]; local
[all...]
H A DDAGISelMatcherEmitter.cpp90 unsigned getNodeXFormID(Record *Rec) { argument
91 unsigned &Entry = NodeXFormMap[Rec];
93 NodeXForms.push_back(Rec);
H A DFastISelEmitter.cpp211 Record *Rec = PredFn.getOrigPatFragRecord()->getRecord();
212 if (Rec->getValueAsBit("FastIselShouldIgnore"))
465 Record *Op0Rec = II.Operands[0].Rec;
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp185 Expr *Rec = E->getInstanceReceiver(); local
186 if (!Rec)
189 Decl *RefD = getReferencedDecl(Rec);
206 Expr *Rec = E->getInstanceReceiver(); local
207 if (!Rec)
210 Decl *RefD = getReferencedDecl(Rec);
332 Expr *&Rec, SourceRange &RecRange) {
384 Rec = Init->IgnoreParenImpCasts();
385 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Rec))
386 Rec
331 checkForGCDOrXPC(ObjCMessageExpr *Msg, Expr *&RecContainer, Expr *&Rec, SourceRange &RecRange) argument
[all...]
/freebsd-10.3-release/contrib/llvm/lib/TableGen/
H A DTGParser.cpp30 Record *Rec; member in struct:llvm::SubClassReference
32 SubClassReference() : Rec(0) {}
34 bool isInvalid() const { return Rec == 0; }
65 CurRec = &CurMultiClass->Rec;
86 if (CurRec == 0) CurRec = &CurMultiClass->Rec;
149 Record *SC = SubClass.Rec;
210 Record *CurRec = &CurMC->Rec;
215 const std::vector<RecordVal> &SMCVals = SMC->Rec.getValues();
238 const std::vector<Init *> &SMCTArgs = SMC->Rec.getTemplateArgs();
287 + ") of subclass '" + SMC->Rec
[all...]
H A DRecord.cpp339 return Rec->getName();
343 // Ensure that DI is a subclass of Rec.
344 if (!DI->getDef()->isSubClassOf(Rec))
350 // Ensure that TI is compatible with Rec.
363 if (Rec == RTy->getRecord() || RTy->getRecord()->isSubClassOf(Rec))
366 const std::vector<Record*> &SC = Rec->getSuperClasses();
790 Init *MCName = QualifyName(CurMultiClass->Rec, CurMultiClass, Name, "::");
792 if (CurMultiClass->Rec.isTemplateArg(MCName)) {
793 const RecordVal *RV = CurMultiClass->Rec
[all...]
H A DTGParser.h111 bool AddSubClass(Record *Rec, SubClassReference &SubClass);
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp44 if (const ObjCMessageExpr *Rec = dyn_cast<ObjCMessageExpr>(
46 if (Rec->getMethodFamily() == OMF_alloc)
160 const Expr *Rec = Msg->getInstanceReceiver(); local
161 if (!Rec)
163 IFace = maybeAdjustInterfaceForSubscriptingCheck(IFace, Rec, Ctx);
185 const Expr *Rec = Msg->getInstanceReceiver(); local
186 if (!Rec)
190 SourceRange RecRange = Rec->getSourceRange();
199 maybePutParensOnReceiver(Rec, commit);
233 const Expr *Rec local
267 const Expr *Rec = Msg->getInstanceReceiver(); local
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DCXXInheritance.h222 void setOrigin(CXXRecordDecl *Rec) { Origin = Rec; } argument
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclarationName.cpp158 if (const RecordType *Rec = Type->getAs<RecordType>())
159 return OS << *Rec->getDecl();
185 if (const RecordType *Rec = Type->getAs<RecordType>())
186 return OS << *Rec->getDecl();
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DFixItRewriter.cpp82 RewritesReceiver Rec(Rewrite);
83 Editor.applyRewrites(Rec);
/freebsd-10.3-release/contrib/llvm/include/llvm/TableGen/
H A DRecord.h370 Record *Rec; member in class:llvm::RecordRecTy
371 explicit RecordRecTy(Record *R) : RecTy(RecordRecTyKind), Rec(R) {}
380 Record *getRecord() const { return Rec; }
1220 Init *Rec; // Record we are referring to member in class:llvm::VarBitInit::FieldInit
1224 : TypedInit(IK_FieldInit, R->getFieldType(FN)), Rec(R), FieldName(FN) {
1251 return Rec->getAsString() + "." + FieldName;
1637 Record Rec; // Placeholder for template args and Name. member in struct:llvm::MultiClass
1644 Rec(Name, Loc, Records) {}
1741 RecordParts(StringRef Rec) { argument
1742 if (Rec
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp118 FixitReceiver Rec(MergedFixits);
119 Editor.applyRewrites(Rec);
/freebsd-10.3-release/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h713 const SCEVAddRecExpr *Rec = (const SCEVAddRecExpr *) Res; local
714 return Rec->evaluateAtIteration(Map[L], SE);

Completed in 137 milliseconds

12