/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 134 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 176 MacroExpanderResultTy tryExpandInstruction(MCInst &Inst, SMLoc IDLoc, 180 bool expandJalWithRegs(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out, 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, MCStreamer &Out, 199 bool expandUncondBranchMMPseudo(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out, 202 void expandMemInst(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out, 205 void expandLoadInst(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out, [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetStreamer.h | 88 SMLoc IDLoc, const MCSubtargetInfo *STI); 103 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, 105 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc, 107 void emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc, 109 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc, 111 void emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, SMLoc IDLoc, 114 SMLoc IDLoc, const MCSubtargetInfo *STI); 116 SMLoc IDLoc, const MCSubtargetInfo *STI); 118 SMLoc IDLoc, const MCSubtargetInfo *STI); 122 SMLoc IDLoc, const MCSubtargetInfo *STI); [all …]
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsTargetStreamer.cpp | 101 int Offset, function_ref<unsigned()> GetATReg, SMLoc IDLoc, in emitDirectiveCpRestore() argument 129 void MipsTargetStreamer::emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc, in emitR() argument 134 TmpInst.setLoc(IDLoc); in emitR() 139 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRX() argument 144 TmpInst.setLoc(IDLoc); in emitRX() 149 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRI() argument 150 emitRX(Opcode, Reg0, MCOperand::createImm(Imm), IDLoc, STI); in emitRI() 154 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitRR() argument 155 emitRX(Opcode, Reg0, MCOperand::createReg(Reg1), IDLoc, STI); in emitRR() 159 SMLoc IDLoc, const MCSubtargetInfo *STI) { in emitII() argument [all …]
|
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/ |
D | DarwinAsmParser.cpp | 357 SMLoc IDLoc) { in ParseDirectiveDumpOrLoad() argument 372 return Warning(IDLoc, "ignoring directive .dump for now"); in ParseDirectiveDumpOrLoad() 374 return Warning(IDLoc, "ignoring directive .load for now"); in ParseDirectiveDumpOrLoad() 456 bool DarwinAsmParser::ParseDirectiveSecureLogUnique(StringRef, SMLoc IDLoc) { in ParseDirectiveSecureLogUnique() argument 462 return Error(IDLoc, ".secure_log_unique specified multiple times"); in ParseDirectiveSecureLogUnique() 467 return Error(IDLoc, ".secure_log_unique used but AS_SECURE_LOG_FILE " in ParseDirectiveSecureLogUnique() 477 return Error(IDLoc, Twine("can't open secure log file: ") + in ParseDirectiveSecureLogUnique() 484 int CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in ParseDirectiveSecureLogUnique() 486 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in ParseDirectiveSecureLogUnique() 496 bool DarwinAsmParser::ParseDirectiveSecureLogReset(StringRef, SMLoc IDLoc) { in ParseDirectiveSecureLogReset() argument [all …]
|
D | AsmParser.cpp | 951 SMLoc IDLoc = ID.getLoc(); in ParseStatement() local 956 return ParseCppHashLineFilenameComment(IDLoc); in ParseStatement() 991 return ParseDirectiveIf(IDLoc); in ParseStatement() 993 return ParseDirectiveIfdef(IDLoc, true); in ParseStatement() 995 return ParseDirectiveIfdef(IDLoc, false); in ParseStatement() 997 return ParseDirectiveElseIf(IDLoc); in ParseStatement() 999 return ParseDirectiveElse(IDLoc); in ParseStatement() 1001 return ParseDirectiveEndIf(IDLoc); in ParseStatement() 1021 return Error(IDLoc, "invalid use of pseudo-symbol '.' as a label"); in ParseStatement() 1034 return Error(IDLoc, "invalid symbol redefinition"); in ParseStatement() [all …]
|
/external/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 106 bool finishBundle(SMLoc IDLoc, MCStreamer &Out); 108 bool matchOneInstruction(MCInst &MCB, SMLoc IDLoc, 112 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 117 void OutOfRange(SMLoc IDLoc, long long Val, long long Max); 119 SMLoc IDLoc); 620 bool HexagonAsmParser::finishBundle(SMLoc IDLoc, MCStreamer &Out) { in finishBundle() argument 640 Error(IDLoc, in finishBundle() 645 Error(IDLoc, "register `" + R + in finishBundle() 650 Error(IDLoc, "register `" + R + "' modified more than once"); in finishBundle() 653 Error(IDLoc, "cannot write to read-only register `" + R + "'"); in finishBundle() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | DarwinAsmParser.cpp | 506 SMLoc IDLoc) { in parseDirectiveDumpOrLoad() argument 521 return Warning(IDLoc, "ignoring directive .dump for now"); in parseDirectiveDumpOrLoad() 523 return Warning(IDLoc, "ignoring directive .load for now"); in parseDirectiveDumpOrLoad() 685 bool DarwinAsmParser::parseDirectiveSecureLogUnique(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogUnique() argument 691 return Error(IDLoc, ".secure_log_unique specified multiple times"); in parseDirectiveSecureLogUnique() 696 return Error(IDLoc, ".secure_log_unique used but AS_SECURE_LOG_FILE " in parseDirectiveSecureLogUnique() 706 return Error(IDLoc, Twine("can't open secure log file: ") + in parseDirectiveSecureLogUnique() 713 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique() 715 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique() 725 bool DarwinAsmParser::parseDirectiveSecureLogReset(StringRef, SMLoc IDLoc) { in parseDirectiveSecureLogReset() argument [all …]
|
D | AsmParser.cpp | 1420 SMLoc IDLoc = ID.getLoc(); in parseStatement() local 1424 return parseCppHashLineFilenameComment(IDLoc); in parseStatement() 1477 return parseDirectiveIf(IDLoc, DirKind); in parseStatement() 1479 return parseDirectiveIfb(IDLoc, true); in parseStatement() 1481 return parseDirectiveIfb(IDLoc, false); in parseStatement() 1483 return parseDirectiveIfc(IDLoc, true); in parseStatement() 1485 return parseDirectiveIfeqs(IDLoc, true); in parseStatement() 1487 return parseDirectiveIfc(IDLoc, false); in parseStatement() 1489 return parseDirectiveIfeqs(IDLoc, false); in parseStatement() 1491 return parseDirectiveIfdef(IDLoc, true); in parseStatement() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/ |
D | MBlazeAsmParser.cpp | 49 bool MatchAndEmitInstruction(SMLoc IDLoc, 318 MatchAndEmitInstruction(SMLoc IDLoc, in MatchAndEmitInstruction() argument 331 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction() 333 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction() 335 return Error(IDLoc, "unable to convert operands to instruction"); in MatchAndEmitInstruction() 337 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 340 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 343 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 731 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 736 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands, 739 bool ErrorMissingFeature(SMLoc IDLoc, uint64_t ErrorInfo, 742 bool MatchAndEmitATTInstruction(SMLoc IDLoc, unsigned &Opcode, 747 bool MatchAndEmitIntelInstruction(SMLoc IDLoc, unsigned &Opcode, 2546 bool X86AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 2551 return MatchAndEmitIntelInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction() 2553 return MatchAndEmitATTInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo, in MatchAndEmitInstruction() 2557 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias() argument 2576 Inst.setLoc(IDLoc); in MatchFPUWaitAlias() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 52 bool MatchAndEmitInstruction(SMLoc IDLoc, 943 MatchAndEmitInstruction(SMLoc IDLoc, in MatchAndEmitInstruction() argument 975 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchAndEmitInstruction() 989 Error(IDLoc, "instruction requires a CPU feature not currently enabled"); in MatchAndEmitInstruction() 992 return Error(IDLoc, "unable to convert operands to instruction"); in MatchAndEmitInstruction() 1070 Error(IDLoc, OS.str()); in MatchAndEmitInstruction() 1081 Error(IDLoc, "invalid instruction mnemonic '" + Base + "'"); in MatchAndEmitInstruction() 1086 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1089 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 1092 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction() [all …]
|
/external/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 49 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 87 void expandSET(MCInst &Inst, SMLoc IDLoc, 469 void SparcAsmParser::expandSET(MCInst &Inst, SMLoc IDLoc, in expandSET() argument 482 Error(IDLoc, "set: argument must be between -2147483648 and 4294967295"); in expandSET() 508 TmpInst.setLoc(IDLoc); in expandSET() 533 TmpInst.setLoc(IDLoc); in expandSET() 542 bool SparcAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 555 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 559 expandSET(Inst, IDLoc, Instructions); in MatchAndEmitInstruction() 570 return Error(IDLoc, in MatchAndEmitInstruction() [all …]
|
/external/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 406 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 785 bool SystemZAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 797 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 814 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 818 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 821 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 825 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 831 return Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction()
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
D | MCTargetAsmParser.h | 89 MatchAndEmitInstruction(SMLoc IDLoc,
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCTargetAsmParser.h | 182 virtual bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|
/external/llvm/lib/Target/AMDGPU/AsmParser/ |
D | AMDGPUAsmParser.cpp | 646 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 1145 bool AMDGPUAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 1155 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 1159 return Error(IDLoc, "instruction not supported on this GPU"); in MatchAndEmitInstruction() 1162 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction() 1165 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1168 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 1172 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1177 return Error(IDLoc, "internal error: instruction without _e64 suffix " in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/PowerPC/AsmParser/ |
D | PPCAsmParser.cpp | 274 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 1232 bool PPCAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 1242 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 1246 return Error(IDLoc, "instruction use requires an option to be enabled"); in MatchAndEmitInstruction() 1248 return Error(IDLoc, "unrecognized instruction mnemonic"); in MatchAndEmitInstruction() 1250 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1253 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 1256 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 235 bool MatchAndEmitInstruction(SMLoc IDLoc, 4400 MatchAndEmitInstruction(SMLoc IDLoc, in MatchAndEmitInstruction() argument 4431 Error(IDLoc, "instruction requires a CPU feature not currently enabled"); in MatchAndEmitInstruction() 4434 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 4437 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 4440 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction() 4446 return Error(IDLoc, "invalid instruction"); in MatchAndEmitInstruction() 4451 return Error(IDLoc, "flag setting instruction only valid outside IT block"); in MatchAndEmitInstruction() 4453 return Error(IDLoc, "instruction only valid inside IT block"); in MatchAndEmitInstruction() 4455 return Error(IDLoc, "instruction variant requires ARMv6 or later"); in MatchAndEmitInstruction() [all …]
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 87 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 3738 bool AArch64AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 4052 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 4069 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 4072 return showMatchError(IDLoc, MatchResult); in MatchAndEmitInstruction() 4074 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 4078 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 4082 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 4141 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 4146 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 398 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 8808 bool ARMAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 8841 Warning(IDLoc, "deprecated instruction in IT block"); in MatchAndEmitInstruction() 8855 Inst.setLoc(IDLoc); in MatchAndEmitInstruction() 8871 return Error(IDLoc, Msg); in MatchAndEmitInstruction() 8874 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() 8877 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 8880 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction() 8886 return Error(IDLoc, "invalid instruction", in MatchAndEmitInstruction() 8889 return Error(IDLoc, "flag setting instruction only valid outside IT block"); in MatchAndEmitInstruction() [all …]
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 598 LocTy IDLoc = Lex.getLoc(); in ParseMDNodeID() local 611 FwdRef = std::make_pair(MDTuple::getTemporary(Context, None), IDLoc); in ParseMDNodeID()
|