Lines Matching refs:ErrCB
1880 ErrorCallbackType ErrCB) { in parseIRConstant() argument
1886 return ErrCB(Loc + Err.getColumnNo(), Err.getMessage()); in parseIRConstant()
2070 ErrorCallbackType ErrCB) { in getUnsigned() argument
2075 return ErrCB(Token.location(), "expected 32-bit integer (too large)"); in getUnsigned()
2084 return ErrCB(Token.location(), "expected 32-bit integer (too large)"); in getUnsigned()
2179 ErrorCallbackType ErrCB) { in parseGlobalValue() argument
2185 return ErrCB(Token.location(), Twine("use of undefined global value '") + in parseGlobalValue()
2191 if (getUnsigned(Token, GVIdx, ErrCB)) in parseGlobalValue()
2195 return ErrCB(Token.location(), Twine("use of undefined global value '@") + in parseGlobalValue()
3080 const Value *&V, ErrorCallbackType ErrCB) { in parseIRValue() argument
3088 if (getUnsigned(Token, SlotNumber, ErrCB)) in parseIRValue()
3096 if (parseGlobalValue(Token, PFS, GV, ErrCB)) in parseIRValue()
3103 if (parseIRConstant(Token.location(), Token.stringValue(), PFS, C, ErrCB)) in parseIRValue()
3115 return ErrCB(Token.location(), Twine("use of undefined IR value '") + Token.range() + "'"); in parseIRValue()