Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/lib/AST/
H A DComment.cpp220 const TypeSourceInfo *TSI = nullptr; in fill() local
311 TSI = VD->getTypeSourceInfo(); in fill()
313 TSI = PD->getTypeSourceInfo(); in fill()
322 TSI = VD->getTypeSourceInfo(); in fill()
331 TSI = cast<TypedefNameDecl>(CommentDecl)->getTypeSourceInfo(); in fill()
339 TSI = TAD->getTypeSourceInfo(); in fill()
349 if (TSI) { in fill()
350 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
H A DExprCXX.cpp983 CXXConstructorDecl *Cons, QualType Ty, TypeSourceInfo *TSI, in CXXTemporaryObjectExpr() argument
988 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
992 TSI(TSI) { in CXXTemporaryObjectExpr()
1002 TypeSourceInfo *TSI, ArrayRef<Expr *> Args, SourceRange ParenOrBraceRange, in Create() argument
1010 Cons, Ty, TSI, Args, ParenOrBraceRange, HadMultipleCandidates, in Create()
1330 TypeSourceInfo *TSI, in CXXUnresolvedConstructExpr() argument
1335 (TSI->getType()->isLValueReferenceType() ? VK_LValue in CXXUnresolvedConstructExpr()
1336 : TSI->getType()->isRValueReferenceType() ? VK_XValue in CXXUnresolvedConstructExpr()
1339 TSI(TSI), LParenLoc(LParenLoc), RParenLoc(RParenLoc) { in CXXUnresolvedConstructExpr()
1352 CXXUnresolvedConstructExpr(T, TSI, LParenLoc, Args, RParenLoc); in Create()
[all …]
H A DComputeDependence.cpp330 if (auto *TSI = E->getTypeSourceInfo()) in computeDependence() local
331 D |= toExprDependenceAsWritten(TSI->getType()->getDependence()); in computeDependence()
443 if (auto *TSI = DD->getTypeSourceInfo()) { in computeDependence() local
444 D |= toExprDependenceAsWritten(TSI->getType()->getDependence()); in computeDependence()
710 if (auto *TSI = E->getDestroyedTypeInfo()) in computeDependence() local
711 D |= toExprDependenceAsWritten(TSI->getType()->getDependence()); in computeDependence()
H A DDecl.cpp850 TypeAsWritten = TSI->getType(); in getLVForNamespaceScopeDecl()
997 TypeAsWritten = TSI->getType(); in getLVForClassMember()
1896 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc() local
1897 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc()
1902 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecEndLoc() local
1903 if (TSI) return TSI->getTypeLoc().getEndLoc(); in getTypeSpecEndLoc()
2823 TypeSourceInfo *TSI = getTypeSourceInfo(); in getOriginalType() local
2824 QualType T = TSI ? TSI->getType() : getType(); in getOriginalType()
3610 return TSI ? TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>() in getFunctionTypeLoc()
4616 if (auto *TSI = getIntegerTypeSourceInfo()) { in getSourceRange() local
[all …]
H A DODRHash.cpp365 TypeSourceInfo *TSI = D->getFriendType(); in VisitFriendDecl() local
366 Hash.AddBoolean(TSI); in VisitFriendDecl()
367 if (TSI) { in VisitFriendDecl()
368 AddQualType(TSI->getType()); in VisitFriendDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseNoexceptCheck.cpp62 if (const auto *TSI = FuncDecl->getTypeSourceInfo()) in check() local
64 TSI->getTypeLoc().castAs<FunctionTypeLoc>().getExceptionSpecRange(); in check()
72 if (const auto *TSI = ParmDecl->getTypeSourceInfo()) in check() local
73 Range = TSI->getTypeLoc() in check()
H A DUseTrailingReturnTypeCheck.cpp432 const TypeSourceInfo *TSI = F->getTypeSourceInfo(); in check() local
433 if (!TSI) in check()
437 TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in check()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp214 const TypeSourceInfo *TSI = nullptr; in checkASTCodeBody() local
216 TSI = in checkASTCodeBody()
219 TSI = i->ExplicitCastType; in checkASTCodeBody()
237 if (TSI) in checkASTCodeBody()
238 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVMacroFusion.cpp54 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument
57 const RISCVSubtarget &ST = static_cast<const RISCVSubtarget &>(TSI); in shouldScheduleAdjacent()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DConvertMemberFunctionsToStatic.cpp106 static SourceRange getLocationOfConst(const TypeSourceInfo *TSI, in getLocationOfConst() argument
109 assert(TSI); in getLocationOfConst()
110 const auto FTL = TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getLocationOfConst()
H A DMakeMemberFunctionConstCheck.cpp242 TypeSourceInfo *TSI = M->getTypeSourceInfo(); in getConstInsertionPoint() local
243 if (!TSI) in getConstInsertionPoint()
247 TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getConstInsertionPoint()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMacroFusion.h33 const TargetSubtargetInfo &TSI,
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUMacroFusion.cpp27 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCMacroFusion.cpp236 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument
243 const PPCSubtarget &ST = static_cast<const PPCSubtarget&>(TSI); in shouldScheduleAdjacent()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp818 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in buildLambdaInitCaptureInitialization() local
822 /*VarDecl*/nullptr, DeclarationName(Id), DeductType, TSI, in buildLambdaInitCaptureInitialization()
863 TypeSourceInfo *TSI = Context.getTrivialTypeSourceInfo(InitCaptureType, Loc); in createLambdaInitCaptureVarDecl() local
864 if (auto PETL = TSI->getTypeLoc().getAs<PackExpansionTypeLoc>()) in createLambdaInitCaptureVarDecl()
872 Loc, Id, InitCaptureType, TSI, SC_Auto); in createLambdaInitCaptureVarDecl()
1705 TypeSourceInfo *TSI = nullptr; in BuildCaptureField() local
1709 TSI = Capture.getVariable()->getTypeSourceInfo(); in BuildCaptureField()
1714 if (!TSI) in BuildCaptureField()
1715 TSI = Context.getTrivialTypeSourceInfo(FieldType, Loc); in BuildCaptureField()
1720 /*Id=*/nullptr, FieldType, TSI, /*BW=*/nullptr, in BuildCaptureField()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64MacroFusion.cpp385 const TargetSubtargetInfo &TSI, in shouldScheduleAdjacent() argument
388 const AArch64Subtarget &ST = static_cast<const AArch64Subtarget&>(TSI); in shouldScheduleAdjacent()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DAsmDump.cpp217 std::pair<const MCSymbol *, uint64_t> TSI = in dumpFunction() local
219 const MCSymbol *Symbol = TSI.first; in dumpFunction()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSelectOptimize.cpp101 const TargetSubtargetInfo *TSI; member in __anon6edd6fd50111::SelectOptimize
233 TSI = TM->getSubtargetImpl(F); in runOnFunction()
234 TLI = TSI->getTargetLowering(); in runOnFunction()
251 TSchedModel.init(TSI); in runOnFunction()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexDecl.cpp385 if (auto *TSI = ED->getIntegerTypeSourceInfo()) in VisitEnumDecl() local
386 IndexCtx.indexTypeSourceInfo(TSI, ED, ED, /*isBase=*/true); in VisitEnumDecl()
676 if (TypeSourceInfo *TSI = D->getTypeAsWritten()) in VisitClassTemplateSpecializationDecl() local
677 IndexCtx.indexTypeSourceInfo(TSI, /*Parent=*/nullptr, in VisitClassTemplateSpecializationDecl()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DInitialization.h419 static InitializedEntity InitializeCompoundLiteralInit(TypeSourceInfo *TSI) { in InitializeCompoundLiteralInit() argument
421 TSI->getType()); in InitializeCompoundLiteralInit()
422 Result.TypeInfo = TSI; in InitializeCompoundLiteralInit()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp270 if (const TypeSourceInfo *TSI = Cls->getTypeAsWritten()) { in printTemplateSpecializationArgs() local
274 auto STL = TSI->getTypeLoc().getAs<TemplateSpecializationTypeLoc>(); in printTemplateSpecializationArgs()
422 if (const auto *TSI = CTSD->getTypeAsWritten()) in declaredType() local
423 return TSI->getType(); in declaredType()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h2064 TypeSourceInfo *TSI);
2079 SourceLocation RParen, TypeSourceInfo *TSI);
5678 TSIPtrTy TSI; variable
5681 : E(E), TSI(TSI), Selected(Selected) {} in AssociationTy()
5685 TSIPtrTy getTypeSourceInfo() const { return TSI; } in getTypeSourceInfo()
5686 QualType getType() const { return TSI ? TSI->getType() : QualType(); } in getType()
5722 TSIPtrPtrTy TSI; // Kept in sync with E. variable
5726 : E(E), TSI(TSI), Offset(Offset), SelectedOffset(SelectedOffset) {} in AssociationIteratorTy()
5729 AssociationIteratorTy() : E(nullptr), TSI(nullptr) {} in AssociationIteratorTy()
5731 return AssociationTy<Const>(cast<Expr>(*E), *TSI,
[all …]
H A DRecursiveASTVisitor.h912 if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo())
913 return getDerived().TraverseTypeLoc(TSI->getTypeLoc());
1246 if (auto *TSI = TL.getClassTInfo())
1247 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
1982 if (auto *TSI = D->getIntegerTypeSourceInfo())
1983 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2034 if (TypeSourceInfo *TSI = D->getTypeAsWritten()) \
2181 if (TypeSourceInfo *TSI = D->getTypeSourceInfo()) {
2182 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2561 if (TypeSourceInfo *TSI = Assoc.getTypeSourceInfo())
[all …]

123