Home
last modified time | relevance | path

Searched refs:X86Operand (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
DX86AsmParser.cpp33 struct X86Operand;
46 X86Operand *ParseOperand();
47 X86Operand *ParseMemOperand(unsigned SegReg, SMLoc StartLoc);
58 bool isSrcOp(X86Operand &Op);
62 bool isDstOp(X86Operand &Op);
108 struct X86Operand : public MCParsedAsmOperand { struct
141 X86Operand(KindTy K, SMLoc Start, SMLoc End) in X86Operand() function
319 static X86Operand *CreateToken(StringRef Str, SMLoc Loc) { in CreateToken() argument
320 X86Operand *Res = new X86Operand(Token, Loc, Loc); in CreateToken()
326 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc) { in CreateReg() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp166 void AddBusyRegs(const X86Operand &Op) { in AddBusyRegs()
221 virtual void InstrumentMemOperandSmall(X86Operand &Op, unsigned AccessSize,
225 virtual void InstrumentMemOperandLarge(X86Operand &Op, unsigned AccessSize,
233 void InstrumentMemOperand(X86Operand &Op, unsigned AccessSize, bool IsWrite,
247 void EmitLEA(X86Operand &Op, unsigned Size, unsigned Reg, MCStreamer &Out) { in EmitLEA()
256 void ComputeMemOperandAddress(X86Operand &Op, unsigned Size,
262 std::unique_ptr<X86Operand> AddDisplacement(X86Operand &Op,
293 X86Operand &Op, unsigned AccessSize, bool IsWrite, in InstrumentMemOperand()
324 std::unique_ptr<X86Operand> Op(X86Operand::CreateMem( in InstrumentMOVSBase()
333 std::unique_ptr<X86Operand> Op(X86Operand::CreateMem( in InstrumentMOVSBase()
[all …]
DX86AsmParser.cpp812 std::unique_ptr<X86Operand> DefaultMemSIOperand(SMLoc Loc);
813 std::unique_ptr<X86Operand> DefaultMemDIOperand(SMLoc Loc);
822 std::unique_ptr<X86Operand> ParseOperand();
823 std::unique_ptr<X86Operand> ParseATTOperand();
824 std::unique_ptr<X86Operand> ParseIntelOperand();
825 std::unique_ptr<X86Operand> ParseIntelOffsetOfOperator();
829 std::unique_ptr<X86Operand> ParseRoundingModeOp(SMLoc Start);
838 std::unique_ptr<X86Operand> ParseMemOperand(unsigned SegReg, SMLoc MemStart);
841 std::unique_ptr<X86Operand>
871 void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
[all …]
DX86Operand.h32 struct X86Operand final : public MCParsedAsmOperand {
80 X86Operand(KindTy K, SMLoc Start, SMLoc End) in X86Operand() function
525 static std::unique_ptr<X86Operand> CreateToken(StringRef Str, SMLoc Loc) { in CreateToken()
527 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken()
533 static std::unique_ptr<X86Operand>
537 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc);
546 static std::unique_ptr<X86Operand>
548 return llvm::make_unique<X86Operand>(DXRegister, StartLoc, EndLoc); in CreateDXReg()
551 static std::unique_ptr<X86Operand>
553 auto Res = llvm::make_unique<X86Operand>(Prefix, StartLoc, EndLoc); in CreatePrefix()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp154 void AddBusyRegs(const X86Operand &Op) { in AddBusyRegs()
210 virtual void InstrumentMemOperandSmall(X86Operand &Op, unsigned AccessSize,
214 virtual void InstrumentMemOperandLarge(X86Operand &Op, unsigned AccessSize,
222 void InstrumentMemOperand(X86Operand &Op, unsigned AccessSize, bool IsWrite,
236 void EmitLEA(X86Operand &Op, unsigned Size, unsigned Reg, MCStreamer &Out) { in EmitLEA()
245 void ComputeMemOperandAddress(X86Operand &Op, unsigned Size,
251 std::unique_ptr<X86Operand> AddDisplacement(X86Operand &Op,
280 X86Operand &Op, unsigned AccessSize, bool IsWrite, in InstrumentMemOperand()
311 std::unique_ptr<X86Operand> Op(X86Operand::CreateMem( in InstrumentMOVSBase()
320 std::unique_ptr<X86Operand> Op(X86Operand::CreateMem( in InstrumentMOVSBase()
[all …]
DX86AsmParser.cpp683 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);
[all …]
DX86Operand.h25 struct X86Operand : public MCParsedAsmOperand { struct
69 X86Operand(KindTy K, SMLoc Start, SMLoc End) in X86Operand() function
467 static std::unique_ptr<X86Operand> CreateToken(StringRef Str, SMLoc Loc) { in CreateToken() argument
469 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken()
475 static std::unique_ptr<X86Operand>
479 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc); argument
488 static std::unique_ptr<X86Operand> CreateImm(const MCExpr *Val, in CreateImm() argument
490 auto Res = llvm::make_unique<X86Operand>(Immediate, StartLoc, EndLoc); in CreateImm()
496 static std::unique_ptr<X86Operand>
500 auto Res = llvm::make_unique<X86Operand>(Memory, StartLoc, EndLoc); argument
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86GenAsmMatcher.inc1593 ((X86Operand*)Operands[1])->addImmOperands(Inst, 1);
1596 ((X86Operand*)Operands[2])->addRegOperands(Inst, 1);
1598 ((X86Operand*)Operands[1])->addRegOperands(Inst, 1);
1601 ((X86Operand*)Operands[2])->addMemOperands(Inst, 5);
1602 ((X86Operand*)Operands[1])->addRegOperands(Inst, 1);
1605 ((X86Operand*)Operands[2])->addRegOperands(Inst, 1);
1607 ((X86Operand*)Operands[1])->addImmOperands(Inst, 1);
1610 ((X86Operand*)Operands[2])->addMemOperands(Inst, 5);
1611 ((X86Operand*)Operands[1])->addImmOperands(Inst, 1);
1614 ((X86Operand*)Operands[2])->addRegOperands(Inst, 1);
[all …]
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8632Traits.h808 class X86Operand : public ::Ice::Operand {
809 X86Operand() = delete;
810 X86Operand(const X86Operand &) = delete;
811 X86Operand &operator=(const X86Operand &) = delete;
820 X86Operand(OperandKindX8632 Kind, Type Ty)
827 class X86OperandMem : public X86Operand {
866 using X86Operand::dump;
901 class VariableSplit : public X86Operand {
916 using X86Operand::dump;
925 : X86Operand(kSplit, IceType_i32), Var(Var), Part(Part) {
DIceTargetLoweringX8664Traits.h890 class X86Operand : public ::Ice::Operand {
891 X86Operand() = delete;
892 X86Operand(const X86Operand &) = delete;
893 X86Operand &operator=(const X86Operand &) = delete;
902 X86Operand(OperandKindX8664 Kind, Type Ty)
909 class X86OperandMem : public X86Operand {
944 using X86Operand::dump;
977 class VariableSplit : public X86Operand {
992 using X86Operand::dump;
1001 : X86Operand(kSplit, IceType_i32), Var(Var), Part(Part) {
DIceInstX8632.cpp72 void TargetX8632Traits::X86Operand::dump(const Cfg *, Ostream &Str) const { in dump()
80 : X86Operand(kMem, Ty), Base(Base), Offset(Offset), Index(Index), in X86OperandMem()
DIceInstX8664.cpp61 void TargetX8664Traits::X86Operand::dump(const Cfg *, Ostream &Str) const { in dump()
71 : X86Operand(kMem, Ty), Base(Base), Offset(Offset), Index(Index), in X86OperandMem()
DIceTargetLoweringX86Base.h70 using X86Operand = typename Traits::X86Operand; variable
971 void _store(Operand *Value, X86Operand *Mem) { in _store()
DIceInstX86Base.h41 using X86Operand = typename Traits::X86Operand; member
2758 static InstX86Store *create(Cfg *Func, Operand *Value, X86Operand *Mem) { in create()
2770 InstX86Store(Cfg *Func, Operand *Value, X86Operand *Mem);
DIceInstX86BaseImpl.h292 X86Operand *Mem) in InstX86Store()
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/
DX86GenAsmMatcher.inc4371 static_cast<X86Operand&>(*Operands[OpIdx]).addRegOperands(Inst, 1);
4386 static_cast<X86Operand&>(*Operands[OpIdx]).addImmOperands(Inst, 1);
4398 static_cast<X86Operand&>(*Operands[OpIdx]).addRegOperands(Inst, 1);
4401 static_cast<X86Operand&>(*Operands[OpIdx]).addMemOperands(Inst, 5);
4404 static_cast<X86Operand&>(*Operands[OpIdx]).addAbsMemOperands(Inst, 1);
4407 static_cast<X86Operand&>(*Operands[OpIdx]).addDstIdxOperands(Inst, 1);
4410 static_cast<X86Operand&>(*Operands[OpIdx]).addSrcIdxOperands(Inst, 2);
4413 static_cast<X86Operand&>(*Operands[OpIdx]).addGR32orGR64Operands(Inst, 1);
4422 static_cast<X86Operand&>(*Operands[OpIdx]).addMemOffsOperands(Inst, 2);
4437 static_cast<X86Operand&>(*Operands[OpIdx]).addAVX512RCOperands(Inst, 1);
[all …]