Home
last modified time | relevance | path

Searched refs:TSI (Results 1 – 25 of 33) sorted by relevance

12

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDMallocSizeofChecker.cpp211 const TypeSourceInfo *TSI = nullptr; in checkASTCodeBody() local
213 TSI = in checkASTCodeBody()
216 TSI = i->ExplicitCastType; in checkASTCodeBody()
234 if (TSI) in checkASTCodeBody()
235 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDComment.cpp235 const TypeSourceInfo *TSI = TD->getTypeSourceInfo(); in fill() local
236 if (!TSI) in fill()
238 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
HDDecl.cpp768 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl() local
769 TypeAsWritten = TSI->getType(); in getLVForNamespaceScopeDecl()
912 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember() local
913 TypeAsWritten = TSI->getType(); in getLVForClassMember()
1621 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc() local
1622 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc()
2286 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType() local
2287 QualType T = TSI ? TSI->getType() : getType(); in getOriginalType()
2820 const TypeSourceInfo *TSI = getTypeSourceInfo(); in getReturnTypeSourceRange() local
2821 if (!TSI) in getReturnTypeSourceRange()
[all …]
HDTemplateBase.cpp440 if (TypeSourceInfo *TSI = getTypeSourceInfo()) in getSourceRange() local
441 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
HDDeclObjC.cpp1027 const auto *TSI = getReturnTypeSourceInfo(); in getReturnTypeSourceRange() local
1028 if (TSI) in getReturnTypeSourceRange()
1029 return TSI->getTypeLoc().getSourceRange(); in getReturnTypeSourceRange()
2057 TypeSourceInfo *TSI, in Create() argument
2059 return new (C, DC) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T, TSI, in Create()
HDDeclPrinter.cpp621 if (TypeSourceInfo *TSI = D->getFriendType()) { in VisitFriendDecl() local
626 Out << " " << TSI->getType().getAsString(Policy); in VisitFriendDecl()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaLambda.cpp723 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in performLambdaInitCaptureInitialization() local
734 << DeclarationName(Id) << TSI->getType() << Loc; in performLambdaInitCaptureInitialization()
739 << DeclarationName(Id) << TSI->getType() << Loc; in performLambdaInitCaptureInitialization()
752 if (DeduceAutoType(TSI, DeduceInit, DeducedType) == DAR_Failed) { in performLambdaInitCaptureInitialization()
756 << (DeduceInit->getType().isNull() ? TSI->getType() in performLambdaInitCaptureInitialization()
761 << DeclarationName(Id) << TSI->getType() in performLambdaInitCaptureInitialization()
762 << (DeduceInit->getType().isNull() ? TSI->getType() in performLambdaInitCaptureInitialization()
808 TypeSourceInfo *TSI = Context.getTrivialTypeSourceInfo(InitCaptureType, in createLambdaInitCaptureVarDecl() local
815 Loc, Id, InitCaptureType, TSI, SC_Auto); in createLambdaInitCaptureVarDecl()
HDSemaObjCProperty.cpp141 TypeSourceInfo *TSI = GetTypeForDeclarator(FD.D, S); in ActOnProperty() local
142 QualType T = TSI->getType(); in ActOnProperty()
167 isOverridingProperty, T, TSI, in ActOnProperty()
178 T, TSI, MethodImplKind); in ActOnProperty()
317 TypeSourceInfo *TSI, in HandlePropertyInClassExtension() argument
343 PropertyId, AtLoc, LParenLoc, T, TSI); in HandlePropertyInClassExtension()
383 Attributes,AttributesAsWritten, T, TSI, MethodImplKind, in HandlePropertyInClassExtension()
HDSemaDeclCXX.cpp4567 TypeSourceInfo *TSI = TL.getParam(I)->getTypeSourceInfo(); in Check() local
4568 if (TSI) Visit(TSI->getTypeLoc(), Sema::AbstractParamType); in Check()
4581 if (TypeSourceInfo *TSI = TAL.getTypeSourceInfo()) in Check() local
4582 Visit(TSI->getTypeLoc(), Sema::AbstractNone); in Check()
4650 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in CheckAbstractClassUsage() local
4651 Info.CheckType(MD, TSI->getTypeLoc(), Sema::AbstractNone); in CheckAbstractClassUsage()
4670 if (TypeSourceInfo *TSI = FD->getTypeSourceInfo()) in CheckAbstractClassUsage() local
4671 Info.CheckType(FD, TSI->getTypeLoc(), Sema::AbstractFieldType); in CheckAbstractClassUsage()
4674 if (TypeSourceInfo *TSI = VD->getTypeSourceInfo()) in CheckAbstractClassUsage() local
4675 Info.CheckType(VD, TSI->getTypeLoc(), Sema::AbstractVariableType); in CheckAbstractClassUsage()
[all …]
HDSemaTemplate.cpp3031 TypeSourceInfo *TSI = nullptr; in CheckTemplateTypeArgument() local
3040 TSI = AL.getTypeSourceInfo(); in CheckTemplateTypeArgument()
3099 TSI = TLB.getTypeSourceInfo(Context, ArgType); in CheckTemplateTypeArgument()
3104 TemplateArgumentLocInfo(TSI)); in CheckTemplateTypeArgument()
3122 if (CheckTemplateArgument(Param, TSI)) in CheckTemplateTypeArgument()
7974 TypeSourceInfo *TSI = Context.CreateTypeSourceInfo(T); in ActOnTypenameType() local
7976 DependentNameTypeLoc TL = TSI->getTypeLoc().castAs<DependentNameTypeLoc>(); in ActOnTypenameType()
7981 ElaboratedTypeLoc TL = TSI->getTypeLoc().castAs<ElaboratedTypeLoc>(); in ActOnTypenameType()
7987 return CreateParsedType(T, TSI); in ActOnTypenameType()
8056 TypeSourceInfo *TSI = Builder.getTypeSourceInfo(Context, T); in ActOnTypenameType() local
[all …]
HDSema.cpp606 if (TypeSourceInfo *TSI = (*I)->getFriendType()) { in IsRecordFullyDefined() local
608 if (CXXRecordDecl *FriendD = TSI->getType()->getAsCXXRecordDecl()) in IsRecordFullyDefined()
HDSemaDecl.cpp4531 TypeSourceInfo *TSI = nullptr; in RebuildDeclaratorInCurrentInstantiation() local
4532 QualType T = S.GetTypeFromParser(DS.getRepAsType(), &TSI); in RebuildDeclaratorInCurrentInstantiation()
4538 if (!TSI) in RebuildDeclaratorInCurrentInstantiation()
4539 TSI = S.Context.getTrivialTypeSourceInfo(T, DS.getTypeSpecTypeLoc()); in RebuildDeclaratorInCurrentInstantiation()
4542 TSI = S.RebuildTypeInCurrentInstantiation(TSI, D.getIdentifierLoc(), Name); in RebuildDeclaratorInCurrentInstantiation()
4543 if (!TSI) return true; in RebuildDeclaratorInCurrentInstantiation()
4546 ParsedType LocType = S.CreateParsedType(TSI->getType(), TSI); in RebuildDeclaratorInCurrentInstantiation()
HDSemaDeclObjC.cpp2170 static SourceRange getTypeRange(TypeSourceInfo *TSI) { in getTypeRange() argument
2171 return (TSI ? TSI->getTypeLoc().getSourceRange() : SourceRange()); in getTypeRange()
/NextBSD/usr.sbin/pmcstat/
HDpmcpl_calltree.c456 #undef TSI in pmcpl_ct_node_printtop()
458 #define TSI(x, y) (pmcpl_ct_topscreen[x][pmcpl_ct_topmax[y].ln_index]) in pmcpl_ct_node_printtop() macro
486 ct = TSI(1, y); in pmcpl_ct_node_printtop()
504 for (x = 1; (ct = TSI(x, y)) != NULL; x++) { in pmcpl_ct_node_printtop()
529 TSI(x-1, y)->pct_image != ct->pct_image) in pmcpl_ct_node_printtop()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDInitialization.h325 static InitializedEntity InitializeCompoundLiteralInit(TypeSourceInfo *TSI) { in InitializeCompoundLiteralInit() argument
327 TSI->getType()); in InitializeCompoundLiteralInit()
328 Result.TypeInfo = TSI; in InitializeCompoundLiteralInit()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDataRecursiveASTVisitor.h741 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo()) in TraverseTemplateArgumentLoc() local
742 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); in TraverseTemplateArgumentLoc()
1645 if (TypeSourceInfo *TSI = D->getTypeAsWritten())
1646 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
1822 if (TypeSourceInfo *TSI = D->getTypeAsWritten())
1823 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
HDRecursiveASTVisitor.h810 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo()) in TraverseTemplateArgumentLoc() local
811 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); in TraverseTemplateArgumentLoc()
1682 if (TypeSourceInfo *TSI = D->getTypeAsWritten()) \
1683 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc())); \
1804 if (TypeSourceInfo *TSI = D->getTypeSourceInfo()) { in TraverseFunctionHelper() local
1805 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc())); in TraverseFunctionHelper()
HDDeclObjC.h2474 QualType T, TypeSourceInfo *TSI, in ObjCPropertyDecl() argument
2477 LParenLoc(LParenLocation), DeclType(T), DeclTypeSourceInfo(TSI), in ObjCPropertyDecl()
2492 TypeSourceInfo *TSI,
2507 void setType(QualType T, TypeSourceInfo *TSI) { in setType() argument
2509 DeclTypeSourceInfo = TSI; in setType()
HDExprCXX.h584 void setTypeOperandSourceInfo(TypeSourceInfo *TSI) { in setTypeOperandSourceInfo() argument
586 Operand = TSI; in setTypeOperandSourceInfo()
719 void setTypeOperandSourceInfo(TypeSourceInfo *TSI) { in setTypeOperandSourceInfo() argument
721 Operand = TSI; in setTypeOperandSourceInfo()
HDASTContext.h729 TemplateOrSpecializationInfo TSI);
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDCallEvent.cpp258 if (const TypeSourceInfo *TSI = BD->getSignatureAsWritten()) { in getDeclaredResultType() local
259 QualType Ty = TSI->getType(); in getDeclaredResultType()
HDMemRegion.cpp825 if (const TypeSourceInfo *TSI = BD->getSignatureAsWritten()) in getVarRegion() local
826 T = TSI->getType(); in getVarRegion()
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDSelectionDAG.h181 const TargetSelectionDAGInfo *TSI;
288 const TargetSelectionDAGInfo &getSelectionDAGInfo() const { return *TSI; }
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDSelectionDAGBuilder.cpp5257 const TargetSelectionDAGInfo &TSI = DAG.getSelectionDAGInfo(); in visitMemCmpCall() local
5259 TSI.EmitTargetCodeForMemcmp(DAG, getCurSDLoc(), DAG.getRoot(), in visitMemCmpCall()
5354 const TargetSelectionDAGInfo &TSI = DAG.getSelectionDAGInfo(); in visitMemChrCall() local
5356 TSI.EmitTargetCodeForMemchr(DAG, getCurSDLoc(), DAG.getRoot(), in visitMemChrCall()
5382 const TargetSelectionDAGInfo &TSI = DAG.getSelectionDAGInfo(); in visitStrCpyCall() local
5384 TSI.EmitTargetCodeForStrcpy(DAG, getCurSDLoc(), getRoot(), in visitStrCpyCall()
5411 const TargetSelectionDAGInfo &TSI = DAG.getSelectionDAGInfo(); in visitStrCmpCall() local
5413 TSI.EmitTargetCodeForStrcmp(DAG, getCurSDLoc(), DAG.getRoot(), in visitStrCmpCall()
5438 const TargetSelectionDAGInfo &TSI = DAG.getSelectionDAGInfo(); in visitStrLenCall() local
5440 TSI.EmitTargetCodeForStrlen(DAG, getCurSDLoc(), DAG.getRoot(), in visitStrLenCall()
[all …]
HDSelectionDAG.cpp928 : TM(tm), TSI(nullptr), TLI(nullptr), OptLevel(OL), in SelectionDAG()
939 TSI = getSubtarget().getSelectionDAGInfo(); in init()
4473 if (TSI) { in getMemcpy()
4474 SDValue Result = TSI->EmitTargetCodeForMemcpy( in getMemcpy()
4544 if (TSI) { in getMemmove()
4545 SDValue Result = TSI->EmitTargetCodeForMemmove( in getMemmove()
4601 if (TSI) { in getMemset()
4602 SDValue Result = TSI->EmitTargetCodeForMemset( in getMemset()

12