reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/AsmParser/LLParser.cpp
   85   if (Lex.getKind() != lltok::Eof)
  301       switch (Lex.getKind()) {
  319     switch (Lex.getKind()) {
  355   assert(Lex.getKind() == lltok::kw_module);
  370   assert(Lex.getKind() == lltok::kw_target);
  395   assert(Lex.getKind() == lltok::kw_source_filename);
  410   assert(Lex.getKind() == lltok::kw_deplibs);
  482   assert(Lex.getKind() == lltok::kw_declare);
  486   while (Lex.getKind() == lltok::MetadataVar) {
  505   assert(Lex.getKind() == lltok::kw_define);
  518   if (Lex.getKind() == lltok::kw_constant)
  520   else if (Lex.getKind() == lltok::kw_global)
  556   if (Lex.getKind() == lltok::GlobalID) {
  576   if (Lex.getKind() != lltok::kw_alias && Lex.getKind() != lltok::kw_ifunc)
  576   if (Lex.getKind() != lltok::kw_alias && Lex.getKind() != lltok::kw_ifunc)
  590   assert(Lex.getKind() == lltok::GlobalVar);
  606   if (Lex.getKind() != lltok::kw_alias && Lex.getKind() != lltok::kw_ifunc)
  606   if (Lex.getKind() != lltok::kw_alias && Lex.getKind() != lltok::kw_ifunc)
  615   assert(Lex.getKind() == lltok::ComdatVar);
  627   switch (Lex.getKind()) {
  700   assert(Lex.getKind() == lltok::MetadataVar);
  710   if (Lex.getKind() != lltok::rbrace)
  716       if (Lex.getKind() == lltok::MetadataVar &&
  733   assert(Lex.getKind() == lltok::exclaim);
  743   if (Lex.getKind() == lltok::Type)
  747   if (Lex.getKind() == lltok::MetadataVar) {
  776   if (Lex.getKind() != lltok::kw_gv && Lex.getKind() != lltok::kw_module &&
  776   if (Lex.getKind() != lltok::kw_gv && Lex.getKind() != lltok::kw_module &&
  777       Lex.getKind() != lltok::kw_typeid)
  788     switch (Lex.getKind()) {
  809   assert(Lex.getKind() == lltok::SummaryID);
  825   switch (Lex.getKind()) {
  878   if (Lex.getKind() == lltok::kw_alias)
  880   else if (Lex.getKind() == lltok::kw_ifunc)
  903   if (Lex.getKind() != lltok::kw_bitcast &&
  904       Lex.getKind() != lltok::kw_getelementptr &&
  905       Lex.getKind() != lltok::kw_addrspacecast &&
  906       Lex.getKind() != lltok::kw_inttoptr) {
  971   while (Lex.getKind() == lltok::comma) {
  974     if (Lex.getKind() == lltok::kw_partition) {
 1111   while (Lex.getKind() == lltok::comma) {
 1114     if (Lex.getKind() == lltok::kw_section) {
 1119     } else if (Lex.getKind() == lltok::kw_partition) {
 1124     } else if (Lex.getKind() == lltok::kw_align) {
 1128     } else if (Lex.getKind() == lltok::MetadataVar) {
 1158   assert(Lex.getKind() == lltok::kw_attributes);
 1162   if (Lex.getKind() != lltok::AttrGrpID)
 1193     lltok::Kind Token = Lex.getKind();
 1485   if (Lex.getKind() != T)
 1494   if (Lex.getKind() != lltok::StringConstant)
 1504   if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned())
 1517   if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned())
 1529   switch (Lex.getKind()) {
 1557   if (Lex.getKind() == lltok::lparen) {
 1597     lltok::Kind Token = Lex.getKind();
 1700     lltok::Kind Token = Lex.getKind();
 1844   Res = parseOptionalLinkageAux(Lex.getKind(), HasLinkage);
 1859   switch (Lex.getKind()) {
 1881   switch (Lex.getKind()) {
 1904   switch (Lex.getKind()) {
 1964   switch (Lex.getKind()) {
 2021   assert(Lex.getKind() == lltok::MetadataVar && "Expected metadata attachment");
 2034     if (Lex.getKind() != lltok::MetadataVar)
 2066   while (Lex.getKind() == lltok::MetadataVar)
 2129     if (Lex.getKind() == lltok::MetadataVar) {
 2134     if (Lex.getKind() != lltok::kw_align)
 2155     if (Lex.getKind() == lltok::MetadataVar) {
 2161     if (Lex.getKind() != lltok::kw_addrspace)
 2244   switch (Lex.getKind()) {
 2294   if (Lex.getKind() != lltok::comma)
 2298     if (Lex.getKind() == lltok::MetadataVar) {
 2318   switch (Lex.getKind()) {
 2340     if (Lex.getKind() == lltok::lbrace) {
 2380     switch (Lex.getKind()) {
 2436   while (Lex.getKind() != lltok::rparen) {
 2443     if (Lex.getKind() == lltok::dotdotdot) {
 2512   while (Lex.getKind() != lltok::rsquare) {
 2526     while (Lex.getKind() != lltok::rparen) {
 2564   assert(Lex.getKind() == lltok::lparen);
 2567   if (Lex.getKind() == lltok::rparen) {
 2569   } else if (Lex.getKind() == lltok::dotdotdot) {
 2584     if (Lex.getKind() == lltok::LocalVar) {
 2587     } else if (Lex.getKind() == lltok::LocalVarID) {
 2616       if (Lex.getKind() == lltok::LocalVar) {
 2620         if (Lex.getKind() == lltok::LocalVarID) {
 2645   assert(Lex.getKind() == lltok::lparen);
 2709   if (Lex.getKind() != lltok::lbrace) {
 2745   assert(Lex.getKind() == lltok::lbrace);
 2782   if (isVector && Lex.getKind() == lltok::kw_vscale) {
 2790   if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned() ||
 3071   switch (Lex.getKind()) {
 3684     if (Lex.getKind() != lltok::ComdatVar)
 3705   if (Lex.getKind() == lltok::rbrace ||
 3706       Lex.getKind() == lltok::rsquare ||
 3707       Lex.getKind() == lltok::greater ||
 3708       Lex.getKind() == lltok::rparen)
 3737   if (Lex.getKind() == lltok::MetadataVar)
 3746   if (Lex.getKind() == lltok::lbrace)
 3946   if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned())
 3970   if (Lex.getKind() == lltok::APSInt)
 3973   if (Lex.getKind() != lltok::DwarfTag)
 3989   if (Lex.getKind() == lltok::APSInt)
 3992   if (Lex.getKind() != lltok::DwarfMacinfo)
 4009   if (Lex.getKind() == lltok::APSInt)
 4012   if (Lex.getKind() != lltok::DwarfVirtuality)
 4027   if (Lex.getKind() == lltok::APSInt)
 4030   if (Lex.getKind() != lltok::DwarfLang)
 4045   if (Lex.getKind() == lltok::APSInt)
 4048   if (Lex.getKind() != lltok::DwarfCC)
 4063   if (Lex.getKind() == lltok::APSInt)
 4066   if (Lex.getKind() != lltok::EmissionKind)
 4082   if (Lex.getKind() == lltok::APSInt)
 4085   if (Lex.getKind() != lltok::NameTableKind)
 4101   if (Lex.getKind() == lltok::APSInt)
 4104   if (Lex.getKind() != lltok::DwarfAttEncoding)
 4126     if (Lex.getKind() == lltok::APSInt && !Lex.getAPSIntVal().isSigned()) {
 4133     if (Lex.getKind() != lltok::DIFlag)
 4166     if (Lex.getKind() == lltok::APSInt && !Lex.getAPSIntVal().isSigned()) {
 4173     if (Lex.getKind() != lltok::DISPFlag)
 4200   if (Lex.getKind() != lltok::APSInt)
 4219   switch (Lex.getKind()) {
 4235   if (Lex.getKind() == lltok::kw_null) {
 4255   if (Lex.getKind() == lltok::APSInt) {
 4277   if (Lex.getKind() != lltok::APSInt)
 4325   if (Lex.getKind() != lltok::ChecksumKind || !CSKind)
 4339     if (Lex.getKind() != lltok::LabelStr)
 4351   assert(Lex.getKind() == lltok::MetadataVar && "Expected metadata type name");
 4356   if (Lex.getKind() != lltok::rparen)
 4375   assert(Lex.getKind() == lltok::MetadataVar && "Expected metadata type name");
 4940   assert(Lex.getKind() == lltok::MetadataVar && "Expected metadata type name");
 4947   if (Lex.getKind() != lltok::rparen)
 4949       if (Lex.getKind() == lltok::DwarfOp) {
 4958       if (Lex.getKind() == lltok::DwarfAttEncoding) {
 4967       if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned())
 5092   if (Lex.getKind() == lltok::MetadataVar) {
 5102   if (Lex.getKind() != lltok::exclaim)
 5106   assert(Lex.getKind() == lltok::exclaim && "Expected '!' here");
 5111   if (Lex.getKind() == lltok::StringConstant) {
 5355   if (Lex.getKind() == lltok::GlobalVar) {
 5357   } else if (Lex.getKind() == lltok::GlobalID) {     // @42 is ok.
 5369   if (Lex.getKind() != lltok::lparen)
 5578   if (Lex.getKind() != lltok::lbrace)
 5594   if (Lex.getKind() == lltok::rbrace || Lex.getKind() == lltok::kw_uselistorder)
 5594   if (Lex.getKind() == lltok::rbrace || Lex.getKind() == lltok::kw_uselistorder)
 5597   while (Lex.getKind() != lltok::rbrace &&
 5598          Lex.getKind() != lltok::kw_uselistorder)
 5601   while (Lex.getKind() != lltok::rbrace)
 5619   if (Lex.getKind() == lltok::LabelStr) {
 5622   } else if (Lex.getKind() == lltok::LabelID) {
 5642     if (Lex.getKind() == lltok::LocalVarID) {
 5647     } else if (Lex.getKind() == lltok::LocalVar) {
 5691   lltok::Kind Token = Lex.getKind();
 5848     switch (Lex.getKind()) {
 5868     switch (Lex.getKind()) {
 5969   while (Lex.getKind() != lltok::rsquare) {
 6012   if (Lex.getKind() != lltok::rsquare) {
 6149   while (Lex.getKind() != lltok::rsquare) {
 6191   if (Lex.getKind() == lltok::kw_to) {
 6233   if (Lex.getKind() != lltok::kw_none && Lex.getKind() != lltok::LocalVar &&
 6233   if (Lex.getKind() != lltok::kw_none && Lex.getKind() != lltok::LocalVar &&
 6234       Lex.getKind() != lltok::LocalVarID)
 6283   if (Lex.getKind() != lltok::LocalVar && Lex.getKind() != lltok::LocalVarID)
 6283   if (Lex.getKind() != lltok::LocalVar && Lex.getKind() != lltok::LocalVarID)
 6305   if (Lex.getKind() != lltok::kw_none && Lex.getKind() != lltok::LocalVar &&
 6305   if (Lex.getKind() != lltok::kw_none && Lex.getKind() != lltok::LocalVar &&
 6306       Lex.getKind() != lltok::LocalVarID)
 6376   if (Lex.getKind() != lltok::rsquare) {
 6678     if (Lex.getKind() == lltok::MetadataVar) {
 6716   while (Lex.getKind() == lltok::kw_catch || Lex.getKind() == lltok::kw_filter){
 6716   while (Lex.getKind() == lltok::kw_catch || Lex.getKind() == lltok::kw_filter){
 6888     if (Lex.getKind() == lltok::kw_align) {
 6893     } else if (Lex.getKind() == lltok::kw_addrspace) {
 6897     } else if (Lex.getKind() == lltok::MetadataVar) {
 6903         if (Lex.getKind() == lltok::kw_align) {
 6908         } else if (Lex.getKind() == lltok::kw_addrspace) {
 6912         } else if (Lex.getKind() == lltok::MetadataVar) {
 6941   if (Lex.getKind() == lltok::kw_atomic) {
 6947   if (Lex.getKind() == lltok::kw_volatile) {
 6990   if (Lex.getKind() == lltok::kw_atomic) {
 6996   if (Lex.getKind() == lltok::kw_volatile) {
 7092   switch (Lex.getKind()) {
 7212     if (Lex.getKind() == lltok::MetadataVar) {
 7352   if (Lex.getKind() == lltok::rbrace)
 7408   assert(Lex.getKind() == lltok::kw_uselistorder_bb);
 7455   assert(Lex.getKind() == lltok::kw_module);
 7491   assert(Lex.getKind() == lltok::kw_typeid);
 7551   assert(Lex.getKind() == lltok::kw_typeidCompatibleVTable);
 7643   switch (Lex.getKind()) {
 7672     switch (Lex.getKind()) {
 7754   switch (Lex.getKind()) {
 7771     switch (Lex.getKind()) {
 7820     switch (Lex.getKind()) {
 7841       switch (Lex.getKind()) {
 7981   assert(Lex.getKind() == lltok::kw_gv);
 7990   switch (Lex.getKind()) {
 8030     switch (Lex.getKind()) {
 8062   assert(Lex.getKind() == lltok::kw_function);
 8086     switch (Lex.getKind()) {
 8132   assert(Lex.getKind() == lltok::kw_variable);
 8153     switch (Lex.getKind()) {
 8187   assert(Lex.getKind() == lltok::kw_alias);
 8236   if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned())
 8249   assert(Lex.getKind() == lltok::kw_funcFlags);
 8258     switch (Lex.getKind()) {
 8305   assert(Lex.getKind() == lltok::kw_calls);
 8372   switch (Lex.getKind()) {
 8399   assert(Lex.getKind() == lltok::kw_vTableFuncs);
 8459   assert(Lex.getKind() == lltok::kw_refs);
 8522   assert(Lex.getKind() == lltok::kw_typeIdInfo);
 8530     switch (Lex.getKind()) {
 8570   assert(Lex.getKind() == lltok::kw_typeTests);
 8580     if (Lex.getKind() == lltok::SummaryID) {
 8616   assert(Lex.getKind() == Kind);
 8655   assert(Lex.getKind() == Kind);
 8712   assert(Lex.getKind() == lltok::kw_vFuncId);
 8719   if (Lex.getKind() == lltok::SummaryID) {
 8748   assert(Lex.getKind() == lltok::kw_flags);
 8757     switch (Lex.getKind()) {
 8763       GVFlags.Linkage = parseOptionalLinkageAux(Lex.getKind(), HasLinkage);
 8806   assert(Lex.getKind() == lltok::kw_varFlags);
 8822     switch (Lex.getKind()) {
lib/AsmParser/LLParser.h
  215       if (Lex.getKind() != T) return false;
  223         switch (Lex.getKind()) {
  242       if (Lex.getKind() != T) {