Lines Matching refs:IDLoc
1516 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1623 bool validateInstruction(const MCInst &Inst, const SMLoc &IDLoc, const OperandVector &Operands);
1650 const SMLoc &IDLoc);
1652 const SMLoc &IDLoc);
1665 bool checkUnsupportedInstruction(StringRef Name, const SMLoc &IDLoc);
4437 const SMLoc &IDLoc) { in validateCoherencyBits() argument
4453 Error(IDLoc, "invalid cache policy for SMEM instruction"); in validateCoherencyBits()
4471 Error(IDLoc, isGFX940() ? "instruction must use sc0" in validateCoherencyBits()
4492 const SMLoc &IDLoc) { in validateFlatLdsDMA() argument
4508 Error(IDLoc, "invalid operands for instruction"); in validateFlatLdsDMA()
4532 const SMLoc &IDLoc, in validateInstruction() argument
4572 Error(IDLoc, "dim modifier is required on this GPU"); in validateInstruction()
4581 Error(IDLoc, *ErrMsg); in validateInstruction()
4585 Error(IDLoc, in validateInstruction()
4614 if (!validateCoherencyBits(Inst, Operands, IDLoc)) { in validateInstruction()
4619 Error(IDLoc, getFeatureBits()[AMDGPU::FeatureGFX90AInsts] in validateInstruction()
4626 Error(IDLoc, in validateInstruction()
4639 Error(IDLoc, "ABS not allowed in VOP3B instructions"); in validateInstruction()
4646 if (!validateFlatLdsDMA(Inst, Operands, IDLoc)) { in validateInstruction()
4678 const SMLoc &IDLoc) { in checkUnsupportedInstruction() argument
4693 return Error(IDLoc, in checkUnsupportedInstruction()
4700 return Error(IDLoc, "instruction not supported on this GPU"); in checkUnsupportedInstruction()
4705 return Error(IDLoc, "invalid instruction" + Suggestion); in checkUnsupportedInstruction()
4708 bool AMDGPUAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
4738 if (!validateInstruction(Inst, IDLoc, Operands)) { in MatchAndEmitInstruction()
4741 Inst.setLoc(IDLoc); in MatchAndEmitInstruction()
4747 if (checkUnsupportedInstruction(Mnemo, IDLoc)) { in MatchAndEmitInstruction()
4757 return Error(IDLoc, "operands are not valid for this GPU or mode"); in MatchAndEmitInstruction()
4760 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
4763 return Error(IDLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
4767 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
4773 return Error(IDLoc, "internal error: instruction without _e64 suffix " in MatchAndEmitInstruction()