Home
last modified time | relevance | path

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

123

/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()
/external/llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dalloc_function.pass.cpp76 template <class TargetType, class FuncType, class AllocType>
82 TargetType target = &MemFunClass::foo; in test_MemFunClass()
85 RTTI_ASSERT(f.template target<TargetType>()); in test_MemFunClass()
86 RTTI_ASSERT(*f.template target<TargetType>() == target); in test_MemFunClass()
91 RTTI_ASSERT(f2.template target<TargetType>()); in test_MemFunClass()
92 RTTI_ASSERT(*f2.template target<TargetType>() == target); in test_MemFunClass()
Dalloc_F.pass.cpp81 template <class TargetType, class FuncType, class AllocType>
86 TargetType target = &MemFunClass::foo; in test_MemFunClass()
90 assert(f2.template target<TargetType>()); in test_MemFunClass()
91 assert(*f2.template target<TargetType>() == target); in test_MemFunClass()
/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/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBasicValueFactory.h151 APSIntType TargetType(To); in Convert()
152 if (TargetType == APSIntType(From)) in Convert()
155 return getValue(TargetType.convert(From)); in Convert()
159 APSIntType TargetType = getAPSIntType(T); in Convert() local
160 return Convert(TargetType, From); in Convert()
163 const llvm::APSInt &Convert(APSIntType TargetType, const llvm::APSInt &From) { in Convert() argument
164 if (TargetType == APSIntType(From)) in Convert()
167 return getValue(TargetType.convert(From)); in Convert()
/external/protobuf/csharp/src/Google.Protobuf/
DExtension.cs42 internal abstract Type TargetType { get; } property in Google.Protobuf.Extension
80 internal override Type TargetType => typeof(TTarget); field in Google.Protobuf.Extension
106 internal override Type TargetType => typeof(TTarget); field in Google.Protobuf.RepeatedExtension
DExtensionRegistry.cs82 … extensions.Add(new ObjectIntPair<Type>(extension.TargetType, extension.FieldNumber), extension); in Add()
111 … return extensions.ContainsKey(new ObjectIntPair<Type>(item.TargetType, item.FieldNumber)); in Contains()
130 … extensions.Add(new ObjectIntPair<Type>(extension.TargetType, extension.FieldNumber), extension); in CopyTo()
152 return extensions.Remove(new ObjectIntPair<Type>(item.TargetType, item.FieldNumber)); in Remove()
/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/llvm-project/clang/lib/StaticAnalyzer/Core/
DStore.cpp315 SVal StoreManager::attemptDownCast(SVal Base, QualType TargetType, in attemptDownCast() argument
324 TargetType = TargetType->getPointeeType(); in attemptDownCast()
325 assert(!TargetType.isNull()); in attemptDownCast()
326 const CXXRecordDecl *TargetClass = TargetType->getAsCXXRecordDecl(); in attemptDownCast()
327 if (!TargetClass && !TargetType->isVoidType()) in attemptDownCast()
340 if (!TargetType->isVoidType() && MRClass->hasDefinition()) { in attemptDownCast()
356 if (TargetType->isVoidType()) in attemptDownCast()
389 return loc::MemRegionVal(GetElementZeroRegion(SR, TargetType)); in attemptDownCast()
/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.java54 import com.google.turbine.bytecode.ClassFile.TypeAnnotationInfo.TargetType;
382 typeAnnotations, f.type(), TargetType.FIELD, TypeAnnotationInfo.EMPTY_TARGET); in lowerField()
589 TargetType.SUPERTYPE, in classTypeAnnotations()
595 result, i, TargetType.SUPERTYPE, new TypeAnnotationInfo.SuperTypeTarget(idx++)); in classTypeAnnotations()
601 TargetType.CLASS_TYPE_PARAMETER, in classTypeAnnotations()
602 TargetType.CLASS_TYPE_PARAMETER_BOUND); in classTypeAnnotations()
613 TargetType.METHOD_TYPE_PARAMETER, in methodTypeAnnotations()
614 TargetType.METHOD_TYPE_PARAMETER_BOUND); in methodTypeAnnotations()
619 lowerTypeAnnotations(result, e, TargetType.METHOD_THROWS, new ThrowsTarget(idx++)); in methodTypeAnnotations()
627 TargetType.METHOD_RECEIVER_PARAMETER, in methodTypeAnnotations()
[all …]
/external/llvm-project/clang/lib/Tooling/
DInterpolatingCompilationDatabase.cpp211 auto TargetType = guessType(Filename, &TypeCertain); in transferTo() local
213 if ((!TargetType || !TypeCertain) && Type) { in transferTo()
216 TargetType = in transferTo()
217 (!TargetType || types::onlyPrecompileType(TargetType)) // header? in transferTo()
221 const StringRef Flag = toCLFlag(TargetType); in transferTo()
226 Result.CommandLine.push_back(types::getTypeName(TargetType)); in transferTo()
231 if (Std != LangStandard::lang_unspecified && foldType(TargetType) == Type) { in transferTo()
/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.java572 private enum TargetType { enum in Vogar
583 TargetType(File defaultDeviceDir) { in TargetType() method in Vogar.TargetType
607 TargetType targetType; in run()
609 targetType = TargetType.SSH; in run()
611 targetType = TargetType.LOCAL; in run()
613 targetType = TargetType.ADB_CHROOT; in run()
615 targetType = TargetType.ADB; in run()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp506 Type *TargetType = in cloneConstantExprWithNewAddressSpace() local
515 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace()
520 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
521 return ConstantExpr::getAddrSpaceCast(CE, TargetType); in cloneConstantExprWithNewAddressSpace()
531 CE->getOperand(0), ConstantExpr::getAddrSpaceCast(Src0, TargetType), in cloneConstantExprWithNewAddressSpace()
532 ConstantExpr::getAddrSpaceCast(Src1, TargetType)); in cloneConstantExprWithNewAddressSpace()
571 NewOperands, TargetType, /*OnlyIfReduced=*/false, in cloneConstantExprWithNewAddressSpace()
575 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/llvm-project/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp628 Type *TargetType = in cloneConstantExprWithNewAddressSpace() local
637 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace()
642 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
643 return ConstantExpr::getAddrSpaceCast(CE, TargetType); in cloneConstantExprWithNewAddressSpace()
653 CE->getOperand(0), ConstantExpr::getAddrSpaceCast(Src0, TargetType), in cloneConstantExprWithNewAddressSpace()
654 ConstantExpr::getAddrSpaceCast(Src1, TargetType)); in cloneConstantExprWithNewAddressSpace()
662 return ConstantExpr::getBitCast(Src, TargetType); in cloneConstantExprWithNewAddressSpace()
700 NewOperands, TargetType, /*OnlyIfReduced=*/false, in cloneConstantExprWithNewAddressSpace()
704 return CE->getWithOperands(NewOperands, TargetType); in cloneConstantExprWithNewAddressSpace()
/external/turbine/java/com/google/turbine/bytecode/
DClassFile.java494 private final TargetType targetType;
500 TargetType targetType, Target target, TypePath path, AnnotationInfo anno) { in TypeAnnotationInfo()
516 public TargetType targetType() { in targetType()
533 public enum TargetType { enum in ClassFile.TypeAnnotationInfo
547 TargetType(int tag) { in TargetType() method in ClassFile.TypeAnnotationInfo.TargetType
/external/pdfium/xfa/fxfa/parser/
Dcxfa_breakbefore.cpp23 {XFA_Attribute::TargetType, XFA_AttributeType::Enum,
Dcxfa_breakafter.cpp23 {XFA_Attribute::TargetType, XFA_AttributeType::Enum,
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h799 Type *TargetType = nullptr; variable
807 TargetType = GTI.getIndexedType();
822 if (isa<ScalableVectorType>(TargetType))
840 TargetType, const_cast<GlobalValue *>(BaseGV),
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h762 Type *TargetType = nullptr; in getGEPCost() local
770 TargetType = GTI.getIndexedType(); in getGEPCost()
798 TargetType, const_cast<GlobalValue *>(BaseGV), in getGEPCost()

123