Lines Matching refs:X86Operand

1112   std::unique_ptr<X86Operand> DefaultMemSIOperand(SMLoc Loc);
1113 std::unique_ptr<X86Operand> DefaultMemDIOperand(SMLoc Loc);
1202 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
1224 bool ParseZ(std::unique_ptr<X86Operand> &Z, const SMLoc &StartLoc);
1609 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemSIOperand(SMLoc Loc) { in DefaultMemSIOperand()
1613 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand()
1618 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemDIOperand(SMLoc Loc) { in DefaultMemDIOperand()
1622 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand()
1679 X86Operand &OrigOp = static_cast<X86Operand &>(*OrigOperands[i + 1]); in VerifyAndAdjustOperands()
1680 X86Operand &FinalOp = static_cast<X86Operand &>(*FinalOperands[i]); in VerifyAndAdjustOperands()
1768 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), Disp, Start, in CreateMemForMSInlineAsm()
1789 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), Disp, Start, in CreateMemForMSInlineAsm()
1797 Operands.push_back(X86Operand::CreateMem( in CreateMemForMSInlineAsm()
2300 Operands.push_back(X86Operand::CreateImm(RndModeOp, Start, End)); in ParseRoundingModeOp()
2308 Operands.push_back(X86Operand::CreateToken("{sae}", consumedToken)); in ParseRoundingModeOp()
2336 Operands.push_back(X86Operand::CreateImm( in parseCFlagsOp()
2361 Operands.push_back(X86Operand::CreateImm( in parseCFlagsOp()
2608 Operands.push_back(X86Operand::CreateReg(RegNo, Start, End)); in parseIntelOperand()
2642 Operands.push_back(X86Operand::CreateImm(Disp, Start, End, in parseIntelOperand()
2649 Operands.push_back(X86Operand::CreateImm(Disp, Start, End)); in parseIntelOperand()
2742 Operands.push_back(X86Operand::CreateMem( in parseIntelOperand()
2747 Operands.push_back(X86Operand::CreateMem( in parseIntelOperand()
2770 Operands.push_back(X86Operand::CreateImm(Val, Start, End)); in parseATTOperand()
2805 Operands.push_back(X86Operand::CreateReg(Reg, Loc, EndLoc)); in parseATTOperand()
2813 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in parseATTOperand()
2847 bool X86AsmParser::ParseZ(std::unique_ptr<X86Operand> &Z, in ParseZ()
2862 Z = X86Operand::CreateToken("{z}", StartLoc); in ParseZ()
2901 Operands.push_back(X86Operand::CreateToken(BroadcastPrimitive, in HandleAVX512Operand()
2910 std::unique_ptr<X86Operand> Z; in HandleAVX512Operand()
2928 Operands.push_back(X86Operand::CreateToken("{", StartLoc)); in HandleAVX512Operand()
2930 X86Operand::CreateReg(RegNo, StartLoc, StartLoc)); in HandleAVX512Operand()
2931 Operands.push_back(X86Operand::CreateToken("}", consumeToken())); in HandleAVX512Operand()
3035 X86Operand::CreateMem(getPointerWidth(), Disp, StartLoc, EndLoc)); in ParseMemOperand()
3037 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseMemOperand()
3124 Operands.push_back(X86Operand::CreateDXReg(BaseLoc, BaseLoc)); in ParseMemOperand()
3162 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseMemOperand()
3167 X86Operand::CreateMem(getPointerWidth(), Disp, StartLoc, EndLoc)); in ParseMemOperand()
3527 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
3533 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
3548 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseInstruction()
3577 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
3600 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction()
3605 X86Operand &Op1 = (X86Operand &)*Operands[1]; in ParseInstruction()
3606 X86Operand &Op2 = (X86Operand &)*Operands[2]; in ParseInstruction()
3618 Operands[0] = X86Operand::CreateToken(Name, NameLoc); in ParseInstruction()
3623 Operands[1] = X86Operand::CreateReg(Reg, Loc, Loc); in ParseInstruction()
3633 X86Operand &Op = (X86Operand &)*Operands.back(); in ParseInstruction()
3635 Operands.back() = X86Operand::CreateReg(X86::DX, Op.getStartLoc(), in ParseInstruction()
3642 X86Operand &Op = (X86Operand &)*Operands[1]; in ParseInstruction()
3644 Operands[1] = X86Operand::CreateReg(X86::DX, Op.getStartLoc(), in ParseInstruction()
3658 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc), in ParseInstruction()
3669 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc)); in ParseInstruction()
3725 Operands.back() = X86Operand::CreateToken("movsl", NameLoc); in ParseInstruction()
3738 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]); in ParseInstruction()
3743 static_cast<X86Operand &>(*Operands[0]).setTokenValue("xlatb"); in ParseInstruction()
3748 Operands.push_back(X86Operand::CreatePrefix(Flags, NameLoc, NameLoc)); in ParseInstruction()
3958 auto ShlMemOp = X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in applyLVICFIMitigation()
4044 X86Operand &Prefix = static_cast<X86Operand &>(*Operands.back()); in getPrefixes()
4060 MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, in MatchAndEmitInstruction()
4097 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias()
4119 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
4179 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in matchAndEmitATTInstruction()
4212 SMLoc ErrorLoc = ((X86Operand &)*Operands[ErrorInfo]).getStartLoc(); in matchAndEmitATTInstruction()
4264 X86Operand *MemOp = nullptr; in matchAndEmitATTInstruction()
4266 X86Operand *X86Op = static_cast<X86Operand *>(Op.get()); in matchAndEmitATTInstruction()
4363 X86Operand &Operand = (X86Operand &)*Operands[ErrorInfo]; in matchAndEmitATTInstruction()
4405 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in matchAndEmitIntelInstruction()
4408 X86Operand *UnsizedMemOp = nullptr; in matchAndEmitIntelInstruction()
4410 X86Operand *X86Op = static_cast<X86Operand *>(Op.get()); in matchAndEmitIntelInstruction()
4421 StringRef Mnemonic = (static_cast<X86Operand &>(*Operands[0])).getToken(); in matchAndEmitIntelInstruction()
4435 StringRef Base = (static_cast<X86Operand &>(*Operands[0])).getToken(); in matchAndEmitIntelInstruction()
4440 auto *X86Op = static_cast<X86Operand *>(Operands[1].get()); in matchAndEmitIntelInstruction()
4575 SMLoc ErrorLoc = ((X86Operand &)*Operands[ErrorInfo]).getStartLoc(); in matchAndEmitIntelInstruction()