Home
last modified time | relevance | path

Searched refs:IDLoc (Results 1 – 25 of 40) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp166 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
212 MacroExpanderResultTy tryExpandInstruction(MCInst &Inst, SMLoc IDLoc,
216 bool expandJalWithRegs(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
220 bool Is32BitImm, bool IsAddress, SMLoc IDLoc,
224 unsigned SrcReg, bool Is32BitSym, SMLoc IDLoc,
227 bool emitPartialAddress(MipsTargetStreamer &TOut, SMLoc IDLoc, MCSymbol *Sym);
229 bool expandLoadImm(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc,
233 SMLoc IDLoc, MCStreamer &Out,
238 SMLoc IDLoc, MCStreamer &Out,
241 bool expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp134 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
176 MacroExpanderResultTy tryExpandInstruction(MCInst &Inst, SMLoc IDLoc,
180 bool expandJalWithRegs(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
184 bool Is32BitImm, bool IsAddress, SMLoc IDLoc,
188 unsigned SrcReg, bool Is32BitSym, SMLoc IDLoc,
191 bool expandLoadImm(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc,
196 SMLoc IDLoc, MCStreamer &Out,
199 bool expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
202 void expandMemInst(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
205 void expandLoadInst(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsTargetStreamer.cpp111 int Offset, function_ref<unsigned()> GetATReg, SMLoc IDLoc, in emitDirectiveCpRestore() argument
146 void MipsTargetStreamer::emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, in emitR() argument
151 TmpInst.setLoc(IDLoc); in emitR()
156 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRX() argument
161 TmpInst.setLoc(IDLoc); in emitRX()
166 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRI() argument
167 emitRX(Opcode, Reg0, MCOperand::createImm(Imm), IDLoc, STI); in emitRI()
171 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRR() argument
172 emitRX(Opcode, Reg0, MCOperand::createReg(Reg1), IDLoc, STI); in emitRR()
176 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitII() argument
[all …]
/external/llvm/lib/Target/Mips/
DMipsTargetStreamer.h88 SMLoc IDLoc, const MCSubtargetInfo *STI);
103 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc,
105 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc,
107 void emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc,
109 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc,
111 void emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, SMLoc IDLoc,
114 SMLoc IDLoc, const MCSubtargetInfo *STI);
116 SMLoc IDLoc, const MCSubtargetInfo *STI);
118 SMLoc IDLoc, const MCSubtargetInfo *STI);
122 SMLoc IDLoc, const MCSubtargetInfo *STI);
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsTargetStreamer.cpp101 int Offset, function_ref<unsigned()> GetATReg, SMLoc IDLoc, in emitDirectiveCpRestore() argument
129 void MipsTargetStreamer::emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, in emitR() argument
134 TmpInst.setLoc(IDLoc); in emitR()
139 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRX() argument
144 TmpInst.setLoc(IDLoc); in emitRX()
149 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRI() argument
150 emitRX(Opcode, Reg0, MCOperand::createImm(Imm), IDLoc, STI); in emitRI()
154 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRR() argument
155 emitRX(Opcode, Reg0, MCOperand::createReg(Reg1), IDLoc, STI); in emitRR()
159 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitII() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsTargetStreamer.h97 SMLoc IDLoc, const MCSubtargetInfo *STI);
119 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc,
121 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc,
123 void emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc,
125 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc,
127 void emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, SMLoc IDLoc,
130 SMLoc IDLoc, const MCSubtargetInfo *STI);
132 SMLoc IDLoc, const MCSubtargetInfo *STI);
134 SMLoc IDLoc, const MCSubtargetInfo *STI);
136 int16_t Imm1, int16_t Imm2, SMLoc IDLoc,
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DDarwinAsmParser.cpp357 SMLoc IDLoc) { in ParseDirectiveDumpOrLoad() argument
372 return Warning(IDLoc, "ignoring directive .dump for now"); in ParseDirectiveDumpOrLoad()
374 return Warning(IDLoc, "ignoring directive .load for now"); in ParseDirectiveDumpOrLoad()
456 bool DarwinAsmParser::ParseDirectiveSecureLogUnique(StringRef, SMLoc IDLoc) { in ParseDirectiveSecureLogUnique() argument
462 return Error(IDLoc, ".secure_log_unique specified multiple times"); in ParseDirectiveSecureLogUnique()
467 return Error(IDLoc, ".secure_log_unique used but AS_SECURE_LOG_FILE " in ParseDirectiveSecureLogUnique()
477 return Error(IDLoc, Twine("can't open secure log file: ") + in ParseDirectiveSecureLogUnique()
484 int CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in ParseDirectiveSecureLogUnique()
486 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in ParseDirectiveSecureLogUnique()
496 bool DarwinAsmParser::ParseDirectiveSecureLogReset(StringRef, SMLoc IDLoc) { in ParseDirectiveSecureLogReset() argument
[all …]
DAsmParser.cpp951 SMLoc IDLoc = ID.getLoc(); in ParseStatement() local
956 return ParseCppHashLineFilenameComment(IDLoc); in ParseStatement()
991 return ParseDirectiveIf(IDLoc); in ParseStatement()
993 return ParseDirectiveIfdef(IDLoc, true); in ParseStatement()
995 return ParseDirectiveIfdef(IDLoc, false); in ParseStatement()
997 return ParseDirectiveElseIf(IDLoc); in ParseStatement()
999 return ParseDirectiveElse(IDLoc); in ParseStatement()
1001 return ParseDirectiveEndIf(IDLoc); in ParseStatement()
1021 return Error(IDLoc, "invalid use of pseudo-symbol '.' as a label"); in ParseStatement()
1034 return Error(IDLoc, "invalid symbol redefinition"); in ParseStatement()
[all …]
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp106 bool finishBundle(SMLoc IDLoc, MCStreamer &Out);
108 bool matchOneInstruction(MCInst &MCB, SMLoc IDLoc,
112 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
117 void OutOfRange(SMLoc IDLoc, long long Val, long long Max);
119 SMLoc IDLoc);
620 bool HexagonAsmParser::finishBundle(SMLoc IDLoc, MCStreamer &Out) { in finishBundle() argument
640 Error(IDLoc, in finishBundle()
645 Error(IDLoc, "register `" + R + in finishBundle()
650 Error(IDLoc, "register `" + R + "' modified more than once"); in finishBundle()
653 Error(IDLoc, "cannot write to read-only register `" + R + "'"); in finishBundle()
[all …]
/external/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp506 SMLoc IDLoc) { in parseDirectiveDumpOrLoad() argument
521 return Warning(IDLoc, "ignoring directive .dump for now"); in parseDirectiveDumpOrLoad()
523 return Warning(IDLoc, "ignoring directive .load for now"); in parseDirectiveDumpOrLoad()
685 bool DarwinAsmParser::parseDirectiveSecureLogUnique(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogUnique() argument
691 return Error(IDLoc, ".secure_log_unique specified multiple times"); in parseDirectiveSecureLogUnique()
696 return Error(IDLoc, ".secure_log_unique used but AS_SECURE_LOG_FILE " in parseDirectiveSecureLogUnique()
706 return Error(IDLoc, Twine("can't open secure log file: ") + in parseDirectiveSecureLogUnique()
713 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique()
715 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique()
725 bool DarwinAsmParser::parseDirectiveSecureLogReset(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogReset() argument
[all …]
DAsmParser.cpp1420 SMLoc IDLoc = ID.getLoc(); in parseStatement() local
1424 return parseCppHashLineFilenameComment(IDLoc); in parseStatement()
1477 return parseDirectiveIf(IDLoc, DirKind); in parseStatement()
1479 return parseDirectiveIfb(IDLoc, true); in parseStatement()
1481 return parseDirectiveIfb(IDLoc, false); in parseStatement()
1483 return parseDirectiveIfc(IDLoc, true); in parseStatement()
1485 return parseDirectiveIfeqs(IDLoc, true); in parseStatement()
1487 return parseDirectiveIfc(IDLoc, false); in parseStatement()
1489 return parseDirectiveIfeqs(IDLoc, false); in parseStatement()
1491 return parseDirectiveIfdef(IDLoc, true); in parseStatement()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp36 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
283 bool BPFAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
291 return Error(IDLoc, "additional inst constraint not met"); in MatchAndEmitInstruction()
297 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
301 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction()
303 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
305 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
314 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp126 bool finishBundle(SMLoc IDLoc, MCStreamer &Out);
128 bool matchOneInstruction(MCInst &MCB, SMLoc IDLoc,
132 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
139 bool OutOfRange(SMLoc IDLoc, long long Val, long long Max);
141 SMLoc IDLoc);
467 bool HexagonAsmParser::finishBundle(SMLoc IDLoc, MCStreamer &Out) { in finishBundle() argument
472 MCB.setLoc(IDLoc); in finishBundle()
493 Error(IDLoc, "invalid instruction packet: out of slots"); in finishBundle()
511 auto IDLoc = Parser.getTok().getLoc(); in matchBundleOptions() local
523 return getParser().Error(IDLoc, MemNoShuffMsg); in matchBundleOptions()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp582 SMLoc IDLoc) { in parseDirectiveDumpOrLoad() argument
597 return Warning(IDLoc, "ignoring directive .dump for now"); in parseDirectiveDumpOrLoad()
599 return Warning(IDLoc, "ignoring directive .load for now"); in parseDirectiveDumpOrLoad()
759 bool DarwinAsmParser::parseDirectiveSecureLogUnique(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogUnique() argument
765 return Error(IDLoc, ".secure_log_unique specified multiple times"); in parseDirectiveSecureLogUnique()
770 return Error(IDLoc, ".secure_log_unique used but AS_SECURE_LOG_FILE " in parseDirectiveSecureLogUnique()
780 return Error(IDLoc, Twine("can't open secure log file: ") + in parseDirectiveSecureLogUnique()
787 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique()
789 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique()
799 bool DarwinAsmParser::parseDirectiveSecureLogReset(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogReset() argument
[all …]
DAsmParser.cpp1656 SMLoc IDLoc = ID.getLoc(); in parseStatement() local
1660 return parseCppHashLineFilenameComment(IDLoc); in parseStatement()
1667 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
1676 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
1701 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
1724 return parseDirectiveIf(IDLoc, DirKind); in parseStatement()
1726 return parseDirectiveIfb(IDLoc, true); in parseStatement()
1728 return parseDirectiveIfb(IDLoc, false); in parseStatement()
1730 return parseDirectiveIfc(IDLoc, true); in parseStatement()
1732 return parseDirectiveIfeqs(IDLoc, true); in parseStatement()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp49 bool MatchAndEmitInstruction(SMLoc IDLoc,
318 MatchAndEmitInstruction(SMLoc IDLoc, in MatchAndEmitInstruction() argument
331 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction()
333 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
335 return Error(IDLoc, "unable to convert operands to instruction"); in MatchAndEmitInstruction()
337 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
340 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
343 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp731 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
736 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
739 bool ErrorMissingFeature(SMLoc IDLoc, uint64_t ErrorInfo,
742 bool MatchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode,
747 bool MatchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode,
2546 bool X86AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
2551 return MatchAndEmitIntelInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction()
2553 return MatchAndEmitATTInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction()
2557 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias() argument
2576 Inst.setLoc(IDLoc); in MatchFPUWaitAlias()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
DX86AsmParser.cpp52 bool MatchAndEmitInstruction(SMLoc IDLoc,
943 MatchAndEmitInstruction(SMLoc IDLoc, in MatchAndEmitInstruction() argument
975 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchAndEmitInstruction()
989 Error(IDLoc, "instruction requires a CPU feature not currently enabled"); in MatchAndEmitInstruction()
992 return Error(IDLoc, "unable to convert operands to instruction"); in MatchAndEmitInstruction()
1070 Error(IDLoc, OS.str()); in MatchAndEmitInstruction()
1081 Error(IDLoc, "invalid instruction mnemonic '" + Base + "'"); in MatchAndEmitInstruction()
1086 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1089 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1092 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp866 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
871 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
874 bool ErrorMissingFeature(SMLoc IDLoc, uint64_t ErrorInfo,
877 bool MatchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode,
882 bool MatchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode,
2853 bool X86AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
2858 return MatchAndEmitIntelInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction()
2860 return MatchAndEmitATTInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction()
2864 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias() argument
2883 Inst.setLoc(IDLoc); in MatchFPUWaitAlias()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp66 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
103 bool expandSET(MCInst &Inst, SMLoc IDLoc,
497 bool SparcAsmParser::expandSET(MCInst &Inst, SMLoc IDLoc, in expandSET() argument
510 return Error(IDLoc, in expandSET()
536 TmpInst.setLoc(IDLoc); in expandSET()
561 TmpInst.setLoc(IDLoc); in expandSET()
571 bool SparcAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
584 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
588 if (expandSET(Inst, IDLoc, Instructions)) in MatchAndEmitInstruction()
600 return Error(IDLoc, in MatchAndEmitInstruction()
[all …]
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp49 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
87 void expandSET(MCInst &Inst, SMLoc IDLoc,
469 void SparcAsmParser::expandSET(MCInst &Inst, SMLoc IDLoc, in expandSET() argument
482 Error(IDLoc, "set: argument must be between -2147483648 and 4294967295"); in expandSET()
508 TmpInst.setLoc(IDLoc); in expandSET()
533 TmpInst.setLoc(IDLoc); in expandSET()
542 bool SparcAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
555 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
559 expandSET(Inst, IDLoc, Instructions); in MatchAndEmitInstruction()
570 return Error(IDLoc, in MatchAndEmitInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp516 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &/*Opcode*/, in MatchAndEmitInstruction() argument
529 return Parser.Error(IDLoc, in MatchAndEmitInstruction()
532 return Parser.Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
534 return Parser.Error(IDLoc, "ambiguous instruction"); in MatchAndEmitInstruction()
537 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
540 return Parser.Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
543 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp56 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
80 bool processInstruction(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
659 bool RISCVAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
670 return processInstruction(Inst, IDLoc, Out); in MatchAndEmitInstruction()
672 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction()
674 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
676 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
683 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1187 bool RISCVAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction() argument
1189 Inst.setLoc(IDLoc); in processInstruction()
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp406 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
785 bool SystemZAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
797 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
814 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
818 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
821 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
825 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
831 return Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp443 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1175 bool SystemZAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
1187 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
1204 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
1208 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1211 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1215 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1224 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction()

12