Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyAddMissingPrototypes.cpp89 FunctionType *NewType = nullptr; in runOnModule() local
98 NewType = DestType; in runOnModule()
99 NewF = Function::Create(NewType, F.getLinkage(), F.getName()); in runOnModule()
106 if (!NewType) { in runOnModule()
117 if (NewType != DestType) { in runOnModule()
/external/eigen/Eigen/src/plugins/
DCommonCwiseUnaryOps.h48 …e<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseU…
59 template<typename NewType> in EIGEN_DOC_UNARY_ADDONS()
61 typename CastXpr<NewType>::Type in EIGEN_DOC_UNARY_ADDONS()
64 return typename CastXpr<NewType>::Type(derived()); in EIGEN_DOC_UNARY_ADDONS()
/external/eigen/test/
Dboostmultiprec.cpp87 template<typename NewType>
88 struct cast_impl<Real,NewType> {
89 static inline NewType run(const Real& x) { in run()
90 return x.template convert_to<NewType>(); in run()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp69 createLoweredInitializer(ArrayType *NewType, Constant *OriginalInitializer) { in createLoweredInitializer() argument
74 return ConstantArray::get(NewType, Elements); in createLoweredInitializer()
191 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal() local
194 NewInitializer = createLoweredInitializer(NewType, in lowerGlobal()
197 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(), in lowerGlobal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp69 createLoweredInitializer(ArrayType *NewType, Constant *OriginalInitializer) { in createLoweredInitializer() argument
74 return ConstantArray::get(NewType, Elements); in createLoweredInitializer()
191 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal() local
194 NewInitializer = createLoweredInitializer(NewType, in lowerGlobal()
197 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(), in lowerGlobal()
/external/eigen/Eigen/src/Core/functors/
DUnaryFunctors.h194 template <typename Scalar, typename NewType>
197 typedef NewType result_type;
198 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const NewType
200 return cast<Scalar, NewType>(a);
203 template <typename Scalar, typename NewType>
204 struct functor_traits<scalar_cast_op<Scalar, NewType> > {
206 Cost = is_same<Scalar, NewType>::value ? 0 : NumTraits<NewType>::AddCost,
/external/python/cpython3/Doc/library/
Dtyping.rst74 NewType chapter
77 Use the :func:`NewType` helper function to create distinct types::
79 from typing import NewType
81 UserId = NewType('UserId', int)
105 the statement ``Derived = NewType('Derived', Base)`` will make ``Derived`` a
116 from typing import NewType
118 UserId = NewType('UserId', int)
123 However, it is possible to create a :func:`NewType` based on a 'derived' ``NewType``::
125 from typing import NewType
127 UserId = NewType('UserId', int)
[all …]
/external/swiftshader/third_party/subzero/src/
DIceTypes.h170 void setReturnType(Type NewType) { ReturnType = NewType; } in setReturnType() argument
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h150 LLT NewType; member
153 const LLT &NewType) in LegalizeActionStep()
154 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep()
157 return std::tie(Action, TypeIdx, NewType) ==
158 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType);
/external/clang/lib/Format/
DFormatTokenLexer.h43 bool tryMergeTokens(ArrayRef<tok::TokenKind> Kinds, TokenType NewType);
DFormatTokenLexer.cpp115 TokenType NewType) { in tryMergeTokens() argument
135 First[0]->Type = NewType; in tryMergeTokens()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp583 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto() local
587 new GlobalVariable(*DstGV->getParent(), NewType, SrcGV->isConstant(), in linkAppendingVarProto()
782 ArrayType *NewType = cast<ArrayType>(AVI.NewGV->getType()->getElementType()); in linkAppendingVarInit() local
783 AVI.NewGV->setInitializer(ConstantArray::get(NewType, Elements)); in linkAppendingVarInit()
/external/eigen/Eigen/src/Core/
DMathFunctions.h387 template<typename OldType, typename NewType>
391 static inline NewType run(const OldType& x)
393 return static_cast<NewType>(x);
399 template<typename OldType, typename NewType>
401 inline NewType cast(const OldType& x)
403 return cast_impl<OldType, NewType>::run(x);
/external/clang/lib/Parse/
DParser.cpp1492 TypeResult NewType in TryAnnotateName() local
1496 if (NewType.isUsable()) in TryAnnotateName()
1497 Ty = NewType.get(); in TryAnnotateName()
1723 TypeResult NewType in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
1727 if (NewType.isUsable()) in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1728 Ty = NewType.get(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp50 return narrowScalar(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep()
53 return widenScalar(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep()
56 return lower(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep()
59 return fewerElementsVector(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp783 FunctionType *NewType = FunctionType::get(Call->getType(), ArgTypes, in handleAlloca() local
786 NewType, F->getAttributes()); in handleAlloca()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorBase.h302 template <typename NewType> EIGEN_DEVICE_FUNC
303 EIGEN_STRONG_INLINE const TensorConversionOp<NewType, const Derived>
305 return TensorConversionOp<NewType, const Derived>(derived()); in cast()
/external/clang/lib/Sema/
DTreeTransform.h4819 QualType NewType; in TransformFunctionTypeParams() local
4843 QualType NewType = getDerived().TransformType(Pattern); in TransformFunctionTypeParams() local
4844 if (NewType.isNull()) in TransformFunctionTypeParams()
4847 if (NewType->containsUnexpandedParameterPack()) { in TransformFunctionTypeParams()
4848 NewType = in TransformFunctionTypeParams()
4849 getSema().getASTContext().getPackExpansionType(NewType, None); in TransformFunctionTypeParams()
4851 if (NewType.isNull()) in TransformFunctionTypeParams()
4857 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams()
4870 QualType NewType = getDerived().TransformType(Pattern); in TransformFunctionTypeParams() local
4871 if (NewType.isNull()) in TransformFunctionTypeParams()
[all …]
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h201 template<typename Scalar, typename NewType> struct scalar_cast_op;
/external/python/cpython3/Lib/test/
Dtest_typing.py20 from typing import NewType
2427 UserId = NewType('UserId', int)
2428 UserName = NewType('UserName', str)
2434 UserId = NewType('UserId', int)
2435 UserName = NewType('UserName', str)
/external/llvm/lib/Linker/
DIRMover.cpp821 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto() local
825 DstM, NewType, SrcGV->isConstant(), SrcGV->getLinkage(), in linkAppendingVarProto()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DIRMover.cpp867 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto() local
871 DstM, NewType, SrcGV->isConstant(), SrcGV->getLinkage(), in linkAppendingVarProto()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp749 Type *NewType = Ops[i]->getType()->isVectorTy() in CastGEPIndices() local
754 NewType, in CastGEPIndices()
756 Ops[i], NewType)); in CastGEPIndices()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1684 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in ProcessUGT_ADDCST_ADD() local
1686 NewType); in ProcessUGT_ADDCST_ADD()
1694 Value *TruncA = Builder->CreateTrunc(A, NewType, A->getName()+".trunc"); in ProcessUGT_ADDCST_ADD()
1695 Value *TruncB = Builder->CreateTrunc(B, NewType, B->getName()+".trunc"); in ProcessUGT_ADDCST_ADD()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DRecord.cpp272 RecTy* NewType = resolveTypes(ListTy1->getElementType(), in resolveTypes() local
274 if (NewType) in resolveTypes()
275 return NewType->getListTy(); in resolveTypes()

12