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

/external/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp69 createLoweredInitializer(ArrayType *NewType, Constant *OriginalInitializer) { argument
74 return ConstantArray::get(NewType, Elements);
191 ArrayType *NewType = createLoweredType(GV->getType()->getElementType());
194 NewInitializer = createLoweredInitializer(NewType,
197 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(),
/external/eigen/Eigen/src/plugins/
H A DCommonCwiseUnaryOps.h90 template<typename NewType>
91 typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<typename internal::traits<Derived>::Scalar, NewType>, const Derived> >::type
/external/eigen/Eigen/src/Core/
H A 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>(a); }
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 = false }; };
H A DMathFunctions.h314 template<typename OldType, typename NewType>
317 static inline NewType run(const OldType& x)
319 return static_cast<NewType>(x);
323 // here, for once, we're plainly returning NewType: we don't want cast to do weird things.
325 template<typename OldType, typename NewType>
326 inline NewType cast(const OldType& x)
328 return cast_impl<OldType, NewType>::run(x);
/external/llvm/lib/Target/R600/
H A DAMDGPUPromoteAlloca.cpp346 FunctionType *NewType = FunctionType::get(Call->getType(), ArgTypes, local
348 Constant *C = Mod->getOrInsertFunction(StringRef(F->getName().str() + ".local"), NewType,
/external/clang/lib/Sema/
H A DSemaExceptionSpec.cpp232 QualType NewType = Context.getFunctionType(NewProto->getReturnType(), local
234 New->setType(NewType);
253 QualType NewType = Context.getFunctionType(NewProto->getReturnType(), local
255 New->setType(NewType);
H A DTreeTransform.h4392 QualType NewType; local
4416 QualType NewType = getDerived().TransformType(Pattern); local
4417 if (NewType.isNull())
4420 OutParamTypes.push_back(NewType);
4433 QualType NewType = getDerived().TransformType(Pattern); local
4434 if (NewType.isNull())
4437 OutParamTypes.push_back(NewType);
4447 NewType = getDerived().TransformType(OldType);
4449 NewType = getDerived().TransformType(OldType);
4452 if (NewType
[all...]
H A DSemaDecl.cpp1736 QualType NewType = New->getUnderlyingType(); local
1738 if (NewType->isVariablyModifiedType()) {
1742 << Kind << NewType; local
1749 if (OldType != NewType &&
1751 !NewType->isDependentType() &&
1752 !Context.hasSameType(OldType, NewType)) {
1755 << Kind << NewType << OldType;
2480 const FunctionType *NewType = cast<FunctionType>(NewQType); local
2482 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo();
2522 << NewType
[all...]
H A DSemaOverload.cpp1005 const FunctionProtoType *NewType = cast<FunctionProtoType>(NewQType); local
1011 (OldType->getNumParams() != NewType->getNumParams() ||
1012 OldType->isVariadic() != NewType->isVariadic() ||
1013 !FunctionParamTypesAreEqual(OldType, NewType)))
1032 OldType->getReturnType() != NewType->getReturnType()))
2609 const FunctionProtoType *NewType,
2612 N = NewType->param_type_begin(),
2608 FunctionParamTypesAreEqual(const FunctionProtoType *OldType, const FunctionProtoType *NewType, unsigned *ArgPos) argument
H A DSemaDeclCXX.cpp634 QualType NewType = New->getType(); local
639 if (const ReferenceType *R = NewType->getAs<ReferenceType>()) {
640 NewType = R->getPointeeType();
642 } else if (const PointerType *P = NewType->getAs<PointerType>()) {
643 NewType = P->getPointeeType();
645 } else if (const MemberPointerType *M = NewType->getAs<MemberPointerType>()) {
646 NewType = M->getPointeeType();
650 if (!NewType->isFunctionProtoType())
658 NewType->getAs<FunctionProtoType>(), New->getLocation())) {
/external/llvm/lib/Linker/
H A DLinkModules.cpp851 ArrayType *NewType = ArrayType::get(EltTy, NewSize); local
855 new GlobalVariable(*DstGV->getParent(), NewType, SrcGV->isConstant(),
1142 ArrayType *NewType = cast<ArrayType>(AVI.NewGV->getType()->getElementType()); local
1143 AVI.NewGV->setInitializer(ConstantArray::get(NewType, Elements));
/external/eigen/Eigen/src/Core/util/
H A DForwardDeclarations.h174 template<typename Scalar, typename NewType> struct scalar_cast_op;
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1962 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); local
1964 NewType);
1972 Value *TruncA = Builder->CreateTrunc(A, NewType, A->getName()+".trunc");
1973 Value *TruncB = Builder->CreateTrunc(B, NewType, B->getName()+".trunc");
/external/clang/lib/AST/
H A DDecl.cpp3439 void EnumDecl::completeDefinition(QualType NewType, argument
3445 IntegerType = NewType.getTypePtr();
/external/clang/include/clang/AST/
H A DDecl.h2893 /// added (via DeclContext::addDecl). NewType is the new underlying
2895 void completeDefinition(QualType NewType,
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp5504 MVT NewType = local
5507 Ops.push_back(DAG.getNode(ISD::BITCAST, dl, NewType, Op.getOperand(i)));
5508 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), NewType, NumElts);
/external/clang/include/clang/Sema/
H A DSema.h2077 const FunctionProtoType *NewType,

Completed in 6781 milliseconds