/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringX86Base.h | 98 Inst *createLoweredMove(Variable *Dest, Variable *SrcVar) override { in createLoweredMove() argument 99 if (isVectorType(Dest->getType())) { in createLoweredMove() 100 return Traits::Insts::Movp::create(Func, Dest, SrcVar); in createLoweredMove() 102 return Traits::Insts::Mov::create(Func, Dest, SrcVar); in createLoweredMove() 103 (void)Dest; in createLoweredMove() 196 ConstantRelocatable *createGetIPForRegister(const Variable *Dest) { in createGetIPForRegister() argument 197 assert(Dest->hasReg()); in createGetIPForRegister() 198 const std::string RegName = Traits::getRegName(Dest->getRegNum()); in createGetIPForRegister() 328 void lowerAtomicRMW(Variable *Dest, uint32_t Operation, Operand *Ptr, 330 void lowerCountZeros(bool Cttz, Type Ty, Variable *Dest, Operand *FirstVal, [all …]
|
D | IceTargetLoweringMIPS32.h | 166 void _add(Variable *Dest, Variable *Src0, Variable *Src1) { in _add() argument 167 Context.insert<InstMIPS32Add>(Dest, Src0, Src1); in _add() 170 void _addu(Variable *Dest, Variable *Src0, Variable *Src1) { in _addu() argument 171 Context.insert<InstMIPS32Addu>(Dest, Src0, Src1); in _addu() 174 void _and(Variable *Dest, Variable *Src0, Variable *Src1) { in _and() argument 175 Context.insert<InstMIPS32And>(Dest, Src0, Src1); in _and() 178 void _andi(Variable *Dest, Variable *Src, uint32_t Imm) { in _andi() argument 179 Context.insert<InstMIPS32Andi>(Dest, Src, Imm); in _andi() 210 void _abs_d(Variable *Dest, Variable *Src) { in _abs_d() argument 211 Context.insert<InstMIPS32Abs_d>(Dest, Src); in _abs_d() [all …]
|
D | IceTargetLoweringARM32.h | 212 void lowerInt64Arithmetic(InstArithmetic::OpKind Op, Variable *Dest, 279 void lowerInt64AtomicRMW(Variable *Dest, uint32_t Operation, Operand *Ptr, 281 void lowerAtomicRMW(Variable *Dest, uint32_t Operation, Operand *Ptr, 326 void lowerIDivRem(Variable *Dest, Variable *T, Variable *Src0R, Operand *Src1, 329 void lowerCLZ(Variable *Dest, Variable *ValLo, Variable *ValHi); 334 void _add(Variable *Dest, Variable *Src0, Operand *Src1, 336 Context.insert<InstARM32Add>(Dest, Src0, Src1, Pred); 338 void _adds(Variable *Dest, Variable *Src0, Operand *Src1, 341 Context.insert<InstARM32Add>(Dest, Src0, Src1, Pred, SetFlags); 343 Context.insert<InstFakeUse>(Dest); [all …]
|
D | IceInstX86Base.h | 219 InstX86Base(Cfg *Func, InstKindX86 Kind, SizeT Maxsrcs, Variable *Dest) in InstX86Base() 220 : InstTarget(Func, static_cast<InstKind>(Kind), Maxsrcs, Dest) {} in InstX86Base() 293 static InstX86GetIP *create(Cfg *Func, Variable *Dest) { in create() 294 return new (Func->allocate<InstX86GetIP>()) InstX86GetIP(Func, Dest); in create() 304 InstX86GetIP(Cfg *Func, Variable *Dest); 482 static InstX86Call *create(Cfg *Func, Variable *Dest, Operand *CallTarget) { in create() 484 InstX86Call(Func, Dest, CallTarget); in create() 495 InstX86Call(Cfg *Func, Variable *Dest, Operand *CallTarget); 518 static void emitIASGPRShiftDouble(const Cfg *Func, const Variable *Dest, 526 const Variable *Dest, Type SrcTy, [all …]
|
D | WasmTranslator.cpp | 339 auto *Dest = makeVariable(Vals[0].toOperand()->getType(), Control); in Phi() local 345 auto *Phi = InstPhi::create(Func, Count * 200, Dest); in Phi() 351 setDefiningInst(Dest, Phi); in Phi() 353 LOG(out << Node(Dest) << "\n"); in Phi() 354 return OperandNode(Dest); in Phi() 397 Variable *Dest = nullptr; in Binop() local 400 Dest = BoolDest; in Binop() 402 Dest = makeVariable(Left.toOperand()->getType()); in Binop() 408 InstArithmetic::create(Func, InstArithmetic::Add, Dest, Left, Right)); in Binop() 413 Dest, Left, Right)); in Binop() [all …]
|
D | IceVariableSplitting.cpp | 135 bool isDestUsedInBlock(const Variable *Dest) const { in isDestUsedInBlock() 136 return Map[getVarNum(Dest)].LastUseNode == Node; in isDestUsedInBlock() 191 Dest = Instr->getDest(); in setInst() 198 if (Dest != nullptr && Dest->getLinkedTo() != nullptr) { in setInst() 199 LinkedToFixups.emplace_back(Dest); in setInst() 237 assert(Dest == nullptr); in handleLabel() 261 assert(Dest == nullptr); in handleIntraBlockBranch() 280 const bool DestIsInf = isInf(Dest); in handleSimpleVarAssign() 281 const bool DestIsAllocable = isAllocable(Dest); in handleSimpleVarAssign() 291 if (DestIsInf && SrcIsAllocable && Dest->getType() == SrcVar->getType()) { in handleSimpleVarAssign() [all …]
|
D | IceInstARM32.cpp | 206 Variable *Dest = Instr->getDest(); in emitTwoAddr() local 207 assert(Dest == Instr->getSrc(0)); in emitTwoAddr() 209 Dest->emit(Func); in emitTwoAddr() 665 const Variable *Dest = getDest(); in emitIAS() local 666 Type DestTy = Dest->getType(); in emitIAS() 674 Asm->vaddqi(typeElementType(DestTy), Dest, getSrc(0), getSrc(1)); in emitIAS() 677 Asm->vaddqf(Dest, getSrc(0), getSrc(1)); in emitIAS() 680 Asm->vadds(Dest, getSrc(0), getSrc(1), CondARM32::AL); in emitIAS() 683 Asm->vaddd(Dest, getSrc(0), getSrc(1), CondARM32::AL); in emitIAS() 691 const Variable *Dest = getDest(); in emitIAS() local [all …]
|
D | IceInst.cpp | 79 Inst::Inst(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest) in Inst() argument 80 : Kind(Kind), Number(Func->newInstNumber()), Dest(Dest), MaxSrcs(MaxSrcs), in Inst() 220 if (Dest && !Dest->isRematerializable()) { in liveness() 221 SizeT VarNum = Liveness->getLiveIndex(Dest->getIndex()); in liveness() 225 if (LiveBegin && Liveness->getRangeMask(Dest->getIndex())) { in liveness() 273 InstAlloca::InstAlloca(Cfg *Func, Variable *Dest, Operand *ByteCount, in InstAlloca() argument 275 : InstHighLevel(Func, Inst::Alloca, 1, Dest), AlignInBytes(AlignInBytes) { in InstAlloca() 281 InstArithmetic::InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, in InstArithmetic() argument 283 : InstHighLevel(Func, Inst::Arithmetic, 2, Dest), Op(Op) { in InstArithmetic() 304 InstAssign::InstAssign(Cfg *Func, Variable *Dest, Operand *Source) in InstAssign() argument [all …]
|
D | IceInstX86BaseImpl.h | 61 InstImpl<TraitsType>::InstX86GetIP::InstX86GetIP(Cfg *Func, Variable *Dest) in InstX86GetIP() argument 62 : InstX86Base(Func, InstX86Base::GetIP, 0, Dest) {} in InstX86GetIP() 65 InstImpl<TraitsType>::InstX86Mul::InstX86Mul(Cfg *Func, Variable *Dest, in InstX86Mul() argument 68 : InstX86Base(Func, InstX86Base::Mul, 2, Dest) { in InstX86Mul() 74 InstImpl<TraitsType>::InstX86Shld::InstX86Shld(Cfg *Func, Variable *Dest, in InstX86Shld() argument 77 : InstX86Base(Func, InstX86Base::Shld, 3, Dest) { in InstX86Shld() 78 this->addSource(Dest); in InstX86Shld() 84 InstImpl<TraitsType>::InstX86Shrd::InstX86Shrd(Cfg *Func, Variable *Dest, in InstX86Shrd() argument 87 : InstX86Base(Func, InstX86Base::Shrd, 3, Dest) { in InstX86Shrd() 88 this->addSource(Dest); in InstX86Shrd() [all …]
|
D | IceInst.h | 104 Variable *getDest() const { return Dest; } in getDest() 194 void replaceDest(Variable *Var) { Dest = Var; } in replaceDest() 203 Inst(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest); 240 Variable *Dest; variable 263 InstHighLevel(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest) in InstHighLevel() argument 264 : Inst(Func, Kind, MaxSrcs, Dest) {} in InstHighLevel() 282 static InstAlloca *create(Cfg *Func, Variable *Dest, Operand *ByteCount, in create() argument 285 InstAlloca(Func, Dest, ByteCount, AlignInBytes); in create() 296 InstAlloca(Cfg *Func, Variable *Dest, Operand *ByteCount, 318 static InstArithmetic *create(Cfg *Func, OpKind Op, Variable *Dest, in create() argument [all …]
|
D | IceTargetLoweringX86BaseImpl.h | 1489 Variable *Dest = Instr->getDest(); 1502 assert(Dest->isRematerializable()); 1504 Context.insert<InstFakeDef>(Dest); 1529 _mov(Dest, T); 1531 _mov(Dest, esp); 1615 bool TargetX86Base<TraitsType>::optimizeScalarMul(Variable *Dest, Operand *Src0, 1621 Type Ty = Dest->getType(); 1626 _mov(Dest, T); 1630 _mov(Dest, Ctx->getConstantZero(Ty)); 1636 _mov(Dest, T); [all …]
|
D | IceTargetLoweringMIPS32.cpp | 228 Variable *Dest = Call->getDest(); in getCallStackArgumentsSizeBytes() local 230 if (Dest != nullptr && isVectorFloatingType(Dest->getType())) { in getCallStackArgumentsSizeBytes() 268 Variable *Dest = Instr->getDest(); in genTargetHelperCallFor() local 269 const Type DestTy = Dest ? Dest->getType() : IceType_void; in genTargetHelperCallFor() 298 Context.insert<InstAssign>(Dest, T); in genTargetHelperCallFor() 325 Context.insert<InstAssign>(Dest, T); in genTargetHelperCallFor() 353 Context.insert<InstAssign>(Dest, T); in genTargetHelperCallFor() 362 scalarizeArithmetic(Op, Dest, Instr->getSrc(0), Instr->getSrc(1)); in genTargetHelperCallFor() 394 auto *Call = Context.insert<InstCall>(MaxArgs, Dest, TargetHelper, in genTargetHelperCallFor() 410 auto *Call = Context.insert<InstCall>(MaxArgs, Dest, TargetHelper, in genTargetHelperCallFor() [all …]
|
D | IceInstARM32.h | 482 InstARM32(Cfg *Func, InstKindARM32 Kind, SizeT Maxsrcs, Variable *Dest) in InstARM32() argument 483 : InstTarget(Func, static_cast<InstKind>(Kind), Maxsrcs, Dest) {} in InstARM32() 501 InstARM32Pred(Cfg *Func, InstKindARM32 Kind, SizeT Maxsrcs, Variable *Dest, in InstARM32Pred() argument 503 : InstARM32(Func, Kind, Maxsrcs, Dest), Predicate(Predicate) {} in InstARM32Pred() 543 static InstARM32UnaryopGPR *create(Cfg *Func, Variable *Dest, Operand *Src, in create() argument 546 InstARM32UnaryopGPR(Func, Dest, Src, Predicate); in create() 567 InstARM32UnaryopGPR(Cfg *Func, Variable *Dest, Operand *Src, in InstARM32UnaryopGPR() argument 569 : InstARM32Pred(Func, K, 1, Dest, Predicate) { in InstARM32UnaryopGPR() 584 static InstARM32UnaryopFP *create(Cfg *Func, Variable *Dest, Variable *Src, in create() argument 587 InstARM32UnaryopFP(Func, Dest, Src, Predicate); in create() [all …]
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 52 Dest.TY##Val = Src1.TY##Val OP Src2.TY##Val; \ 55 static void executeFAddInst(GenericValue &Dest, GenericValue Src1, in executeFAddInst() argument 66 static void executeFSubInst(GenericValue &Dest, GenericValue Src1, in executeFSubInst() argument 77 static void executeFMulInst(GenericValue &Dest, GenericValue Src1, in executeFMulInst() argument 88 static void executeFDivInst(GenericValue &Dest, GenericValue Src1, in executeFDivInst() argument 99 static void executeFRemInst(GenericValue &Dest, GenericValue Src1, in executeFRemInst() argument 103 Dest.FloatVal = fmod(Src1.FloatVal, Src2.FloatVal); in executeFRemInst() 106 Dest.DoubleVal = fmod(Src1.DoubleVal, Src2.DoubleVal); in executeFRemInst() 116 Dest.IntVal = APInt(1,Src1.IntVal.OP(Src2.IntVal)); \ 122 Dest.AggregateVal.resize( Src1.AggregateVal.size() ); \ [all …]
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 50 Dest.TY##Val = Src1.TY##Val OP Src2.TY##Val; \ 53 static void executeFAddInst(GenericValue &Dest, GenericValue Src1, in executeFAddInst() argument 64 static void executeFSubInst(GenericValue &Dest, GenericValue Src1, in executeFSubInst() argument 75 static void executeFMulInst(GenericValue &Dest, GenericValue Src1, in executeFMulInst() argument 86 static void executeFDivInst(GenericValue &Dest, GenericValue Src1, in executeFDivInst() argument 97 static void executeFRemInst(GenericValue &Dest, GenericValue Src1, in executeFRemInst() argument 101 Dest.FloatVal = fmod(Src1.FloatVal, Src2.FloatVal); in executeFRemInst() 104 Dest.DoubleVal = fmod(Src1.DoubleVal, Src2.DoubleVal); in executeFRemInst() 114 Dest.IntVal = APInt(1,Src1.IntVal.OP(Src2.IntVal)); \ 123 Dest.IntVal = APInt(1,(void*)(intptr_t)Src1.PointerVal OP \ [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | common.h | 26 #define vp8_copy(Dest, Src) \ argument 28 assert(sizeof(Dest) == sizeof(Src)); \ 29 memcpy(Dest, Src, sizeof(Src)); \ 34 #define vp8_copy_array(Dest, Src, N) \ argument 36 assert(sizeof(*Dest) == sizeof(*Src)); \ 37 memcpy(Dest, Src, N * sizeof(*Src)); \ 40 #define vp8_zero(Dest) memset(&Dest, 0, sizeof(Dest)); argument 42 #define vp8_zero_array(Dest, N) memset(Dest, 0, N * sizeof(*Dest)); argument
|
/external/eigen/Eigen/src/Core/ |
D | EigenBase.h | 69 template<typename Dest> 71 inline void evalTo(Dest& dst) const in evalTo() 75 template<typename Dest> 77 inline void addTo(Dest& dst) const in addTo() 81 typename Dest::PlainObject res(rows(),cols()); in addTo() 87 template<typename Dest> 89 inline void subTo(Dest& dst) const in subTo() 93 typename Dest::PlainObject res(rows(),cols()); in subTo() 99 template<typename Dest> 100 EIGEN_DEVICE_FUNC inline void applyThisOnTheRight(Dest& dst) const in applyThisOnTheRight() [all …]
|
D | GeneralProduct.h | 186 template<typename Lhs, typename Rhs, typename Dest> 187 static void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& alpha) 189 Transpose<Dest> destT(dest); 198 template<typename Lhs, typename Rhs, typename Dest> 199 …static inline void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& al… 203 typedef typename Dest::Scalar ResScalar; 204 typedef typename Dest::RealScalar RealScalar; 220 …typedef typename conditional<Dest::IsVectorAtCompileTime, Dest, typename Dest::ColXpr>::type Actua… 292 template<typename Lhs, typename Rhs, typename Dest> 293 static void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& alpha) [all …]
|
/external/libchrome/base/ |
D | bit_cast.h | 62 template <class Dest, class Source> 63 inline Dest bit_cast(const Source& source) { in bit_cast() 64 static_assert(sizeof(Dest) == sizeof(Source), in bit_cast() 73 static_assert(std::is_trivially_copyable<Dest>::value, in bit_cast() 79 static_assert(__is_trivially_copyable(Dest), in bit_cast() 87 static_assert(__has_trivial_copy(Dest), in bit_cast() 95 Dest dest; in bit_cast()
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseSolverBase.h | 21 template<typename Decomposition, typename Rhs, typename Dest> 22 typename enable_if<Rhs::ColsAtCompileTime!=1 && Dest::ColsAtCompileTime!=1>::type 23 solve_sparse_through_dense_panels(const Decomposition &dec, const Rhs& rhs, Dest &dest) in solve_sparse_through_dense_panels() 25 EIGEN_STATIC_ASSERT((Dest::Flags&RowMajorBit)==0,THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); in solve_sparse_through_dense_panels() 26 typedef typename Dest::Scalar DestScalar; in solve_sparse_through_dense_panels() 45 template<typename Decomposition, typename Rhs, typename Dest> 46 typename enable_if<Rhs::ColsAtCompileTime==1 || Dest::ColsAtCompileTime==1>::type 47 solve_sparse_through_dense_panels(const Decomposition &dec, const Rhs& rhs, Dest &dest) in solve_sparse_through_dense_panels() 49 typedef typename Dest::Scalar DestScalar; in solve_sparse_through_dense_panels() 110 template<typename Rhs,typename Dest> [all …]
|
D | SparseProduct.h | 40 template<typename Dest> 41 static void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs) 43 evalTo(dst, lhs, rhs, typename evaluator_traits<Dest>::Shape()); 47 template<typename Dest,typename ActualLhs> 48 …static void addTo(Dest& dst, const ActualLhs& lhs, const Rhs& rhs, typename enable_if<is_same<type… 55 … typename remove_all<RhsNested>::type, Dest>::run(lhsNested,rhsNested,dst); 59 template<typename Dest> 60 …static void subTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, typename enable_if<is_same<typename e… 68 template<typename Dest> 69 static void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, SparseShape) [all …]
|
/external/llvm/lib/CodeGen/MIRParser/ |
D | MIParser.cpp | 127 bool parseRegisterOperand(MachineOperand &Dest, 129 bool parseImmediateOperand(MachineOperand &Dest); 137 bool parseTypedImmediateOperand(MachineOperand &Dest); 138 bool parseFPImmediateOperand(MachineOperand &Dest); 140 bool parseMBBOperand(MachineOperand &Dest); 142 bool parseStackObjectOperand(MachineOperand &Dest); 144 bool parseFixedStackObjectOperand(MachineOperand &Dest); 146 bool parseGlobalAddressOperand(MachineOperand &Dest); 147 bool parseConstantPoolIndexOperand(MachineOperand &Dest); 148 bool parseSubRegisterIndexOperand(MachineOperand &Dest); [all …]
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | StreamReader.cpp | 34 Error StreamReader::readInteger(uint16_t &Dest) { in readInteger() argument 38 Dest = *P; in readInteger() 42 Error StreamReader::readInteger(uint32_t &Dest) { in readInteger() argument 46 Dest = *P; in readInteger() 50 Error StreamReader::readZeroString(StringRef &Dest) { in readZeroString() argument 68 Dest = StringRef(reinterpret_cast<const char *>(Data.begin()), Data.size()); in readZeroString() 75 Error StreamReader::readFixedString(StringRef &Dest, uint32_t Length) { in readFixedString() argument 79 Dest = StringRef(reinterpret_cast<const char *>(Bytes.begin()), Bytes.size()); in readFixedString()
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
D | LeastSquareConjugateGradient.h | 26 template<typename MatrixType, typename Rhs, typename Dest, typename Preconditioner> 28 void least_square_conjugate_gradient(const MatrixType& mat, const Rhs& rhs, Dest& x, in least_square_conjugate_gradient() 30 typename Dest::RealScalar& tol_error) in least_square_conjugate_gradient() 34 typedef typename Dest::RealScalar RealScalar; in least_square_conjugate_gradient() 35 typedef typename Dest::Scalar Scalar; in least_square_conjugate_gradient() 184 template<typename Rhs,typename Dest> 185 void _solve_with_guess_impl(const Rhs& b, Dest& x) const 195 typename Dest::ColXpr xj(x,j); 205 template<typename Rhs,typename Dest> 206 void _solve_impl(const MatrixBase<Rhs>& b, Dest& x) const
|
/external/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 36 AggValueSlot Dest; member in __anonb08d69570111::AggExprEmitter 45 return !(Dest.requiresGCollection() || Dest.isPotentiallyAliased()); in shouldUseDestForReturnSlot() 52 return ReturnValueSlot(Dest.getAddress(), Dest.isVolatile(), in getReturnValueSlot() 57 if (!Dest.isIgnored()) return Dest; in EnsureSlot() 61 if (!Dest.isIgnored()) return; in EnsureDest() 62 Dest = CGF.CreateAggTemp(T, "agg.tmp.ensured"); in EnsureDest() 66 AggExprEmitter(CodeGenFunction &cgf, AggValueSlot Dest, bool IsResultUnused) in AggExprEmitter() argument 67 : CGF(cgf), Builder(CGF.Builder), Dest(Dest), in AggExprEmitter() 221 CGF.EmitAtomicLoad(LV, E->getExprLoc(), Dest); in EmitAggLoadOfLValue() 264 assert(Dest.getPointer() != src.getAggregatePointer()); in EmitMoveFromReturnSlot() [all …]
|