/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 133 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 177 tryExpandInstruction(MCInst &Inst, SMLoc IDLoc, 180 bool expandJalWithRegs(MCInst &Inst, SMLoc IDLoc, 184 bool Is32BitImm, bool IsAddress, SMLoc IDLoc, 188 unsigned SrcReg, bool Is32BitSym, SMLoc IDLoc, 191 bool expandLoadImm(MCInst &Inst, bool Is32BitImm, SMLoc IDLoc, 196 SMLoc IDLoc, SmallVectorImpl<MCInst> &Instructions); 198 bool expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc, 201 void expandMemInst(MCInst &Inst, SMLoc IDLoc, 205 bool expandLoadStoreMultiple(MCInst &Inst, SMLoc IDLoc, [all …]
|
/external/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 107 bool finishBundle(SMLoc IDLoc, MCStreamer &Out); 109 bool matchOneInstruction(MCInst &MCB, SMLoc IDLoc, 113 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 118 void OutOfRange(SMLoc IDLoc, long long Val, long long Max); 120 SMLoc IDLoc, bool &MustExtend); 622 bool HexagonAsmParser::finishBundle(SMLoc IDLoc, MCStreamer &Out) { in finishBundle() argument 642 Error(IDLoc, in finishBundle() 647 Error(IDLoc, "register `" + R + in finishBundle() 652 Error(IDLoc, "register `" + R + "' modified more than once"); in finishBundle() 655 Error(IDLoc, "cannot write to read-only register `" + R + "'"); in finishBundle() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | DarwinAsmParser.cpp | 476 SMLoc IDLoc) { in parseDirectiveDumpOrLoad() argument 491 return Warning(IDLoc, "ignoring directive .dump for now"); in parseDirectiveDumpOrLoad() 493 return Warning(IDLoc, "ignoring directive .load for now"); in parseDirectiveDumpOrLoad() 655 bool DarwinAsmParser::parseDirectiveSecureLogUnique(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogUnique() argument 661 return Error(IDLoc, ".secure_log_unique specified multiple times"); in parseDirectiveSecureLogUnique() 666 return Error(IDLoc, ".secure_log_unique used but AS_SECURE_LOG_FILE " in parseDirectiveSecureLogUnique() 676 return Error(IDLoc, Twine("can't open secure log file: ") + in parseDirectiveSecureLogUnique() 683 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique() 685 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique() 695 bool DarwinAsmParser::parseDirectiveSecureLogReset(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogReset() argument [all …]
|
D | AsmParser.cpp | 1314 SMLoc IDLoc = ID.getLoc(); in parseStatement() local 1319 return parseCppHashLineFilenameComment(IDLoc); in parseStatement() 1373 return parseDirectiveIf(IDLoc, DirKind); in parseStatement() 1375 return parseDirectiveIfb(IDLoc, true); in parseStatement() 1377 return parseDirectiveIfb(IDLoc, false); in parseStatement() 1379 return parseDirectiveIfc(IDLoc, true); in parseStatement() 1381 return parseDirectiveIfeqs(IDLoc, true); in parseStatement() 1383 return parseDirectiveIfc(IDLoc, false); in parseStatement() 1385 return parseDirectiveIfeqs(IDLoc, false); in parseStatement() 1387 return parseDirectiveIfdef(IDLoc, true); in parseStatement() [all …]
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 728 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 733 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands, 736 bool ErrorMissingFeature(SMLoc IDLoc, uint64_t ErrorInfo, 739 bool MatchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode, 744 bool MatchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode, 2455 bool X86AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 2460 return MatchAndEmitIntelInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction() 2462 return MatchAndEmitATTInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction() 2466 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias() argument 2485 Inst.setLoc(IDLoc); in MatchFPUWaitAlias() [all …]
|
/external/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 49 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 87 void expandSET(MCInst &Inst, SMLoc IDLoc, 435 void SparcAsmParser::expandSET(MCInst &Inst, SMLoc IDLoc, in expandSET() argument 448 Error(IDLoc, "set: argument must be between -2147483648 and 4294967295"); in expandSET() 474 TmpInst.setLoc(IDLoc); in expandSET() 499 TmpInst.setLoc(IDLoc); in expandSET() 508 bool SparcAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 521 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 525 expandSET(Inst, IDLoc, Instructions); in MatchAndEmitInstruction() 536 return Error(IDLoc, in MatchAndEmitInstruction() [all …]
|
/external/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 403 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 782 bool SystemZAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 794 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 811 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 815 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 818 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 822 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 828 return Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/AMDGPU/AsmParser/ |
D | AMDGPUAsmParser.cpp | 417 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 612 bool AMDGPUAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 622 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 626 return Error(IDLoc, "instruction not supported on this GPU"); in MatchAndEmitInstruction() 629 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction() 632 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 649 bool Res = MatchAndEmitInstruction(IDLoc, Opcode, Operands, in MatchAndEmitInstruction() 657 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 662 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 667 return Error(IDLoc, "internal error: instruction without _e64 suffix " in MatchAndEmitInstruction()
|
/external/llvm/include/llvm/MC/ |
D | MCTargetAsmParser.h | 184 virtual bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|
/external/llvm/lib/Target/PowerPC/AsmParser/ |
D | PPCAsmParser.cpp | 276 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 1196 bool PPCAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 1206 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 1210 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction() 1212 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction() 1214 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1217 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 1220 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 85 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 3773 bool AArch64AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 4087 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 4104 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 4107 return showMatchError(IDLoc, MatchResult); in MatchAndEmitInstruction() 4109 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 4113 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 4117 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 4176 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 4181 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 379 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 8571 bool ARMAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 8604 Warning(IDLoc, "deprecated instruction in IT block"); in MatchAndEmitInstruction() 8618 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 8634 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 8637 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 8640 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 8643 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction() 8649 return Error(IDLoc, "invalid instruction", in MatchAndEmitInstruction() 8652 return Error(IDLoc, "flag setting instruction only valid outside IT block"); in MatchAndEmitInstruction() [all …]
|