Searched refs:PP (Results 1 - 25 of 196) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRTDyldMemoryManager.cpp163 #define ARM_MATH_IMPORTS(PP) \
164 PP(__aeabi_d2f) \
165 PP(__aeabi_d2iz) \
166 PP(__aeabi_d2lz) \
167 PP(__aeabi_d2uiz) \
168 PP(__aeabi_d2ulz) \
169 PP(__aeabi_dadd) \
170 PP(__aeabi_dcmpeq) \
171 PP(__aeabi_dcmpge) \
172 PP(__aeabi_dcmpg
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DRewriters.h23 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS);
26 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS);
29 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp24 const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
29 : PP(PP), OutputFile(OutputFile), isysroot(isysroot.str()),
43 if (PP.getModuleLoader().HadFatalFailure)
46 bool hasErrors = PP.getDiagnostics().hasErrorOccurred();
51 if (PP.getLangOpts().isCompilingModule()) {
52 Module = PP.getHeaderSearchInfo().lookupModule(
53 PP.getLangOpts().CurrentModule, /*AllowSearch*/ false);
63 PP.getDiagnostics().getClient()->clear();
71 PP
23 PCHGenerator( const Preprocessor &PP, InMemoryModuleCache &ModuleCache, StringRef OutputFile, StringRef isysroot, std::shared_ptr<PCHBuffer> Buffer, ArrayRef<std::shared_ptr<ModuleFileExtension>> Extensions, bool AllowASTWithErrors, bool IncludeTimestamps, bool ShouldCacheASTInMemory) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessorLexer.cpp25 : PP(pp), FID(fid) {
42 PP->Lex(FilenameTok);
51 return PP->getSourceManager().getFileEntryForID(getFileID());
H A DPragma.cpp66 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, argument
106 void PragmaNamespace::HandlePragma(Preprocessor &PP, argument
110 PP.LexUnexpandedToken(Tok);
118 PP.Diag(Tok, diag::warn_pragma_ignored);
123 Handler->HandlePragma(PP, Introducer, Tok);
751 Preprocessor &PP, Token &Tok,
754 PP.LexUnexpandedToken(Tok);
756 StringLiteralParser Literal(Tok, PP);
760 PP.getIdentifierInfo(Literal.GetString()), Tok.getLocation());
765 PP
750 LexModuleNameComponent( Preprocessor &PP, Token &Tok, std::pair<IdentifierInfo *, SourceLocation> &ModuleNameComponent, bool First) argument
771 LexModuleName( Preprocessor &PP, Token &Tok, llvm::SmallVectorImpl<std::pair<IdentifierInfo *, SourceLocation>> &ModuleName) argument
1135 HandleCaptured(Preprocessor &PP) argument
[all...]
H A DPPExpressions.cpp78 Preprocessor &PP);
103 bool ValueLive, Preprocessor &PP) {
108 PP.LexUnexpandedNonComment(PeekTok);
115 PP.LexUnexpandedNonComment(PeekTok);
119 if (PP.getCodeCompletionHandler())
120 PP.getCodeCompletionHandler()->CodeCompleteMacroName(false);
121 PP.setCodeCompletionReached();
122 PP.LexUnexpandedNonComment(PeekTok);
126 if (PP.CheckMacroName(PeekTok, MU_Other))
131 MacroDefinition Macro = PP
102 EvaluateDefined(PPValue &Result, Token &PeekTok, DefinedTracker &DT, bool ValueLive, Preprocessor &PP) argument
229 EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT, bool ValueLive, Preprocessor &PP) argument
547 diagnoseUnexpectedOperator(Preprocessor &PP, PPValue &LHS, Token &Tok) argument
563 EvaluateDirectiveSubExpr(PPValue &LHS, unsigned MinPrec, Token &PeekTok, bool ValueLive, bool &IncludedUndefinedIds, Preprocessor &PP) argument
[all...]
H A DMacroArgs.cpp26 bool VarargsElided, Preprocessor &PP) {
34 for (MacroArgs **Entry = &PP.MacroArgCache; *Entry;
78 void MacroArgs::destroy(Preprocessor &PP) { argument
85 ArgCache = PP.MacroArgCache;
86 PP.MacroArgCache = this;
137 Preprocessor &PP) {
141 return getPreExpArgument(VariadicArgIndex, PP).front().isNot(tok::eof);
147 Preprocessor &PP) const {
162 Preprocessor &PP) {
172 SaveAndRestore<bool> PreExpandingMacroArgs(PP
24 create(const MacroInfo *MI, ArrayRef<Token> UnexpArgTokens, bool VarargsElided, Preprocessor &PP) argument
161 getPreExpArgument(unsigned Arg, Preprocessor &PP) argument
[all...]
H A DTokenConcatenation.cpp48 const LangOptions &LangOpts = PP.getLangOpts();
53 SourceManager &SM = PP.getSourceManager();
62 unsigned length = PP.getSpelling(Tok, TokPtr);
66 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11);
69 TokenConcatenation::TokenConcatenation(const Preprocessor &pp) : PP(pp) {
89 if (PP.getLangOpts().CPlusPlus11) {
102 if (PP.getLangOpts().CPlusPlus17)
106 if (PP.getLangOpts().CPlusPlus20)
128 static char GetFirstChar(const Preprocessor &PP, const Token &Tok) { argument
136 SourceManager &SM = PP
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteTest.cpp18 void clang::DoRewriteTest(Preprocessor &PP, raw_ostream *OS) { argument
19 SourceManager &SM = PP.getSourceManager();
20 const LangOptions &LangOpts = PP.getLangOpts();
37 *OS << PP.getSpelling(*I);
H A DRewriteMacros.cpp61 static void LexRawTokensFromMainFile(Preprocessor &PP,
63 SourceManager &SM = PP.getSourceManager();
68 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
81 PP.LookUpIdentifierInfo(RawTok);
89 void clang::RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS) {
90 SourceManager &SM = PP.getSourceManager();
93 Rewrite.setSourceMgr(SM, PP.getLangOpts());
97 LexRawTokensFromMainFile(PP, RawTokens);
103 PP.EnterMainSourceFile();
105 PP
[all...]
H A DHTMLPrint.cpp34 Preprocessor &PP; member in class:__anon1905::HTMLPrinter
40 : Out(std::move(OS)), PP(pp), SyntaxHighlight(_SyntaxHighlight),
49 clang::CreateHTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &PP, argument
51 return std::make_unique<HTMLPrinter>(std::move(OS), PP, SyntaxHighlight,
60 if (PP.getDiagnostics().hasErrorOccurred())
82 if (SyntaxHighlight) html::SyntaxHighlight(R, FID, PP);
83 if (HighlightMacros) html::HighlightMacros(R, FID, PP);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp29 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
35 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
41 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
47 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
54 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
63 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
69 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
75 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
81 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
87 void HandlePragma(Preprocessor &PP, PragmaIntroduce
1630 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &VisTok) argument
1691 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &PackTok) argument
1803 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &MSStructTok) argument
1846 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &FirstToken) argument
1897 ParseAlignPragma(Preprocessor &PP, Token &FirstTok, bool IsOptions) argument
1964 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &AlignTok) argument
1970 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &OptionsTok) argument
1977 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &UnusedTok) argument
2059 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &WeakTok) argument
2120 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &RedefToken) argument
2164 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2183 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2251 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &FirstTok) argument
2265 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &FirstTok) argument
2310 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2408 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2494 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2533 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2655 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2711 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2792 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &FirstToken) argument
2839 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2959 ParseLoopHintValue(Preprocessor &PP, Token &Tok, Token PragmaName, Token Option, bool ValueInParens, PragmaLoopHintInfo &Info) argument
3048 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
3142 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
3208 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
3247 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
3300 HandlePragma( Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
3351 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &FirstToken) argument
3469 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
3501 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DTokenConcatenation.h31 const Preprocessor &PP; member in class:clang::TokenConcatenation
58 TokenConcatenation(const Preprocessor &PP);
H A DMacroArgs.h68 bool VarargsElided, Preprocessor &PP);
72 void destroy(Preprocessor &PP);
76 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const;
91 getPreExpArgument(unsigned Arg, Preprocessor &PP);
117 bool invokedWithVariadicArgument(const MacroInfo *const MI, Preprocessor &PP);
125 Preprocessor &PP, bool Charify,
H A DVariadicMacroSupport.h28 /// of the Preprocessor class allows it to access PP's cached identifiers
31 const Preprocessor &PP; member in class:clang::VariadicMacroScopeGuard
37 : PP(P), Ident__VA_ARGS__(PP.Ident__VA_ARGS__),
38 Ident__VA_OPT__(PP.Ident__VA_OPT__) {
78 VAOptDefinitionContext(Preprocessor &PP) argument
79 : Ident__VA_OPT__(PP.Ident__VA_OPT__) {}
155 VAOptExpansionContext(Preprocessor &PP) argument
156 : VAOptDefinitionContext(PP), LeadingSpaceForStringifiedToken(false),
H A DTokenLexer.h41 Preprocessor &PP; member in class:clang::TokenLexer
110 : PP(pp), OwnsTokens(false) {
119 : PP(pp), OwnsTokens(false) {
238 Preprocessor &PP);
/freebsd-13-stable/sys/netgraph/atm/
H A Dngatmbase.h53 #define uni_msg_unpack_mbuf(M, PP) \
54 _uni_msg_unpack_mbuf((M), (PP), __FILE__, __LINE__)
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp59 std::shared_ptr<Preprocessor> PP; member in class:__anon1945::final
65 std::shared_ptr<Preprocessor> PP,
69 PP(std::move(PP)),
72 assert(this->PP != nullptr);
79 IndexCtx->getDataConsumer().setPreprocessor(PP); variable
80 PP->addPPCallbacks(std::make_unique<IndexPPCallbacks>(IndexCtx));
128 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP,
130 return std::make_unique<IndexASTConsumer>(DataConsumer, Opts, PP,
136 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP) {
63 IndexASTConsumer(std::shared_ptr<IndexDataConsumer> DataConsumer, const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP, std::function<bool(const Decl *)> ShouldSkipFunctionBody) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMustExecute.h376 /// A "must be executed context" for a given program point PP is the set of
377 /// instructions, potentially before and after PP, that are executed always when
378 /// PP is reached. The MustBeExecutedContextExplorer an interface to explore
388 /// In the description of the parameters we use PP to denote a program point
393 /// other than the parent of PP should be
396 /// PP in the CFG, e.g., post-dominating PP,
399 /// before PP in the CFG, e.g., dominating PP,
419 /// Return an iterator to explore the context around \p PP
420 begin(const Instruction *PP) argument
442 range(const Instruction *PP) argument
456 checkForAllContext(const Instruction *PP, function_ref<bool(const Instruction *)> Pred) argument
470 findInContextOf(const Instruction *I, const Instruction *PP) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp150 Preprocessor &PP,
158 SourceManager &SM = PP.getSourceManager();
164 StringRef MacroName = PP.getImmediateMacroName(TopL);
167 } else if (!PP.getLangOpts().CPlusPlus) {
170 StringRef MacroName = PP.getImmediateMacroName(TopL);
179 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP);
189 Preprocessor &PP,
205 return isConfigurationValue(PE->getSubExpr(), PP, SilenceableCondVal,
220 return isConfigurationValue(cast<DeclRefExpr>(S)->getDecl(), PP);
230 return WrappedInParens || isExpandedFromConfigurationMacro(E, PP, IgnoreYES_N
149 isExpandedFromConfigurationMacro(const Stmt *S, Preprocessor &PP, bool IgnoreYES_NO = false) argument
188 isConfigurationValue(const Stmt *S, Preprocessor &PP, SourceRange *SilenceableCondVal = nullptr, bool IncludeIntegers = true, bool WrappedInParens = false) argument
272 isConfigurationValue(const ValueDecl *D, Preprocessor &PP) argument
294 shouldTreatSuccessorsAsReachable(const CFGBlock *B, Preprocessor &PP) argument
309 scanFromBlock(const CFGBlock *Start, llvm::BitVector &Reachable, Preprocessor *PP, bool IncludeSometimesUnreachableEdges) argument
375 scanMaybeReachableFromBlock(const CFGBlock *Start, Preprocessor &PP, llvm::BitVector &Reachable) argument
390 Preprocessor &PP; member in class:__anon1643::DeadCodeScan
399 DeadCodeScan(llvm::BitVector &reachable, Preprocessor &PP, ASTContext &C) argument
679 FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP, Callback &CB) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp35 Preprocessor &PP, raw_ostream &OS) {
70 OS << PP.getSpelling(T, SpellingBuffer);
80 Preprocessor &PP; member in class:__anon1901::PrintPPOutputPPCallbacks
102 : PP(pp), SM(PP.getSourceManager()), ConcatInfo(PP), OS(os),
341 const std::string TokenText = PP.getSpelling(IncludeTok);
360 << "#" << PP.getSpelling(IncludeTok) << " "
418 PrintMacroDefinition(*MacroNameTok.getIdentifierInfo(), *MI, PP, OS);
667 void HandlePragma(Preprocessor &PP, PragmaIntroduce
34 PrintMacroDefinition(const IdentifierInfo &II, const MacroInfo &MI, Preprocessor &PP, raw_ostream &OS) argument
712 PrintPreprocessedTokens(Preprocessor &PP, Token &Tok, PrintPPOutputPPCallbacks *Callbacks, raw_ostream &OS) argument
825 DoPrintMacros(Preprocessor &PP, raw_ostream *OS) argument
858 DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS, const PreprocessorOutputOptions &Opts) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp88 PathParser PP(P, PS_BeforeBegin);
89 PP.increment();
90 return PP;
94 PathParser PP(P, PS_AtEnd);
95 return PP;
1246 auto PP = PathParser::CreateEnd(p.native()); local
1247 --PP;
1250 while (PP.State != PathParser::PS_BeforeBegin) {
1251 tmp.assign(createView(p.native().data(), &PP.RawEntry.back()));
1260 DNEParts.push_back(*PP);
1298 auto PP = PathParser::CreateBegin(__pn_); local
1305 auto PP = PathParser::CreateBegin(__pn_); local
1314 auto PP = PathParser::CreateBegin(__pn_); local
1328 ConsumeRootName(PathParser *PP) argument
1337 ConsumeRootDir(PathParser* PP) argument
1347 auto PP = PathParser::CreateBegin(__pn_); local
1359 auto PP = PathParser::CreateBegin(__pn_); local
1366 auto PP = PathParser::CreateEnd(__pn_); local
1379 PathParser PP = PathParser::CreateBegin(__pn_); local
1494 DetermineLexicalElementCount(PathParser PP) argument
1508 auto PP = PathParser::CreateBegin(__pn_); local
1529 auto PP = PathParser::CreateBegin(__pn_); local
1630 auto PP = PathParser::CreateBegin(__p.native()); variable
1643 auto PP = PathParser::CreateBegin(__pn_); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DMacroPPCallbacks.cpp23 Preprocessor &PP, raw_ostream &Name,
56 Value << PP.getSpelling(T, SpellingBuffer);
61 MacroPPCallbacks::MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP) argument
62 : Gen(Gen), PP(PP), Status(NoScope) {}
120 if (PP.getSourceManager().isWrittenInCommandLineFile(Loc))
140 if (!PP.getSourceManager().isWrittenInBuiltinFile(Loc))
185 writeMacroDefinition(*Id, *MD->getMacroInfo(), PP, Name, Value);
21 writeMacroDefinition(const IdentifierInfo &II, const MacroInfo &MI, Preprocessor &PP, raw_ostream &Name, raw_ostream &Value) argument
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DPathDiagnosticConsumers.h34 const std::string &Prefix, const Preprocessor &PP, \
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp43 const Preprocessor &PP; member in class:__anon2355::PlistDiagnostics
49 const std::string &OutputFile, const Preprocessor &PP,
78 const Preprocessor &PP; member in class:__anon2356::PlistPrinter
84 const Preprocessor &PP,
86 : FM(FM), AnOpts(AnOpts), PP(PP), CTU(CTU) {
169 AnalyzerOptions &AnOpts, const Preprocessor &PP,
182 getExpandedMacro(SourceLocation MacroLoc, const Preprocessor &PP,
200 const SourceManager &SM = PP.getSourceManager();
201 const LangOptions &LangOpts = PP
83 PlistPrinter(const FIDMap& FM, AnalyzerOptions &AnOpts, const Preprocessor &PP, const cross_tu::CrossTranslationUnitContext &CTU) argument
523 printBugPath(llvm::raw_ostream &o, const FIDMap& FM, AnalyzerOptions &AnOpts, const Preprocessor &PP, const cross_tu::CrossTranslationUnitContext &CTU, const PathPieces &Path) argument
573 PlistDiagnostics( AnalyzerOptions &AnalyzerOpts, const std::string &output, const Preprocessor &PP, const cross_tu::CrossTranslationUnitContext &CTU, bool supportsMultipleFiles) argument
583 createPlistDiagnosticConsumer( AnalyzerOptions &AnalyzerOpts, PathDiagnosticConsumers &C, const std::string &OutputFile, const Preprocessor &PP, const cross_tu::CrossTranslationUnitContext &CTU) argument
597 createPlistMultiFileDiagnosticConsumer( AnalyzerOptions &AnalyzerOpts, PathDiagnosticConsumers &C, const std::string &OutputFile, const Preprocessor &PP, const cross_tu::CrossTranslationUnitContext &CTU) argument
848 const Preprocessor &PP; member in class:__anon2358::TokenPrinter
854 TokenPrinter(llvm::raw_ostream &OS, const Preprocessor &PP) argument
939 getExpandedMacro(SourceLocation MacroLoc, const Preprocessor &PP, const cross_tu::CrossTranslationUnitContext &CTU) argument
958 getMacroNameAndPrintExpansion( TokenPrinter &Printer, SourceLocation MacroLoc, const Preprocessor &PP, const MacroArgMap &PrevArgs, llvm::SmallPtrSet<IdentifierInfo *, 8> &AlreadyProcessedTokens) argument
1063 getMacroNameAndArgs(SourceLocation ExpanLoc, const Preprocessor &PP) argument
1213 getMacroInfoForLocation(const Preprocessor &PP, const SourceManager &SM, const IdentifierInfo *II, SourceLocation Loc) argument
[all...]

Completed in 365 milliseconds

12345678