Lines Matching refs:IDLoc
1429 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1527 bool validateInstruction(const MCInst &Inst, const SMLoc &IDLoc, const OperandVector &Operands);
1552 const SMLoc &IDLoc);
1564 bool checkUnsupportedInstruction(StringRef Name, const SMLoc &IDLoc);
4149 const SMLoc &IDLoc) { in validateCoherencyBits() argument
4160 Error(IDLoc, "invalid cache policy for SMRD instruction"); in validateCoherencyBits()
4177 Error(IDLoc, "instruction must use glc"); in validateCoherencyBits()
4194 const SMLoc &IDLoc, in validateInstruction() argument
4234 Error(IDLoc, "dim modifier is required on this GPU"); in validateInstruction()
4243 Error(IDLoc, in validateInstruction()
4248 Error(IDLoc, in validateInstruction()
4274 if (!validateCoherencyBits(Inst, Operands, IDLoc)) { in validateInstruction()
4279 Error(IDLoc, getFeatureBits()[AMDGPU::FeatureGFX90AInsts] in validateInstruction()
4286 Error(IDLoc, in validateInstruction()
4295 Error(IDLoc, "ABS not allowed in VOP3B instructions"); in validateInstruction()
4298 if (!validateCoherencyBits(Inst, Operands, IDLoc)) { in validateInstruction()
4330 const SMLoc &IDLoc) { in checkUnsupportedInstruction() argument
4345 return Error(IDLoc, in checkUnsupportedInstruction()
4352 return Error(IDLoc, "instruction not supported on this GPU"); in checkUnsupportedInstruction()
4357 return Error(IDLoc, "invalid instruction" + Suggestion); in checkUnsupportedInstruction()
4360 bool AMDGPUAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
4390 if (!validateInstruction(Inst, IDLoc, Operands)) { in MatchAndEmitInstruction()
4393 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
4399 if (checkUnsupportedInstruction(Mnemo, IDLoc)) { in MatchAndEmitInstruction()
4409 return Error(IDLoc, "operands are not valid for this GPU or mode"); in MatchAndEmitInstruction()
4412 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
4415 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
4419 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
4425 return Error(IDLoc, "internal error: instruction without _e64 suffix " in MatchAndEmitInstruction()