Lines Matching defs:Loc
166 void PrintMessage(SMLoc Loc, const Twine &Msg, const char *Type,
168 SrcMgr.PrintMessage(Loc, Msg, Type, ShowLine);
174 /// \brief Reset the current lexer position to that given by \arg Loc. The
177 void JumpToLoc(SMLoc Loc);
257 AddDirectiveHandler<&GenericAsmParser::ParseDirectiveLoc>(".loc");
416 void AsmParser::JumpToLoc(SMLoc Loc) {
417 CurBuffer = SrcMgr.FindBufferContainingLoc(Loc);
418 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer), Loc.getPointer());
621 SMLoc Loc = getTok().getLoc();
635 return Error(Loc, "invalid reference to undefined symbol");
2024 // FIXME: Use loc from directive.
2025 SMLoc Loc = getLexer().getLoc();
2034 Error(Loc, ".abort detected. Assembly stopping.");
2036 Error(Loc, ".abort '" + Str + "' detected. Assembly stopping.");
2250 /// ::= .loc FileNumber [LineNumber] [ColumnPos] [basic_block] [prologue_end]
2255 /// optional items are .loc sub-directives.
2259 return TokError("unexpected token in '.loc' directive");
2262 return TokError("file number less than one in '.loc' directive");
2264 return TokError("unassigned file number in '.loc' directive");
2271 return TokError("line number less than one in '.loc' directive");
2279 return TokError("column position less than zero in '.loc' directive");
2292 SMLoc Loc = getTok().getLoc();
2294 return TokError("unexpected token in '.loc' directive");
2303 SMLoc Loc = getTok().getLoc();
2315 return Error(Loc, "is_stmt value not 0 or 1");
2318 return Error(Loc, "is_stmt value not the constant value of 0 or 1");
2322 SMLoc Loc = getTok().getLoc();
2330 return Error(Loc, "isa number less than zero");
2334 return Error(Loc, "isa number not a constant value");
2342 return Error(Loc, "unknown sub-directive in '.loc' directive");