Lines Matching refs:getKind
164 switch (Lex.getKind()) {
230 assert(Lex.getKind() == lltok::kw_module);
245 assert(Lex.getKind() == lltok::kw_target);
270 assert(Lex.getKind() == lltok::kw_deplibs);
351 assert(Lex.getKind() == lltok::kw_declare);
361 assert(Lex.getKind() == lltok::kw_define);
373 if (Lex.getKind() == lltok::kw_constant)
375 else if (Lex.getKind() == lltok::kw_global)
396 if (Lex.getKind() == lltok::GlobalID) {
412 if (HasLinkage || Lex.getKind() != lltok::kw_alias)
421 assert(Lex.getKind() == lltok::GlobalVar);
433 if (HasLinkage || Lex.getKind() != lltok::kw_alias)
486 assert(Lex.getKind() == lltok::MetadataVar);
496 if (Lex.getKind() != lltok::rbrace)
515 assert(Lex.getKind() == lltok::exclaim);
566 assert(Lex.getKind() == lltok::kw_alias);
585 if (Lex.getKind() != lltok::kw_bitcast &&
586 Lex.getKind() != lltok::kw_getelementptr) {
717 while (Lex.getKind() == lltok::comma) {
720 if (Lex.getKind() == lltok::kw_section) {
725 } else if (Lex.getKind() == lltok::kw_align) {
832 if (Lex.getKind() != T)
841 if (Lex.getKind() != lltok::StringConstant)
851 if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned())
882 switch (Lex.getKind()) {
965 switch (Lex.getKind()) {
1002 switch (Lex.getKind()) {
1029 switch (Lex.getKind()) {
1062 if (Lex.getKind() != lltok::MetadataVar)
1079 if (Lex.getKind() == lltok::lbrace) {
1131 if (Lex.getKind() == lltok::MetadataVar) {
1136 if (Lex.getKind() != lltok::kw_align)
1158 switch (Lex.getKind()) {
1204 if (Lex.getKind() != lltok::comma)
1208 if (Lex.getKind() == lltok::MetadataVar) {
1227 switch (Lex.getKind()) {
1249 if (Lex.getKind() == lltok::lbrace) {
1291 switch (Lex.getKind()) {
1346 while (Lex.getKind() != lltok::rparen) {
1385 assert(Lex.getKind() == lltok::lparen);
1388 if (Lex.getKind() == lltok::rparen) {
1390 } else if (Lex.getKind() == lltok::dotdotdot) {
1405 if (Lex.getKind() == lltok::LocalVar) {
1429 if (Lex.getKind() == lltok::LocalVar) {
1449 assert(Lex.getKind() == lltok::lparen);
1513 if (Lex.getKind() != lltok::lbrace) {
1550 assert(Lex.getKind() == lltok::lbrace);
1584 if (Lex.getKind() != lltok::APSInt || Lex.getAPSIntVal().isSigned() ||
1889 switch (Lex.getKind()) {
2370 if (Lex.getKind() == lltok::rbrace ||
2371 Lex.getKind() == lltok::rsquare ||
2372 Lex.getKind() == lltok::greater ||
2373 Lex.getKind() == lltok::rparen)
2389 assert(Lex.getKind() == lltok::lbrace);
2407 assert(Lex.getKind() == lltok::exclaim);
2412 if (Lex.getKind() == lltok::lbrace)
2417 if (Lex.getKind() == lltok::APSInt) {
2635 if (Lex.getKind() == lltok::GlobalVar) {
2637 } else if (Lex.getKind() == lltok::GlobalID) { // @42 is ok.
2649 if (Lex.getKind() != lltok::lparen)
2778 if (Lex.getKind() != lltok::lbrace)
2788 if (Lex.getKind() == lltok::rbrace)
2791 while (Lex.getKind() != lltok::rbrace)
2807 if (Lex.getKind() == lltok::LabelStr) {
2827 if (Lex.getKind() == lltok::LocalVarID) {
2832 } else if (Lex.getKind() == lltok::LocalVar) {
2876 lltok::Kind Token = Lex.getKind();
2971 switch (Lex.getKind()) {
2991 switch (Lex.getKind()) {
3093 while (Lex.getKind() != lltok::rsquare) {
3136 if (Lex.getKind() != lltok::rsquare) {
3486 if (Lex.getKind() == lltok::MetadataVar) {
3527 while (Lex.getKind() == lltok::kw_catch || Lex.getKind() == lltok::kw_filter){
3663 if (Lex.getKind() == lltok::kw_align) {
3665 } else if (Lex.getKind() == lltok::MetadataVar) {
3693 if (Lex.getKind() == lltok::kw_atomic) {
3699 if (Lex.getKind() == lltok::kw_volatile) {
3734 if (Lex.getKind() == lltok::kw_atomic) {
3740 if (Lex.getKind() == lltok::kw_volatile) {
3824 switch (Lex.getKind()) {
3900 if (Lex.getKind() == lltok::MetadataVar) {
3981 if (Lex.getKind() == lltok::rbrace)