Home
last modified time | relevance | path

Searched refs:ASTCtx (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIFunctionClassifier.cpp23 initPointToPointIdentifiers(ASTCtx); in identifierInit()
24 initCollectiveIdentifiers(ASTCtx); in identifierInit()
25 initAdditionalIdentifiers(ASTCtx); in identifierInit()
30 IdentInfo_MPI_Send = &ASTCtx.Idents.get("MPI_Send"); in initPointToPointIdentifiers()
35 IdentInfo_MPI_Isend = &ASTCtx.Idents.get("MPI_Isend"); in initPointToPointIdentifiers()
41 IdentInfo_MPI_Ssend = &ASTCtx.Idents.get("MPI_Ssend"); in initPointToPointIdentifiers()
52 IdentInfo_MPI_Bsend = &ASTCtx.Idents.get("MPI_Bsend"); in initPointToPointIdentifiers()
63 IdentInfo_MPI_Rsend = &ASTCtx.Idents.get("MPI_Rsend"); in initPointToPointIdentifiers()
73 IdentInfo_MPI_Recv = &ASTCtx.Idents.get("MPI_Recv"); in initPointToPointIdentifiers()
78 IdentInfo_MPI_Irecv = &ASTCtx.Idents.get("MPI_Irecv"); in initPointToPointIdentifiers()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DMPIFunctionClassifier.h25 MPIFunctionClassifier(ASTContext &ASTCtx) { identifierInit(ASTCtx); } in MPIFunctionClassifier() argument
51 void identifierInit(ASTContext &ASTCtx);
52 void initPointToPointIdentifiers(ASTContext &ASTCtx);
53 void initCollectiveIdentifiers(ASTContext &ASTCtx);
54 void initAdditionalIdentifiers(ASTContext &ASTCtx);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DAnalysisManager.cpp16 AnalysisManager::AnalysisManager(ASTContext &ASTCtx, Preprocessor &PP, in AnalysisManager() argument
24 ASTCtx, Options.UnoptimizedCFG, in AnalysisManager()
41 Ctx(ASTCtx), PP(PP), LangOpts(ASTCtx.getLangOpts()), in AnalysisManager()
H A DLoopUnrolling.cpp231 ASTContext &ASTCtx = in isPossiblyEscaped() local
237 *S, ASTCtx); in isPossiblyEscaped()
251 bool shouldCompletelyUnroll(const Stmt *LoopStmt, ASTContext &ASTCtx, in shouldCompletelyUnroll() argument
259 auto Matches = match(forLoopMatcher(), *LoopStmt, ASTCtx); in shouldCompletelyUnroll()
303 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx, in updateLoopStack() argument
322 if (!shouldCompletelyUnroll(LoopStmt, ASTCtx, Pred, maxStep)) { in updateLoopStack()
H A DLoopWidening.cpp58 ASTContext &ASTCtx = LCtx->getAnalysisDeclContext()->getASTContext(); in getWidenedLoopState() local
74 *LCtx->getDecl()->getBody(), ASTCtx); in getWidenedLoopState()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DParentMapContext.h70 ASTContext &ASTCtx;
80 TraversalKindScope(ASTContext &ASTCtx, std::optional<TraversalKind> ScopeTK) in TraversalKindScope() argument
81 : Ctx(ASTCtx.getParentMapContext()) { in TraversalKindScope()
H A DOpenMPClause.h8914 void getAsVariantMatchInfo(ASTContext &ASTCtx,
8945 TargetOMPContext(ASTContext &ASTCtx,
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvaluationResult.cpp161 const ASTContext &ASTCtx = Ctx->getASTContext(); in dump() local
169 std::get<APValue>(Value).dump(OS, ASTCtx); in dump()
183 P->toAPValue().printPretty(OS, ASTCtx, SourceType); in dump()
185 FP->toAPValue().printPretty(OS, ASTCtx, SourceType); in dump()
H A DByteCodeExprGen.cpp937 static CharUnits AlignOfType(QualType T, const ASTContext &ASTCtx, in AlignOfType() argument
940 ASTCtx.getLangOpts().getClangABICompat() <= LangOptions::ClangABI::Ver7; in AlignOfType()
952 return ASTCtx.toCharUnitsFromBits(ASTCtx.getPreferredTypeAlign(T)); in AlignOfType()
954 return ASTCtx.getTypeAlignInChars(T); in AlignOfType()
961 ASTContext &ASTCtx = Ctx.getASTContext(); in VisitUnaryExprOrTypeTraitExpr() local
972 Size = ASTCtx.getTypeSizeInChars(ArgType); in VisitUnaryExprOrTypeTraitExpr()
987 Size = AlignOfType(ArgType, ASTCtx, Kind); in VisitUnaryExprOrTypeTraitExpr()
999 Size = ASTCtx.getDeclAlign(DRE->getDecl(), in VisitUnaryExprOrTypeTraitExpr()
1002 Size = ASTCtx.getDeclAlign(ME->getMemberDecl(), in VisitUnaryExprOrTypeTraitExpr()
1005 Size = AlignOfType(Arg->getType(), ASTCtx, Kind); in VisitUnaryExprOrTypeTraitExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp35 auto &ASTCtx = Var->getASTContext(); in isDeclaredInForOrIf() local
36 auto parent = ASTCtx.getParents(*Var); in isDeclaredInForOrIf()
40 DynTypedNodeList grandParent = ASTCtx.getParents(*DS); in isDeclaredInForOrIf()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DLoopUnrolling.h37 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMapContext.cpp22 ParentMapContext::ParentMapContext(ASTContext &Ctx) : ASTCtx(Ctx) {} in ParentMapContext()
463 Parents = std::make_unique<ParentMap>(ASTCtx); in getParents()
H A DOpenMPClause.cpp2572 void OMPTraitInfo::getAsVariantMatchInfo(ASTContext &ASTCtx, in getAsVariantMatchInfo() argument
2587 Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx)) in getAsVariantMatchInfo()
2599 if ((Score = Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx))) in getAsVariantMatchInfo()
2747 ASTContext &ASTCtx, std::function<void(StringRef)> &&DiagUnknownTrait, in TargetOMPContext() argument
2750 : OMPContext(ASTCtx.getLangOpts().OpenMPIsTargetDevice, in TargetOMPContext()
2751 ASTCtx.getTargetInfo().getTriple()), in TargetOMPContext()
2753 return ASTCtx.getTargetInfo().isValidFeatureName(FeatureName); in TargetOMPContext()
2756 ASTCtx.getFunctionFeatureMap(FeatureMap, CurrentFunctionDecl);
H A DItaniumMangle.cpp4168 auto &ASTCtx = getASTContext(); in mangleType() local
4169 unsigned BitWidth = ASTCtx.getTypeSize(ASTCtx.getSizeType()); in mangleType()
4172 mangleIntegerLiteral(ASTCtx.getSizeType(), Rows); in mangleType()
4175 mangleIntegerLiteral(ASTCtx.getSizeType(), Columns); in mangleType()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp290 int countOptionalWrappers(const ASTContext &ASTCtx, QualType Type) { in countOptionalWrappers() argument
294 ASTCtx, in countOptionalWrappers()
299 .getDesugaredType(ASTCtx)); in countOptionalWrappers()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp69 ASTContext &ASTCtx, bool useUnoptimizedCFG, bool addImplicitDtors, in AnalysisDeclContextManager() argument
75 : Injector(injector), FunctionBodyFarm(ASTCtx, injector), in AnalysisDeclContextManager()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h447 ASTContext &ASTCtx, bool useUnoptimizedCFG = false,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp1416 ASTContext &ASTCtx = Actions.getASTContext(); in ParseOMPDeclareVariantClauses() local
1417 OMPTraitInfo &TI = ASTCtx.getNewOMPTraitInfo(); in ParseOMPDeclareVariantClauses()
2221 ASTContext &ASTCtx = Actions.getASTContext(); in ParseOpenMPDeclarativeDirectiveWithExtDecl() local
2222 OMPTraitInfo &TI = ASTCtx.getNewOMPTraitInfo(); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2237 TI.getAsVariantMatchInfo(ASTCtx, VMI); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2246 ASTCtx, std::move(DiagUnknownTrait), in ParseOpenMPDeclarativeDirectiveWithExtDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp1120 DeclContext *CurSemaContext, ASTContext &ASTCtx) { in adjustCVQualifiersForCXXThisWithinLambda() argument
1177 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
1216 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
1223 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()