Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1880 Inst.setLoc(IDLoc); in processInstruction()
2825 warnIfNoMacro(IDLoc); in loadImmediate()
2915 warnIfNoMacro(IDLoc); in loadAndAddSymbolAddress()
4167 warnIfNoMacro(IDLoc); in expandDivRem()
4392 warnIfNoMacro(IDLoc); in expandUlh()
4442 warnIfNoMacro(IDLoc); in expandUsh()
4544 warnIfNoMacro(IDLoc); in expandSge()
4578 warnIfNoMacro(IDLoc); in expandSgeImm()
4635 warnIfNoMacro(IDLoc); in expandSgtImm()
4681 warnIfNoMacro(IDLoc); in expandSle()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetStreamer.h122 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc,
124 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc,
128 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc,
133 SMLoc IDLoc, const MCSubtargetInfo *STI);
135 SMLoc IDLoc, const MCSubtargetInfo *STI);
137 MCOperand Op3, SMLoc IDLoc, const MCSubtargetInfo *STI);
139 SMLoc IDLoc, const MCSubtargetInfo *STI);
141 int16_t Imm1, int16_t Imm2, SMLoc IDLoc,
146 SMLoc IDLoc, const MCSubtargetInfo *STI);
147 void emitEmptyDelaySlot(bool hasShortDelaySlot, SMLoc IDLoc,
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsTargetStreamer.cpp174 TmpInst.setLoc(IDLoc); in emitR()
184 TmpInst.setLoc(IDLoc); in emitRX()
204 TmpInst.setLoc(IDLoc); in emitII()
216 TmpInst.setLoc(IDLoc); in emitRRX()
235 TmpInst.setLoc(IDLoc); in emitRRRX()
256 TmpInst.setLoc(IDLoc); in emitRRIII()
302 function_ref<unsigned()> GetATReg, SMLoc IDLoc, in emitStoreWithImmOffset() argument
326 emitRI(Mips::LUi, ATReg, HiOffset, IDLoc, STI); in emitStoreWithImmOffset()
330 emitRRI(Opcode, SrcReg, ATReg, LoOffset, IDLoc, STI); in emitStoreWithImmOffset()
362 emitRI(Mips::LUi, TmpReg, HiOffset, IDLoc, STI); in emitLoadWithImmOffset()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp995 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
1004 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1011 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1021 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
2275 RISCV::ADDI, IDLoc, Out); in emitLoadLocalAddress()
2348 Opcode, IDLoc, Out); in emitLoadStoreSymbol()
2540 Inst.setLoc(IDLoc); in processInstruction()
2567 emitLoadLocalAddress(Inst, IDLoc, Out); in processInstruction()
2570 emitLoadAddress(Inst, IDLoc, Out); in processInstruction()
2573 emitLoadTLSIEAddress(Inst, IDLoc, Out); in processInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp36 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
285 bool BPFAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
293 return Error(IDLoc, "additional inst constraint not met"); in MatchAndEmitInstruction()
299 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
303 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction()
305 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
307 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
316 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp142 SMLoc IDLoc);
473 MCB.setLoc(IDLoc); in finishBundle()
562 MCI.setLoc(IDLoc); in matchOneInstruction()
570 MCI.setLoc(IDLoc); in matchOneInstruction()
589 SMLoc ErrorLoc = IDLoc; in matchOneInstruction()
597 ErrorLoc = IDLoc; in matchOneInstruction()
642 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
655 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
1577 OutOfRange(IDLoc, s8, -128); in processInstruction()
1603 OutOfRange(IDLoc, s8, -128); in processInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp2117 SMLoc IDLoc = ID.getLoc(); in parseStatement() local
2231 return parseDirectiveElse(IDLoc); in parseStatement()
2233 return parseDirectiveEndIf(IDLoc); in parseStatement()
2299 Out.emitLabel(Sym, IDLoc); in parseStatement()
2305 IDLoc); in parseStatement()
2318 return handleMacroEntry(M, IDLoc); in parseStatement()
2435 return parseDirectiveFile(IDLoc); in parseStatement()
2517 return parseDirectiveEnd(IDLoc); in parseStatement()
2547 return parseDirectiveEcho(IDLoc); in parseStatement()
3161 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments() local
[all …]
H A DDarwinAsmParser.cpp587 SMLoc IDLoc) { in parseDirectiveDumpOrLoad() argument
602 return Warning(IDLoc, "ignoring directive .dump for now"); in parseDirectiveDumpOrLoad()
604 return Warning(IDLoc, "ignoring directive .load for now"); in parseDirectiveDumpOrLoad()
767 return Error(IDLoc, ".secure_log_unique specified multiple times"); in parseDirectiveSecureLogUnique()
783 return Error(IDLoc, Twine("can't open secure log file: ") + in parseDirectiveSecureLogUnique()
790 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique()
792 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique()
829 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveTBSS() local
870 return Error(IDLoc, "invalid symbol redefinition"); in parseDirectiveTBSS()
914 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveZerofill() local
[all …]
H A DAsmParser.cpp1784 SMLoc IDLoc = ID.getLoc(); in parseStatement() local
1874 return parseDirectiveElseIf(IDLoc); in parseStatement()
1876 return parseDirectiveElse(IDLoc); in parseStatement()
1878 return parseDirectiveEndIf(IDLoc); in parseStatement()
1947 Out.emitLabel(Sym, IDLoc); in parseStatement()
2130 return parseDirectiveIrp(IDLoc); in parseStatement()
2132 return parseDirectiveIrpc(IDLoc); in parseStatement()
2134 return parseDirectiveEndr(IDLoc); in parseStatement()
2240 return parseDirectiveEnd(IDLoc); in parseStatement()
2761 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp40 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
288 bool CSKYAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
302 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
315 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
321 return Error(IDLoc, "unrecognized instruction mnemonic" + Suggestion); in MatchAndEmitInstruction()
325 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
332 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
342 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp66 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
112 bool expandSET(MCInst &Inst, SMLoc IDLoc,
570 return Error(IDLoc, in expandSET()
596 TmpInst.setLoc(IDLoc); in expandSET()
621 TmpInst.setLoc(IDLoc); in expandSET()
644 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
648 if (expandSET(Inst, IDLoc, Instructions)) in MatchAndEmitInstruction()
660 return Error(IDLoc, in MatchAndEmitInstruction()
664 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
671 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1164 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
4044 Inst.setLoc(IDLoc); in MatchFPUWaitAlias()
4047 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
4051 bool X86AsmParser::ErrorMissingFeature(SMLoc IDLoc, in ErrorMissingFeature() argument
4062 return Error(IDLoc, OS.str(), SMRange(), MatchingInlineAsm); in ErrorMissingFeature()
4179 Inst.setLoc(IDLoc); in MatchAndEmitATTInstruction()
4187 ErrorLoc = IDLoc; in MatchAndEmitATTInstruction()
4284 Inst.setLoc(IDLoc); in MatchAndEmitATTInstruction()
4313 Error(IDLoc, OS.str(), EmptyRange, MatchingInlineAsm); in MatchAndEmitATTInstruction()
4549 Inst.setLoc(IDLoc); in MatchAndEmitIntelInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp1002 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned & /*Opcode*/, in MatchAndEmitInstruction() argument
1007 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
1031 if (!SkipTypeCheck && TC.typeCheck(IDLoc, Inst)) in MatchAndEmitInstruction()
1035 onEndOfFunction(IDLoc); in MatchAndEmitInstruction()
1049 return Parser.Error(IDLoc, Message); in MatchAndEmitInstruction()
1052 return Parser.Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
1054 return Parser.Error(IDLoc, "ambiguous instruction"); in MatchAndEmitInstruction()
1057 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1060 return Parser.Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1063 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp492 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1493 bool SystemZAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
1508 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
1523 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
1527 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1530 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1534 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1543 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp53 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
760 bool VEAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
769 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
774 return Error(IDLoc, in MatchAndEmitInstruction()
778 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
781 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
785 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
791 return Error(IDLoc, "invalid instruction mnemonic"); in MatchAndEmitInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1552 const SMLoc &IDLoc);
4177 Error(IDLoc, "instruction must use glc"); in validateCoherencyBits()
4243 Error(IDLoc, in validateInstruction()
4248 Error(IDLoc, in validateInstruction()
4274 if (!validateCoherencyBits(Inst, Operands, IDLoc)) { in validateInstruction()
4286 Error(IDLoc, in validateInstruction()
4345 return Error(IDLoc, in checkUnsupportedInstruction()
4393 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
4399 if (checkUnsupportedInstruction(Mnemo, IDLoc)) { in MatchAndEmitInstruction()
4412 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp125 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1163 bool PPCAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
1173 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
1177 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction()
1182 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction()
1186 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1189 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1192 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp219 bool validateInstruction(MCInst &Inst, SMLoc &IDLoc,
221 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
5635 if (validateInstruction(Inst, IDLoc, OperandLocs)) in MatchAndEmitInstruction()
5638 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
5653 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
5658 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
5662 return Error(IDLoc, "too few operands for instruction", in MatchAndEmitInstruction()
5663 SMRange(IDLoc, getTok().getLoc())); in MatchAndEmitInstruction()
5667 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
5839 …return Error(IDLoc, "too few operands for instruction", SMRange(IDLoc, (*Operands.back()).getEndLo… in MatchAndEmitInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCTargetAsmParser.h424 virtual bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp42 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp705 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
723 SMLoc IDLoc, OperandVector &Operands);
10964 Warning(IDLoc, "deprecated instruction in IT block"); in MatchAndEmitInstruction()
10979 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
10989 ReportNearMisses(NearMisses, IDLoc, Operands); in MatchAndEmitInstruction()
10995 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction()
12061 SMLoc IDLoc, OperandVector &Operands) { in FilterNearMisses() argument
12152 Message.Loc = IDLoc; in FilterNearMisses()
12166 Message.Loc = IDLoc; in FilterNearMisses()
12216 FilterNearMisses(NearMisses, Messages, IDLoc, Operands); in ReportNearMisses()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp49 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/
H A DM68kAsmParser.cpp74 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp5988 IdentifierLoc *IDLoc = AL.getArgAsIdent(0); in handleSwiftAsyncError() local
5990 if (!SwiftAsyncErrorAttr::ConvertStrToConventionKind(IDLoc->Ident->getName(), in handleSwiftAsyncError()
5993 << AL << IDLoc->Ident; in handleSwiftAsyncError()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp710 LocTy IDLoc = Lex.getLoc(); in parseMDNodeID() local
723 FwdRef = std::make_pair(MDTuple::getTemporary(Context, None), IDLoc); in parseMDNodeID()