Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsTargetStreamer.cpp180 TmpInst.setLoc(IDLoc); in emitR()
190 TmpInst.setLoc(IDLoc); in emitRX()
210 TmpInst.setLoc(IDLoc); in emitII()
222 TmpInst.setLoc(IDLoc); in emitRRX()
241 TmpInst.setLoc(IDLoc); in emitRRRX()
262 TmpInst.setLoc(IDLoc); in emitRRIII()
290 emitRR(Opc, Mips::ZERO, Mips::ZERO, IDLoc, STI); in emitEmptyDelaySlot()
297 emitRRI(Opc, Mips::ZERO, Mips::ZERO, 0, IDLoc, STI); in emitEmptyDelaySlot()
316 function_ref<unsigned()> GetATReg, SMLoc IDLoc, in emitStoreWithImmOffset() argument
340 emitRI(Mips::LUi, ATReg, HiOffset, IDLoc, STI); in emitStoreWithImmOffset()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp1094 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
1103 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1110 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1120 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
2377 RISCV::ADDI, IDLoc, Out); in emitLoadLocalAddress()
2450 Opcode, IDLoc, Out); in emitLoadStoreSymbol()
2641 Inst.setLoc(IDLoc); in processInstruction()
2668 emitLoadLocalAddress(Inst, IDLoc, Out); in processInstruction()
2671 emitLoadAddress(Inst, IDLoc, Out); in processInstruction()
2674 emitLoadTLSIEAddress(Inst, IDLoc, Out); in processInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/LoongArch/AsmParser/
H A DLoongArchAsmParser.cpp41 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
56 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands,
370 bool LoongArchAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction() argument
373 Inst.setLoc(IDLoc); in processInstruction()
436 bool LoongArchAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
450 return processInstruction(Inst, IDLoc, Operands, Out); in MatchAndEmitInstruction()
462 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
468 return Error(IDLoc, "unrecognized instruction mnemonic" + Suggestion); in MatchAndEmitInstruction()
471 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
478 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp682 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
692 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
699 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
709 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
824 Inst.setLoc(IDLoc); in processLRW()
872 Inst.setLoc(IDLoc); in processJSRI()
893 Inst.setLoc(IDLoc); in processJMPI()
939 return Error(IDLoc, "n must be in range [0,32]"); in processInstruction()
972 return processLRW(Inst, IDLoc, Out); in processInstruction()
974 return processJSRI(Inst, IDLoc, Out); in processInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp37 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
286 bool BPFAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
294 return Error(IDLoc, "additional inst constraint not met"); in MatchAndEmitInstruction()
300 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
304 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction()
306 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
308 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
317 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp142 SMLoc IDLoc);
462 MCB.setLoc(IDLoc); in finishBundle()
551 MCI.setLoc(IDLoc); in matchOneInstruction()
559 MCI.setLoc(IDLoc); in matchOneInstruction()
578 SMLoc ErrorLoc = IDLoc; in matchOneInstruction()
586 ErrorLoc = IDLoc; in matchOneInstruction()
631 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
644 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
1566 OutOfRange(IDLoc, s8, -128); in processInstruction()
1592 OutOfRange(IDLoc, s8, -128); in processInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DMasmParser.cpp2100 SMLoc IDLoc = ID.getLoc(); in parseStatement() local
2194 return parseDirectiveElse(IDLoc); in parseStatement()
2196 return parseDirectiveEndIf(IDLoc); in parseStatement()
2265 Out.emitLabel(Sym, IDLoc); in parseStatement()
2271 IDLoc); in parseStatement()
2284 return handleMacroEntry(M, IDLoc); in parseStatement()
2400 return parseDirectiveFile(IDLoc); in parseStatement()
2482 return parseDirectiveEnd(IDLoc); in parseStatement()
2512 return parseDirectiveEcho(IDLoc); in parseStatement()
3126 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments() local
[all …]
H A DAsmParser.cpp1796 SMLoc IDLoc = ID.getLoc(); in parseStatement() local
1886 return parseDirectiveElseIf(IDLoc); in parseStatement()
1888 return parseDirectiveElse(IDLoc); in parseStatement()
1890 return parseDirectiveEndIf(IDLoc); in parseStatement()
1959 Out.emitLabel(Sym, IDLoc); in parseStatement()
2144 return parseDirectiveIrp(IDLoc); in parseStatement()
2146 return parseDirectiveIrpc(IDLoc); in parseStatement()
2148 return parseDirectiveEndr(IDLoc); in parseStatement()
2254 return parseDirectiveEnd(IDLoc); in parseStatement()
2775 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 …]
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp991 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned & /*Opcode*/, in MatchAndEmitInstruction() argument
996 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
1020 if (!SkipTypeCheck && TC.typeCheck(IDLoc, Inst, Operands)) in MatchAndEmitInstruction()
1024 onEndOfFunction(IDLoc); in MatchAndEmitInstruction()
1038 return Parser.Error(IDLoc, Message); in MatchAndEmitInstruction()
1041 return Parser.Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
1043 return Parser.Error(IDLoc, "ambiguous instruction"); in MatchAndEmitInstruction()
1046 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1049 return Parser.Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1052 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp69 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
118 bool expandSET(MCInst &Inst, SMLoc IDLoc,
584 return Error(IDLoc, in expandSET()
610 TmpInst.setLoc(IDLoc); in expandSET()
635 TmpInst.setLoc(IDLoc); in expandSET()
658 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
662 if (expandSET(Inst, IDLoc, Instructions)) in MatchAndEmitInstruction()
674 return Error(IDLoc, in MatchAndEmitInstruction()
678 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
685 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1181 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
4072 Inst.setLoc(IDLoc); in MatchFPUWaitAlias()
4075 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
4079 bool X86AsmParser::ErrorMissingFeature(SMLoc IDLoc, in ErrorMissingFeature() argument
4090 return Error(IDLoc, OS.str(), SMRange(), MatchingInlineAsm); in ErrorMissingFeature()
4189 Inst.setLoc(IDLoc); in MatchAndEmitATTInstruction()
4197 ErrorLoc = IDLoc; in MatchAndEmitATTInstruction()
4293 Inst.setLoc(IDLoc); in MatchAndEmitATTInstruction()
4322 Error(IDLoc, OS.str(), EmptyRange, MatchingInlineAsm); in MatchAndEmitATTInstruction()
4554 Inst.setLoc(IDLoc); in MatchAndEmitIntelInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp504 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1525 bool SystemZAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
1540 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
1555 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
1559 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1562 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1566 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1575 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction()
/llvm-project-15.0.7/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp54 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
763 bool VEAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
772 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
777 return Error(IDLoc, in MatchAndEmitInstruction()
781 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
784 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
788 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
794 return Error(IDLoc, "invalid instruction mnemonic"); in MatchAndEmitInstruction()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp126 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1150 bool PPCAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
1160 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
1164 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction()
1169 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction()
1173 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1176 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
1179 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1650 const SMLoc &IDLoc);
1652 const SMLoc &IDLoc);
4581 Error(IDLoc, *ErrMsg); in validateInstruction()
4585 Error(IDLoc, in validateInstruction()
4626 Error(IDLoc, in validateInstruction()
4646 if (!validateFlatLdsDMA(Inst, Operands, IDLoc)) { in validateInstruction()
4693 return Error(IDLoc, in checkUnsupportedInstruction()
4741 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
4747 if (checkUnsupportedInstruction(Mnemo, IDLoc)) { in MatchAndEmitInstruction()
4760 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp222 bool validateInstruction(MCInst &Inst, SMLoc &IDLoc,
224 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
5803 if (validateInstruction(Inst, IDLoc, OperandLocs)) in MatchAndEmitInstruction()
5806 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
5821 return Error(IDLoc, Msg); in MatchAndEmitInstruction()
5826 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
5830 return Error(IDLoc, "too few operands for instruction", in MatchAndEmitInstruction()
5831 SMRange(IDLoc, getTok().getLoc())); in MatchAndEmitInstruction()
5835 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
6005 …return Error(IDLoc, "too few operands for instruction", SMRange(IDLoc, (*Operands.back()).getEndLo… in MatchAndEmitInstruction()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MC/MCParser/
H A DMCTargetAsmParser.h429 virtual bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
/llvm-project-15.0.7/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp43 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
/llvm-project-15.0.7/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp53 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
/llvm-project-15.0.7/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp715 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
733 SMLoc IDLoc, OperandVector &Operands);
10957 bool ARMAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
11007 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
11017 ReportNearMisses(NearMisses, IDLoc, Operands); in MatchAndEmitInstruction()
11023 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction()
12271 SMLoc IDLoc, OperandVector &Operands) { in FilterNearMisses() argument
12362 Message.Loc = IDLoc; in FilterNearMisses()
12376 Message.Loc = IDLoc; in FilterNearMisses()
12426 FilterNearMisses(NearMisses, Messages, IDLoc, Operands); in ReportNearMisses()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/M68k/AsmParser/
H A DM68kAsmParser.cpp76 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclAttr.cpp6306 IdentifierLoc *IDLoc = AL.getArgAsIdent(0); in handleSwiftAsyncError() local
6308 if (!SwiftAsyncErrorAttr::ConvertStrToConventionKind(IDLoc->Ident->getName(), in handleSwiftAsyncError()
6311 << AL << IDLoc->Ident; in handleSwiftAsyncError()

12