Lines Matching refs:consumeIfPresent
190 bool consumeIfPresent(MIToken::TokenKind TokenKind);
311 bool MIParser::consumeIfPresent(MIToken::TokenKind TokenKind) { in consumeIfPresent() function in MIParser
331 if (consumeIfPresent(MIToken::lparen)) { in parseBasicBlockDefinition()
356 } while (consumeIfPresent(MIToken::comma)); in parseBasicBlockDefinition()
408 else if (consumeIfPresent(MIToken::Newline)) { in parseBasicBlockDefinitions()
444 } while (consumeIfPresent(MIToken::comma)); in parseBasicBlockLiveins()
463 if (consumeIfPresent(MIToken::lparen)) { in parseBasicBlockSuccessors()
473 } while (consumeIfPresent(MIToken::comma)); in parseBasicBlockSuccessors()
482 if (consumeIfPresent(MIToken::lparen)) { in parseBasicBlock()
485 consumeIfPresent(MIToken::rparen); in parseBasicBlock()
487 consumeIfPresent(MIToken::colon); in parseBasicBlock()
505 } else if (consumeIfPresent(MIToken::Newline)) { in parseBasicBlock()
520 else if (consumeIfPresent(MIToken::Newline)) in parseBasicBlock()
522 if (consumeIfPresent(MIToken::rbrace)) { in parseBasicBlock()
887 if (!consumeIfPresent(MIToken::kw_tied_def)) in parseRegisterTiedDefIndex()
967 if (consumeIfPresent(MIToken::lparen)) { in parseRegisterOperand()
973 } else if (consumeIfPresent(MIToken::lparen)) { in parseRegisterOperand()
1806 while (consumeIfPresent(MIToken::comma)) { in parseMachineMemoryOperand()