Lines Matching refs:Res
416 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc);
417 Res->Tok.Data = Str.data();
418 Res->Tok.Length = Str.size();
419 return Res;
426 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc);
427 Res->Reg.RegNo = RegNo;
428 Res->AddressOf = AddressOf;
429 Res->OffsetOfLoc = OffsetOfLoc;
430 Res->SymName = SymName;
431 Res->OpDecl = OpDecl;
432 return Res;
437 auto Res = llvm::make_unique<X86Operand>(Immediate, StartLoc, EndLoc);
438 Res->Imm.Val = Val;
439 return Res;
446 auto Res = llvm::make_unique<X86Operand>(Memory, StartLoc, EndLoc);
447 Res->Mem.SegReg = 0;
448 Res->Mem.Disp = Disp;
449 Res->Mem.BaseReg = 0;
450 Res->Mem.IndexReg = 0;
451 Res->Mem.Scale = 1;
452 Res->Mem.Size = Size;
453 Res->SymName = SymName;
454 Res->OpDecl = OpDecl;
455 Res->AddressOf = false;
456 return Res;
472 auto Res = llvm::make_unique<X86Operand>(Memory, StartLoc, EndLoc);
473 Res->Mem.SegReg = SegReg;
474 Res->Mem.Disp = Disp;
475 Res->Mem.BaseReg = BaseReg;
476 Res->Mem.IndexReg = IndexReg;
477 Res->Mem.Scale = Scale;
478 Res->Mem.Size = Size;
479 Res->SymName = SymName;
480 Res->OpDecl = OpDecl;
481 Res->AddressOf = false;
482 return Res;