/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/ |
D | X86Operand.h | 77 struct MemOp Mem; member 132 OS << "Memory: ModeSize=" << Mem.ModeSize; in print() 133 if (Mem.Size) in print() 134 OS << ",Size=" << Mem.Size; in print() 135 if (Mem.BaseReg) in print() 136 OS << ",BaseReg=" << X86IntelInstPrinter::getRegisterName(Mem.BaseReg); in print() 137 if (Mem.IndexReg) in print() 139 << X86IntelInstPrinter::getRegisterName(Mem.IndexReg); in print() 140 if (Mem.Scale) in print() 141 OS << ",Scale=" << Mem.Scale; in print() [all …]
|
/third_party/boost/libs/numeric/odeint/examples/ |
D | bind_member_functions.cpp | 26 template< class Obj , class Mem > 30 Mem m_mem; 34 ode_wrapper( Obj obj , Mem mem ) : m_obj( obj ) , m_mem( mem ) { } in ode_wrapper() 43 template< class Obj , class Mem > 44 ode_wrapper< Obj , Mem > make_ode_wrapper( Obj obj , Mem mem ) in make_ode_wrapper() 46 return ode_wrapper< Obj , Mem >( obj , mem ); in make_ode_wrapper() 51 template< class Obj , class Mem > 55 Mem m_mem; 59 observer_wrapper( Obj obj , Mem mem ) : m_obj( obj ) , m_mem( mem ) { } in observer_wrapper() 68 template< class Obj , class Mem > [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Options.h | 49 template <typename ValT, typename Base, ValT(Base::*Mem)> class OptionKey { 54 template <typename ValT, typename Base, ValT(Base::*Mem)> 55 char OptionKey<ValT, Base, Mem>::ID = 0; 95 template <typename ValT, typename Base, ValT(Base::*Mem)> 100 instance().addOption(&detail::OptionKey<ValT, Base, Mem>::ID, Option); in registerOption() 111 template <typename ValT, typename Base, ValT(Base::*Mem)> ValT get() const { in get() 112 auto It = Options.find(&detail::OptionKey<ValT, Base, Mem>::ID); in get()
|
/third_party/skia/tests/ |
D | SkVMTest.cpp | 1023 a.add(A::Mem{A::rsi}, 7); // addq $7, (%rsi) in DEF_TEST() 1024 a.add(A::Mem{A::rsi, 12}, 7); // addq $7, 12(%rsi) in DEF_TEST() 1025 a.add(A::Mem{A::rsp, 12}, 7); // addq $7, 12(%rsp) in DEF_TEST() 1026 a.add(A::Mem{A::r12, 12}, 7); // addq $7, 12(%r12) in DEF_TEST() 1027 a.add(A::Mem{A::rsp, 12, A::rax, A::FOUR}, 7); // addq $7, 12(%rsp,%rax,4) in DEF_TEST() 1028 a.add(A::Mem{A::r12, 12, A::rax, A::FOUR}, 7); // addq $7, 12(%r12,%rax,4) in DEF_TEST() 1029 a.add(A::Mem{A::rax, 12, A::r12, A::FOUR}, 7); // addq $7, 12(%rax,%r12,4) in DEF_TEST() 1030 a.add(A::Mem{A::r11, 12, A::r8 , A::TWO }, 7); // addq $7, 12(%r11,%r8,2) in DEF_TEST() 1031 a.add(A::Mem{A::r11, 12, A::rax} , 7); // addq $7, 12(%r11,%rax) in DEF_TEST() 1032 a.add(A::Mem{A::rax, 12, A::r11} , 7); // addq $7, 12(%rax,%r11) in DEF_TEST() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 138 MemOp Mem; member 188 Op->Mem.MemKind = MemKind; in createMem() 189 Op->Mem.RegKind = RegKind; in createMem() 190 Op->Mem.Base = Base; in createMem() 191 Op->Mem.Index = Index; in createMem() 192 Op->Mem.Disp = Disp; in createMem() 194 Op->Mem.Length.Imm = LengthImm; in createMem() 196 Op->Mem.Length.Reg = LengthReg; in createMem() 258 (Mem.MemKind == MemKind || in isMem() 261 (Mem.MemKind == BDMem && MemKind == BDXMem))); in isMem() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceInstMIPS32.cpp | 813 auto *Mem = llvm::dyn_cast<OperandMIPS32Mem>(getSrc(0)); in emitIAS() local 814 Asm->ldc1(getDest(), Mem->getBase(), Mem->getOffset(), Reloc); in emitIAS() 819 auto *Mem = llvm::dyn_cast<OperandMIPS32Mem>(getSrc(0)); in emitIAS() local 820 ConstantInteger32 *Offset = llvm::cast<ConstantInteger32>(Mem->getOffset()); in emitIAS() 822 Asm->ll(getDest(), Mem->getBase(), Imm); in emitIAS() 827 auto *Mem = llvm::dyn_cast<OperandMIPS32Mem>(getSrc(0)); in emitIAS() local 828 ConstantInteger32 *Offset = llvm::cast<ConstantInteger32>(Mem->getOffset()); in emitIAS() 830 Asm->lw(getDest(), Mem->getBase(), Imm); in emitIAS() 835 auto *Mem = llvm::dyn_cast<OperandMIPS32Mem>(getSrc(0)); in emitIAS() local 836 Asm->lwc1(getDest(), Mem->getBase(), Mem->getOffset(), Reloc); in emitIAS() [all …]
|
D | IceInstX8632.cpp | 318 InstX86Store::InstX86Store(Cfg *Func, Operand *Value, X86Operand *Mem) in InstX86Store() argument 321 this->addSource(Mem); in InstX86Store() 324 InstX86StoreP::InstX86StoreP(Cfg *Func, Variable *Value, X86OperandMem *Mem) in InstX86StoreP() argument 327 this->addSource(Mem); in InstX86StoreP() 330 InstX86StoreQ::InstX86StoreQ(Cfg *Func, Operand *Value, X86OperandMem *Mem) in InstX86StoreQ() argument 333 this->addSource(Mem); in InstX86StoreQ() 336 InstX86StoreD::InstX86StoreD(Cfg *Func, Operand *Value, X86OperandMem *Mem) in InstX86StoreD() argument 339 this->addSource(Mem); in InstX86StoreD() 554 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(Target)) { in emitIAS() local 555 (void)Mem; in emitIAS() [all …]
|
D | IceTargetLoweringMIPS32.h | 338 void _ldc1(Variable *Value, OperandMIPS32Mem *Mem, RelocOp Reloc = RO_No) { 339 Context.insert<InstMIPS32Ldc1>(Value, Mem, Reloc); 342 void _ll(Variable *Value, OperandMIPS32Mem *Mem) { in _ll() argument 343 Context.insert<InstMIPS32Ll>(Value, Mem); in _ll() 346 void _lw(Variable *Value, OperandMIPS32Mem *Mem) { in _lw() argument 347 Context.insert<InstMIPS32Lw>(Value, Mem); in _lw() 350 void _lwc1(Variable *Value, OperandMIPS32Mem *Mem, RelocOp Reloc = RO_No) { 351 Context.insert<InstMIPS32Lwc1>(Value, Mem, Reloc); 496 InstMIPS32Sc *_sc(Variable *Value, OperandMIPS32Mem *Mem) { in _sc() argument 497 return Context.insert<InstMIPS32Sc>(Value, Mem); in _sc() [all …]
|
D | IceInstX8664.cpp | 306 InstX86Store::InstX86Store(Cfg *Func, Operand *Value, X86Operand *Mem) in InstX86Store() argument 309 this->addSource(Mem); in InstX86Store() 312 InstX86StoreP::InstX86StoreP(Cfg *Func, Variable *Value, X86OperandMem *Mem) in InstX86StoreP() argument 315 this->addSource(Mem); in InstX86StoreP() 318 InstX86StoreQ::InstX86StoreQ(Cfg *Func, Operand *Value, X86OperandMem *Mem) in InstX86StoreQ() argument 321 this->addSource(Mem); in InstX86StoreQ() 324 InstX86StoreD::InstX86StoreD(Cfg *Func, Operand *Value, X86OperandMem *Mem) in InstX86StoreD() argument 327 this->addSource(Mem); in InstX86StoreD() 541 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(Target)) { in emitIAS() local 542 (void)Mem; in emitIAS() [all …]
|
D | IceTargetLoweringARM32.cpp | 1772 TargetARM32::PostLoweringLegalizer::legalizeMemOperand(OperandARM32Mem *Mem, in legalizeMemOperand() argument 1774 assert(!Mem->isRegReg() || !Mem->getIndex()->isRematerializable()); in legalizeMemOperand() 1775 assert(Mem->isRegReg() || Target->isLegalMemOffset( in legalizeMemOperand() 1776 Mem->getType(), Mem->getOffset()->getValue())); in legalizeMemOperand() 1779 Variable *Base = Mem->getBase(); in legalizeMemOperand() 1780 int32_t Offset = Mem->isRegReg() ? 0 : Mem->getOffset()->getValue(); in legalizeMemOperand() 1795 if (!Mem->isRegReg()) { in legalizeMemOperand() 1796 return createMemOperand(Mem->getType(), Base, Offset, AllowOffsets); in legalizeMemOperand() 1799 assert(MemTraits[Mem->getType()].CanHaveIndex); in legalizeMemOperand() 1827 return OperandARM32Mem::create(Target->Func, Mem->getType(), Base, in legalizeMemOperand() [all …]
|
D | IceTargetLoweringX8632.cpp | 1151 auto *Mem = X86OperandMem::create( in finishArgumentLowering() local 1155 _movp(Arg, Mem); in finishArgumentLowering() 1157 _mov(Arg, Mem); in finishArgumentLowering() 1228 if (auto *Mem = llvm::dyn_cast<X86OperandMem>(Operand)) { in loOperand() local 1230 Func, IceType_i32, Mem->getBase(), Mem->getOffset(), Mem->getIndex(), in loOperand() 1231 Mem->getShift(), Mem->getSegmentRegister(), Mem->getIsRebased()); in loOperand() 1254 if (auto *Mem = llvm::dyn_cast<X86OperandMem>(Operand)) { in hiOperand() local 1255 Constant *Offset = Mem->getOffset(); in hiOperand() 1266 Func, IceType_i32, Mem->getBase(), Offset, Mem->getIndex(), in hiOperand() 1267 Mem->getShift(), Mem->getSegmentRegister(), Mem->getIsRebased()); in hiOperand() [all …]
|
D | IceTargetLoweringMIPS32.cpp | 1105 if (auto *Mem = llvm::dyn_cast<OperandMIPS32Mem>(Operand)) { in formMemoryOperand() local 1106 return llvm::cast<OperandMIPS32Mem>(legalize(Mem)); in formMemoryOperand() 2081 TargetMIPS32::PostLoweringLegalizer::legalizeMemOperand(OperandMIPS32Mem *Mem) { in legalizeMemOperand() argument 2082 if (llvm::isa<ConstantRelocatable>(Mem->getOffset())) { in legalizeMemOperand() 2085 Variable *Base = Mem->getBase(); in legalizeMemOperand() 2086 auto *Ci32 = llvm::cast<ConstantInteger32>(Mem->getOffset()); in legalizeMemOperand() 2099 if (!OperandMIPS32Mem::canHoldOffset(Mem->getType(), SignExt, Offset)) { in legalizeMemOperand() 2105 Target->Func, Mem->getType(), Base, in legalizeMemOperand() 2212 if (auto *Mem = llvm::dyn_cast<OperandMIPS32Mem>(Operand)) { in loOperand() local 2215 assert(Mem->getAddrMode() == OperandMIPS32Mem::Offset); in loOperand() [all …]
|
D | IceAssemblerX8632.cpp | 69 AsmAddress::AsmAddress(const X86OperandMem *Mem, Ice::Assembler *Asm, in AsmAddress() argument 71 Mem->validateMemOperandPIC(); in AsmAddress() 73 if (Mem->getBase() && Mem->getBase()->isRematerializable()) { in AsmAddress() 74 Disp += Mem->getBase()->getRematerializableOffset(Target); in AsmAddress() 79 assert(!Mem->getIndex() || !Mem->getIndex()->isRematerializable()); in AsmAddress() 83 if (Mem->getOffset()) { in AsmAddress() 84 if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(Mem->getOffset())) { in AsmAddress() 87 llvm::dyn_cast<ConstantRelocatable>(Mem->getOffset())) { in AsmAddress() 96 if (Mem->getBase() && Mem->getIndex()) { in AsmAddress() 97 SetBaseIndex(RegX8632::getEncodedGPR(Mem->getBase()->getRegNum()), in AsmAddress() [all …]
|
D | IceTargetLoweringX8632.h | 763 void _store(Operand *Value, X86Operand *Mem) { in _store() argument 764 Context.insert<Insts::Store>(Value, Mem); in _store() 766 void _storep(Variable *Value, X86OperandMem *Mem) { in _storep() argument 767 Context.insert<Insts::StoreP>(Value, Mem); in _storep() 769 void _storeq(Operand *Value, X86OperandMem *Mem) { in _storeq() argument 770 Context.insert<Insts::StoreQ>(Value, Mem); in _storeq() 772 void _stored(Operand *Value, X86OperandMem *Mem) { in _stored() argument 773 Context.insert<Insts::StoreD>(Value, Mem); in _stored()
|
D | IceTargetLoweringX8664.h | 757 void _store(Operand *Value, X86Operand *Mem) { in _store() argument 758 Context.insert<Insts::Store>(Value, Mem); in _store() 760 void _storep(Variable *Value, X86OperandMem *Mem) { in _storep() argument 761 Context.insert<Insts::StoreP>(Value, Mem); in _storep() 763 void _storeq(Operand *Value, X86OperandMem *Mem) { in _storeq() argument 764 Context.insert<Insts::StoreQ>(Value, Mem); in _storeq() 766 void _stored(Operand *Value, X86OperandMem *Mem) { in _stored() argument 767 Context.insert<Insts::StoreD>(Value, Mem); in _stored()
|
D | IceAssemblerX8664.cpp | 56 AsmAddress::AsmAddress(const X86OperandMem *Mem, Ice::Assembler *Asm, in AsmAddress() argument 59 if (Mem->getBase() && Mem->getBase()->isRematerializable()) { in AsmAddress() 60 Disp += Mem->getBase()->getRematerializableOffset(Target); in AsmAddress() 65 assert(!Mem->getIndex() || !Mem->getIndex()->isRematerializable()); in AsmAddress() 69 if (Mem->getOffset() != nullptr) { in AsmAddress() 70 if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(Mem->getOffset())) { in AsmAddress() 73 llvm::dyn_cast<ConstantRelocatable>(Mem->getOffset())) { in AsmAddress() 75 (Mem->getBase() != nullptr || Mem->getIndex() != nullptr) ? FK_Abs in AsmAddress() 87 if (Mem->getBase() && Mem->getIndex()) { in AsmAddress() 88 SetBaseIndex(RegX8664::getEncodedGPR(Mem->getBase()->getRegNum()), in AsmAddress() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 76 char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1)); in operator new() local 77 CopyStringRef(Mem + N, NameRef); in operator new() 78 return Mem; in operator new() 144 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); in getNewUninitMemBuffer() local 145 if (!Mem) in getNewUninitMemBuffer() 149 CopyStringRef(Mem + sizeof(MemoryBufferMem), NameRef); in getNewUninitMemBuffer() 152 char *Buf = Mem + AlignedStringLen; in getNewUninitMemBuffer() 155 auto *Ret = new (Mem) MemoryBufferMem(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 139 struct MemOp Mem; member 171 return Mem.BaseReg; in getMemBaseReg() 176 return Mem.OffsetReg; in getMemOffsetReg() 181 return Mem.Offset; in getMemOffset() 186 return Mem.AluOp; in getMemOp() 614 Op->Mem.BaseReg = 0; in MorphToMemImm() 615 Op->Mem.AluOp = LPAC::ADD; in MorphToMemImm() 616 Op->Mem.OffsetReg = 0; in MorphToMemImm() 617 Op->Mem.Offset = Imm; in MorphToMemImm() 626 Op->Mem.BaseReg = BaseReg; in MorphToMemRegReg() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 76 char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1)); in operator new() local 77 CopyStringRef(Mem + N, NameRef); in operator new() 78 return Mem; in operator new() 284 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); in getNewUninitMemBuffer() local 285 if (!Mem) in getNewUninitMemBuffer() 289 CopyStringRef(Mem + sizeof(MemBuffer), NameRef); in getNewUninitMemBuffer() 292 char *Buf = Mem + AlignedStringLen; in getNewUninitMemBuffer() 295 auto *Ret = new (Mem) MemBuffer(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
|
/third_party/skia/src/core/ |
D | SkVM.cpp | 1949 const Mem& m = dst.mem; in op() 2181 const Mem& m = y.mem; in op() 3263 a->mov(A::r10, A::Mem{A::rsp, 40}); in jit() 3268 a->mov(A::Mem{A::rsp, 8}, A::rdi); in jit() 3269 a->mov(A::rdi, A::Mem{A::rsp, 48}); in jit() 3274 a->mov(A::Mem{A::rsp, 16}, A::rsi); in jit() 3275 a->mov(A::rsi, A::Mem{A::rsp, 56}); in jit() 3290 a->vmovups(A::Mem{A::rsp, next_saved_xmm}, (A::Xmm)r); in jit() 3304 a->vmovups((A::Xmm)r, A::Mem{A::rsp, stack_used}); in jit() 3312 a->mov(A::rdi, A::Mem{A::rsp, 8}); in jit() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 249 struct MemOp Mem; member 297 return Mem.Base; in getMemBase() 302 return Mem.OffsetReg; in getMemOffsetReg() 307 return Mem.Off; in getMemOff() 476 Op->Mem.Base = Base; in MorphToMEMrr() 477 Op->Mem.OffsetReg = offsetReg; in MorphToMEMrr() 478 Op->Mem.Off = nullptr; in MorphToMEMrr() 485 Op->Mem.Base = Base; in CreateMEMr() 486 Op->Mem.OffsetReg = Sparc::G0; // always 0 in CreateMEMr() 487 Op->Mem.Off = nullptr; in CreateMEMr() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | LLVMContext.h | 258 template <typename ValT, typename Base, ValT(Base::*Mem)> 260 return OptionRegistry::instance().template get<ValT, Base, Mem>(); in getOption()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/AsmParser/ |
D | MSP430AsmParser.cpp | 109 Memory Mem; member 122 : Base(), Kind(k_Mem), Mem({Reg, Expr}), Start(S), End(E) {} in MSP430Operand() 153 Inst.addOperand(MCOperand::createReg(Mem.Reg)); in addMemOperands() 154 addExprOperand(Inst, Mem.Offset); in addMemOperands() 239 O << *Mem.Offset << "(" << Reg << ")"; in print()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | CodeExtractor.cpp | 994 Value *Mem = II->getOperand(1)->stripInBoundsOffsets(); in eraseLifetimeMarkersOnInputs() local 995 if (SunkAllocas.count(Mem) || definedInRegion(Blocks, Mem)) in eraseLifetimeMarkersOnInputs() 999 LifetimesStart.insert(Mem); in eraseLifetimeMarkersOnInputs() 1023 for (Value *Mem : Objects) { in insertLifetimeMarkersSurroundingCall() 1024 assert((!isa<Instruction>(Mem) || cast<Instruction>(Mem)->getFunction() == in insertLifetimeMarkersSurroundingCall() 1027 Value *&MemAsI8Ptr = Bitcasts[Mem]; in insertLifetimeMarkersSurroundingCall() 1029 if (Mem->getType() == Int8PtrTy) in insertLifetimeMarkersSurroundingCall() 1030 MemAsI8Ptr = Mem; in insertLifetimeMarkersSurroundingCall() 1033 CastInst::CreatePointerCast(Mem, Int8PtrTy, "lt.cast", TheCall); in insertLifetimeMarkersSurroundingCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 52 void add(void *Mem) { Allocations.push_back(Mem); } in add() argument
|