Home
last modified time | relevance | path

Searched refs:InitType (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DFoldInitTypeCheck.cpp80 const BuiltinType &InitType, in isValidBuiltinFold() argument
83 const auto InitTypeSize = Context.getTypeSize(&InitType); in isValidBuiltinFold()
87 return InitType.isFloatingPoint() && InitTypeSize >= ValueTypeSize; in isValidBuiltinFold()
93 if (InitType.isInteger()) { in isValidBuiltinFold()
94 if (InitType.isSignedInteger() == ValueType.isSignedInteger()) in isValidBuiltinFold()
98 if (InitType.isFloatingPoint()) in isValidBuiltinFold()
107 const BuiltinType &InitType, in doCheck() argument
110 if (!isValidBuiltinFold(IterValueType, InitType, Context)) { in doCheck()
113 << IterValueType.desugar() << InitType.desugar(); in doCheck()
121 const auto *InitType = Result.Nodes.getNodeAs<BuiltinType>("InitType"); in check() local
[all …]
DFoldInitTypeCheck.h35 void doCheck(const BuiltinType &IterValueType, const BuiltinType &InitType,
/external/skqp/include/core/
DSkSurfaceProps.h61 enum InitType { enum
64 SkSurfaceProps(InitType);
65 SkSurfaceProps(uint32_t flags, InitType);
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseDefaultMemberInitCheck.cpp26 static StringRef getValueOfValueInit(const QualType InitType) { in getValueOfValueInit() argument
27 switch (InitType->getScalarTypeKind()) { in getValueOfValueInit()
38 switch (InitType->castAs<BuiltinType>()->getKind()) { in getValueOfValueInit()
56 switch (InitType->castAs<BuiltinType>()->getKind()) { in getValueOfValueInit()
67 InitType->castAs<ComplexType>()->getElementType()); in getValueOfValueInit()
70 switch (InitType->castAs<BuiltinType>()->getKind()) { in getValueOfValueInit()
DLoopConvertUtils.cpp369 QualType InitType = Init->getType(); in isAliasDecl() local
374 if (InitType.isNull() || DeclarationType.isNull() || in isAliasDecl()
375 !Context->hasSameUnqualifiedType(DeclarationType, InitType)) in isAliasDecl()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DAstHelpers.cpp319 static void InitType(TType &type) in InitType() function
332 InitType(clone); in CloneType()
340 InitType(inner); in InnermostType()
353 InitType(vectorType); in DropColumns()
367 InitType(innerType); in DropOuterDimension()
380 InitType(newType); in SetTypeDimsImpl()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h183 template <typename... InitType>
184 static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) { in Create()
186 return Create(Key, A, std::forward<InitType>(InitVal)...); in Create()
/external/llvm/include/llvm/ADT/
DStringMap.h177 template <typename... InitType>
178 static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) { in Create()
180 return Create(Key, A, std::forward<InitType>(InitVal)...); in Create()
/external/skqp/src/image/
DSkSurface.cpp41 SkSurfaceProps::SkSurfaceProps(InitType) : fFlags(0), fPixelGeometry(compute_default_geometry()) {} in SkSurfaceProps() argument
43 SkSurfaceProps::SkSurfaceProps(uint32_t flags, InitType) in SkSurfaceProps() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringMap.h203 template <typename... InitType>
204 static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) { in Create()
206 return Create(Key, A, std::forward<InitType>(InitVal)...); in Create()
/external/llvm/lib/TableGen/
DTGParser.cpp133 std::string InitType = ""; in SetValue() local
135 InitType = (Twine("' of type bit initializer with length ") + in SetValue()
140 InitType + "'"); in SetValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGParser.cpp212 std::string InitType; in SetValue() local
214 InitType = (Twine("' of type bit initializer with length ") + in SetValue()
217 InitType = (Twine("' of type '") + TI->getType()->getAsString()).str(); in SetValue()
221 V->getAsString() + InitType + "'"); in SetValue()
/external/llvm-project/llvm/lib/TableGen/
DTGParser.cpp213 std::string InitType; in SetValue() local
215 InitType = (Twine("' of type bit initializer with length ") + in SetValue()
218 InitType = (Twine("' of type '") + TI->getType()->getAsString()).str(); in SetValue()
222 V->getAsString() + InitType + "'"); in SetValue()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp3782 auto *InitType = Init->getType(); in GetOrCreateLLVMGlobal() local
3783 if (GV->getValueType() != InitType) { in GetOrCreateLLVMGlobal()
3792 GetAddrOfGlobalVar(D, InitType, IsForDefinition) in GetOrCreateLLVMGlobal()
4184 llvm::Type* InitType = Init->getType(); in EmitGlobalVarDefinition() local
4186 GetAddrOfGlobalVar(D, InitType, ForDefinition_t(!IsTentative)); in EmitGlobalVarDefinition()
4203 if (!GV || GV->getValueType() != InitType || in EmitGlobalVarDefinition()
4212 GetAddrOfGlobalVar(D, InitType, ForDefinition_t(!IsTentative)) in EmitGlobalVarDefinition()
/external/clang/lib/Sema/
DSemaStmt.cpp1865 QualType InitType; in FinishForRangeVarDecl() local
1867 SemaRef.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) == in FinishForRangeVarDecl()
1870 if (InitType.isNull()) { in FinishForRangeVarDecl()
1874 Decl->setType(InitType); in FinishForRangeVarDecl()
DSemaTemplateDeduction.cpp4049 QualType InitType = Init->getType(); in DeduceAutoType() local
4069 *this, TemplateParamsSt.get(), FuncParam, InitType, Init, TDF)) in DeduceAutoType()
4073 FuncParam, InitType, Info, Deduced, in DeduceAutoType()
4097 Sema::OriginalCallArg(FuncParam,0,InitType), in DeduceAutoType()
DSemaExprCXX.cpp1799 QualType InitType = AllocType; in BuildCXXNew() local
1815 InitType = Context.getConstantArrayType(AllocType, in BuildCXXNew()
1844 = InitializedEntity::InitializeNew(StartLoc, InitType); in BuildCXXNew()
DSemaInit.cpp3790 QualType InitType = InitList->getInit(0)->getType(); in TryListInitialization() local
3791 if (S.Context.hasSameUnqualifiedType(InitType, DestType) || in TryListInitialization()
3792 S.IsDerivedFrom(InitList->getLocStart(), InitType, DestType)) { in TryListInitialization()
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp2048 QualType InitType; in FinishForRangeVarDecl() local
2050 SemaRef.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) == in FinishForRangeVarDecl()
2053 if (InitType.isNull()) { in FinishForRangeVarDecl()
2057 Decl->setType(InitType); in FinishForRangeVarDecl()
DSemaDecl.cpp11710 QualType InitType = Init->getType(); in checkNonTrivialCUnionInInitializer() local
11711 assert((InitType.hasNonTrivialToPrimitiveDefaultInitializeCUnion() || in checkNonTrivialCUnionInInitializer()
11712 InitType.hasNonTrivialToPrimitiveCopyCUnion()) && in checkNonTrivialCUnionInInitializer()
11726 if (InitType.hasNonTrivialToPrimitiveDefaultInitializeCUnion()) in checkNonTrivialCUnionInInitializer()
11727 checkNonTrivialCUnion(InitType, Loc, NTCUC_DefaultInitializedObject, in checkNonTrivialCUnionInInitializer()
11734 if (InitType.hasNonTrivialToPrimitiveCopyCUnion()) in checkNonTrivialCUnionInInitializer()
11735 checkNonTrivialCUnion(InitType, Loc, NTCUC_CopyInit, NTCUK_Copy); in checkNonTrivialCUnionInInitializer()
12404 QualType InitType = Init->getType(); in AddInitializerToDecl() local
12405 if (!InitType.isNull() && in AddInitializerToDecl()
12406 (InitType.hasNonTrivialToPrimitiveDefaultInitializeCUnion() || in AddInitializerToDecl()
[all …]
DSemaExprCXX.cpp2272 QualType InitType; in BuildCXXNew() local
2274 InitType = Context.getConstantArrayType( in BuildCXXNew()
2280 InitType = in BuildCXXNew()
2283 InitType = AllocType; in BuildCXXNew()
2286 = InitializedEntity::InitializeNew(StartLoc, InitType); in BuildCXXNew()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp2440 llvm::Type* InitType = Init->getType(); in EmitGlobalVarDefinition() local
2442 GetAddrOfGlobalVar(D, InitType, /*IsForDefinition=*/!IsTentative); in EmitGlobalVarDefinition()
2466 GV->getType()->getElementType() != InitType || in EmitGlobalVarDefinition()
2475 GetAddrOfGlobalVar(D, InitType, /*IsForDefinition=*/!IsTentative)); in EmitGlobalVarDefinition()
/external/skqp/docs/
Dundocumented.bmh971 #Enum InitType
/external/clang/include/clang/AST/
DDecl.h798 typedef llvm::PointerUnion<Stmt *, EvaluatedStmt *> InitType; typedef
802 mutable InitType Init;
/external/llvm-project/clang/include/clang/AST/
DDecl.h873 using InitType = llvm::PointerUnion<Stmt *, EvaluatedStmt *>;
877 mutable InitType Init;

12