| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaSYCL.cpp | 146 TypeSourceInfo *TSI) { in BuildUniqueStableNameExpr() argument 148 RParen, TSI); in BuildUniqueStableNameExpr() 155 TypeSourceInfo *TSI = nullptr; in ActOnUniqueStableNameExpr() local 156 QualType Ty = SemaRef.GetTypeFromParser(ParsedTy, &TSI); in ActOnUniqueStableNameExpr() 160 if (!TSI) in ActOnUniqueStableNameExpr() 161 TSI = getASTContext().getTrivialTypeSourceInfo(Ty, LParen); in ActOnUniqueStableNameExpr() 163 return BuildUniqueStableNameExpr(OpLoc, LParen, RParen, TSI); in ActOnUniqueStableNameExpr() 207 TypeSourceInfo *TSI = nullptr; in handleKernelEntryPointAttr() local 208 (void)SemaRef.GetTypeFromParser(PT, &TSI); in handleKernelEntryPointAttr() 209 assert(TSI && "no type source info for attribute argument"); in handleKernelEntryPointAttr() [all …]
|
| H A D | SemaTemplateDeductionGuide.cpp | 82 TypeSourceInfo *transform(TypeSourceInfo *TSI) { return TransformType(TSI); } in transform() argument 169 TypeSourceInfo *TSI = InnerTLB.getTypeSourceInfo(Context, Transformed); in TransformTypedefType() local 173 OrigDecl->getLocation(), OrigDecl->getIdentifier(), TSI); in TransformTypedefType() 178 OrigDecl->getLocation(), OrigDecl->getIdentifier(), TSI); in TransformTypedefType() 512 TypeSourceInfo *TSI = SemaRef.Context.getTrivialTypeSourceInfo(Result, Loc); in buildSimpleDeductionGuide() local 514 TSI = SemaRef.SubstType(TSI, OuterInstantiationArgs, Loc, in buildSimpleDeductionGuide() 517 if (!TSI) in buildSimpleDeductionGuide() 521 TSI->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in buildSimpleDeductionGuide() 526 auto *TSI = SemaRef.Context.getTrivialTypeSourceInfo(T, Loc); in buildSimpleDeductionGuide() local 528 TSI = SemaRef.SubstType(TSI, OuterInstantiationArgs, Loc, in buildSimpleDeductionGuide() [all …]
|
| H A D | SemaLambda.cpp | 832 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in buildLambdaInitCaptureInitialization() local 836 /*VarDecl*/nullptr, DeclarationName(Id), DeductType, TSI, in buildLambdaInitCaptureInitialization() 875 TypeSourceInfo *TSI = Context.getTrivialTypeSourceInfo(InitCaptureType, Loc); in createLambdaInitCaptureVarDecl() local 876 if (auto PETL = TSI->getTypeLoc().getAs<PackExpansionTypeLoc>()) in createLambdaInitCaptureVarDecl() 884 InitCaptureType, TSI, SC_Auto); in createLambdaInitCaptureVarDecl() 2059 TypeSourceInfo *TSI = nullptr; in BuildCaptureField() local 2063 TSI = Var->getTypeSourceInfo(); in BuildCaptureField() 2068 if (!TSI) in BuildCaptureField() 2069 TSI = Context.getTrivialTypeSourceInfo(FieldType, Loc); in BuildCaptureField() 2074 /*Id=*/nullptr, FieldType, TSI, /*BW=*/nullptr, in BuildCaptureField()
|
| H A D | SemaFunctionEffects.cpp | 627 if (auto *TSI = BD->getSignatureAsWritten()) { in verifyDecl() local 628 auto *FPT = TSI->getType()->castAs<FunctionProtoType>(); in verifyDecl() 1000 if (TypeSourceInfo *TSI = FD->getTypeSourceInfo()) { in run() local 1002 TSI->getTypeLoc().getAs<FunctionProtoTypeLoc>()) in run()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Comment.cpp | 224 const TypeSourceInfo *TSI = nullptr; in fill() local 322 TSI = VD->getTypeSourceInfo(); in fill() 324 TSI = PD->getTypeSourceInfo(); in fill() 333 TSI = VD->getTypeSourceInfo(); in fill() 342 TSI = cast<TypedefNameDecl>(CommentDecl)->getTypeSourceInfo(); in fill() 350 TSI = TAD->getTypeSourceInfo(); in fill() 360 if (TSI) { in fill() 361 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
|
| H A D | ExprCXX.cpp | 1117 CXXConstructorDecl *Cons, QualType Ty, TypeSourceInfo *TSI, in CXXTemporaryObjectExpr() argument 1122 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr() 1126 TSI(TSI) { in CXXTemporaryObjectExpr() 1136 TypeSourceInfo *TSI, ArrayRef<Expr *> Args, SourceRange ParenOrBraceRange, in Create() argument 1144 Cons, Ty, TSI, Args, ParenOrBraceRange, HadMultipleCandidates, in Create() 1461 QualType T, TypeSourceInfo *TSI, SourceLocation LParenLoc, in CXXUnresolvedConstructExpr() argument 1464 (TSI->getType()->isLValueReferenceType() ? VK_LValue in CXXUnresolvedConstructExpr() 1465 : TSI->getType()->isRValueReferenceType() ? VK_XValue in CXXUnresolvedConstructExpr() 1468 TypeAndInitForm(TSI, IsListInit), LParenLoc(LParenLoc), in CXXUnresolvedConstructExpr() 1477 const ASTContext &Context, QualType T, TypeSourceInfo *TSI, in Create() argument [all …]
|
| H A D | ComputeDependence.cpp | 343 if (auto *TSI = E->getTypeSourceInfo()) in computeDependence() local 344 D |= toExprDependenceAsWritten(TSI->getType()->getDependence()); in computeDependence() 482 if (auto *TSI = DD->getTypeSourceInfo()) { in computeDependence() local 483 D |= toExprDependenceAsWritten(TSI->getType()->getDependence()); in computeDependence() 781 if (auto *TSI = E->getDestroyedTypeInfo()) in computeDependence() local 782 D |= toExprDependenceAsWritten(TSI->getType()->getDependence()); in computeDependence()
|
| H A D | ODRHash.cpp | 91 if (auto *TSI = NameInfo.getNamedTypeInfo()) in AddDeclarationNameInfoImpl() local 92 AddQualType(TSI->getType()); in AddDeclarationNameInfoImpl() 476 TypeSourceInfo *TSI = D->getFriendType(); in VisitFriendDecl() local 477 Hash.AddBoolean(TSI); in VisitFriendDecl() 478 if (TSI) { in VisitFriendDecl() 479 AddQualType(TSI->getType()); in VisitFriendDecl()
|
| H A D | Decl.cpp | 828 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl() local 829 TypeAsWritten = TSI->getType(); in getLVForNamespaceScopeDecl() 975 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember() local 976 TypeAsWritten = TSI->getType(); in getLVForClassMember() 1988 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc() local 1989 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc() 1994 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecEndLoc() local 1995 if (TSI) return TSI->getTypeLoc().getEndLoc(); in getTypeSpecEndLoc() 2955 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType() local 2956 QualType T = TSI ? TSI->getType() : getType(); in getOriginalType() [all …]
|
| H A D | TemplateBase.cpp | 600 if (TypeSourceInfo *TSI = getTypeSourceInfo()) in getSourceRange() local 601 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocSizeofChecker.cpp | 211 const TypeSourceInfo *TSI = nullptr; in checkASTCodeBody() local 214 TSI = VD->getTypeSourceInfo(); in checkASTCodeBody() 216 TSI = CallRec.ExplicitCastType; in checkASTCodeBody() 234 if (TSI) in checkASTCodeBody() 235 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | InterpreterValuePrinter.cpp | 127 TypeSourceInfo *TSI = Ctx.getTrivialTypeSourceInfo(UIntTy); in HandleIntegralOrEnumType() local 129 S.BuildCStyleCastExpr(SourceLocation(), TSI, SourceLocation(), E); in HandleIntegralOrEnumType() 136 TypeSourceInfo *TSI = Ctx.getTrivialTypeSourceInfo(Ctx.VoidPtrTy); in HandlePtrType() local 138 S.BuildCStyleCastExpr(SourceLocation(), TSI, SourceLocation(), E); in HandlePtrType() 244 TypeSourceInfo *TSI = Ctx.getTrivialTypeSourceInfo(Ty, SourceLocation()); in ExtractValueFromExpr() local 270 /*TypeIdParens=*/SourceRange(), TSI->getType(), TSI, std::nullopt, in ExtractValueFromExpr()
|
| H A D | InterpreterUtils.cpp | 27 TypeSourceInfo *TSI = Ctx.getTrivialTypeSourceInfo(Ty, SourceLocation()); in CStyleCastPtrExpr() local 29 S.BuildCStyleCastExpr(SourceLocation(), TSI, SourceLocation(), E).get(); in CStyleCastPtrExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMMacroFusion.cpp | 52 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument 55 const ARMSubtarget &ST = static_cast<const ARMSubtarget&>(TSI); in shouldScheduleAdjacent()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVMacroFusion.cpp | |
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86MacroFusion.cpp | 36 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument 39 const X86Subtarget &ST = static_cast<const X86Subtarget &>(TSI); in shouldScheduleAdjacent()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMacroFusion.cpp | 27 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaSYCL.h | 58 TypeSourceInfo *TSI);
|
| H A D | Initialization.h | 433 static InitializedEntity InitializeCompoundLiteralInit(TypeSourceInfo *TSI) { in InitializeCompoundLiteralInit() argument 435 TSI->getType()); in InitializeCompoundLiteralInit() 436 Result.TypeInfo = TSI; in InitializeCompoundLiteralInit()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMacroFusion.cpp | 235 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument 242 const PPCSubtarget &ST = static_cast<const PPCSubtarget&>(TSI); in shouldScheduleAdjacent()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SelectOptimize.cpp | 103 const TargetSubtargetInfo *TSI = nullptr; member in __anon135b54a50111::SelectOptimizeImpl 354 TSI = TM->getSubtargetImpl(F); in run() 355 TLI = TSI->getTargetLowering(); in run() 380 TSchedModel.init(TSI); in run() 388 TSI = TM->getSubtargetImpl(F); in runOnFunction() 389 TLI = TSI->getTargetLowering(); in runOnFunction() 408 TSchedModel.init(TSI); in runOnFunction()
|
| /freebsd/usr.sbin/pmcstat/ |
| H A D | pmcpl_calltree.c | 458 #undef TSI in pmcpl_ct_node_printtop() 460 #define TSI(x, y) (pmcpl_ct_topscreen[x][pmcpl_ct_topmax[y].ln_index]) in pmcpl_ct_node_printtop() macro 488 ct = TSI(1, y); in pmcpl_ct_node_printtop() 506 for (x = 1; (ct = TSI(x, y)) != NULL; x++) { in pmcpl_ct_node_printtop() 531 TSI(x-1, y)->pct_image != ct->pct_image) in pmcpl_ct_node_printtop()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTNodeTraverser.h | 262 if (const TypeSourceInfo *TSI = A.getTypeSourceInfo()) in Visit() 263 Visit(TSI->getType()); in Visit() 584 if (const auto *TSI = D->getTypeSourceInfo(); VisitLocs && TSI) in VisitVarDecl() local 585 Visit(TSI->getTypeLoc()); in VisitVarDecl()
|
| H A D | Expr.h | 2132 TypeSourceInfo *TSI); 2147 SourceLocation RParen, TypeSourceInfo *TSI); 6190 TSIPtrTy TSI; variable 6192 AssociationTy(ExprPtrTy E, TSIPtrTy TSI, bool Selected) in AssociationTy() argument 6193 : E(E), TSI(TSI), Selected(Selected) {} in AssociationTy() 6197 TSIPtrTy getTypeSourceInfo() const { return TSI; } in getTypeSourceInfo() 6198 QualType getType() const { return TSI ? TSI->getType() : QualType(); } in getType() 6234 TSIPtrPtrTy TSI; // Kept in sync with E. variable 6236 AssociationIteratorTy(StmtPtrPtrTy E, TSIPtrPtrTy TSI, unsigned Offset, in AssociationIteratorTy() argument 6238 : E(E), TSI(TSI), Offset(Offset), SelectedOffset(SelectedOffset) {} in AssociationIteratorTy() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MacroFusion.cpp | 444 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument 447 const AArch64Subtarget &ST = static_cast<const AArch64Subtarget&>(TSI); in shouldScheduleAdjacent()
|