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

12345678

/freebsd-11-stable/contrib/gcc/
H A Dpretty-print.h123 #define pp_line_cutoff(PP) pp_base (PP)->wrapping.line_cutoff
126 #define pp_prefixing_rule(PP) pp_base (PP)->wrapping.rule
129 #define pp_wrapping_mode(PP) pp_base (PP)->wrapping
139 #define pp_format_decoder(PP) pp_base (PP)->format_decoder
143 #define pp_needs_newline(PP) pp_base (PP)
[all...]
H A Dc-pretty-print.h97 #define pp_base(PP) (&pp_c_base (PP)->base)
107 #define pp_abstract_declarator(PP, D) \
108 pp_c_base (PP)->abstract_declarator (pp_c_base (PP), D)
115 #define pp_direct_abstract_declarator(PP, D) \
116 pp_c_base (PP)->direct_abstract_declarator (pp_c_base (PP), D)
117 #define pp_ptr_operator(PP, D) \
118 pp_c_base (PP)
[all...]
/freebsd-11-stable/contrib/gcc/cp/
H A Dcxx-pretty-print.h28 #define pp_c_base(PP) (&(PP)->c_base)
44 #define pp_cxx_cv_qualifier_seq(PP, T) \
45 pp_c_type_qualifier_list (pp_c_base (PP), T)
47 #define pp_cxx_whitespace(PP) pp_c_whitespace (pp_c_base (PP))
48 #define pp_cxx_left_paren(PP) pp_c_left_paren (pp_c_base (PP))
49 #define pp_cxx_right_paren(PP) pp_c_right_paren (pp_c_base (PP))
[all...]
/freebsd-11-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-11-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-11-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
101 void PragmaNamespace::HandlePragma(Preprocessor &PP, argument
105 PP.LexUnexpandedToken(Tok);
113 PP.Diag(Tok, diag::warn_pragma_ignored);
118 Handler->HandlePragma(PP, Introducer, Tok);
746 Preprocessor &PP, Token &Tok,
749 PP.LexUnexpandedToken(Tok);
751 StringLiteralParser Literal(Tok, PP);
755 PP.getIdentifierInfo(Literal.GetString()), Tok.getLocation());
760 PP
745 LexModuleNameComponent( Preprocessor &PP, Token &Tok, std::pair<IdentifierInfo *, SourceLocation> &ModuleNameComponent, bool First) argument
766 LexModuleName( Preprocessor &PP, Token &Tok, llvm::SmallVectorImpl<std::pair<IdentifierInfo *, SourceLocation>> &ModuleName) argument
1130 HandleCaptured(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 DPPExpressions.cpp76 Preprocessor &PP);
101 bool ValueLive, Preprocessor &PP) {
106 PP.LexUnexpandedNonComment(PeekTok);
113 PP.LexUnexpandedNonComment(PeekTok);
117 if (PP.getCodeCompletionHandler())
118 PP.getCodeCompletionHandler()->CodeCompleteMacroName(false);
119 PP.setCodeCompletionReached();
120 PP.LexUnexpandedNonComment(PeekTok);
124 if (PP.CheckMacroName(PeekTok, MU_Other))
129 MacroDefinition Macro = PP
100 EvaluateDefined(PPValue &Result, Token &PeekTok, DefinedTracker &DT, bool ValueLive, Preprocessor &PP) argument
227 EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT, bool ValueLive, Preprocessor &PP) argument
527 diagnoseUnexpectedOperator(Preprocessor &PP, PPValue &LHS, Token &Tok) argument
543 EvaluateDirectiveSubExpr(PPValue &LHS, unsigned MinPrec, Token &PeekTok, bool ValueLive, bool &IncludedUndefinedIds, 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().CPlusPlus2a)
128 static char GetFirstChar(const Preprocessor &PP, const Token &Tok) { argument
136 SourceManager &SM = PP
[all...]
H A DLiteralSupport.cpp527 Preprocessor &PP)
528 : PP(PP), ThisTokBegin(TokSpelling.begin()), ThisTokEnd(TokSpelling.end()) {
574 if (PP.getLangOpts().FixedPoint) {
593 if (!PP.getLangOpts().FixedPoint) break;
600 if (!PP.getLangOpts().FixedPoint) break;
608 if (!(PP.getLangOpts().Half || PP.getLangOpts().FixedPoint)) break;
622 if ((PP.getTargetInfo().hasFloat16Type() || PP
525 NumericLiteralParser(StringRef TokSpelling, SourceLocation TokLoc, Preprocessor &PP) argument
[all...]
/freebsd-11-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:__anon520::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-11-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);
66 PP.getDiagnostics().hasUncompilableErrorOccurred(),
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
/freebsd-11-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
1578 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &VisTok) argument
1639 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &PackTok) argument
1751 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &MSStructTok) argument
1794 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &FirstToken) argument
1843 ParseAlignPragma(Preprocessor &PP, Token &FirstTok, bool IsOptions) argument
1910 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &AlignTok) argument
1916 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &OptionsTok) argument
1923 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &UnusedTok) argument
2005 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &WeakTok) argument
2066 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &RedefToken) argument
2110 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2129 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2197 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &FirstTok) argument
2211 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &FirstTok) argument
2256 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2354 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2440 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2478 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2534 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2615 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &FirstToken) argument
2662 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2774 ParseLoopHintValue(Preprocessor &PP, Token &Tok, Token PragmaName, Token Option, bool ValueInParens, PragmaLoopHintInfo &Info) argument
2863 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
2957 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
3023 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
3062 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
3115 HandlePragma( Preprocessor &PP, PragmaIntroducer Introducer, Token &Tok) argument
3166 HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, Token &FirstToken) argument
[all...]
/freebsd-11-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,
/freebsd-11-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-11-stable/contrib/llvm-project/clang/include/clang/Index/
H A DIndexingAction.h38 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP,
43 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP) {
45 std::move(DataConsumer), Opts, std::move(PP),
59 void indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP,
41 createIndexingASTConsumer( std::shared_ptr<IndexDataConsumer> DataConsumer, const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMustExecute.h363 /// A "must be executed context" for a given program point PP is the set of
364 /// instructions, potentially before and after PP, that are executed always when
365 /// PP is reached. The MustBeExecutedContextExplorer an interface to explore
375 /// In the description of the parameters we use PP to denote a program point
380 /// other than the parent of PP should be
401 /// Return an iterator to explore the context around \p PP.
402 iterator &begin(const Instruction *PP) { argument
403 auto *&It = InstructionIteratorMap[PP];
405 It = new iterator(*this, PP);
409 /// Return an iterator to explore the cached context around \p PP
424 range(const Instruction *PP) argument
440 findInContextOf(const Instruction *I, const Instruction *PP) argument
[all...]
/freebsd-11-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:__anon306::DeadCodeScan
399 DeadCodeScan(llvm::BitVector &reachable, Preprocessor &PP, ASTContext &C) argument
679 FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP, Callback &CB) argument
[all...]
/freebsd-11-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:__anon516::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-11-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp59 std::shared_ptr<Preprocessor> PP; member in class:__anon542::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,
150 static void indexPreprocessorMacros(const 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-11-stable/contrib/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp92 PathParser PP(P, PS_BeforeBegin);
93 PP.increment();
94 return PP;
98 PathParser PP(P, PS_AtEnd);
99 return PP;
1250 auto PP = PathParser::CreateEnd(p.native()); local
1251 --PP;
1254 while (PP.State != PathParser::PS_BeforeBegin) {
1255 tmp.assign(createView(p.native().data(), &PP.RawEntry.back()));
1264 DNEParts.push_back(*PP);
1302 auto PP = PathParser::CreateBegin(__pn_); local
1309 auto PP = PathParser::CreateBegin(__pn_); local
1318 auto PP = PathParser::CreateBegin(__pn_); local
1332 ConsumeRootName(PathParser *PP) argument
1341 ConsumeRootDir(PathParser* PP) argument
1351 auto PP = PathParser::CreateBegin(__pn_); local
1363 auto PP = PathParser::CreateBegin(__pn_); local
1370 auto PP = PathParser::CreateEnd(__pn_); local
1383 PathParser PP = PathParser::CreateBegin(__pn_); local
1498 DetermineLexicalElementCount(PathParser PP) argument
1512 auto PP = PathParser::CreateBegin(__pn_); local
1533 auto PP = PathParser::CreateBegin(__pn_); local
1634 auto PP = PathParser::CreateBegin(__p.native()); variable
1647 auto PP = PathParser::CreateBegin(__pn_); local
[all...]

Completed in 251 milliseconds

12345678