Lines Matching refs:ErrorCallback
154 static Cursor lexStringConstant(Cursor C, ErrorCallbackType ErrorCallback) { in lexStringConstant() argument
158 ErrorCallback( in lexStringConstant()
169 unsigned PrefixLength, ErrorCallbackType ErrorCallback) { in lexName() argument
173 if (Cursor R = lexStringConstant(C, ErrorCallback)) { in lexName()
306 ErrorCallbackType ErrorCallback) { in maybeLexMachineBasicBlock() argument
315 ErrorCallback(C.location(), "expected a number after '%bb.'"); in maybeLexMachineBasicBlock()
393 ErrorCallbackType ErrorCallback) { in maybeLexSubRegisterIndex() argument
398 ErrorCallback); in maybeLexSubRegisterIndex()
402 ErrorCallbackType ErrorCallback) { in maybeLexIRBlock() argument
408 return lexName(C, Token, MIToken::NamedIRBlock, Rule.size(), ErrorCallback); in maybeLexIRBlock()
412 ErrorCallbackType ErrorCallback) { in maybeLexIRValue() argument
418 return lexName(C, Token, MIToken::NamedIRValue, Rule.size(), ErrorCallback); in maybeLexIRValue()
422 ErrorCallbackType ErrorCallback) { in maybeLexStringConstant() argument
426 ErrorCallback); in maybeLexStringConstant()
456 ErrorCallbackType ErrorCallback) { in maybeLexRegister() argument
481 ErrorCallbackType ErrorCallback) { in maybeLexGlobalValue() argument
486 ErrorCallback); in maybeLexGlobalValue()
498 ErrorCallbackType ErrorCallback) { in maybeLexExternalSymbol() argument
502 ErrorCallback); in maybeLexExternalSymbol()
506 ErrorCallbackType ErrorCallback) { in maybeLexMCSymbol() argument
519 ErrorCallback(C.location(), in maybeLexMCSymbol()
531 Cursor R = lexStringConstant(C, ErrorCallback); in maybeLexMCSymbol()
533 ErrorCallback(C.location(), in maybeLexMCSymbol()
540 ErrorCallback(R.location(), in maybeLexMCSymbol()
620 ErrorCallbackType ErrorCallback) { in maybeLexExclaim() argument
634 ErrorCallback(Token.location(), in maybeLexExclaim()
696 ErrorCallbackType ErrorCallback) { in maybeLexEscapedIRValue() argument
704 ErrorCallback( in maybeLexEscapedIRValue()
719 ErrorCallbackType ErrorCallback) { in lexMIToken() argument
728 if (Cursor R = maybeLexMachineBasicBlock(C, Token, ErrorCallback)) in lexMIToken()
740 if (Cursor R = maybeLexSubRegisterIndex(C, Token, ErrorCallback)) in lexMIToken()
742 if (Cursor R = maybeLexIRBlock(C, Token, ErrorCallback)) in lexMIToken()
744 if (Cursor R = maybeLexIRValue(C, Token, ErrorCallback)) in lexMIToken()
746 if (Cursor R = maybeLexRegister(C, Token, ErrorCallback)) in lexMIToken()
748 if (Cursor R = maybeLexGlobalValue(C, Token, ErrorCallback)) in lexMIToken()
750 if (Cursor R = maybeLexExternalSymbol(C, Token, ErrorCallback)) in lexMIToken()
752 if (Cursor R = maybeLexMCSymbol(C, Token, ErrorCallback)) in lexMIToken()
758 if (Cursor R = maybeLexExclaim(C, Token, ErrorCallback)) in lexMIToken()
764 if (Cursor R = maybeLexEscapedIRValue(C, Token, ErrorCallback)) in lexMIToken()
766 if (Cursor R = maybeLexStringConstant(C, Token, ErrorCallback)) in lexMIToken()
770 ErrorCallback(C.location(), in lexMIToken()