Lines Matching refs:X86Operand
1082 std::unique_ptr<X86Operand> DefaultMemSIOperand(SMLoc Loc);
1083 std::unique_ptr<X86Operand> DefaultMemDIOperand(SMLoc Loc);
1169 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
1192 bool ParseZ(std::unique_ptr<X86Operand> &Z, const SMLoc &StartLoc);
1579 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemSIOperand(SMLoc Loc) { in DefaultMemSIOperand()
1583 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand()
1588 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemDIOperand(SMLoc Loc) { in DefaultMemDIOperand()
1592 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand()
1649 X86Operand &OrigOp = static_cast<X86Operand &>(*OrigOperands[i + 1]); in VerifyAndAdjustOperands()
1650 X86Operand &FinalOp = static_cast<X86Operand &>(*FinalOperands[i]); in VerifyAndAdjustOperands()
1741 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), Disp, Start, in CreateMemForMSInlineAsm()
1762 X86Operand::CreateMem(getPointerWidth(), Disp, Start, End)); in CreateMemForMSInlineAsm()
1769 Operands.push_back(X86Operand::CreateMem( in CreateMemForMSInlineAsm()
2256 Operands.push_back(X86Operand::CreateImm(RndModeOp, Start, End)); in ParseRoundingModeOp()
2264 Operands.push_back(X86Operand::CreateToken("{sae}", consumedToken)); in ParseRoundingModeOp()
2503 Operands.push_back(X86Operand::CreateReg(RegNo, Start, End)); in ParseIntelOperand()
2537 Operands.push_back(X86Operand::CreateImm(Disp, Start, End, in ParseIntelOperand()
2544 Operands.push_back(X86Operand::CreateImm(Disp, Start, End)); in ParseIntelOperand()
2597 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), RegNo, Disp, in ParseIntelOperand()
2605 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), RegNo, Disp, in ParseIntelOperand()
2610 X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size)); in ParseIntelOperand()
2630 Operands.push_back(X86Operand::CreateImm(Val, Start, End)); in ParseATTOperand()
2665 Operands.push_back(X86Operand::CreateReg(Reg, Loc, EndLoc)); in ParseATTOperand()
2673 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseATTOperand()
2707 bool X86AsmParser::ParseZ(std::unique_ptr<X86Operand> &Z, in ParseZ()
2722 Z = X86Operand::CreateToken("{z}", StartLoc); in ParseZ()
2760 Operands.push_back(X86Operand::CreateToken(BroadcastPrimitive, in HandleAVX512Operand()
2769 std::unique_ptr<X86Operand> Z; in HandleAVX512Operand()
2787 Operands.push_back(X86Operand::CreateToken("{", StartLoc)); in HandleAVX512Operand()
2789 X86Operand::CreateReg(RegNo, StartLoc, StartLoc)); in HandleAVX512Operand()
2790 Operands.push_back(X86Operand::CreateToken("}", consumeToken())); in HandleAVX512Operand()
2894 X86Operand::CreateMem(getPointerWidth(), Disp, StartLoc, EndLoc)); in ParseMemOperand()
2896 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseMemOperand()
2983 Operands.push_back(X86Operand::CreateDXReg(BaseLoc, BaseLoc)); in ParseMemOperand()
2992 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseMemOperand()
2997 X86Operand::CreateMem(getPointerWidth(), Disp, StartLoc, EndLoc)); in ParseMemOperand()
3340 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
3346 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
3356 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseInstruction()
3385 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
3408 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction()
3413 X86Operand &Op1 = (X86Operand &)*Operands[1]; in ParseInstruction()
3414 X86Operand &Op2 = (X86Operand &)*Operands[2]; in ParseInstruction()
3426 Operands[0] = X86Operand::CreateToken(Name, NameLoc); in ParseInstruction()
3431 Operands[1] = X86Operand::CreateReg(Reg, Loc, Loc); in ParseInstruction()
3441 X86Operand &Op = (X86Operand &)*Operands.back(); in ParseInstruction()
3443 Operands.back() = X86Operand::CreateReg(X86::DX, Op.getStartLoc(), in ParseInstruction()
3450 X86Operand &Op = (X86Operand &)*Operands[1]; in ParseInstruction()
3452 Operands[1] = X86Operand::CreateReg(X86::DX, Op.getStartLoc(), in ParseInstruction()
3466 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc), in ParseInstruction()
3477 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc)); in ParseInstruction()
3533 Operands.back() = X86Operand::CreateToken("movsl", NameLoc); in ParseInstruction()
3546 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]); in ParseInstruction()
3551 static_cast<X86Operand &>(*Operands[0]).setTokenValue("xlatb"); in ParseInstruction()
3556 Operands.push_back(X86Operand::CreatePrefix(Flags, NameLoc, NameLoc)); in ParseInstruction()
3924 auto ShlMemOp = X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in applyLVICFIMitigation()
4019 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias()
4041 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
4061 X86Operand &Prefix = static_cast<X86Operand &>(*Operands.back()); in getPrefixes()
4121 MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, in MatchAndEmitATTInstruction()
4123 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in MatchAndEmitATTInstruction()
4179 SMLoc ErrorLoc = ((X86Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitATTInstruction()
4231 X86Operand *MemOp = nullptr; in MatchAndEmitATTInstruction()
4233 X86Operand *X86Op = static_cast<X86Operand *>(Op.get()); in MatchAndEmitATTInstruction()
4331 X86Operand &Operand = (X86Operand &)*Operands[ErrorInfo]; in MatchAndEmitATTInstruction()
4380 StringRef Mnemonic = (static_cast<X86Operand &>(*Operands[0])).getToken(); in MatchAndEmitIntelInstruction()
4382 StringRef Base = (static_cast<X86Operand &>(*Operands[0])).getToken(); in MatchAndEmitIntelInstruction()
4386 …MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, Out, MatchingInlineAsm… in MatchAndEmitIntelInstruction()
4387 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in MatchAndEmitIntelInstruction()
4412 X86Operand *UnsizedMemOp = nullptr; in MatchAndEmitIntelInstruction()
4414 X86Operand *X86Op = static_cast<X86Operand *>(Op.get()); in MatchAndEmitIntelInstruction()
4442 auto *X86Op = static_cast<X86Operand *>(Operands[1].get()); in MatchAndEmitIntelInstruction()
4582 SMLoc ErrorLoc = ((X86Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitIntelInstruction()