Home | History | Annotate | Download | only in TableGen

Lines Matching refs:Init

31   std::vector<Init*> TemplateArgs;
40 std::vector<Init*> TemplateArgs;
53 for (std::vector<Init *>::const_iterator i = TemplateArgs.begin(),
82 bool TGParser::SetValue(Record *CurRec, SMLoc Loc, Init *ValName,
83 const std::vector<unsigned> &BitList, Init *V) {
111 Init *BI = V->convertInitializerTo(BitsRecTy::get(BitList.size()));
121 SmallVector<Init *, 16> NewBits(CurVal->getNumBits());
157 const std::vector<Init *> &TArgs = SC->getTemplateArgs();
236 const std::vector<Init *> &SMCTArgs = SMC->Rec.getTemplateArgs();
323 Init *IterVar = CurLoop.IterVar;
333 Init *ItemVal = List->resolveListElementReference(*CurRec, 0, i);
420 Init *TGParser::ParseObjectName(MultiClass *CurMultiClass) {
768 Init *TGParser::ParseIDValue(Record *CurRec, IDParseMode Mode) {
778 Init *TGParser::ParseIDValue(Record *CurRec,
785 Init *TemplateArgName = QualifyName(*CurRec, CurMultiClass, Name, ":");
799 Init *MCName = QualifyName(CurMultiClass->Rec, CurMultiClass, Name,
836 Init *TGParser::ParseOperation(Record *CurRec) {
882 Init *LHS = ParseValue(CurRec);
916 Init *Item = LHSl->getElement(0);
983 SmallVector<Init*, 2> InitList;
1005 Init *RHS = InitList.pop_back_val();
1046 Init *LHS = ParseValue(CurRec);
1055 Init *MHS = ParseValue(CurRec);
1064 Init *RHS = ParseValue(CurRec);
1194 Init *TGParser::ParseSimpleValue(Record *CurRec, RecTy *ItemType,
1196 Init *R = 0;
1247 std::vector<Init*> ValueList = ParseValueList(CurRec, Class);
1277 std::vector<Init*> Vals;
1289 SmallVector<Init *, 16> NewBits(Vals.size());
1292 Init *Bit = Vals[i]->convertInitializerTo(BitRecTy::get());
1304 std::vector<Init*> Vals;
1352 for (std::vector<Init *>::iterator i = Vals.begin(), ie = Vals.end();
1404 TokError("expected identifier in dag init");
1408 Init *Operator = ParseValue(CurRec);
1422 std::vector<std::pair<llvm::Init*, std::string> > DagArgs;
1429 TokError("expected ')' in dag init");
1464 Init *TGParser::ParseValue(Record *CurRec, RecTy *ItemType, IDParseMode Mode) {
1465 Init *Result = ParseSimpleValue(CurRec, ItemType, Mode);
1564 Init *RHSResult = ParseValue(CurRec, ItemType, ParseNameMode);
1589 std::vector<std::pair<llvm::Init*, std::string> >
1591 std::vector<std::pair<llvm::Init*, std::string> > Result;
1594 Init *Val = ParseValue(CurRec);
1595 if (Val == 0) return std::vector<std::pair<llvm::Init*, std::string> >();
1602 return std::vector<std::pair<llvm::Init*, std::string> >();
1624 std::vector<Init
1626 std::vector<Init*> Result;
1630 const std::vector<Init *> &TArgs = ArgsRec->getTemplateArgs();
1633 return std::vector<Init*>();
1645 if (Result.back() == 0) return std::vector<Init*>();
1651 const std::vector<Init *> &TArgs = ArgsRec->getTemplateArgs();
1654 return std::vector<Init*>();
1662 if (Result.back() == 0) return std::vector<Init*>();
1679 Init *TGParser::ParseDeclaration(Record *CurRec,
1694 Init *DeclName = StringInit::get(Lex.getCurStrVal());
1716 Init *Val = ParseValue(CurRec, Type);
1726 /// the name of the declared object or a NULL Init on error. Return
1731 Init *TGParser::ParseForeachDeclaration(Init *&ForeachListValue) {
1737 Init *DeclName = StringInit::get(Lex.getCurStrVal());
1783 Init *TemplArg = ParseDeclaration(CurRec, true/*templateargs*/);
1844 Init *Val = ParseValue(CurRec, Type);
1971 const std::vector<Init *> &TArgs =
2002 Init *ListValue = 0;
2003 Init *IterName = ParseForeachDeclaration(ListValue);
2106 Init *Val = ParseValue(0);
2247 Init *DefmPrefix,
2260 Init *DefName = DefProto->getNameInit();
2323 const std::vector<Init *> &TArgs,
2324 std::vector<Init *> &TemplateVals,
2377 const std::vector<Init *> &TA =
2397 Init *DefmPrefix = 0;
2427 std::vector<Init*> &TemplateVals = Ref.TemplateArgs;
2430 const std::vector<Init *> &TArgs = MC->Rec.getTemplateArgs();