Home
last modified time | relevance | path

Searched refs:NewType (Results 1 – 14 of 14) sorted by relevance

/external/eigen/Eigen/src/plugins/
DCommonCwiseUnaryOps.h90 template<typename NewType>
91 …yOp<internal::scalar_cast_op<typename internal::traits<Derived>::Scalar, NewType>, const Derived> …
/external/eigen/Eigen/src/Core/
DMathFunctions.h390 template<typename OldType, typename NewType>
393 static inline NewType run(const OldType& x)
395 return static_cast<NewType>(x);
401 template<typename OldType, typename NewType>
402 inline NewType cast(const OldType& x)
404 return cast_impl<OldType, NewType>::run(x);
DFunctors.h339 template<typename Scalar, typename NewType>
342 typedef NewType result_type;
343 …EIGEN_STRONG_INLINE const NewType operator() (const Scalar& a) const { return cast<Scalar, NewType
345 template<typename Scalar, typename NewType>
346 struct functor_traits<scalar_cast_op<Scalar,NewType> >
347 { enum { Cost = is_same<Scalar, NewType>::value ? 0 : NumTraits<NewType>::AddCost, PacketAccess = f…
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp166 QualType NewType = Context.getFunctionType(NewProto->getResultType(), in CheckEquivalentExceptionSpec() local
170 New->setType(NewType); in CheckEquivalentExceptionSpec()
190 QualType NewType = Context.getFunctionType(NewProto->getResultType(), in CheckEquivalentExceptionSpec() local
194 New->setType(NewType); in CheckEquivalentExceptionSpec()
DTreeTransform.h4080 QualType NewType; in TransformFunctionTypeParams() local
4104 QualType NewType = getDerived().TransformType(Pattern); in TransformFunctionTypeParams() local
4105 if (NewType.isNull()) in TransformFunctionTypeParams()
4108 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams()
4121 QualType NewType = getDerived().TransformType(Pattern); in TransformFunctionTypeParams() local
4122 if (NewType.isNull()) in TransformFunctionTypeParams()
4125 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams()
4135 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
4137 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
4140 if (NewType.isNull()) in TransformFunctionTypeParams()
[all …]
DSemaDecl.cpp1548 QualType NewType = New->getUnderlyingType(); in isIncompatibleTypedef() local
1550 if (NewType->isVariablyModifiedType()) { in isIncompatibleTypedef()
1554 << Kind << NewType; in isIncompatibleTypedef()
1561 if (OldType != NewType && in isIncompatibleTypedef()
1563 !NewType->isDependentType() && in isIncompatibleTypedef()
1564 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
1567 << Kind << NewType << OldType; in isIncompatibleTypedef()
2020 const FunctionType *NewType = New->getType()->getAs<FunctionType>(); in MergeFunctionDecl() local
2022 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in MergeFunctionDecl()
2063 << NewType->getRegParmType() in MergeFunctionDecl()
[all …]
DSemaDeclCXX.cpp562 QualType NewType = New->getType(); in MergeVarDeclExceptionSpecs() local
567 if (const ReferenceType *R = NewType->getAs<ReferenceType>()) { in MergeVarDeclExceptionSpecs()
568 NewType = R->getPointeeType(); in MergeVarDeclExceptionSpecs()
570 } else if (const PointerType *P = NewType->getAs<PointerType>()) { in MergeVarDeclExceptionSpecs()
571 NewType = P->getPointeeType(); in MergeVarDeclExceptionSpecs()
573 } else if (const MemberPointerType *M = NewType->getAs<MemberPointerType>()) { in MergeVarDeclExceptionSpecs()
574 NewType = M->getPointeeType(); in MergeVarDeclExceptionSpecs()
578 if (!NewType->isFunctionProtoType()) in MergeVarDeclExceptionSpecs()
586 NewType->getAs<FunctionProtoType>(), New->getLocation())) { in MergeVarDeclExceptionSpecs()
DSemaOverload.cpp953 const FunctionProtoType* NewType = cast<FunctionProtoType>(NewQType); in IsOverload() local
959 (OldType->getNumArgs() != NewType->getNumArgs() || in IsOverload()
960 OldType->isVariadic() != NewType->isVariadic() || in IsOverload()
961 !FunctionArgTypesAreEqual(OldType, NewType))) in IsOverload()
980 OldType->getResultType() != NewType->getResultType())) in IsOverload()
2506 const FunctionProtoType *NewType, in FunctionArgTypesAreEqual() argument
2510 N = NewType->arg_type_begin(), in FunctionArgTypesAreEqual()
2521 N = NewType->arg_type_begin(), in FunctionArgTypesAreEqual()
/external/llvm/lib/Linker/
DLinkModules.cpp682 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto() local
686 new GlobalVariable(*DstGV->getParent(), NewType, SrcGV->isConstant(), in linkAppendingVarProto()
898 ArrayType *NewType = cast<ArrayType>(AVI.NewGV->getType()->getElementType()); in linkAppendingVarInit() local
899 AVI.NewGV->setInitializer(ConstantArray::get(NewType, Elements)); in linkAppendingVarInit()
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h176 template<typename Scalar, typename NewType> struct scalar_cast_op;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1719 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in ProcessUGT_ADDCST_ADD() local
1721 NewType); in ProcessUGT_ADDCST_ADD()
1729 Value *TruncA = Builder->CreateTrunc(A, NewType, A->getName()+".trunc"); in ProcessUGT_ADDCST_ADD()
1730 Value *TruncB = Builder->CreateTrunc(B, NewType, B->getName()+".trunc"); in ProcessUGT_ADDCST_ADD()
/external/clang/lib/AST/
DDecl.cpp2672 void EnumDecl::completeDefinition(QualType NewType, in completeDefinition() argument
2678 IntegerType = NewType.getTypePtr(); in completeDefinition()
/external/clang/include/clang/AST/
DDecl.h2770 void completeDefinition(QualType NewType,
/external/clang/include/clang/Sema/
DSema.h1678 const FunctionProtoType *NewType,