Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp142 TypeSourceInfo *TSI) { in BuildUniqueStableNameExpr() argument
144 RParen, TSI); in BuildUniqueStableNameExpr()
151 TypeSourceInfo *TSI = nullptr; in ActOnUniqueStableNameExpr() local
152 QualType Ty = SemaRef.GetTypeFromParser(ParsedTy, &TSI); in ActOnUniqueStableNameExpr()
156 if (!TSI) in ActOnUniqueStableNameExpr()
157 TSI = getASTContext().getTrivialTypeSourceInfo(Ty, LParen); in ActOnUniqueStableNameExpr()
159 return BuildUniqueStableNameExpr(OpLoc, LParen, RParen, TSI); in ActOnUniqueStableNameExpr()
H A DSemaTemplateDeductionGuide.cpp83 TypeSourceInfo *transform(TypeSourceInfo *TSI) { return TransformType(TSI); } in transform() argument
170 TypeSourceInfo *TSI = InnerTLB.getTypeSourceInfo(Context, Transformed); in TransformTypedefType() local
174 OrigDecl->getLocation(), OrigDecl->getIdentifier(), TSI); in TransformTypedefType()
179 OrigDecl->getLocation(), OrigDecl->getIdentifier(), TSI); in TransformTypedefType()
447 TypeSourceInfo *TSI = SemaRef.Context.getTrivialTypeSourceInfo(Result, Loc); in buildSimpleDeductionGuide() local
449 TSI = SemaRef.SubstType(TSI, OuterInstantiationArgs, Loc, in buildSimpleDeductionGuide()
452 if (!TSI) in buildSimpleDeductionGuide()
456 TSI->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in buildSimpleDeductionGuide()
461 auto *TSI = SemaRef.Context.getTrivialTypeSourceInfo(T, Loc); in buildSimpleDeductionGuide() local
463 TSI = SemaRef.SubstType(TSI, OuterInstantiationArgs, Loc, in buildSimpleDeductionGuide()
[all …]
H A DSemaLambda.cpp811 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in buildLambdaInitCaptureInitialization() local
815 /*VarDecl*/nullptr, DeclarationName(Id), DeductType, TSI, in buildLambdaInitCaptureInitialization()
854 TypeSourceInfo *TSI = Context.getTrivialTypeSourceInfo(InitCaptureType, Loc); in createLambdaInitCaptureVarDecl() local
855 if (auto PETL = TSI->getTypeLoc().getAs<PackExpansionTypeLoc>()) in createLambdaInitCaptureVarDecl()
863 InitCaptureType, TSI, SC_Auto); in createLambdaInitCaptureVarDecl()
2024 TypeSourceInfo *TSI = nullptr; in BuildCaptureField() local
2028 TSI = Var->getTypeSourceInfo(); in BuildCaptureField()
2033 if (!TSI) in BuildCaptureField()
2034 TSI = Context.getTrivialTypeSourceInfo(FieldType, Loc); in BuildCaptureField()
2039 /*Id=*/nullptr, FieldType, TSI, /*BW=*/nullptr, in BuildCaptureField()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp213 const TypeSourceInfo *TSI = nullptr; in checkASTCodeBody() local
215 TSI = CallRec.CastedExprParent.get<const VarDecl *>() in checkASTCodeBody()
218 TSI = CallRec.ExplicitCastType; in checkASTCodeBody()
236 if (TSI) in checkASTCodeBody()
237 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
/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/clang/lib/Interpreter/
H A DInterpreterUtils.cpp27 TypeSourceInfo *TSI = Ctx.getTrivialTypeSourceInfo(Ty, SourceLocation()); in CStyleCastPtrExpr() local
29 S.BuildCStyleCastExpr(SourceLocation(), TSI, SourceLocation(), E).get(); in CStyleCastPtrExpr()
H A DInterpreter.cpp694 TypeSourceInfo *TSI = Ctx.getTrivialTypeSourceInfo(UIntTy); in HandleIntegralOrEnumType() local
696 S.BuildCStyleCastExpr(SourceLocation(), TSI, SourceLocation(), E); in HandleIntegralOrEnumType()
702 TypeSourceInfo *TSI = Ctx.getTrivialTypeSourceInfo(Ctx.VoidPtrTy); in HandlePtrType() local
704 S.BuildCStyleCastExpr(SourceLocation(), TSI, SourceLocation(), E); in HandlePtrType()
767 TypeSourceInfo *TSI = in transformForValuePrinting() local
798 /*TypeIdParens=*/SourceRange(), TSI->getType(), TSI, std::nullopt, in transformForValuePrinting()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMacroFusion.h
/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/AMDGPU/
H A DAMDGPUMacroFusion.cpp27 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument
H A DGCNVOPDUtils.cpp124 const TargetSubtargetInfo &TSI, in shouldScheduleVOPDAdjacent()
118 shouldScheduleVOPDAdjacent(const TargetInstrInfo & TII,const TargetSubtargetInfo & TSI,const MachineInstr * FirstMI,const MachineInstr & SecondMI) shouldScheduleVOPDAdjacent() argument
/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
413 TSI = TM->getSubtargetImpl(F); in run()
414 TLI = TSI->getTargetLowering(); in run()
439 TSchedModel.init(TSI); in run()
447 TSI = TM->getSubtargetImpl(F); in runOnFunction()
448 TLI = TSI->getTargetLowering(); in runOnFunction()
467 TSchedModel.init(TSI); in runOnFunction()
/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()
554 if (const auto *TSI = D->getTypeSourceInfo(); VisitLocs && TSI) in VisitVarDecl() local
555 Visit(TSI->getTypeLoc()); in VisitVarDecl()
H A DExpr.h2087 TypeSourceInfo *TSI);
2102 SourceLocation RParen, TypeSourceInfo *TSI);
5991 TSIPtrTy TSI; variable
5993 AssociationTy(ExprPtrTy E, TSIPtrTy TSI, bool Selected) in AssociationTy() argument
5994 : E(E), TSI(TSI), Selected(Selected) {} in AssociationTy()
5998 TSIPtrTy getTypeSourceInfo() const { return TSI; } in getTypeSourceInfo()
5999 QualType getType() const { return TSI ? TSI->getType() : QualType(); } in getType()
6035 TSIPtrPtrTy TSI; // Kept in sync with E. variable
6037 AssociationIteratorTy(StmtPtrPtrTy E, TSIPtrPtrTy TSI, unsigned Offset, in AssociationIteratorTy() argument
6039 : E(E), TSI(TSI), Offset(Offset), SelectedOffset(SelectedOffset) {} in AssociationIteratorTy()
[all …]
H A DRecursiveASTVisitor.h916 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo())
917 return getDerived().TraverseTypeLoc(TSI->getTypeLoc());
1265 if (auto *TSI = TL.getClassTInfo())
1266 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2011 if (auto *TSI = D->getIntegerTypeSourceInfo())
2012 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2215 if (TypeSourceInfo *TSI = D->getTypeSourceInfo()) {
2216 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2619 if (TypeSourceInfo *TSI = Assoc.getTypeSourceInfo())
2620 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1109 CXXConstructorDecl *Cons, QualType Ty, TypeSourceInfo *TSI, in CXXTemporaryObjectExpr() argument
1114 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
1118 TSI(TSI) { in CXXTemporaryObjectExpr()
1128 TypeSourceInfo *TSI, ArrayRef<Expr *> Args, SourceRange ParenOrBraceRange, in Create() argument
1136 Cons, Ty, TSI, Args, ParenOrBraceRange, HadMultipleCandidates, in Create()
1456 QualType T, TypeSourceInfo *TSI, SourceLocation LParenLoc, in CXXUnresolvedConstructExpr() argument
1459 (TSI->getType()->isLValueReferenceType() ? VK_LValue in CXXUnresolvedConstructExpr()
1460 : TSI->getType()->isRValueReferenceType() ? VK_XValue in CXXUnresolvedConstructExpr()
1463 TypeAndInitForm(TSI, IsListInit), LParenLoc(LParenLoc), in CXXUnresolvedConstructExpr()
1473 const ASTContext &Context, QualType T, TypeSourceInfo *TSI, in Create() argument
[all …]
H A DComputeDependence.cpp340 if (auto *TSI = E->getTypeSourceInfo()) in computeDependence() local
341 D |= toExprDependenceAsWritten(TSI->getType()->getDependence()); in computeDependence()
480 if (auto *TSI = DD->getTypeSourceInfo()) { in computeDependence() local
481 D |= toExprDependenceAsWritten(TSI->getType()->getDependence()); in computeDependence()
780 if (auto *TSI = E->getDestroyedTypeInfo()) in computeDependence() local
781 D |= toExprDependenceAsWritten(TSI->getType()->getDependence()); in computeDependence()
H A DDecl.cpp829 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl() local
830 TypeAsWritten = TSI->getType(); in getLVForNamespaceScopeDecl()
976 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember() local
977 TypeAsWritten = TSI->getType(); in getLVForClassMember()
1971 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc() local
1972 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc()
1977 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecEndLoc() local
1978 if (TSI) return TSI->getTypeLoc().getEndLoc(); in getTypeSpecEndLoc()
2917 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType() local
2918 QualType T = TSI ? TSI->getType() : getType(); in getOriginalType()
[all …]
H A DODRHash.cpp457 TypeSourceInfo *TSI = D->getFriendType(); in VisitFriendDecl() local
458 Hash.AddBoolean(TSI); in VisitFriendDecl()
459 if (TSI) { in VisitFriendDecl()
460 AddQualType(TSI->getType()); in VisitFriendDecl()
/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/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()

123