Lines Matching refs:SMLoc
41 bool Error(SMLoc L, const Twine &Msg, in Error()
46 X86Operand *ErrorOperand(SMLoc Loc, StringRef Msg) { in ErrorOperand()
56 X86Operand *ParseMemOperand(unsigned SegReg, SMLoc StartLoc);
58 bool ParseDirectiveWord(unsigned Size, SMLoc L);
59 bool ParseDirectiveCode(StringRef IDVal, SMLoc L);
64 bool MatchAndEmitInstruction(SMLoc IDLoc,
100 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
102 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc,
157 SMLoc StartLoc, EndLoc;
183 X86Operand(KindTy K, SMLoc Start, SMLoc End) in X86Operand()
187 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc()
189 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc()
399 static X86Operand *CreateToken(StringRef Str, SMLoc Loc) { in CreateToken()
400 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size() - 1); in CreateToken()
407 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc) { in CreateReg()
413 static X86Operand *CreateImm(const MCExpr *Val, SMLoc StartLoc, SMLoc EndLoc){ in CreateImm()
420 static X86Operand *CreateMem(const MCExpr *Disp, SMLoc StartLoc, in CreateMem()
421 SMLoc EndLoc, unsigned Size = 0) { in CreateMem()
435 unsigned Scale, SMLoc StartLoc, SMLoc EndLoc, in CreateMem()
478 SMLoc &StartLoc, SMLoc &EndLoc) { in ParseRegister()
605 SMLoc Start = Parser.getTok().getLoc(), End; in ParseIntelBracExpression()
628 SMLoc Loc = Parser.getTok().getLoc(); in ParseIntelBracExpression()
640 SMLoc IdxRegLoc = Parser.getTok().getLoc(); in ParseIntelBracExpression()
651 SMLoc PlusLoc = Parser.getTok().getLoc(); in ParseIntelBracExpression()
657 SMLoc IdxRegLoc = Parser.getTok().getLoc(); in ParseIntelBracExpression()
695 SMLoc Start = Parser.getTok().getLoc(), End; in ParseIntelMemOperand()
724 SMLoc Start = Parser.getTok().getLoc(), End; in ParseIntelOperand()
755 SMLoc Start, End; in ParseATTOperand()
774 SMLoc Start = Parser.getTok().getLoc(), End; in ParseATTOperand()
786 X86Operand *X86AsmParser::ParseMemOperand(unsigned SegReg, SMLoc MemStart) { in ParseMemOperand()
794 SMLoc ExprEnd; in ParseMemOperand()
811 SMLoc LParenLoc = Parser.getTok().getLoc(); in ParseMemOperand()
818 SMLoc ExprEnd; in ParseMemOperand()
841 SMLoc IndexLoc; in ParseMemOperand()
844 SMLoc StartLoc, EndLoc; in ParseMemOperand()
864 SMLoc L; in ParseMemOperand()
878 SMLoc Loc = Parser.getTok().getLoc(); in ParseMemOperand()
897 SMLoc Loc = Parser.getTok().getLoc(); in ParseMemOperand()
914 SMLoc MemEnd = Parser.getTok().getLoc(); in ParseMemOperand()
939 ParseInstruction(StringRef Name, SMLoc NameLoc, in ParseInstruction()
1028 SMLoc Loc = Parser.getTok().getLoc(); in ParseInstruction()
1054 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
1078 SMLoc Loc = Op.getEndLoc(); in ParseInstruction()
1091 SMLoc Loc = Op.getEndLoc(); in ParseInstruction()
1476 MatchAndEmitInstruction(SMLoc IDLoc, in MatchAndEmitInstruction()
1688 bool X86AsmParser::ParseDirectiveWord(unsigned Size, SMLoc L) { in ParseDirectiveWord()
1713 bool X86AsmParser::ParseDirectiveCode(StringRef IDVal, SMLoc L) { in ParseDirectiveCode()