/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
H A D | MPIFunctionClassifier.cpp | 21 void MPIFunctionClassifier::identifierInit(ASTContext &ASTCtx) { in identifierInit() argument 23 initPointToPointIdentifiers(ASTCtx); in identifierInit() 24 initCollectiveIdentifiers(ASTCtx); in identifierInit() 25 initAdditionalIdentifiers(ASTCtx); in identifierInit() 28 void MPIFunctionClassifier::initPointToPointIdentifiers(ASTContext &ASTCtx) { in initPointToPointIdentifiers() argument 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() 46 IdentInfo_MPI_Issend = &ASTCtx.Idents.get("MPI_Issend"); in initPointToPointIdentifiers() 52 IdentInfo_MPI_Bsend = &ASTCtx.Idents.get("MPI_Bsend"); in initPointToPointIdentifiers() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | DataflowAnalysis.h | 311 auto createAnalysis(ASTContext &ASTCtx, Environment &Env) 312 -> decltype(AnalysisT(ASTCtx, Env)) { 313 return AnalysisT(ASTCtx, Env); 316 auto createAnalysis(ASTContext &ASTCtx, Environment &Env) 317 -> decltype(AnalysisT(ASTCtx)) { 318 return AnalysisT(ASTCtx); 338 diagnoseFunction(const FunctionDecl &FuncDecl, ASTContext &ASTCtx, 349 AnalysisT Analysis = createAnalysis<AnalysisT>(ASTCtx, Env); 354 [&ASTCtx, &Diagnoser, 358 Elt, ASTCtx, [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/ |
H A D | Visitor.h | 31 InstallAPIVisitor(ASTContext &ASTCtx, InstallAPIContext &Ctx, in InstallAPIVisitor() argument 34 MC(ItaniumMangleContext::create(ASTCtx, ASTCtx.getDiagnostics())), in InstallAPIVisitor() 35 Layout(ASTCtx.getTargetInfo().getDataLayoutString()) {} in InstallAPIVisitor() 36 void HandleTranslationUnit(ASTContext &ASTCtx) override; 71 const ASTContext &ASTCtx, llvm::MachO::ObjCContainerRecord *Record,
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/ |
H A D | MPIFunctionClassifier.h | 25 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 D | AnalysisManager.cpp | 16 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 D | LoopUnrolling.cpp | 248 ASTContext &ASTCtx = in isPossiblyEscaped() local 254 *S, ASTCtx); in isPossiblyEscaped() 268 bool shouldCompletelyUnroll(const Stmt *LoopStmt, ASTContext &ASTCtx, in shouldCompletelyUnroll() argument 276 auto Matches = match(forLoopMatcher(), *LoopStmt, ASTCtx); in shouldCompletelyUnroll() 320 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx, in updateLoopStack() argument 339 if (!shouldCompletelyUnroll(LoopStmt, ASTCtx, Pred, maxStep)) { in updateLoopStack()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Pointer.cpp | 123 APValue Pointer::toAPValue(const ASTContext &ASTCtx) const { in toAPValue() 156 const ASTRecordLayout &Layout = ASTCtx.getASTRecordLayout(FD->getParent()); in toAPValue() 158 return ASTCtx.toCharUnitsFromBits(Layout.getFieldOffset(FieldIndex)); in toAPValue() 179 Offset += (Index * ASTCtx.getTypeSizeInChars(Ptr.getType())); in toAPValue() 196 const ASTRecordLayout &Layout = ASTCtx.getASTRecordLayout( in toAPValue() 386 const ASTContext &ASTCtx = Ctx.getASTContext(); in toRValue() local 390 Composite = [&Composite, &Ctx, &ASTCtx](QualType Ty, const Pointer &Ptr, in toRValue() 402 TYPE_SWITCH(*T, R = Ptr.deref<T>().toAPValue(ASTCtx)); in toRValue() 419 TYPE_SWITCH(*T, Value = FP.deref<T>().toAPValue(ASTCtx)); in toRValue() 442 TYPE_SWITCH(*T, Value = FP.deref<T>().toAPValue(ASTCtx)); in toRValue() [all …]
|
H A D | Disasm.cpp | 347 const ASTContext &ASTCtx = Ctx->getASTContext(); in dump() local 355 std::get<APValue>(Value).dump(OS, ASTCtx); in dump() 369 P->toAPValue(ASTCtx).printPretty(OS, ASTCtx, SourceType); in dump() 371 FP->toAPValue(ASTCtx).printPretty(OS, ASTCtx, SourceType); in dump()
|
H A D | MemberPointer.cpp | 63 APValue MemberPointer::toAPValue(const ASTContext &ASTCtx) const { in toAPValue() 69 return Base.toAPValue(ASTCtx); in toAPValue()
|
H A D | Compiler.cpp | 1609 static CharUnits AlignOfType(QualType T, const ASTContext &ASTCtx, in AlignOfType() argument 1612 ASTCtx.getLangOpts().getClangABICompat() <= LangOptions::ClangABI::Ver7; in AlignOfType() 1627 return ASTCtx.toCharUnitsFromBits(ASTCtx.getPreferredTypeAlign(T)); in AlignOfType() 1629 return ASTCtx.getTypeAlignInChars(T); in AlignOfType() 1636 const ASTContext &ASTCtx = Ctx.getASTContext(); in VisitUnaryExprOrTypeTraitExpr() local 1654 Size = ASTCtx.getTypeSizeInChars(ArgType); in VisitUnaryExprOrTypeTraitExpr() 1656 Size = ASTCtx.getTypeInfoDataSizeInChars(ArgType).Width; in VisitUnaryExprOrTypeTraitExpr() 1671 Size = AlignOfType(ArgType, ASTCtx, Kind); in VisitUnaryExprOrTypeTraitExpr() 1683 Size = ASTCtx.getDeclAlign(DRE->getDecl(), in VisitUnaryExprOrTypeTraitExpr() 1686 Size = ASTCtx.getDeclAlign(ME->getMemberDecl(), in VisitUnaryExprOrTypeTraitExpr() [all …]
|
H A D | Pointer.h | 121 APValue toAPValue(const ASTContext &ASTCtx) const;
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ParentMapContext.h | 70 ASTContext &ASTCtx; 80 TraversalKindScope(ASTContext &ASTCtx, std::optional<TraversalKind> ScopeTK) in TraversalKindScope() argument 81 : Ctx(ASTCtx.getParentMapContext()) { in TraversalKindScope()
|
H A D | OpenMPClause.h | 8954 void getAsVariantMatchInfo(ASTContext &ASTCtx, 8985 TargetOMPContext(ASTContext &ASTCtx,
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | LoopUnrolling.h | 37 ProgramStateRef updateLoopStack(const Stmt *LoopStmt, ASTContext &ASTCtx,
|
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/ |
H A D | Visitor.cpp | 78 void InstallAPIVisitor::HandleTranslationUnit(ASTContext &ASTCtx) { in HandleTranslationUnit() argument 79 if (ASTCtx.getDiagnostics().hasErrorOccurred()) in HandleTranslationUnit() 82 auto *D = ASTCtx.getTranslationUnitDecl(); in HandleTranslationUnit() 141 const ASTContext &ASTCtx, ObjCContainerRecord *Record, StringRef SuperClass, in recordObjCInstanceVariables() argument 148 if (ASTCtx.getLangOpts().ObjCRuntime.isFragile()) in recordObjCInstanceVariables()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | BlockInCriticalSectionChecker.cpp | 106 const auto &ASTCtx = Call.getState()->getStateManager().getContext(); in initIdentifierInfo() local 107 Guard = &ASTCtx.Idents.get(GuardName); in initIdentifierInfo()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ParentMapContext.cpp | 22 ParentMapContext::ParentMapContext(ASTContext &Ctx) : ASTCtx(Ctx) {} in ParentMapContext() 482 Parents = std::make_unique<ParentMap>(ASTCtx); in getParents()
|
H A D | OpenMPClause.cpp | 2574 void OMPTraitInfo::getAsVariantMatchInfo(ASTContext &ASTCtx, in getAsVariantMatchInfo() argument 2589 Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx)) in getAsVariantMatchInfo() 2601 if ((Score = Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx))) in getAsVariantMatchInfo() 2749 ASTContext &ASTCtx, std::function<void(StringRef)> &&DiagUnknownTrait, in TargetOMPContext() argument 2752 : OMPContext(ASTCtx.getLangOpts().OpenMPIsTargetDevice, in TargetOMPContext() 2753 ASTCtx.getTargetInfo().getTriple()), in TargetOMPContext() 2755 return ASTCtx.getTargetInfo().isValidFeatureName(FeatureName); in TargetOMPContext() 2758 ASTCtx.getFunctionFeatureMap(FeatureMap, CurrentFunctionDecl);
|
H A D | ItaniumMangle.cpp | 4178 auto &ASTCtx = getASTContext(); in mangleType() local 4179 unsigned BitWidth = ASTCtx.getTypeSize(ASTCtx.getSizeType()); in mangleType() 4182 mangleIntegerLiteral(ASTCtx.getSizeType(), Rows); in mangleType() 4185 mangleIntegerLiteral(ASTCtx.getSizeType(), Columns); in mangleType()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
H A D | UncheckedOptionalAccessModel.cpp | 365 int countOptionalWrappers(const ASTContext &ASTCtx, QualType Type) { in countOptionalWrappers() argument 371 ASTCtx, in countOptionalWrappers() 372 valueTypeFromOptionalDecl(*Optional).getDesugaredType(ASTCtx)); in countOptionalWrappers()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 69 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 D | AnalysisDeclContext.h | 447 ASTContext &ASTCtx, bool useUnoptimizedCFG = false,
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseOpenMP.cpp | 1427 ASTContext &ASTCtx = Actions.getASTContext(); in ParseOMPDeclareVariantClauses() local 1428 OMPTraitInfo &TI = ASTCtx.getNewOMPTraitInfo(); in ParseOMPDeclareVariantClauses() 2229 ASTContext &ASTCtx = Actions.getASTContext(); in ParseOpenMPDeclarativeDirectiveWithExtDecl() local 2230 OMPTraitInfo &TI = ASTCtx.getNewOMPTraitInfo(); in ParseOpenMPDeclarativeDirectiveWithExtDecl() 2245 TI.getAsVariantMatchInfo(ASTCtx, VMI); in ParseOpenMPDeclarativeDirectiveWithExtDecl() 2254 ASTCtx, std::move(DiagUnknownTrait), in ParseOpenMPDeclarativeDirectiveWithExtDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExprCXX.cpp | 1117 DeclContext *CurSemaContext, ASTContext &ASTCtx) { in adjustCVQualifiersForCXXThisWithinLambda() argument 1174 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda() 1213 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
|