Home
last modified time | relevance | path

Searched refs:X86OperandMem (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8632.h51 Traits::X86OperandMem *_sandbox_mem_reference(X86OperandMem *Mem);
77 return Traits::X86OperandMem::create(Func, IceType_i32, nullptr, Zero, in createNaClReadTPSrcOperand()
79 Traits::X86OperandMem::SegReg_GS); in createNaClReadTPSrcOperand()
DIceInstX8632.cpp72 TargetX8632Traits::X86OperandMem::X86OperandMem( in X86OperandMem() function in Ice::X8632::TargetX8632Traits::X86OperandMem
109 void validateMemOperandPIC(const TargetX8632Traits::X86OperandMem *Mem, in validateMemOperandPIC()
126 void TargetX8632Traits::X86OperandMem::emit(const Cfg *Func) const { in emit()
183 void TargetX8632Traits::X86OperandMem::dump(const Cfg *Func, in dump()
248 void TargetX8632Traits::X86OperandMem::emitSegmentOverride( in emitSegmentOverride()
256 TargetX8632Traits::Address TargetX8632Traits::X86OperandMem::toAsmAddress( in toAsmAddress()
DIceTargetLoweringX8632Traits.h770 class X86OperandMem : public X86Operand {
771 X86OperandMem() = delete;
772 X86OperandMem(const X86OperandMem &) = delete;
773 X86OperandMem &operator=(const X86OperandMem &) = delete;
783 static X86OperandMem *create(Cfg *Func, Type Ty, Variable *Base,
788 return new (Func->allocate<X86OperandMem>()) X86OperandMem(
791 static X86OperandMem *create(Cfg *Func, Type Ty, Variable *Base,
795 return new (Func->allocate<X86OperandMem>()) X86OperandMem(
817 X86OperandMem(Cfg *Func, Type Ty, Variable *Base, Constant *Offset,
DIceInstX8664.cpp61 TargetX8664Traits::X86OperandMem::X86OperandMem(Cfg *Func, Type Ty, in X86OperandMem() function in Ice::X8664::TargetX8664Traits::X86OperandMem
100 void TargetX8664Traits::X86OperandMem::emit(const Cfg *Func) const { in emit()
185 void TargetX8664Traits::X86OperandMem::dump(const Cfg *Func, in dump()
245 TargetX8664Traits::Address TargetX8664Traits::X86OperandMem::toAsmAddress( in toAsmAddress()
DIceTargetLoweringX8664Traits.h864 class X86OperandMem : public X86Operand {
865 X86OperandMem() = delete;
866 X86OperandMem(const X86OperandMem &) = delete;
867 X86OperandMem &operator=(const X86OperandMem &) = delete;
871 static X86OperandMem *
878 return new (Func->allocate<X86OperandMem>())
879 X86OperandMem(Func, Ty, Base, Offset, Index, Shift, IsRebased);
881 static X86OperandMem *create(Cfg *Func, Type Ty, Variable *Base,
885 return new (Func->allocate<X86OperandMem>())
886 X86OperandMem(Func, Ty, Base, Offset, NoIndex, NoShift, IsRebased);
[all …]
DIceTargetLoweringX86Base.h71 using X86OperandMem = typename Traits::X86OperandMem; variable
72 using SegmentRegisters = typename Traits::X86OperandMem::SegmentRegisters;
311 X86OperandMem *computeAddressOpt(const Inst *Instr, Type MemType,
428 X86OperandMem *formMemoryOperand(Operand *Ptr, Type Ty,
463 X86OperandMem *getMemoryOperandForStackSlot(Type Ty, Variable *Slot,
479 X86OperandMem **findMemoryReference(T **First, Tail... Others) { in findMemoryReference()
480 if (llvm::isa<X86OperandMem>(*First)) { in findMemoryReference()
481 return reinterpret_cast<X86OperandMem **>(First); in findMemoryReference()
486 X86OperandMem **findMemoryReference() { return nullptr; } in findMemoryReference()
490 X86OperandMem **const MemOperand;
[all …]
DIceTargetLoweringX8664.cpp214 auto *TopOfStack = llvm::cast<X86OperandMem>( in _push_rbp()
215 legalize(X86OperandMem::create(Func, IceType_i32, rsp, _0), in _push_rbp()
300 Traits::X86OperandMem::create(Func, reg->getType(), rsp, nullptr); in _push_reg()
318 Traits::X86OperandMem::create(Func, reg->getType(), rsp, nullptr); in _pop_reg()
357 Traits::X86OperandMem *TargetX8664::_sandbox_mem_reference(X86OperandMem *Mem) { in _sandbox_mem_reference()
506 _lea(NewT, Traits::X86OperandMem::create( in _sandbox_mem_reference()
508 Traits::X86OperandMem::DefaultSegment, NotRebased)); in _sandbox_mem_reference()
517 return Traits::X86OperandMem::create( in _sandbox_mem_reference()
519 Traits::X86OperandMem::DefaultSegment, IsRebased); in _sandbox_mem_reference()
DIceTargetLoweringX8664.h54 Traits::X86OperandMem *_sandbox_mem_reference(X86OperandMem *Mem);
DIceInstX86BaseImpl.h229 Cfg *Func, X86OperandMem *Addr, Variable *Edx, Variable *Eax, Variable *Ecx, in InstX86Cmpxchg8b()
300 X86OperandMem *Mem) in InstX86StoreP()
308 X86OperandMem *Mem) in InstX86StoreQ()
316 X86OperandMem *Mem) in InstX86StoreD()
602 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(Target)) { in emitIAS()
604 assert(Mem->getSegmentRegister() == X86OperandMem::DefaultSegment); in emitIAS()
660 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(CallTarget)) { in emitIAS()
661 assert(Mem->getSegmentRegister() == X86OperandMem::DefaultSegment); in emitIAS()
721 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(Op)) { in emitIASOpTyGPR()
751 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(Src)) { in emitIASRegOpTyGPR()
[all …]
DIceTargetLoweringX86BaseImpl.h387 if (llvm::isa<typename Traits::X86OperandMem>(PInst->getSrc(I))) {
680 llvm::dyn_cast<typename TargetX86Base<TraitsType>::X86OperandMem>(
683 llvm::dyn_cast<typename TargetX86Base<TraitsType>::X86OperandMem>(
1353 auto *Mem = X86OperandMem::create(
1446 if (auto *Mem = llvm::dyn_cast<X86OperandMem>(Operand)) {
1447 auto *MemOperand = X86OperandMem::create(
1475 if (auto *Mem = llvm::dyn_cast<X86OperandMem>(Operand)) {
1486 auto *MemOperand = X86OperandMem::create(
1576 auto *CalculateOperand = X86OperandMem::create(
1744 _lea(T, X86OperandMem::create(Func, IceType_void, T, Zero, T, Shift));
[all …]
DIceTargetLoweringX8632.cpp165 Traits::X86OperandMem *TargetX8632::_sandbox_mem_reference(X86OperandMem *Mem) { in _sandbox_mem_reference()
195 return Traits::X86OperandMem::create( in _sandbox_mem_reference()
197 Traits::X86OperandMem::DefaultSegment, IsRebased); in _sandbox_mem_reference()
DIceInstX86Base.h42 using X86OperandMem = typename Traits::X86OperandMem; member
244 if (llvm::isa<X86OperandMem>(Opnd) && isVectorType(Opnd->getType())) { in validateVectorAddrModeOpnd()
671 if (auto *MemOp = llvm::dyn_cast<X86OperandMem>(this->getSrc(0))) { in deoptLeaToAddOrNull()
854 InstX86BaseBinopRMW(Cfg *Func, X86OperandMem *DestSrc0, Operand *Src1) in InstX86BaseBinopRMW()
1362 static InstX86AddRMW *create(Cfg *Func, X86OperandMem *DestSrc0, in create()
1369 InstX86AddRMW(Cfg *Func, X86OperandMem *DestSrc0, Operand *Src1) in InstX86AddRMW()
1402 static InstX86AdcRMW *create(Cfg *Func, X86OperandMem *DestSrc0, in create()
1409 InstX86AdcRMW(Cfg *Func, X86OperandMem *DestSrc0, Operand *Src1) in InstX86AdcRMW()
1490 static InstX86SubRMW *create(Cfg *Func, X86OperandMem *DestSrc0, in create()
1497 InstX86SubRMW(Cfg *Func, X86OperandMem *DestSrc0, Operand *Src1) in InstX86SubRMW()
[all …]