Home
last modified time | relevance | path

Searched refs:ElemType (Results 1 – 25 of 34) sorted by relevance

12

/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Ddefault.pass.cpp46 template <class ElemType>
51 using U = std::unique_ptr<ElemType, void (*)(void*)>; in test_sfinae()
56 using Del = CDeleter<ElemType>; in test_sfinae()
57 using U1 = std::unique_ptr<ElemType, NonDefaultDeleter>; in test_sfinae()
58 using U2 = std::unique_ptr<ElemType, Del&>; in test_sfinae()
59 using U3 = std::unique_ptr<ElemType, Del const&>; in test_sfinae()
67 template <class ElemType>
71 using U1 = std::unique_ptr<ElemType>; in test_basic()
72 using U2 = std::unique_ptr<ElemType, Deleter<ElemType> >; in test_basic()
78 std::unique_ptr<ElemType> p; in test_basic()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_batchnorm_runner.cc134 template <typename ElemType>
138 auto output_buf = se::DeviceMemory<ElemType>(params->output); in RunCudnnBatchNormForwardInferenceImpl()
140 se::DeviceMemory<ElemType>(params->common.operand), in RunCudnnBatchNormForwardInferenceImpl()
164 template <typename ElemType>
168 auto output_data = se::DeviceMemory<ElemType>(params->output_data); in RunCudnnBatchNormForwardTrainingImpl()
170 se::DeviceMemory<ElemType>(params->common.operand), in RunCudnnBatchNormForwardTrainingImpl()
195 template <typename ElemType>
199 auto output_grad_data = se::DeviceMemory<ElemType>(params->output_grad_data); in RunCudnnBatchNormBackwardImpl()
201 se::DeviceMemory<ElemType>(params->grad_output), // in RunCudnnBatchNormBackwardImpl()
202 se::DeviceMemory<ElemType>(params->common.operand), // in RunCudnnBatchNormBackwardImpl()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DTestUtil.h305 using ElemType = \
308 static_assert(sizeof(ElemType) == sizeof(Container), \
310 const ElemType *const RhsPtr = \
311 reinterpret_cast<const ElemType *const>(&Rhs); \
312 const ElemType *const LhsPtr = \
313 reinterpret_cast<const ElemType *const>(&Lhs); \
314 ElemType Ret[N]; \
335 using ElemType = \
338 static_assert(sizeof(ElemType) == sizeof(Container), \
344 ElemType Ret[N]; \
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAGHVX.cpp319 using ElemType = int; typedef
320 static constexpr ElemType Ignore = ElemType(-1);
332 PermNetwork(ArrayRef<ElemType> Ord, unsigned Mult = 1) { in PermNetwork()
362 uint8_t ctl(ElemType Pos, unsigned Step) const { in ctl()
374 std::vector<ElemType> Order;
380 ForwardDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} in ForwardDeltaNetwork()
390 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step);
394 ReverseDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} in ReverseDeltaNetwork()
404 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step);
408 BenesNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord, 2) {} in BenesNetwork()
[all …]
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DTestUtil.h417 using ElemType = \
420 static_assert(sizeof(ElemType) == sizeof(Container), \
422 const ElemType *const RhsPtr = \
423 reinterpret_cast<const ElemType *const>(&Rhs); \
424 const ElemType *const LhsPtr = \
425 reinterpret_cast<const ElemType *const>(&Lhs); \
426 ElemType Ret[N]; \
447 using ElemType = \
450 static_assert(sizeof(ElemType) == sizeof(Container), \
456 ElemType Ret[N]; \
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp63 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); in evenFlexibleArraySize() local
67 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
73 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
DMallocSizeofChecker.cpp166 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local
169 T = ElemType; in compatibleWithArrayType()
/external/tensorflow/tensorflow/core/kernels/
Dtensor_array_ops.cc357 key, tensor_array->ElemType(), *tensor_array_output_handle, in CreateTensorArray()
437 ctx, tensor_value->dtype() == tensor_array->ElemType(), in Compute()
439 DataTypeString(tensor_array->ElemType()), in Compute()
521 ctx, dtype_ == tensor_array->ElemType(), in Compute()
523 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute()
608 ctx, dtype_ == tensor_array->ElemType(), in Compute()
610 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute()
834 ctx, dtype_ == tensor_array->ElemType(), in Compute()
836 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute()
1052 ctx, tensor_value->dtype() == tensor_array->ElemType(), in Compute()
[all …]
Dstack.cc97 DataType ElemType() { return elem_type_; } in ElemType() function in tensorflow::Stack
226 if (ctx->input_dtype(1) != stack->ElemType()) { in ComputeAsync()
228 stack->ElemType(), " but got ", in ComputeAsync()
Dconv_2d_gpu.h927 using ElemType = typename TransposeElemType<sizeof(T)>::type;
928 static_assert(alignof(T) >= alignof(ElemType), "Unexpected data alignment.");
929 BatchNarrowMatrixTransposeDispatcher<ElemType, 32, 2>::DoIt(
931 reinterpret_cast<const ElemType*>(input), input_dims,
932 reinterpret_cast<ElemType*>(output));
/external/llvm/lib/IR/
DDataLayout.cpp761 Type *ElemType = GV->getValueType(); in getPreferredAlignment() local
762 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
767 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
774 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlignment()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDataLayout.cpp811 Type *ElemType = GV->getValueType(); in getPreferredAlignment() local
812 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
817 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
824 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlignment()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Dwasm2yaml.cpp37 T.ElemType = Table.ElemType; in make_table()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DWasm.h55 uint8_t ElemType; member
/external/clang/lib/Sema/
DSemaInit.cpp261 InitListExpr *IList, QualType ElemType,
1094 QualType ElemType, in CheckSubElementType() argument
1100 if (ElemType->isReferenceType()) in CheckSubElementType()
1101 return CheckReferenceType(Entity, IList, ElemType, Index, in CheckSubElementType()
1106 IsStringInit(SubInitList->getInit(0), ElemType, SemaRef.Context) == in CheckSubElementType()
1111 = getStructuredSubobjectInit(IList, Index, ElemType, in CheckSubElementType()
1114 CheckExplicitInitList(Entity, SubInitList, ElemType, in CheckSubElementType()
1133 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType()
1174 } else if (ElemType->isScalarType() || ElemType->isAtomicType()) { in CheckSubElementType()
1176 return CheckScalarType(Entity, IList, ElemType, Index, in CheckSubElementType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/WebAssembly/
Dcomdat.ll44 ; CHECK-NEXT: ElemType: ANYFUNC
Dglobal-ctor-dtor.ll33 ; CHECK-NEXT: ElemType: ANYFUNC
Dweak-alias.ll65 ; CHECK-NEXT: ElemType: ANYFUNC
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2wasm.cpp299 writeUint8(OS,Import.TableImport.ElemType); in writeSectionContent()
340 writeUint8(OS, Table.ElemType); in writeSectionContent()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DItaniumDemangle.cpp3036 Node *ElemType = parseType(); in parseVectorType() local
3037 if (ElemType == nullptr) in parseVectorType()
3039 return make<VectorType>(ElemType, DimensionNumber); in parseVectorType()
3048 Node *ElemType = parseType(); in parseVectorType() local
3049 if (!ElemType) in parseVectorType()
3051 return make<VectorType>(ElemType, DimExpr); in parseVectorType()
3053 Node *ElemType = parseType(); in parseVectorType() local
3054 if (!ElemType) in parseVectorType()
3056 return make<VectorType>(ElemType, StringView()); in parseVectorType()
/external/libcxxabi/src/demangle/
DItaniumDemangle.h3285 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3286 if (ElemType == nullptr) in parseVectorType()
3288 return make<VectorType>(ElemType, DimensionNumber); in parseVectorType()
3297 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3298 if (!ElemType) in parseVectorType()
3300 return make<VectorType>(ElemType, DimExpr); in parseVectorType()
3302 Node *ElemType = getDerived().parseType(); in parseVectorType() local
3303 if (!ElemType) in parseVectorType()
3305 return make<VectorType>(ElemType, StringView()); in parseVectorType()
/external/v8/src/compiler/
Dtyper.cc2187 #define TYPED_ARRAY_CASE(ElemType, type, TYPE, ctype) \ in TypeLoadTypedElement() argument
2188 case kExternal##ElemType##Array: \ in TypeLoadTypedElement()
2189 return typer_->cache_->k##ElemType; in TypeLoadTypedElement()
2198 #define TYPED_ARRAY_CASE(ElemType, type, TYPE, ctype) \ in TypeLoadDataViewElement() argument
2199 case kExternal##ElemType##Array: \ in TypeLoadDataViewElement()
2200 return typer_->cache_->k##ElemType; in TypeLoadDataViewElement()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DWasmObjectFile.cpp201 Table.ElemType = readUint8(Ctx); in readTable()
738 if (Im.Table.ElemType != wasm::WASM_TYPE_ANYFUNC) in parseImportSection()
776 if (Tables.back().ElemType != wasm::WASM_TYPE_ANYFUNC) { in parseTableSection()
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp2129 QualType ElemType = VT->getElementType(); in bindVector() local
2140 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx); in bindVector()
2142 if (ElemType->isArrayType()) in bindVector()
2144 else if (ElemType->isStructureOrClassType()) in bindVector()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/
DWasmYAML.h54 TableType ElemType; member

12