Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/Target/Mips/AsmParser/
HDMipsAsmParser.cpp127 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
180 bool expandInstruction(MCInst &Inst, SMLoc IDLoc,
183 bool expandJalWithRegs(MCInst &Inst, SMLoc IDLoc,
187 bool Is32BitImm, SMLoc IDLoc,
191 unsigned SrcReg, bool Is32BitSym, SMLoc IDLoc,
194 bool expandLoadImm(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc,
197 bool expandLoadAddressImm(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc,
200 bool expandLoadAddressReg(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc,
202 bool expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc,
205 void expandMemInst(MCInst &Inst, SMLoc IDLoc,
[all …]
/NextBSD/contrib/llvm/lib/MC/MCParser/
HDDarwinAsmParser.cpp467 SMLoc IDLoc) { in parseDirectiveDumpOrLoad() argument
482 return Warning(IDLoc, "ignoring directive .dump for now"); in parseDirectiveDumpOrLoad()
484 return Warning(IDLoc, "ignoring directive .load for now"); in parseDirectiveDumpOrLoad()
624 bool DarwinAsmParser::parseDirectiveSecureLogUnique(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogUnique() argument
630 return Error(IDLoc, ".secure_log_unique specified multiple times"); in parseDirectiveSecureLogUnique()
635 return Error(IDLoc, ".secure_log_unique used but AS_SECURE_LOG_FILE " in parseDirectiveSecureLogUnique()
646 return Error(IDLoc, Twine("can't open secure log file: ") + in parseDirectiveSecureLogUnique()
653 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique()
655 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique()
665 bool DarwinAsmParser::parseDirectiveSecureLogReset(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogReset() argument
[all …]
HDAsmParser.cpp1228 SMLoc IDLoc = ID.getLoc(); in parseStatement() local
1233 return parseCppHashLineFilenameComment(IDLoc); in parseStatement()
1278 return parseDirectiveIf(IDLoc, DirKind); in parseStatement()
1280 return parseDirectiveIfb(IDLoc, true); in parseStatement()
1282 return parseDirectiveIfb(IDLoc, false); in parseStatement()
1284 return parseDirectiveIfc(IDLoc, true); in parseStatement()
1286 return parseDirectiveIfeqs(IDLoc, true); in parseStatement()
1288 return parseDirectiveIfc(IDLoc, false); in parseStatement()
1290 return parseDirectiveIfeqs(IDLoc, false); in parseStatement()
1292 return parseDirectiveIfdef(IDLoc, true); in parseStatement()
[all …]
/NextBSD/contrib/llvm/lib/Target/X86/AsmParser/
HDX86AsmParser.cpp725 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
730 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
733 bool ErrorMissingFeature(SMLoc IDLoc, uint64_t ErrorInfo,
736 bool MatchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode,
741 bool MatchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode,
2501 bool X86AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
2506 return MatchAndEmitIntelInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction()
2508 return MatchAndEmitATTInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction()
2512 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias() argument
2531 Inst.setLoc(IDLoc); in MatchFPUWaitAlias()
[all …]
/NextBSD/contrib/llvm/lib/Target/Sparc/AsmParser/
HDSparcAsmParser.cpp49 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
83 void expandSET(MCInst &Inst, SMLoc IDLoc,
401 void SparcAsmParser::expandSET(MCInst &Inst, SMLoc IDLoc, in expandSET() argument
423 TmpInst.setLoc(IDLoc); in expandSET()
435 TmpInst.setLoc(IDLoc); in expandSET()
444 bool SparcAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
457 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
461 expandSET(Inst, IDLoc, Instructions); in MatchAndEmitInstruction()
472 return Error(IDLoc, in MatchAndEmitInstruction()
476 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
[all …]
/NextBSD/contrib/llvm/lib/Target/SystemZ/AsmParser/
HDSystemZAsmParser.cpp404 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
781 bool SystemZAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
793 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
810 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
814 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
817 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
821 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
827 return Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/AsmParser/
HDAMDGPUAsmParser.cpp361 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
541 bool AMDGPUAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
551 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
555 return Error(IDLoc, "instruction not supported on this GPU"); in MatchAndEmitInstruction()
558 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
561 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
578 bool Res = MatchAndEmitInstruction(IDLoc, Opcode, Operands, in MatchAndEmitInstruction()
586 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
591 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/NextBSD/contrib/llvm/include/llvm/MC/
HDMCTargetAsmParser.h169 virtual bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
/NextBSD/contrib/llvm/lib/Target/PowerPC/AsmParser/
HDPPCAsmParser.cpp277 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1197 bool PPCAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
1207 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
1211 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction()
1213 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
1215 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1218 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1221 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/NextBSD/contrib/llvm/lib/Target/AArch64/AsmParser/
HDAArch64AsmParser.cpp86 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
3649 bool AArch64AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
3946 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
3963 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
3966 return showMatchError(IDLoc, MatchResult); in MatchAndEmitInstruction()
3968 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
3971 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
3975 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
4033 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
4038 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/NextBSD/contrib/llvm/lib/Target/ARM/AsmParser/
HDARMAsmParser.cpp378 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
8635 bool ARMAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
8668 Warning(IDLoc, "deprecated instruction in IT block"); in MatchAndEmitInstruction()
8682 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
8698 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
8701 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
8704 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
8707 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
8713 return Error(IDLoc, "invalid instruction", in MatchAndEmitInstruction()
8716 return Error(IDLoc, "flag setting instruction only valid outside IT block"); in MatchAndEmitInstruction()
[all …]