Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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 …]
/openbsd/gnu/llvm/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);
/openbsd/gnu/llvm/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.cpp56 ASTContext &ASTCtx = LCtx->getAnalysisDeclContext()->getASTContext(); in getWidenedLoopState() local
72 *LCtx->getDecl()->getBody(), ASTCtx); in getWidenedLoopState()
/openbsd/gnu/llvm/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.h8818 void getAsVariantMatchInfo(ASTContext &ASTCtx,
8849 TargetOMPContext(ASTContext &ASTCtx,
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp36 auto &ASTCtx = Var->getASTContext(); in isDeclaredInForOrIf() local
37 auto parent = ASTCtx.getParents(*Var); in isDeclaredInForOrIf()
41 DynTypedNodeList grandParent = ASTCtx.getParents(*DS); in isDeclaredInForOrIf()
/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp337 static CharUnits AlignOfType(QualType T, const ASTContext &ASTCtx, in AlignOfType() argument
340 ASTCtx.getLangOpts().getClangABICompat() <= LangOptions::ClangABI::Ver7; in AlignOfType()
352 return ASTCtx.toCharUnitsFromBits(ASTCtx.getPreferredTypeAlign(T)); in AlignOfType()
354 return ASTCtx.getTypeAlignInChars(T); in AlignOfType()
361 ASTContext &ASTCtx = Ctx.getASTContext(); in VisitUnaryExprOrTypeTraitExpr() local
372 Size = ASTCtx.getTypeSizeInChars(ArgType); in VisitUnaryExprOrTypeTraitExpr()
384 Size = AlignOfType(ArgType, ASTCtx, Kind); in VisitUnaryExprOrTypeTraitExpr()
396 Size = ASTCtx.getDeclAlign(DRE->getDecl(), in VisitUnaryExprOrTypeTraitExpr()
399 Size = ASTCtx.getDeclAlign(ME->getMemberDecl(), in VisitUnaryExprOrTypeTraitExpr()
402 Size = AlignOfType(Arg->getType(), ASTCtx, Kind); in VisitUnaryExprOrTypeTraitExpr()
H A DProgram.cpp141 auto &ASTCtx = Ctx.getASTContext(); in getOrCreateDummy() local
145 QualType Ty = ASTCtx.getIncompleteArrayType(ElemTy, ArrayType::Normal, 0); in getOrCreateDummy()
/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DLoopUnrolling.h37 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx,
/openbsd/gnu/llvm/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.cpp2467 void OMPTraitInfo::getAsVariantMatchInfo(ASTContext &ASTCtx, in getAsVariantMatchInfo() argument
2482 Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx)) in getAsVariantMatchInfo()
2494 if ((Score = Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx))) in getAsVariantMatchInfo()
2642 ASTContext &ASTCtx, std::function<void(StringRef)> &&DiagUnknownTrait, in TargetOMPContext() argument
2645 : OMPContext(ASTCtx.getLangOpts().OpenMPIsDevice, in TargetOMPContext()
2646 ASTCtx.getTargetInfo().getTriple()), in TargetOMPContext()
2648 return ASTCtx.getTargetInfo().isValidFeatureName(FeatureName); in TargetOMPContext()
2651 ASTCtx.getFunctionFeatureMap(FeatureMap, CurrentFunctionDecl);
H A DItaniumMangle.cpp3791 auto &ASTCtx = getASTContext(); in mangleType() local
3792 unsigned BitWidth = ASTCtx.getTypeSize(ASTCtx.getSizeType()); in mangleType()
3795 mangleIntegerLiteral(ASTCtx.getSizeType(), Rows); in mangleType()
3798 mangleIntegerLiteral(ASTCtx.getSizeType(), Columns); in mangleType()
/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp264 int countOptionalWrappers(const ASTContext &ASTCtx, QualType Type) { in countOptionalWrappers() argument
268 ASTCtx, in countOptionalWrappers()
273 .getDesugaredType(ASTCtx)); in countOptionalWrappers()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp69 ASTContext &ASTCtx, bool useUnoptimizedCFG, bool addImplicitDtors, in AnalysisDeclContextManager() argument
75 : Injector(injector), FunctionBodyFarm(ASTCtx, injector), in AnalysisDeclContextManager()
/openbsd/gnu/llvm/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h447 ASTContext &ASTCtx, bool useUnoptimizedCFG = false,
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseOpenMP.cpp1415 ASTContext &ASTCtx = Actions.getASTContext(); in ParseOMPDeclareVariantClauses() local
1416 OMPTraitInfo &TI = ASTCtx.getNewOMPTraitInfo(); in ParseOMPDeclareVariantClauses()
2220 ASTContext &ASTCtx = Actions.getASTContext(); in ParseOpenMPDeclarativeDirectiveWithExtDecl() local
2221 OMPTraitInfo &TI = ASTCtx.getNewOMPTraitInfo(); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2236 TI.getAsVariantMatchInfo(ASTCtx, VMI); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2245 ASTCtx, std::move(DiagUnknownTrait), in ParseOpenMPDeclarativeDirectiveWithExtDecl()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaExprCXX.cpp1083 DeclContext *CurSemaContext, ASTContext &ASTCtx) { in adjustCVQualifiersForCXXThisWithinLambda() argument
1141 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
1181 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
1188 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()