Home
last modified time | relevance | path

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

/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/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/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.cc334 key, tensor_array->ElemType(), *tensor_array_output_handle, in CreateTensorArray()
407 ctx, tensor_value->dtype() == tensor_array->ElemType(), in Compute()
409 DataTypeString(tensor_array->ElemType()), in Compute()
491 ctx, dtype_ == tensor_array->ElemType(), in Compute()
493 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute()
577 ctx, dtype_ == tensor_array->ElemType(), in Compute()
579 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute()
802 ctx, dtype_ == tensor_array->ElemType(), in Compute()
804 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute()
1020 ctx, tensor_value->dtype() == tensor_array->ElemType(), in Compute()
[all …]
Dstack_ops.cc103 DataType ElemType() { return elem_type_; } in ElemType() function in tensorflow::Stack
260 if (ctx->input_dtype(1) != stack->ElemType()) { in ComputeAsync()
262 stack->ElemType(), " but got ", in ComputeAsync()
Dconv_ops_gpu_3.cu.cc884 using ElemType = typename TransposeElemType<sizeof(T)>::type; in SwapDimension1And2InTensor3WithNarrowMatrices() typedef
885 static_assert(alignof(T) >= alignof(ElemType), "Unexpected data alignment."); in SwapDimension1And2InTensor3WithNarrowMatrices()
886 BatchNarrowMatrixTransposeDispatcher<ElemType, 32, 2>::DoIt( in SwapDimension1And2InTensor3WithNarrowMatrices()
888 reinterpret_cast<const ElemType*>(input), input_dims, in SwapDimension1And2InTensor3WithNarrowMatrices()
889 reinterpret_cast<ElemType*>(output)); in SwapDimension1And2InTensor3WithNarrowMatrices()
Dtensor_array.h245 DataType ElemType() const { return dtype_; } in ElemType() function
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVType.cpp263 :SPIRVType(M, 4, OpTypeArray, TheId), ElemType(TheElemType), in SPIRVTypeArray()
271 ElemType->validate(); in validate()
281 _SPIRV_IMP_ENCDEC3(SPIRVTypeArray, Id, ElemType, Length) in _SPIRV_IMP_ENCDEC3() argument
DSPIRVType.h299 SPIRVTypeArray():SPIRVType(OpTypeArray), ElemType(nullptr), in SPIRVTypeArray()
302 SPIRVType *getElementType() const { return ElemType;} in getElementType()
308 std::vector<SPIRVEntry*> Operands(2, ElemType); in getNonLiteralOperands()
318 SPIRVType *ElemType; // Element Type
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetData.cpp573 Type *ElemType = GV->getType()->getElementType(); in getPreferredAlignment() local
574 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
579 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
586 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlignment()
/external/libchrome/base/
Dtuple.h59 using ElemType = typename std::tuple_element<I, std::tuple<Ts...>>::type;
60 return std::forward<ElemType>(std::get<I>(t));
/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/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 …]
DSemaOpenMP.cpp8380 auto ElemType = Context.getBaseElementType(Type).getNonReferenceType(); in ActOnOpenMPFirstprivateClause() local
8387 bool IsConstant = ElemType.isConstant(Context); in ActOnOpenMPFirstprivateClause()
8558 buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, D->getName()); in ActOnOpenMPFirstprivateClause()
8559 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, ElemType, ELoc); in ActOnOpenMPFirstprivateClause()
8561 ElemType = ElemType.getUnqualifiedType(); in ActOnOpenMPFirstprivateClause()
8562 auto *VDInitTemp = buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, in ActOnOpenMPFirstprivateClause()
9959 auto ElemType = Context.getBaseElementType(Type).getNonReferenceType(); in ActOnOpenMPCopyinClause() local
9961 buildVarDecl(*this, DE->getLocStart(), ElemType.getUnqualifiedType(), in ActOnOpenMPCopyinClause()
9964 *this, SrcVD, ElemType.getUnqualifiedType(), DE->getExprLoc()); in ActOnOpenMPCopyinClause()
9966 buildVarDecl(*this, DE->getLocStart(), ElemType, ".copyin.dst", in ActOnOpenMPCopyinClause()
[all …]
DSemaType.cpp7134 QualType ElemType = Context.getBaseElementType(T); in RequireLiteralType() local
7135 if ((isCompleteType(Loc, ElemType) || ElemType->isVoidType()) && in RequireLiteralType()
7144 const RecordType *RT = ElemType->getAs<RecordType>(); in RequireLiteralType()
7153 if (RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T)) in RequireLiteralType()
/external/v8/src/compiler/
Dtyper.cc1855 #define TYPED_ARRAY_CASE(ElemType, type, TYPE, ctype, size) \ in TypeLoadBuffer() argument
1856 case kExternal##ElemType##Array: \ in TypeLoadBuffer()
1857 return Type::Union(typer_->cache_.k##ElemType, Type::Undefined(), zone()); in TypeLoadBuffer()
1872 #define TYPED_ARRAY_CASE(ElemType, type, TYPE, ctype, size) \ in TypeLoadTypedElement() argument
1873 case kExternal##ElemType##Array: \ in TypeLoadTypedElement()
1874 return typer_->cache_.k##ElemType; in TypeLoadTypedElement()
/external/libcxxabi/src/
Dcxa_demangle.cpp2147 Node *ElemType = parseType(); in parseVectorType() local
2148 if (ElemType == nullptr) in parseVectorType()
2150 return make<VectorType>(ElemType, DimensionNumber); in parseVectorType()
2159 Node *ElemType = parseType(); in parseVectorType() local
2160 if (!ElemType) in parseVectorType()
2162 return make<VectorType>(ElemType, DimExpr); in parseVectorType()
2164 Node *ElemType = parseType(); in parseVectorType() local
2165 if (!ElemType) in parseVectorType()
2167 return make<VectorType>(ElemType, StringView()); in parseVectorType()
/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/clang/lib/CodeGen/
DCGExprConstant.cpp860 llvm::Type *ElemType = AType->getElementType(); in EmitDesignatedInitUpdater() local
883 bool RewriteType = (fillC && fillC->getType() != ElemType); in EmitDesignatedInitUpdater()
901 RewriteType |= (Elts[i]->getType() != ElemType); in EmitDesignatedInitUpdater()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4350 Type *ElemType = cast<PointerType>(PtrType)->getElementType(); in typeCheckLoadStoreInst() local
4352 if (ValType && ValType != ElemType) in typeCheckLoadStoreInst()
4355 if (!PointerType::isLoadableOrStorableType(ElemType)) in typeCheckLoadStoreInst()
/external/clang/lib/Serialization/
DASTReader.cpp5230 QualType ElemType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5231 return Context.getComplexType(ElemType); in readTypeRecord()