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);
74 return Traits::X86OperandMem::create(Func, IceType_i32, nullptr, Zero, in createNaClReadTPSrcOperand()
76 Traits::X86OperandMem::SegReg_GS); in createNaClReadTPSrcOperand()
DIceInstX8632.cpp77 TargetX8632Traits::X86OperandMem::X86OperandMem( in X86OperandMem() function in Ice::X8632::TargetX8632Traits::X86OperandMem
114 void validateMemOperandPIC(const TargetX8632Traits::X86OperandMem *Mem, in validateMemOperandPIC()
131 void TargetX8632Traits::X86OperandMem::emit(const Cfg *Func) const { in emit()
188 void TargetX8632Traits::X86OperandMem::dump(const Cfg *Func, in dump()
253 void TargetX8632Traits::X86OperandMem::emitSegmentOverride( in emitSegmentOverride()
261 TargetX8632Traits::Address TargetX8632Traits::X86OperandMem::toAsmAddress( in toAsmAddress()
DIceTargetLoweringX86Base.h71 using X86OperandMem = typename Traits::X86OperandMem; variable
72 using SegmentRegisters = typename Traits::X86OperandMem::SegmentRegisters;
311 X86OperandMem *computeAddressOpt(const Inst *Instr, Type MemType,
423 X86OperandMem *formMemoryOperand(Operand *Ptr, Type Ty,
458 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 …]
DIceInstX8664.cpp66 TargetX8664Traits::X86OperandMem::X86OperandMem(Cfg *Func, Type Ty, in X86OperandMem() function in Ice::X8664::TargetX8664Traits::X86OperandMem
105 void TargetX8664Traits::X86OperandMem::emit(const Cfg *Func) const { in emit()
188 void TargetX8664Traits::X86OperandMem::dump(const Cfg *Func, in dump()
248 TargetX8664Traits::Address TargetX8664Traits::X86OperandMem::toAsmAddress( in toAsmAddress()
DIceTargetLoweringX8632Traits.h827 class X86OperandMem : public X86Operand {
828 X86OperandMem() = delete;
829 X86OperandMem(const X86OperandMem &) = delete;
830 X86OperandMem &operator=(const X86OperandMem &) = delete;
840 static X86OperandMem *create(Cfg *Func, Type Ty, Variable *Base,
845 return new (Func->allocate<X86OperandMem>()) X86OperandMem(
848 static X86OperandMem *create(Cfg *Func, Type Ty, Variable *Base,
852 return new (Func->allocate<X86OperandMem>()) X86OperandMem(
878 X86OperandMem(Cfg *Func, Type Ty, Variable *Base, Constant *Offset,
DIceTargetLoweringX8664Traits.h909 class X86OperandMem : public X86Operand {
910 X86OperandMem() = delete;
911 X86OperandMem(const X86OperandMem &) = delete;
912 X86OperandMem &operator=(const X86OperandMem &) = delete;
916 static X86OperandMem *
923 return new (Func->allocate<X86OperandMem>())
924 X86OperandMem(Func, Ty, Base, Offset, Index, Shift, IsRebased);
926 static X86OperandMem *create(Cfg *Func, Type Ty, Variable *Base,
930 return new (Func->allocate<X86OperandMem>())
931 X86OperandMem(Func, Ty, Base, Offset, NoIndex, NoShift, IsRebased);
[all …]
DIceTargetLoweringX8664.h54 Traits::X86OperandMem *_sandbox_mem_reference(X86OperandMem *Mem);
DIceTargetLoweringX86BaseImpl.h374 if (llvm::isa<typename Traits::X86OperandMem>(PInst->getSrc(I))) {
683 llvm::dyn_cast<typename TargetX86Base<TraitsType>::X86OperandMem>(
686 llvm::dyn_cast<typename TargetX86Base<TraitsType>::X86OperandMem>(
1303 auto *Mem = X86OperandMem::create(
1396 if (auto *Mem = llvm::dyn_cast<X86OperandMem>(Operand)) {
1397 auto *MemOperand = X86OperandMem::create(
1425 if (auto *Mem = llvm::dyn_cast<X86OperandMem>(Operand)) {
1436 auto *MemOperand = X86OperandMem::create(
1526 auto *CalculateOperand = X86OperandMem::create(
1691 _lea(T, X86OperandMem::create(Func, IceType_void, T, Zero, T, Shift));
[all …]
DIceTargetLoweringX8664.cpp215 auto *TopOfStack = llvm::cast<X86OperandMem>( in _push_rbp()
216 legalize(X86OperandMem::create(Func, IceType_i32, rsp, _0), in _push_rbp()
334 Traits::X86OperandMem *TargetX8664::_sandbox_mem_reference(X86OperandMem *Mem) { in _sandbox_mem_reference()
483 _lea(NewT, Traits::X86OperandMem::create( in _sandbox_mem_reference()
485 Traits::X86OperandMem::DefaultSegment, NotRebased)); in _sandbox_mem_reference()
494 return Traits::X86OperandMem::create( in _sandbox_mem_reference()
496 Traits::X86OperandMem::DefaultSegment, IsRebased); in _sandbox_mem_reference()
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()
600 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(Target)) { in emitIAS()
602 assert(Mem->getSegmentRegister() == X86OperandMem::DefaultSegment); in emitIAS()
658 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(CallTarget)) { in emitIAS()
659 assert(Mem->getSegmentRegister() == X86OperandMem::DefaultSegment); in emitIAS()
719 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(Op)) { in emitIASOpTyGPR()
749 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(Src)) { in emitIASRegOpTyGPR()
[all …]
DIceTargetLoweringX8632.cpp166 Traits::X86OperandMem *TargetX8632::_sandbox_mem_reference(X86OperandMem *Mem) { in _sandbox_mem_reference()
196 return Traits::X86OperandMem::create( in _sandbox_mem_reference()
198 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 …]