Home
last modified time | relevance | path

Searched refs:TargetType (Results 1 – 25 of 31) sorted by relevance

12

/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorConversion.h23 template<typename TargetType, typename XprType>
24 struct traits<TensorConversionOp<TargetType, XprType> >
27 typedef TargetType Scalar;
37 template<typename TargetType, typename XprType>
38 struct eval<TensorConversionOp<TargetType, XprType>, Eigen::Dense>
40 typedef const TensorConversionOp<TargetType, XprType>& type;
43 template<typename TargetType, typename XprType>
44 struct nested<TensorConversionOp<TargetType, XprType>, 1, typename eval<TensorConversionOp<TargetTy…
46 typedef TensorConversionOp<TargetType, XprType> type;
144 template<typename TargetType, typename XprType>
[all …]
DTensorCostModel.h48 template <typename SrcType, typename TargetType>
51 internal::scalar_cast_op<SrcType, TargetType> >::Cost; in CastCost()
DTensorForwardDeclarations.h41 template<typename TargetType, typename XprType> class TensorConversionOp;
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dalloc_function.pass.cpp74 template <class TargetType, class FuncType, class AllocType>
80 TargetType target = &MemFunClass::foo; in test_MemFunClass()
83 assert(f.template target<TargetType>()); in test_MemFunClass()
84 assert(*f.template target<TargetType>() == target); in test_MemFunClass()
89 assert(f2.template target<TargetType>()); in test_MemFunClass()
90 assert(*f2.template target<TargetType>() == target); in test_MemFunClass()
Dalloc_F.pass.cpp77 template <class TargetType, class FuncType, class AllocType>
82 TargetType target = &MemFunClass::foo; in test_MemFunClass()
86 assert(f2.template target<TargetType>()); in test_MemFunClass()
87 assert(*f2.template target<TargetType>() == target); in test_MemFunClass()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dvalidation_test_input_parser.cc86 template <typename TargetType, typename InputType>
88 if (value > std::numeric_limits<TargetType>::max() || in ConvertAndAppendData()
89 value < std::numeric_limits<TargetType>::min()) { in ConvertAndAppendData()
92 AppendData(static_cast<TargetType>(value)); in ConvertAndAppendData()
96 template <typename TargetType, typename InputType>
98 if (value > std::numeric_limits<TargetType>::max() || in ConvertAndFillData()
99 value < std::numeric_limits<TargetType>::min()) { in ConvertAndFillData()
102 TargetType target_value = static_cast<TargetType>(value); in ConvertAndFillData()
103 assert(pos + sizeof(TargetType) <= data_->size()); in ConvertAndFillData()
104 memcpy(&(*data_)[pos], &target_value, sizeof(TargetType)); in ConvertAndFillData()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBasicValueFactory.h105 APSIntType TargetType(To); in Convert()
106 if (TargetType == APSIntType(From)) in Convert()
109 return getValue(TargetType.convert(From)); in Convert()
113 APSIntType TargetType = getAPSIntType(T); in Convert() local
114 if (TargetType == APSIntType(From)) in Convert()
117 return getValue(TargetType.convert(From)); in Convert()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp295 SVal StoreManager::evalDynamicCast(SVal Base, QualType TargetType, in evalDynamicCast() argument
304 TargetType = TargetType->getPointeeType(); in evalDynamicCast()
305 assert(!TargetType.isNull()); in evalDynamicCast()
306 const CXXRecordDecl *TargetClass = TargetType->getAsCXXRecordDecl(); in evalDynamicCast()
307 if (!TargetClass && !TargetType->isVoidType()) in evalDynamicCast()
320 if (!TargetType->isVoidType() && MRClass->hasDefinition()) { in evalDynamicCast()
336 if (TargetType->isVoidType()) in evalDynamicCast()
/external/turbine/java/com/google/turbine/lower/
DLower.java55 import com.google.turbine.bytecode.ClassFile.TypeAnnotationInfo.TargetType;
383 typeAnnotations, f.type(), TargetType.FIELD, TypeAnnotationInfo.EMPTY_TARGET); in lowerField()
592 TargetType.SUPERTYPE, in classTypeAnnotations()
598 result, i, TargetType.SUPERTYPE, new TypeAnnotationInfo.SuperTypeTarget(idx++)); in classTypeAnnotations()
604 TargetType.CLASS_TYPE_PARAMETER, in classTypeAnnotations()
605 TargetType.CLASS_TYPE_PARAMETER_BOUND); in classTypeAnnotations()
616 TargetType.METHOD_TYPE_PARAMETER, in methodTypeAnnotations()
617 TargetType.METHOD_TYPE_PARAMETER_BOUND); in methodTypeAnnotations()
622 lowerTypeAnnotations(result, e, TargetType.METHOD_THROWS, new ThrowsTarget(idx++)); in methodTypeAnnotations()
630 TargetType.METHOD_RECEIVER_PARAMETER, in methodTypeAnnotations()
[all …]
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp1845 static bool isIntTruncCastValid(Ice::Type SourceType, Ice::Type TargetType) { in isIntTruncCastValid() argument
1846 return Ice::isIntegerType(SourceType) && Ice::isIntegerType(TargetType) && in isIntTruncCastValid()
1847 simplifyOutCommonVectorType(SourceType, TargetType) && in isIntTruncCastValid()
1848 getScalarIntBitWidth(SourceType) > getScalarIntBitWidth(TargetType); in isIntTruncCastValid()
1854 Ice::Type TargetType) { in isFloatTruncCastValid() argument
1855 return simplifyOutCommonVectorType(SourceType, TargetType) && in isFloatTruncCastValid()
1856 SourceType == Ice::IceType_f64 && TargetType == Ice::IceType_f32; in isFloatTruncCastValid()
1861 static bool isIntExtCastValid(Ice::Type SourceType, Ice::Type TargetType) { in isIntExtCastValid() argument
1862 return isIntTruncCastValid(TargetType, SourceType); in isIntExtCastValid()
1867 static bool isFloatExtCastValid(Ice::Type SourceType, Ice::Type TargetType) { in isFloatExtCastValid() argument
[all …]
/external/vogar/src/vogar/
DVogar.java557 private enum TargetType { enum in Vogar
568 TargetType(File defaultDeviceDir) { in TargetType() method in Vogar.TargetType
592 TargetType targetType; in run()
594 targetType = TargetType.SSH; in run()
596 targetType = TargetType.LOCAL; in run()
598 targetType = TargetType.ADB_CHROOT; in run()
600 targetType = TargetType.ADB; in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp508 Type *TargetType = in cloneConstantExprWithNewAddressSpace() local
517 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace()
522 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
523 return ConstantExpr::getAddrSpaceCast(CE, TargetType); in cloneConstantExprWithNewAddressSpace()
533 CE->getOperand(0), ConstantExpr::getAddrSpaceCast(Src0, TargetType), in cloneConstantExprWithNewAddressSpace()
534 ConstantExpr::getAddrSpaceCast(Src1, TargetType)); in cloneConstantExprWithNewAddressSpace()
566 NewOperands, TargetType, /*OnlyIfReduced=*/false, in cloneConstantExprWithNewAddressSpace()
570 return CE->getWithOperands(NewOperands, TargetType); in cloneConstantExprWithNewAddressSpace()
/external/llvm/lib/Target/NVPTX/
DNVPTXInferAddressSpaces.cpp335 Type *TargetType = in cloneConstantExprWithNewAddressSpace() local
344 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace()
368 NewOperands, TargetType, /*OnlyIfReduced=*/false, in cloneConstantExprWithNewAddressSpace()
372 return CE->getWithOperands(NewOperands, TargetType); in cloneConstantExprWithNewAddressSpace()
/external/turbine/java/com/google/turbine/bytecode/
DClassFile.java496 private final TargetType targetType;
502 TargetType targetType, Target target, TypePath path, AnnotationInfo anno) { in TypeAnnotationInfo()
518 public TargetType targetType() { in targetType()
535 public enum TargetType { enum in ClassFile.TypeAnnotationInfo
549 TargetType(int tag) { in TargetType() method in ClassFile.TypeAnnotationInfo.TargetType
/external/Microsoft-GSL/include/gsl/
Dmulti_span508 template <typename SourceType, typename TargetType>
510 : public std::integral_constant<bool, (SourceType::TotalSize >= TargetType::TotalSize ||
511 TargetType::TotalSize == dynamic_range ||
513 TargetType::TotalSize == 0)>
601 template <typename SourceType, typename TargetType, std::size_t Rank>
604 template <std::size_t Rank, typename SourceType, typename TargetType,
606 typename TargetType::Base, Rank>>
607 static auto helpBoundsRangeConvertible(SourceType, TargetType, std::true_type) -> Ret;
609 template <std::size_t Rank, typename SourceType, typename TargetType>
610 static auto helpBoundsRangeConvertible(SourceType, TargetType, ...) -> std::false_type;
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_breakbefore.cpp21 {XFA_Attribute::TargetType, XFA_AttributeType::Enum,
Dcxfa_breakafter.cpp21 {XFA_Attribute::TargetType, XFA_AttributeType::Enum,
Dcxfa_node_statics.cpp793 {0xa6118c89 /* targetType */, XFA_Attribute::TargetType},
2147 case XFA_Attribute::TargetType: in AttributeToName()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMSubtarget.h162 } TargetType; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h716 Type *TargetType = nullptr; in getGEPCost() local
724 TargetType = GTI.getIndexedType(); in getGEPCost()
756 TargetType, const_cast<GlobalValue *>(BaseGV), in getGEPCost()
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp611 enum TargetType enum in deqp::gls::BeforeDrawValidator
619 BeforeDrawValidator (const glw::Functions& gl, glw::GLuint target, TargetType targetType);
629 const TargetType m_targetType;
635 BeforeDrawValidator::BeforeDrawValidator (const glw::Functions& gl, glw::GLuint target, TargetType in BeforeDrawValidator()
/external/pdfium/xfa/fxfa/
Dfxfa_basic.h524 TargetType, enumerator
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1090 QualType TargetType = SemaRef.SubstType(NTTP->getType(), TemplateArgs, in TransformTemplateParmRefExpr() local
1093 if (TargetType.isNull()) in TransformTemplateParmRefExpr()
1096 return new (SemaRef.Context) SubstNonTypeTemplateParmPackExpr(TargetType, in TransformTemplateParmRefExpr()
DSemaOverload.cpp10274 const QualType& TargetType; member in __anon3a52d03c0d11::AddressOfFunctionResolver
10294 const QualType &TargetType, bool Complain) in AddressOfFunctionResolver() argument
10295 : S(S), SourceExpr(SourceExpr), TargetType(TargetType), in AddressOfFunctionResolver()
10298 !!TargetType->getAs<MemberPointerType>()), in AddressOfFunctionResolver()
10407 TargetFunctionType = S.ExtractUnqualifiedFunctionType(TargetType); in ExtractUnqualifiedFunctionTypeFromTargetType()
10621 << TargetType << OvlExpr->getSourceRange(); in ComplainIsInvalidFormOfPointerToMemberFunction()
10636 << OvlExpr->getName() << TargetType; in ComplainOfInvalidConversion()
10681 QualType TargetType, in ResolveAddressOfOverloadedFunction() argument
10687 AddressOfFunctionResolver Resolver(*this, AddressOfExpr, TargetType, in ResolveAddressOfOverloadedFunction()
DSemaTemplateDeduction.cpp4433 bool Complain, QualType TargetType) { in getMostSpecialized() argument
4493 if (!TargetType.isNull()) in getMostSpecialized()
4495 TargetType); in getMostSpecialized()

12