/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/AsmParser/ |
H A D | MipsAsmParser.cpp | 175 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 222 MacroExpanderResultTy tryExpandInstruction(MCInst &Inst, SMLoc IDLoc, 226 bool expandJalWithRegs(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out, 230 bool Is32BitImm, bool IsAddress, SMLoc IDLoc, 234 unsigned SrcReg, bool Is32BitSym, SMLoc IDLoc, 237 bool emitPartialAddress(MipsTargetStreamer &TOut, SMLoc IDLoc, MCSymbol *Sym); 239 bool expandLoadImm(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc, 242 bool expandLoadSingleImmToGPR(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out, 244 bool expandLoadSingleImmToFPR(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out, 246 bool expandLoadDoubleImmToGPR(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out, [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsTargetStreamer.cpp | 134 int Offset, function_ref<unsigned()> GetATReg, SMLoc IDLoc, in emitDirectiveCpRestore() argument 169 void MipsTargetStreamer::emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, in emitR() argument 174 TmpInst.setLoc(IDLoc); in emitR() 179 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRX() argument 184 TmpInst.setLoc(IDLoc); in emitRX() 189 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRI() argument 190 emitRX(Opcode, Reg0, MCOperand::createImm(Imm), IDLoc, STI); in emitRI() 194 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRR() argument 195 emitRX(Opcode, Reg0, MCOperand::createReg(Reg1), IDLoc, STI); in emitRR() 199 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitII() argument [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
H A D | MipsTargetStreamer.h | 100 SMLoc IDLoc, const MCSubtargetInfo *STI); 122 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, 124 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc, 126 void emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc, 128 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc, 130 void emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, 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); [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/AsmParser/ |
H A D | RISCVAsmParser.cpp | 81 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 107 unsigned SecondOpcode, SMLoc IDLoc, MCStreamer &Out); 110 void emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out); 113 void emitLoadAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out); 117 void emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out); 121 void emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out); 124 void emitLoadStoreSymbol(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, 129 SMLoc IDLoc, MCStreamer &Out); 132 void emitVMSGE(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, MCStreamer &Out); 147 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands, [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/ |
H A D | MasmParser.cpp | 1995 SMLoc IDLoc = ID.getLoc(); in parseStatement() local 1999 return parseCppHashLineFilenameComment(IDLoc); in parseStatement() 2006 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement() 2015 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement() 2042 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement() 2051 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement() 2069 return parseDirectiveIf(IDLoc, DirKind); in parseStatement() 2071 return parseDirectiveIfb(IDLoc, true); in parseStatement() 2073 return parseDirectiveIfb(IDLoc, false); in parseStatement() 2075 return parseDirectiveIfdef(IDLoc, true); in parseStatement() [all …]
|
H A D | DarwinAsmParser.cpp | 587 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() 761 bool DarwinAsmParser::parseDirectiveSecureLogUnique(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogUnique() argument 767 return Error(IDLoc, ".secure_log_unique specified multiple times"); in parseDirectiveSecureLogUnique() 772 return Error(IDLoc, ".secure_log_unique used but AS_SECURE_LOG_FILE " 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() 802 bool DarwinAsmParser::parseDirectiveSecureLogReset(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogReset() argument [all …]
|
H A D | AsmParser.cpp | 198 SMLoc IDLoc); 1779 SMLoc IDLoc = ID.getLoc(); in parseStatement() local 1784 return parseCppHashLineFilenameComment(IDLoc, in parseStatement() 1793 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement() 1802 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement() 1827 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement() 1850 return parseDirectiveIf(IDLoc, DirKind); in parseStatement() 1852 return parseDirectiveIfb(IDLoc, true); in parseStatement() 1854 return parseDirectiveIfb(IDLoc, false); in parseStatement() 1856 return parseDirectiveIfc(IDLoc, true); in parseStatement() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/AsmParser/ |
H A D | HexagonAsmParser.cpp | 127 bool finishBundle(SMLoc IDLoc, MCStreamer &Out); 129 bool matchOneInstruction(MCInst &MCB, SMLoc IDLoc, 133 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 140 bool OutOfRange(SMLoc IDLoc, long long Val, long long Max); 142 SMLoc IDLoc); 468 bool HexagonAsmParser::finishBundle(SMLoc IDLoc, MCStreamer &Out) { in finishBundle() argument 473 MCB.setLoc(IDLoc); in finishBundle() 512 auto IDLoc = Parser.getTok().getLoc(); in matchBundleOptions() local 524 return getParser().Error(IDLoc, MemNoShuffMsg); in matchBundleOptions() 528 return getParser().Error(IDLoc, llvm::Twine("'") + Option + in matchBundleOptions() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/AsmParser/ |
H A D | BPFAsmParser.cpp | 36 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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/AsmParser/ |
H A D | CSKYAsmParser.cpp | 40 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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/ |
H A D | X86AsmParser.cpp | 1164 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 1169 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands, 1172 bool ErrorMissingFeature(SMLoc IDLoc, const FeatureBitset &MissingFeatures, 1175 bool MatchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode, 1180 bool MatchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode, 4013 bool X86AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 4018 return MatchAndEmitIntelInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction() 4020 return MatchAndEmitATTInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction() 4024 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias() argument 4043 Inst.setLoc(IDLoc); in MatchFPUWaitAlias() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/AsmParser/ |
H A D | SparcAsmParser.cpp | 66 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 112 bool expandSET(MCInst &Inst, SMLoc IDLoc, 557 bool SparcAsmParser::expandSET(MCInst &Inst, SMLoc IDLoc, in expandSET() argument 570 return Error(IDLoc, in expandSET() 596 TmpInst.setLoc(IDLoc); in expandSET() 621 TmpInst.setLoc(IDLoc); in expandSET() 631 bool SparcAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 644 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 648 if (expandSET(Inst, IDLoc, Instructions)) in MatchAndEmitInstruction() 660 return Error(IDLoc, in MatchAndEmitInstruction() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/ |
H A D | WebAssemblyAsmParser.cpp | 970 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned & /*Opcode*/, in MatchAndEmitInstruction() argument 975 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 1015 return Parser.Error(IDLoc, Message); in MatchAndEmitInstruction() 1018 return Parser.Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction() 1020 return Parser.Error(IDLoc, "ambiguous instruction"); in MatchAndEmitInstruction() 1023 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1026 return Parser.Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 1029 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/ |
H A D | SystemZAsmParser.cpp | 492 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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/AsmParser/ |
H A D | VEAsmParser.cpp | 53 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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/ |
H A D | AMDGPUAsmParser.cpp | 1429 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 1527 bool validateInstruction(const MCInst &Inst, const SMLoc &IDLoc, const OperandVector &Operands); 1551 const SMLoc &IDLoc); 1563 bool checkUnsupportedInstruction(StringRef Name, const SMLoc &IDLoc); 4113 const SMLoc &IDLoc) { in validateCoherencyBits() argument 4124 Error(IDLoc, "invalid cache policy for SMRD instruction"); in validateCoherencyBits() 4141 Error(IDLoc, "instruction must use glc"); in validateCoherencyBits() 4158 const SMLoc &IDLoc, in validateInstruction() argument 4198 Error(IDLoc, "dim modifier is required on this GPU"); in validateInstruction() 4207 Error(IDLoc, in validateInstruction() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/ |
H A D | PPCAsmParser.cpp | 125 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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/AsmParser/ |
H A D | AArch64AsmParser.cpp | 215 bool validateInstruction(MCInst &Inst, SMLoc &IDLoc, 217 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 4128 bool AArch64AsmParser::validateInstruction(MCInst &Inst, SMLoc &IDLoc, in validateInstruction() argument 4150 return Error(IDLoc, "instruction is unpredictable when following a" in validateInstruction() 4183 return Error(IDLoc, "instruction is unpredictable when following a" in validateInstruction() 4188 return Error(IDLoc, "instruction is unpredictable when following a" in validateInstruction() 4193 return Error(IDLoc, "instruction is unpredictable when following a" in validateInstruction() 4741 bool AArch64AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 4970 Warning(IDLoc, "instruction movi.2d with immediate #0 may not function" in MatchAndEmitInstruction() 4974 Operands[Idx] = AArch64Operand::CreateToken(".16b", false, IDLoc, in MatchAndEmitInstruction() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/MCParser/ |
H A D | MCTargetAsmParser.h | 424 virtual bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/ |
H A D | MSP430AsmParser.cpp | 42 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/AsmParser/ |
H A D | ARMAsmParser.cpp | 705 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 723 SMLoc IDLoc, OperandVector &Operands); 724 void ReportNearMisses(SmallVectorImpl<NearMissInfo> &NearMisses, SMLoc IDLoc, 10920 bool ARMAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 10963 Warning(IDLoc, "deprecated instruction in IT block"); in MatchAndEmitInstruction() 10978 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 10988 ReportNearMisses(NearMisses, IDLoc, Operands); in MatchAndEmitInstruction() 10994 return Error(IDLoc, "invalid instruction" + Suggestion, in MatchAndEmitInstruction() 12060 SMLoc IDLoc, OperandVector &Operands) { in FilterNearMisses() argument 12151 Message.Loc = IDLoc; in FilterNearMisses() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/AsmParser/ |
H A D | AVRAsmParser.cpp | 49 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/AsmParser/ |
H A D | M68kAsmParser.cpp | 74 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 5880 IdentifierLoc *IDLoc = AL.getArgAsIdent(0); in handleSwiftAsyncError() local 5882 if (!SwiftAsyncErrorAttr::ConvertStrToConventionKind(IDLoc->Ident->getName(), in handleSwiftAsyncError() 5885 << AL << IDLoc->Ident; in handleSwiftAsyncError()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 737 LocTy IDLoc = Lex.getLoc(); in parseMDNodeID() local 750 FwdRef = std::make_pair(MDTuple::getTemporary(Context, None), IDLoc); in parseMDNodeID()
|