Home
last modified time | relevance | path

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

/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp69 createLoweredInitializer(ArrayType *NewType, Constant *OriginalInitializer) { in createLoweredInitializer() argument
74 return ConstantArray::get(NewType, Elements); in createLoweredInitializer()
192 ArrayType *NewType = createLoweredType(GV->getType()->getElementType()); in lowerGlobal() local
195 NewInitializer = createLoweredInitializer(NewType, in lowerGlobal()
198 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(), in lowerGlobal()
/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.h314 template<typename OldType, typename NewType>
317 static inline NewType run(const OldType& x)
319 return static_cast<NewType>(x);
325 template<typename OldType, typename NewType>
326 inline NewType cast(const OldType& x)
328 return cast_impl<OldType, NewType>::run(x);
DFunctors.h347 template<typename Scalar, typename NewType>
350 typedef NewType result_type;
351 …EIGEN_STRONG_INLINE const NewType operator() (const Scalar& a) const { return cast<Scalar, NewType
353 template<typename Scalar, typename NewType>
354 struct functor_traits<scalar_cast_op<Scalar,NewType> >
355 { enum { Cost = is_same<Scalar, NewType>::value ? 0 : NumTraits<NewType>::AddCost, PacketAccess = f…
/external/llvm/lib/Linker/
DLinkModules.cpp993 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto() local
997 new GlobalVariable(*DstGV->getParent(), NewType, SrcGV->isConstant(), in linkAppendingVarProto()
1134 ArrayType *NewType = cast<ArrayType>(AVI.NewGV->getType()->getElementType()); in linkAppendingVarInit() local
1139 cast<StructType>(NewType->getElementType())->getNumElements() == 3; in linkAppendingVarInit()
1151 NewType = ArrayType::get(NewType->getElementType(), DstElements.size()); in linkAppendingVarInit()
1152 AVI.NewGV->mutateType(PointerType::get(NewType, 0)); in linkAppendingVarInit()
1155 AVI.NewGV->setInitializer(ConstantArray::get(NewType, DstElements)); in linkAppendingVarInit()
/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp367 FunctionType *NewType = FunctionType::get(Call->getType(), ArgTypes, in visitAlloca() local
370 NewType, F->getAttributes()); in visitAlloca()
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h174 template<typename Scalar, typename NewType> struct scalar_cast_op;
/external/clang/lib/Sema/
DTreeTransform.h4517 QualType NewType; in TransformFunctionTypeParams() local
4541 QualType NewType = getDerived().TransformType(Pattern); in TransformFunctionTypeParams() local
4542 if (NewType.isNull()) in TransformFunctionTypeParams()
4545 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams()
4558 QualType NewType = getDerived().TransformType(Pattern); in TransformFunctionTypeParams() local
4559 if (NewType.isNull()) in TransformFunctionTypeParams()
4562 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams()
4572 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
4574 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
4577 if (NewType.isNull()) in TransformFunctionTypeParams()
[all …]
DSemaDecl.cpp1864 QualType NewType = New->getUnderlyingType(); in isIncompatibleTypedef() local
1866 if (NewType->isVariablyModifiedType()) { in isIncompatibleTypedef()
1870 << Kind << NewType; in isIncompatibleTypedef()
1877 if (OldType != NewType && in isIncompatibleTypedef()
1879 !NewType->isDependentType() && in isIncompatibleTypedef()
1880 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
1883 << Kind << NewType << OldType; in isIncompatibleTypedef()
2640 const FunctionType *NewType = cast<FunctionType>(NewQType); in MergeFunctionDecl() local
2642 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in MergeFunctionDecl()
2682 << NewType->getRegParmType() in MergeFunctionDecl()
[all …]
DSemaDeclCXX.cpp658 QualType NewType = New->getType(); in MergeVarDeclExceptionSpecs() local
663 if (const ReferenceType *R = NewType->getAs<ReferenceType>()) { in MergeVarDeclExceptionSpecs()
664 NewType = R->getPointeeType(); in MergeVarDeclExceptionSpecs()
666 } else if (const PointerType *P = NewType->getAs<PointerType>()) { in MergeVarDeclExceptionSpecs()
667 NewType = P->getPointeeType(); in MergeVarDeclExceptionSpecs()
669 } else if (const MemberPointerType *M = NewType->getAs<MemberPointerType>()) { in MergeVarDeclExceptionSpecs()
670 NewType = M->getPointeeType(); in MergeVarDeclExceptionSpecs()
674 if (!NewType->isFunctionProtoType()) in MergeVarDeclExceptionSpecs()
682 NewType->getAs<FunctionProtoType>(), New->getLocation())) { in MergeVarDeclExceptionSpecs()
DSemaOpenMP.cpp2371 QualType NewType = C.getIntTypeForBitwidth( in BuildNumIterations() local
2373 Diff = SemaRef.PerformImplicitConversion(Diff.get(), NewType, in BuildNumIterations()
2611 QualType NewType = C.getIntTypeForBitwidth(Bits, /* Signed */ true); in WidenIterationCount() local
2612 return SemaRef.PerformImplicitConversion(E, NewType, Sema::AA_Converting, in WidenIterationCount()
DSemaOverload.cpp978 const FunctionProtoType *NewType = cast<FunctionProtoType>(NewQType); in IsOverload() local
984 (OldType->getNumParams() != NewType->getNumParams() || in IsOverload()
985 OldType->isVariadic() != NewType->isVariadic() || in IsOverload()
986 !FunctionParamTypesAreEqual(OldType, NewType))) in IsOverload()
1005 OldType->getReturnType() != NewType->getReturnType())) in IsOverload()
2580 const FunctionProtoType *NewType, in FunctionParamTypesAreEqual() argument
2583 N = NewType->param_type_begin(), in FunctionParamTypesAreEqual()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2088 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in ProcessUGT_ADDCST_ADD() local
2090 NewType); in ProcessUGT_ADDCST_ADD()
2098 Value *TruncA = Builder->CreateTrunc(A, NewType, A->getName()+".trunc"); in ProcessUGT_ADDCST_ADD()
2099 Value *TruncB = Builder->CreateTrunc(B, NewType, B->getName()+".trunc"); in ProcessUGT_ADDCST_ADD()
/external/clang/lib/AST/
DDecl.cpp3515 void EnumDecl::completeDefinition(QualType NewType, in completeDefinition() argument
3521 IntegerType = NewType.getTypePtr(); in completeDefinition()
/external/clang/include/clang/AST/
DDecl.h3030 void completeDefinition(QualType NewType,
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5965 MVT NewType = MVT::getIntegerVT(EltTy.getSizeInBits()); in LowerBUILD_VECTOR() local
5967 Ops.push_back(DAG.getNode(ISD::BITCAST, dl, NewType, Op.getOperand(i))); in LowerBUILD_VECTOR()
5968 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), NewType, NumElts); in LowerBUILD_VECTOR()
/external/clang/include/clang/Sema/
DSema.h2043 const FunctionProtoType *NewType,