Lines Matching refs:X86Operand

1097   std::unique_ptr<X86Operand> DefaultMemSIOperand(SMLoc Loc);
1098 std::unique_ptr<X86Operand> DefaultMemDIOperand(SMLoc Loc);
1186 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
1209 bool ParseZ(std::unique_ptr<X86Operand> &Z, const SMLoc &StartLoc);
1596 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemSIOperand(SMLoc Loc) { in DefaultMemSIOperand()
1600 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand()
1605 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemDIOperand(SMLoc Loc) { in DefaultMemDIOperand()
1609 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand()
1666 X86Operand &OrigOp = static_cast<X86Operand &>(*OrigOperands[i + 1]); in VerifyAndAdjustOperands()
1667 X86Operand &FinalOp = static_cast<X86Operand &>(*FinalOperands[i]); in VerifyAndAdjustOperands()
1758 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), Disp, Start, in CreateMemForMSInlineAsm()
1778 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), Disp, Start, in CreateMemForMSInlineAsm()
1787 Operands.push_back(X86Operand::CreateMem( in CreateMemForMSInlineAsm()
2293 Operands.push_back(X86Operand::CreateImm(RndModeOp, Start, End)); in ParseRoundingModeOp()
2301 Operands.push_back(X86Operand::CreateToken("{sae}", consumedToken)); in ParseRoundingModeOp()
2540 Operands.push_back(X86Operand::CreateReg(RegNo, Start, End)); in parseIntelOperand()
2574 Operands.push_back(X86Operand::CreateImm(Disp, Start, End, in parseIntelOperand()
2581 Operands.push_back(X86Operand::CreateImm(Disp, Start, End)); in parseIntelOperand()
2665 Operands.push_back(X86Operand::CreateMem( in parseIntelOperand()
2670 Operands.push_back(X86Operand::CreateMem( in parseIntelOperand()
2693 Operands.push_back(X86Operand::CreateImm(Val, Start, End)); in parseATTOperand()
2728 Operands.push_back(X86Operand::CreateReg(Reg, Loc, EndLoc)); in parseATTOperand()
2736 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in parseATTOperand()
2770 bool X86AsmParser::ParseZ(std::unique_ptr<X86Operand> &Z, in ParseZ()
2785 Z = X86Operand::CreateToken("{z}", StartLoc); in ParseZ()
2824 Operands.push_back(X86Operand::CreateToken(BroadcastPrimitive, in HandleAVX512Operand()
2833 std::unique_ptr<X86Operand> Z; in HandleAVX512Operand()
2851 Operands.push_back(X86Operand::CreateToken("{", StartLoc)); in HandleAVX512Operand()
2853 X86Operand::CreateReg(RegNo, StartLoc, StartLoc)); in HandleAVX512Operand()
2854 Operands.push_back(X86Operand::CreateToken("}", consumeToken())); in HandleAVX512Operand()
2958 X86Operand::CreateMem(getPointerWidth(), Disp, StartLoc, EndLoc)); in ParseMemOperand()
2960 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseMemOperand()
3047 Operands.push_back(X86Operand::CreateDXReg(BaseLoc, BaseLoc)); in ParseMemOperand()
3056 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseMemOperand()
3061 X86Operand::CreateMem(getPointerWidth(), Disp, StartLoc, EndLoc)); in ParseMemOperand()
3413 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
3419 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
3429 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseInstruction()
3458 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
3481 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction()
3486 X86Operand &Op1 = (X86Operand &)*Operands[1]; in ParseInstruction()
3487 X86Operand &Op2 = (X86Operand &)*Operands[2]; in ParseInstruction()
3499 Operands[0] = X86Operand::CreateToken(Name, NameLoc); in ParseInstruction()
3504 Operands[1] = X86Operand::CreateReg(Reg, Loc, Loc); in ParseInstruction()
3514 X86Operand &Op = (X86Operand &)*Operands.back(); in ParseInstruction()
3516 Operands.back() = X86Operand::CreateReg(X86::DX, Op.getStartLoc(), in ParseInstruction()
3523 X86Operand &Op = (X86Operand &)*Operands[1]; in ParseInstruction()
3525 Operands[1] = X86Operand::CreateReg(X86::DX, Op.getStartLoc(), in ParseInstruction()
3539 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc), in ParseInstruction()
3550 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc)); in ParseInstruction()
3606 Operands.back() = X86Operand::CreateToken("movsl", NameLoc); in ParseInstruction()
3619 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]); in ParseInstruction()
3624 static_cast<X86Operand &>(*Operands[0]).setTokenValue("xlatb"); in ParseInstruction()
3629 Operands.push_back(X86Operand::CreatePrefix(Flags, NameLoc, NameLoc)); in ParseInstruction()
3958 auto ShlMemOp = X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in applyLVICFIMitigation()
4053 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias()
4075 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
4095 X86Operand &Prefix = static_cast<X86Operand &>(*Operands.back()); in getPrefixes()
4137 MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, in MatchAndEmitATTInstruction()
4139 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in MatchAndEmitATTInstruction()
4195 SMLoc ErrorLoc = ((X86Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitATTInstruction()
4247 X86Operand *MemOp = nullptr; in MatchAndEmitATTInstruction()
4249 X86Operand *X86Op = static_cast<X86Operand *>(Op.get()); in MatchAndEmitATTInstruction()
4346 X86Operand &Operand = (X86Operand &)*Operands[ErrorInfo]; in MatchAndEmitATTInstruction()
4392 StringRef Mnemonic = (static_cast<X86Operand &>(*Operands[0])).getToken(); in MatchAndEmitIntelInstruction()
4394 StringRef Base = (static_cast<X86Operand &>(*Operands[0])).getToken(); in MatchAndEmitIntelInstruction()
4398 …MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, Out, MatchingInlineAsm… in MatchAndEmitIntelInstruction()
4399 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in MatchAndEmitIntelInstruction()
4424 X86Operand *UnsizedMemOp = nullptr; in MatchAndEmitIntelInstruction()
4426 X86Operand *X86Op = static_cast<X86Operand *>(Op.get()); in MatchAndEmitIntelInstruction()
4454 auto *X86Op = static_cast<X86Operand *>(Operands[1].get()); in MatchAndEmitIntelInstruction()
4589 SMLoc ErrorLoc = ((X86Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitIntelInstruction()