Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp462 SMLoc IDLoc) { in ParseDirectiveDumpOrLoad() argument
477 return Warning(IDLoc, "ignoring directive .dump for now"); in ParseDirectiveDumpOrLoad()
479 return Warning(IDLoc, "ignoring directive .load for now"); in ParseDirectiveDumpOrLoad()
619 bool DarwinAsmParser::ParseDirectiveSecureLogUnique(StringRef, SMLoc IDLoc) { in ParseDirectiveSecureLogUnique() argument
625 return Error(IDLoc, ".secure_log_unique specified multiple times"); in ParseDirectiveSecureLogUnique()
630 return Error(IDLoc, ".secure_log_unique used but AS_SECURE_LOG_FILE " in ParseDirectiveSecureLogUnique()
640 return Error(IDLoc, Twine("can't open secure log file: ") + in ParseDirectiveSecureLogUnique()
647 int CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in ParseDirectiveSecureLogUnique()
649 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in ParseDirectiveSecureLogUnique()
659 bool DarwinAsmParser::ParseDirectiveSecureLogReset(StringRef, SMLoc IDLoc) { in ParseDirectiveSecureLogReset() argument
[all …]
DAsmParser.cpp1155 SMLoc IDLoc = ID.getLoc(); in parseStatement() local
1160 return parseCppHashLineFilenameComment(IDLoc); in parseStatement()
1199 return parseDirectiveIf(IDLoc); in parseStatement()
1201 return parseDirectiveIfb(IDLoc, true); in parseStatement()
1203 return parseDirectiveIfb(IDLoc, false); in parseStatement()
1205 return parseDirectiveIfc(IDLoc, true); in parseStatement()
1207 return parseDirectiveIfc(IDLoc, false); in parseStatement()
1209 return parseDirectiveIfdef(IDLoc, true); in parseStatement()
1212 return parseDirectiveIfdef(IDLoc, false); in parseStatement()
1214 return parseDirectiveElseIf(IDLoc); in parseStatement()
[all …]
/freebsd-10-stable/contrib/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp71 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
176 void expandInstruction(MCInst &Inst, SMLoc IDLoc,
178 void expandLoadImm(MCInst &Inst, SMLoc IDLoc,
180 void expandLoadAddressImm(MCInst &Inst, SMLoc IDLoc,
182 void expandLoadAddressReg(MCInst &Inst, SMLoc IDLoc,
184 void expandMemInst(MCInst &Inst, SMLoc IDLoc,
245 bool processInstruction(MCInst &Inst, SMLoc IDLoc,
562 bool MipsAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction() argument
565 Inst.setLoc(IDLoc); in processInstruction()
591 expandMemInst(Inst, IDLoc, Instructions, MCID.mayLoad(), true); in processInstruction()
[all …]
/freebsd-10-stable/contrib/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp351 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
705 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
717 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
734 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
738 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
741 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
745 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
751 return Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
/freebsd-10-stable/contrib/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp47 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
382 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
395 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
401 return Error(IDLoc, in MatchAndEmitInstruction()
405 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
408 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
412 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
418 return Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
/freebsd-10-stable/contrib/llvm/patches/
Dpatch-r262261-llvm-r198484-sparc.diff202 + bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
464 +MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
477 + Inst.setLoc(IDLoc);
483 + return Error(IDLoc,
487 + SMLoc ErrorLoc = IDLoc;
490 + return Error(IDLoc, "too few operands for instruction");
494 + ErrorLoc = IDLoc;
500 + return Error(IDLoc, "invalid instruction");
/freebsd-10-stable/contrib/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp524 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
2387 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
2406 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
2423 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchAndEmitInstruction()
2442 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
2460 return Error(IDLoc, Msg, EmptyRanges, MatchingInlineAsm); in MatchAndEmitInstruction()
2529 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
2559 Error(IDLoc, OS.str(), EmptyRanges, MatchingInlineAsm); in MatchAndEmitInstruction()
2572 return Error(IDLoc, "invalid instruction mnemonic '" + Base + "'", in MatchAndEmitInstruction()
2579 return Error(IDLoc, "too few operands for instruction", in MatchAndEmitInstruction()
[all …]
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp205 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
858 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
869 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
873 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction()
875 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
877 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
880 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
883 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/freebsd-10-stable/contrib/llvm/include/llvm/MC/
DMCTargetAsmParser.h156 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
/freebsd-10-stable/contrib/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp76 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
2331 bool AArch64AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
2341 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
2352 Error(IDLoc, "instruction requires a CPU feature not currently enabled"); in MatchAndEmitInstruction()
2355 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
2358 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
2364 return Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
/freebsd-10-stable/contrib/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp291 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
7664 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
7698 Warning(IDLoc, "deprecated instruction in IT block"); in MatchAndEmitInstruction()
7712 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
7728 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
7731 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
7734 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
7737 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
7743 return Error(IDLoc, "invalid instruction", in MatchAndEmitInstruction()
7746 return Error(IDLoc, "flag setting instruction only valid outside IT block"); in MatchAndEmitInstruction()
[all …]