• Home
  • Raw
  • Download

Lines Matching refs:X86Operand

683   std::unique_ptr<X86Operand> DefaultMemSIOperand(SMLoc Loc);
684 std::unique_ptr<X86Operand> DefaultMemDIOperand(SMLoc Loc);
693 std::unique_ptr<X86Operand> ParseOperand();
694 std::unique_ptr<X86Operand> ParseATTOperand();
695 std::unique_ptr<X86Operand> ParseIntelOperand();
696 std::unique_ptr<X86Operand> ParseIntelOffsetOfOperator();
698 std::unique_ptr<X86Operand> ParseIntelOperator(unsigned OpKind);
699 std::unique_ptr<X86Operand>
701 std::unique_ptr<X86Operand>
703 std::unique_ptr<X86Operand> ParseRoundingModeOp(SMLoc Start, SMLoc End);
705 std::unique_ptr<X86Operand> ParseIntelBracExpression(unsigned SegReg,
713 std::unique_ptr<X86Operand> ParseMemOperand(unsigned SegReg, SMLoc StartLoc);
715 std::unique_ptr<X86Operand>
736 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
994 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemSIOperand(SMLoc Loc) { in DefaultMemSIOperand()
998 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand()
1003 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemDIOperand(SMLoc Loc) { in DefaultMemDIOperand()
1007 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand()
1064 X86Operand &OrigOp = static_cast<X86Operand &>(*OrigOperands[i + 1]); in VerifyAndAdjustOperands()
1065 X86Operand &FinalOp = static_cast<X86Operand &>(*FinalOperands[i]); in VerifyAndAdjustOperands()
1134 std::unique_ptr<X86Operand> X86AsmParser::ParseOperand() { in ParseOperand()
1159 std::unique_ptr<X86Operand> X86AsmParser::CreateMemForInlineAsm( in CreateMemForInlineAsm()
1175 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size, in CreateMemForInlineAsm()
1198 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in CreateMemForInlineAsm()
1387 std::unique_ptr<X86Operand>
1446 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size); in ParseIntelBracExpression()
1447 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseIntelBracExpression()
1455 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in ParseIntelBracExpression()
1514 std::unique_ptr<X86Operand>
1537 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseIntelSegmentOverride()
1552 return X86Operand::CreateMem(getPointerWidth(), Val, Start, End, Size); in ParseIntelSegmentOverride()
1565 std::unique_ptr<X86Operand>
1590 return X86Operand::CreateImm(RndModeOp, Start, End); in ParseRoundingModeOp()
1597 return X86Operand::CreateToken("{sae}", consumedToken); in ParseRoundingModeOp()
1602 std::unique_ptr<X86Operand> X86AsmParser::ParseIntelMemOperand(int64_t ImmDisp, in ParseIntelMemOperand()
1619 return X86Operand::CreateMem(getPointerWidth(), Val, Start, End, Size); in ParseIntelMemOperand()
1657 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in ParseIntelMemOperand()
1708 std::unique_ptr<X86Operand> X86AsmParser::ParseIntelOffsetOfOperator() { in ParseIntelOffsetOfOperator()
1730 return X86Operand::CreateReg(RegNo, Start, End, /*GetAddress=*/true, in ParseIntelOffsetOfOperator()
1746 std::unique_ptr<X86Operand> X86AsmParser::ParseIntelOperator(unsigned OpKind) { in ParseIntelOperator()
1777 return X86Operand::CreateImm(Imm, Start, End); in ParseIntelOperator()
1780 std::unique_ptr<X86Operand> X86AsmParser::ParseIntelOperand() { in ParseIntelOperand()
1835 return X86Operand::CreateMem(getPointerWidth(), SM.getSym(), Start, End, in ParseIntelOperand()
1839 return X86Operand::CreateImm(ImmExpr, Start, End); in ParseIntelOperand()
1868 return X86Operand::CreateReg(RegNo, Start, End); in ParseIntelOperand()
1878 std::unique_ptr<X86Operand> X86AsmParser::ParseATTOperand() { in ParseATTOperand()
1898 return X86Operand::CreateReg(RegNo, Start, End); in ParseATTOperand()
1913 return X86Operand::CreateImm(Val, Start, End); in ParseATTOperand()
1958 Operands.push_back(X86Operand::CreateToken(BroadcastPrimitive, in HandleAVX512Operand()
1965 Operands.push_back(X86Operand::CreateToken("{", consumedToken)); in HandleAVX512Operand()
1966 if (std::unique_ptr<X86Operand> Op = ParseOperand()) { in HandleAVX512Operand()
1971 Operands.push_back(X86Operand::CreateToken("}", consumeToken())); in HandleAVX512Operand()
1975 Operands.push_back(X86Operand::CreateToken("{z}", consumeToken())); in HandleAVX512Operand()
1995 std::unique_ptr<X86Operand> X86AsmParser::ParseMemOperand(unsigned SegReg, in ParseMemOperand()
2013 return X86Operand::CreateMem(getPointerWidth(), Disp, MemStart, ExprEnd); in ParseMemOperand()
2014 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseMemOperand()
2041 return X86Operand::CreateMem(getPointerWidth(), Disp, LParenLoc, in ParseMemOperand()
2043 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseMemOperand()
2161 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in ParseMemOperand()
2163 return X86Operand::CreateMem(getPointerWidth(), Disp, MemStart, MemEnd); in ParseMemOperand()
2235 Operands.push_back(X86Operand::CreateToken(PatchedName.slice(0, CCIdx), in ParseInstruction()
2240 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
2263 Operands.push_back(X86Operand::CreateToken("vpcmp", NameLoc)); in ParseInstruction()
2267 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
2290 Operands.push_back(X86Operand::CreateToken("vpcom", NameLoc)); in ParseInstruction()
2294 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
2300 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
2318 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseInstruction()
2322 if (std::unique_ptr<X86Operand> Op = ParseOperand()) { in ParseInstruction()
2367 static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl); in ParseInstruction()
2376 X86Operand &Op = (X86Operand &)*Operands.back(); in ParseInstruction()
2382 Operands.back() = X86Operand::CreateReg(Op.Mem.BaseReg, Loc, Loc); in ParseInstruction()
2389 X86Operand &Op = (X86Operand &)*Operands[1]; in ParseInstruction()
2395 Operands[1] = X86Operand::CreateReg(Op.Mem.BaseReg, Loc, Loc); in ParseInstruction()
2409 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc), in ParseInstruction()
2420 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc)); in ParseInstruction()
2476 Operands.back() = X86Operand::CreateToken("movsl", NameLoc); in ParseInstruction()
2496 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[2]); in ParseInstruction()
2501 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]); in ParseInstruction()
2511 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]); in ParseInstruction()
2516 static_cast<X86Operand &>(*Operands[0]).setTokenValue("int3"); in ParseInstruction()
2522 X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]); in ParseInstruction()
2527 static_cast<X86Operand &>(*Operands[0]).setTokenValue("xlatb"); in ParseInstruction()
2557 void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, in MatchFPUWaitAlias()
2579 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchFPUWaitAlias()
2605 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in MatchAndEmitATTInstruction()
2736 X86Operand &Operand = (X86Operand &)*Operands[ErrorInfo]; in MatchAndEmitATTInstruction()
2777 X86Operand &Op = static_cast<X86Operand &>(*Operands[0]); in MatchAndEmitIntelInstruction()
2788 X86Operand *UnsizedMemOp = nullptr; in MatchAndEmitIntelInstruction()
2790 X86Operand *X86Op = static_cast<X86Operand *>(Op.get()); in MatchAndEmitIntelInstruction()