Lines Matching refs:X86Operand
656 std::unique_ptr<X86Operand> DefaultMemSIOperand(SMLoc Loc);
657 std::unique_ptr<X86Operand> DefaultMemDIOperand(SMLoc Loc);
658 std::unique_ptr<X86Operand> ParseOperand();
659 std::unique_ptr<X86Operand> ParseATTOperand();
660 std::unique_ptr<X86Operand> ParseIntelOperand();
661 std::unique_ptr<X86Operand> ParseIntelOffsetOfOperator();
663 std::unique_ptr<X86Operand> ParseIntelOperator(unsigned OpKind);
664 std::unique_ptr<X86Operand>
666 std::unique_ptr<X86Operand>
668 std::unique_ptr<X86Operand> ParseRoundingModeOp(SMLoc Start, SMLoc End);
670 std::unique_ptr<X86Operand> ParseIntelBracExpression(unsigned SegReg,
678 std::unique_ptr<X86Operand> ParseMemOperand(unsigned SegReg, SMLoc StartLoc);
680 std::unique_ptr<X86Operand>
701 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
722 bool doSrcDstMatch(X86Operand &Op1, X86Operand &Op2);
837 bool X86AsmParser::doSrcDstMatch(X86Operand &Op1, X86Operand &Op2) in doSrcDstMatch()
972 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemSIOperand(SMLoc Loc) { in DefaultMemSIOperand()
976 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand()
981 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemDIOperand(SMLoc Loc) { in DefaultMemDIOperand()
985 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand()
990 std::unique_ptr<X86Operand> X86AsmParser::ParseOperand() { in ParseOperand()
1012 std::unique_ptr<X86Operand> X86AsmParser::CreateMemForInlineAsm( in CreateMemForInlineAsm()
1028 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size, in CreateMemForInlineAsm()
1051 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in CreateMemForInlineAsm()
1238 std::unique_ptr<X86Operand>
1294 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size); in ParseIntelBracExpression()
1295 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseIntelBracExpression()
1303 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in ParseIntelBracExpression()
1361 std::unique_ptr<X86Operand>
1385 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseIntelSegmentOverride()
1400 return X86Operand::CreateMem(getPointerWidth(), Val, Start, End, Size); in ParseIntelSegmentOverride()
1413 std::unique_ptr<X86Operand>
1437 return X86Operand::CreateImm(RndModeOp, Start, End); in ParseRoundingModeOp()
1442 std::unique_ptr<X86Operand> X86AsmParser::ParseIntelMemOperand(int64_t ImmDisp, in ParseIntelMemOperand()
1459 return X86Operand::CreateMem(getPointerWidth(), Val, Start, End, Size); in ParseIntelMemOperand()
1497 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in ParseIntelMemOperand()
1549 std::unique_ptr<X86Operand> X86AsmParser::ParseIntelOffsetOfOperator() { in ParseIntelOffsetOfOperator()
1571 return X86Operand::CreateReg(RegNo, Start, End, /*GetAddress=*/true, in ParseIntelOffsetOfOperator()
1587 std::unique_ptr<X86Operand> X86AsmParser::ParseIntelOperator(unsigned OpKind) { in ParseIntelOperator()
1618 return X86Operand::CreateImm(Imm, Start, End); in ParseIntelOperator()
1621 std::unique_ptr<X86Operand> X86AsmParser::ParseIntelOperand() { in ParseIntelOperand()
1674 return X86Operand::CreateMem(getPointerWidth(), SM.getSym(), Start, End, in ParseIntelOperand()
1678 return X86Operand::CreateImm(ImmExpr, Start, End); in ParseIntelOperand()
1701 return X86Operand::CreateReg(RegNo, Start, End); in ParseIntelOperand()
1710 std::unique_ptr<X86Operand> X86AsmParser::ParseATTOperand() { in ParseATTOperand()
1730 return X86Operand::CreateReg(RegNo, Start, End); in ParseATTOperand()
1745 return X86Operand::CreateImm(Val, Start, End); in ParseATTOperand()
1790 Operands.push_back(X86Operand::CreateToken(BroadcastPrimitive, in HandleAVX512Operand()
1797 Operands.push_back(X86Operand::CreateToken("{", consumedToken)); in HandleAVX512Operand()
1798 if (std::unique_ptr<X86Operand> Op = ParseOperand()) { in HandleAVX512Operand()
1803 Operands.push_back(X86Operand::CreateToken("}", consumeToken())); in HandleAVX512Operand()
1807 Operands.push_back(X86Operand::CreateToken("{z}", consumeToken())); in HandleAVX512Operand()
1827 std::unique_ptr<X86Operand> X86AsmParser::ParseMemOperand(unsigned SegReg, in ParseMemOperand()
1845 return X86Operand::CreateMem(getPointerWidth(), Disp, MemStart, ExprEnd); in ParseMemOperand()
1846 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseMemOperand()
1873 return X86Operand::CreateMem(getPointerWidth(), Disp, LParenLoc, in ParseMemOperand()
1875 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseMemOperand()
1992 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in ParseMemOperand()
1994 return X86Operand::CreateMem(getPointerWidth(), Disp, MemStart, MemEnd); in ParseMemOperand()
2052 Operands.push_back(X86Operand::CreateToken(PatchedName.slice(0, CCIdx), in ParseInstruction()
2057 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
2080 Operands.push_back(X86Operand::CreateToken("vpcmp", NameLoc)); in ParseInstruction()
2084 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
2107 Operands.push_back(X86Operand::CreateToken("vpcom", NameLoc)); in ParseInstruction()
2111 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
2117 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
2135 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseInstruction()
2139 if (std::unique_ptr<X86Operand> Op = ParseOperand()) { in ParseInstruction()
2169 X86Operand &Op = (X86Operand &)*Operands.back(); in ParseInstruction()
2175 Operands.back() = X86Operand::CreateReg(Op.Mem.BaseReg, Loc, Loc); in ParseInstruction()
2181 X86Operand &Op = (X86Operand &)*Operands[1]; in ParseInstruction()
2187 Operands[1] = X86Operand::CreateReg(Op.Mem.BaseReg, Loc, Loc); in ParseInstruction()
2196 Operands.push_back(X86Operand::CreateReg(X86::DX, NameLoc, NameLoc)); in ParseInstruction()
2199 Operands.push_back(X86Operand::CreateReg(X86::DX, NameLoc, NameLoc)); in ParseInstruction()
2210 Operands.push_back(X86Operand::CreateReg(X86::DX, NameLoc, NameLoc)); in ParseInstruction()
2213 Operands.push_back(X86Operand::CreateReg(X86::DX, NameLoc, NameLoc)); in ParseInstruction()
2254 X86Operand &Op = (X86Operand &)*Operands[1]; in ParseInstruction()
2255 X86Operand &Op2 = (X86Operand &)*Operands[2]; in ParseInstruction()
2271 Operands.back() = X86Operand::CreateToken("movsl", NameLoc); in ParseInstruction()
2280 X86Operand &Op = (X86Operand &)*Operands[1]; in ParseInstruction()
2281 X86Operand &Op2 = (X86Operand &)*Operands[2]; in ParseInstruction()
2297 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[2]); in ParseInstruction()
2302 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]); in ParseInstruction()
2312 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]); in ParseInstruction()
2316 static_cast<X86Operand &>(*Operands[0]).setTokenValue("int3"); in ParseInstruction()
2366 X86Operand &Op = static_cast<X86Operand &>(*Ops[1]); in validateInstruction()
2476 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias()
2498 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
2524 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in MatchAndEmitATTInstruction()
2658 X86Operand &Operand = (X86Operand &)*Operands[ErrorInfo]; in MatchAndEmitATTInstruction()
2699 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in MatchAndEmitIntelInstruction()
2710 X86Operand *UnsizedMemOp = nullptr; in MatchAndEmitIntelInstruction()
2712 X86Operand *X86Op = static_cast<X86Operand *>(Op.get()); in MatchAndEmitIntelInstruction()