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()
2259 Operands.push_back(X86Operand::CreateImm(RndModeOp, Start, End)); in ParseRoundingModeOp()
2267 Operands.push_back(X86Operand::CreateToken("{sae}", consumedToken)); in ParseRoundingModeOp()
2506 Operands.push_back(X86Operand::CreateReg(RegNo, Start, End)); in ParseIntelOperand()
2540 Operands.push_back(X86Operand::CreateImm(Disp, Start, End, in ParseIntelOperand()
2547 Operands.push_back(X86Operand::CreateImm(Disp, Start, End)); in ParseIntelOperand()
2600 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), RegNo, Disp, in ParseIntelOperand()
2608 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), RegNo, Disp, in ParseIntelOperand()
2613 X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size)); in ParseIntelOperand()
2633 Operands.push_back(X86Operand::CreateImm(Val, Start, End)); in ParseATTOperand()
2668 Operands.push_back(X86Operand::CreateReg(Reg, Loc, EndLoc)); in ParseATTOperand()
2676 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseATTOperand()
2710 bool X86AsmParser::ParseZ(std::unique_ptr<X86Operand> &Z, in ParseZ()
2725 Z = X86Operand::CreateToken("{z}", StartLoc); in ParseZ()
2763 Operands.push_back(X86Operand::CreateToken(BroadcastPrimitive, in HandleAVX512Operand()
2772 std::unique_ptr<X86Operand> Z; in HandleAVX512Operand()
2790 Operands.push_back(X86Operand::CreateToken("{", StartLoc)); in HandleAVX512Operand()
2792 X86Operand::CreateReg(RegNo, StartLoc, StartLoc)); in HandleAVX512Operand()
2793 Operands.push_back(X86Operand::CreateToken("}", consumeToken())); in HandleAVX512Operand()
2897 X86Operand::CreateMem(getPointerWidth(), Disp, StartLoc, EndLoc)); in ParseMemOperand()
2899 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseMemOperand()
2986 Operands.push_back(X86Operand::CreateDXReg(BaseLoc, BaseLoc)); in ParseMemOperand()
2995 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseMemOperand()
3000 X86Operand::CreateMem(getPointerWidth(), Disp, StartLoc, EndLoc)); in ParseMemOperand()
3346 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
3352 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
3362 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseInstruction()
3391 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
3414 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction()
3419 X86Operand &Op1 = (X86Operand &)*Operands[1]; in ParseInstruction()
3420 X86Operand &Op2 = (X86Operand &)*Operands[2]; in ParseInstruction()
3432 Operands[0] = X86Operand::CreateToken(Name, NameLoc); in ParseInstruction()
3437 Operands[1] = X86Operand::CreateReg(Reg, Loc, Loc); in ParseInstruction()
3447 X86Operand &Op = (X86Operand &)*Operands.back(); in ParseInstruction()
3449 Operands.back() = X86Operand::CreateReg(X86::DX, Op.getStartLoc(), in ParseInstruction()
3456 X86Operand &Op = (X86Operand &)*Operands[1]; in ParseInstruction()
3458 Operands[1] = X86Operand::CreateReg(X86::DX, Op.getStartLoc(), in ParseInstruction()
3472 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc), in ParseInstruction()
3483 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc)); in ParseInstruction()
3539 Operands.back() = X86Operand::CreateToken("movsl", NameLoc); in ParseInstruction()
3552 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]); in ParseInstruction()
3557 static_cast<X86Operand &>(*Operands[0]).setTokenValue("xlatb"); in ParseInstruction()
3562 Operands.push_back(X86Operand::CreatePrefix(Flags, NameLoc, NameLoc)); in ParseInstruction()
3930 auto ShlMemOp = X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in applyLVICFIMitigation()
4025 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias()
4047 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
4067 X86Operand &Prefix = static_cast<X86Operand &>(*Operands.back()); in getPrefixes()
4127 MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, in MatchAndEmitATTInstruction()
4129 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in MatchAndEmitATTInstruction()
4185 SMLoc ErrorLoc = ((X86Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitATTInstruction()
4237 X86Operand *MemOp = nullptr; in MatchAndEmitATTInstruction()
4239 X86Operand *X86Op = static_cast<X86Operand *>(Op.get()); in MatchAndEmitATTInstruction()
4337 X86Operand &Operand = (X86Operand &)*Operands[ErrorInfo]; in MatchAndEmitATTInstruction()
4386 StringRef Mnemonic = (static_cast<X86Operand &>(*Operands[0])).getToken(); in MatchAndEmitIntelInstruction()
4388 StringRef Base = (static_cast<X86Operand &>(*Operands[0])).getToken(); in MatchAndEmitIntelInstruction()
4392 …MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands, Out, MatchingInlineAsm… in MatchAndEmitIntelInstruction()
4393 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in MatchAndEmitIntelInstruction()
4418 X86Operand *UnsizedMemOp = nullptr; in MatchAndEmitIntelInstruction()
4420 X86Operand *X86Op = static_cast<X86Operand *>(Op.get()); in MatchAndEmitIntelInstruction()
4448 auto *X86Op = static_cast<X86Operand *>(Operands[1].get()); in MatchAndEmitIntelInstruction()
4588 SMLoc ErrorLoc = ((X86Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitIntelInstruction()