Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp146 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 DSemaTemplateDeductionGuide.cpp82 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 DSemaLambda.cpp832 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 DSemaFunctionEffects.cpp627 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 DComment.cpp224 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 DExprCXX.cpp1117 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 DComputeDependence.cpp343 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 DODRHash.cpp91 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 DDecl.cpp828 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 DTemplateBase.cpp600 if (TypeSourceInfo *TSI = getTypeSourceInfo()) in getSourceRange() local
601 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp211 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 DInterpreterValuePrinter.cpp127 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 DInterpreterUtils.cpp27 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 DARMMacroFusion.cpp52 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 DRISCVMacroFusion.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MacroFusion.cpp36 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 DAMDGPUMacroFusion.cpp27 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaSYCL.h58 TypeSourceInfo *TSI);
H A DInitialization.h433 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 DPPCMacroFusion.cpp235 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 DSelectOptimize.cpp103 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 Dpmcpl_calltree.c458 #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 DASTNodeTraverser.h262 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 DExpr.h2132 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 DAArch64MacroFusion.cpp444 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument
447 const AArch64Subtarget &ST = static_cast<const AArch64Subtarget&>(TSI); in shouldScheduleAdjacent()

1234