Home
last modified time | relevance | path

Searched refs:PP (Results 1 – 25 of 242) sorted by relevance

12345678910

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRTDyldMemoryManager.cpp156 PP(__aeabi_d2f) \
157 PP(__aeabi_d2iz) \
158 PP(__aeabi_d2lz) \
161 PP(__aeabi_dadd) \
168 PP(__aeabi_ddiv) \
169 PP(__aeabi_dmul) \
171 PP(__aeabi_f2d) \
186 PP(__aeabi_i2d) \
187 PP(__aeabi_i2f) \
190 PP(__aeabi_l2d) \
[all …]
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dpath.cpp56 ++PP; in __root_directory()
67 ++PP; in __root_path_raw()
113 --PP; in __parent_path()
116 --PP; in __parent_path()
182 for (auto PP = PathParser::CreateBegin(__pn_); PP; ++PP) { in lexically_normal() local
236 for (; PP; ++PP) { in DetermineLexicalElementCount()
270 while (PP && PPBase && PP.State == PPBase.State && *PP == *PPBase) { in lexically_relative()
271 ++PP; in lexically_relative()
295 for (; PP; ++PP) in lexically_relative()
398 ++PP; in __increment()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp319 PP.Lex(Tok); in HandlePragma()
2124 PP.Lex(Tok); in HandlePragma()
2134 PP.Lex(Tok); in HandlePragma()
2208 PP.Lex(Tok); in HandlePragma()
2239 PP.Lex(Tok); in HandlePragma()
2341 PP.Lex(Tok); in ParseAlignPragma()
2353 PP.Lex(Tok); in ParseAlignPragma()
2389 PP.Lex(Tok); in ParseAlignPragma()
2429 PP.Lex(Tok); in HandlePragma()
2471 PP.Lex(Tok); in HandlePragma()
[all …]
H A DParser.cpp72 PP.setCodeCompletionHandler(*this); in Parser()
175 << PP.getSpelling(Tok) in ExpectAndConsumeSemi()
482 PP.clearCodeCompletionHandler(); in ~Parser()
716 if (PP.getMaxTokens() != 0 && PP.getTokenCount() > PP.getMaxTokens()) { in ParseTopLevelDecl()
718 << PP.getTokenCount() << PP.getMaxTokens(); in ParseTopLevelDecl()
1744 if (PP.isBacktrackEnabled()) in AnnotateScopeToken()
1745 PP.RevertCachedTokens(1); in AnnotateScopeToken()
1756 PP.AnnotateCachedTokens(Tok); in AnnotateScopeToken()
1836 PP.TypoCorrectToken(Tok); in TryAnnotateName()
1960 << PP.getSpelling(Tok) in TryKeywordIdentFallback()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp1392 PP.Lex(Tok); in HandlePragma()
1398 PP.Lex(Tok); in HandlePragma()
1519 PP.Lex(Tok); in HandlePragma()
1539 PP.Lex(Tok); in HandlePragma()
1545 PP.Lex(Tok); in HandlePragma()
1583 PP.Lex(Tok); in HandlePragma()
1639 PP.Lex(Tok); in HandlePragma()
1772 PP.getLangOpts(), PP.getTargetInfo(), *M, PP.getDiagnostics())) { in HandlePragma()
2011 PP.Lex(Tok); in HandleMacroAnnotationPragma()
2029 PP.Lex(Tok); in HandleMacroAnnotationPragma()
[all …]
H A DPPExpressions.cpp160 PP.LexNonComment(PeekTok); in EvaluateDefined()
165 PP.LexNonComment(PeekTok); in EvaluateDefined()
188 PP.getSourceManager() in EvaluateDefined()
243 PP.LexNonComment(PeekTok); in EvaluateValue()
303 PP.getSourceManager(), PP.getLangOpts(), in EvaluateValue()
304 PP.getTargetInfo(), PP.getDiagnostics()); in EvaluateValue()
321 PP.Diag(PeekTok, in EvaluateValue()
330 PP.Diag(PeekTok, PP.getLangOpts().CPlusPlus in EvaluateValue()
340 PP.Diag(PeekTok, PP.getLangOpts().C23 in EvaluateValue()
371 PP.LexNonComment(PeekTok); in EvaluateValue()
[all …]
H A DMacroArgs.cpp34 for (MacroArgs **Entry = &PP.MacroArgCache; *Entry; in create()
78 void MacroArgs::destroy(Preprocessor &PP) { in destroy() argument
85 ArgCache = PP.MacroArgCache; in destroy()
86 PP.MacroArgCache = this; in destroy()
188 PP.Lex(Tok); in getPreExpArgument()
196 if (PP.InCachingLexMode()) in getPreExpArgument()
197 PP.ExitCachingLexMode(); in getPreExpArgument()
198 PP.RemoveTopOfLexerStack(); in getPreExpArgument()
238 std::string TokStr = PP.getSpelling(Tok, &Invalid); in StringifyArgument()
244 PP.CodeCompleteNaturalLanguage(); in StringifyArgument()
[all …]
H A DTokenConcatenation.cpp48 const LangOptions &LangOpts = PP.getLangOpts(); in IsIdentifierStringPrefix()
53 SourceManager &SM = PP.getSourceManager(); in IsIdentifierStringPrefix()
89 if (PP.getLangOpts().CPlusPlus11) { in TokenConcatenation()
102 if (PP.getLangOpts().CPlusPlus17) in TokenConcatenation()
106 if (PP.getLangOpts().CPlusPlus20) in TokenConcatenation()
142 PP.getSpelling(Tok, TokPtr); in GetFirstChar()
145 return PP.getSpelling(Tok)[0]; in GetFirstChar()
171 SourceManager &SM = PP.getSourceManager(); in AvoidConcat()
211 FirstChar = GetFirstChar(PP, Tok); in AvoidConcat()
231 if (!PP.getLangOpts().CPlusPlus11) in AvoidConcat()
[all …]
H A DTokenLexer.cpp136 if (ActualArgs) ActualArgs->destroy(PP); in destroy()
157 if (PP.getLangOpts().C99 && !PP.getLangOpts().GNUMode in MaybeRemoveCommaBeforeVaArgs()
254 VAOptExpansionContext VCtx(PP); in ExpandFunctionArguments()
657 (PP.getLangOpts().MSVCCompat && in Lex()
713 PP.HandlePoisonedIdentifier(Tok); in Lex()
717 return PP.HandleIdentifier(Tok); in Lex()
809 PP.IncrementPasteCounter(true); in pasteTokens()
816 PP.IncrementPasteCounter(false); in pasteTokens()
868 PP.Diag(Loc, PP.getLangOpts().MicrosoftExt ? diag::ext_pp_bad_paste_ms in pasteTokens()
919 PP.LookUpIdentifierInfo(LHSTok); in pasteTokens()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp80 Preprocessor &PP; member in __anond91e7fde0111::PrintPPOutputPPCallbacks
112 : PP(pp), SM(PP.getSourceManager()), ConcatInfo(PP), OS(os), in PrintPPOutputPPCallbacks()
833 PP.Lex(Tok); in PrintPreprocessedTokens()
836 PP.Lex(Tok); in PrintPreprocessedTokens()
842 PP.Lex(Tok); in PrintPreprocessedTokens()
850 PP.Lex(Tok); in PrintPreprocessedTokens()
862 PP.Lex(Tok); in PrintPreprocessedTokens()
868 PP.Lex(Tok); in PrintPreprocessedTokens()
927 PP.Lex(Tok); in PrintPreprocessedTokens()
945 do PP.Lex(Tok); in DoPrintMacros()
[all …]
H A DDependencyFile.cpp34 Preprocessor &PP; member
35 DepCollectorPPCallbacks(DependencyCollector &L, Preprocessor &PP) in DepCollectorPPCallbacks()
36 : DepCollector(L), PP(PP) {} in DepCollectorPPCallbacks()
48 PP.getSourceManager().getNonBuiltinFilenameForID(FID)) in LexedFileChanged()
93 DepCollector.finishedMainFile(PP.getDiagnostics()); in EndOfMainFile()
183 void DependencyCollector::attachToPreprocessor(Preprocessor &PP) { in attachToPreprocessor() argument
184 PP.addPPCallbacks(std::make_unique<DepCollectorPPCallbacks>(*this, PP)); in attachToPreprocessor()
185 PP.getHeaderSearchInfo().getModuleMap().addModuleMapCallbacks( in attachToPreprocessor()
207 void DependencyFileGenerator::attachToPreprocessor(Preprocessor &PP) { in attachToPreprocessor() argument
210 PP.SetSuppressIncludeNotFoundError(true); in attachToPreprocessor()
[all …]
H A DCompilerInstance.cpp173 PP = std::move(Value); in setPreprocessor()
465 PP->createPreprocessingRecord(); in createPreprocessor()
468 InitializeFileRemapping(PP->getDiagnostics(), PP->getSourceManager(), in createPreprocessor()
480 PP->getAuxTargetInfo()) in createPreprocessor()
488 if (PP->getLangOpts().Modules && PP->getLangOpts().ImplicitModules) { in createPreprocessor()
520 Listener->attachToPreprocessor(*PP); in createPreprocessor()
552 Preprocessor &PP = getPreprocessor(); in createASTContext() local
554 PP.getIdentifierTable(), PP.getSelectorTable(), in createASTContext()
555 PP.getBuiltinInfo(), PP.TUKind); in createASTContext()
567 Preprocessor &PP; member
[all …]
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp24 const Preprocessor &PP, InMemoryModuleCache &ModuleCache, in PCHGenerator() argument
29 : PP(PP), OutputFile(OutputFile), isysroot(isysroot.str()), in PCHGenerator()
43 if (PP.getModuleLoader().HadFatalFailure) in HandleTranslationUnit()
46 bool hasErrors = PP.getDiagnostics().hasErrorOccurred(); in HandleTranslationUnit()
51 if (PP.getLangOpts().isCompilingModule()) { in HandleTranslationUnit()
52 Module = PP.getHeaderSearchInfo().lookupModule( in HandleTranslationUnit()
53 PP.getLangOpts().CurrentModule, SourceLocation(), in HandleTranslationUnit()
64 PP.getDiagnostics().getClient()->clear(); in HandleTranslationUnit()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp63 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile()
81 PP.LookUpIdentifierInfo(RawTok); in LexRawTokensFromMainFile()
90 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput()
93 Rewrite.setSourceMgr(SM, PP.getLangOpts()); in RewriteMacrosInInput()
97 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput()
103 PP.EnterMainSourceFile(); in RewriteMacrosInInput()
105 PP.Lex(PPTok); in RewriteMacrosInInput()
118 PP.Lex(PPTok); in RewriteMacrosInInput()
159 PP.Lex(PPTok); in RewriteMacrosInInput()
197 Expansion += ' ' + PP.getSpelling(PPTok); in RewriteMacrosInInput()
[all …]
H A DHTMLPrint.cpp34 Preprocessor &PP; member in __anond9e614e40111::HTMLPrinter
40 : Out(std::move(OS)), PP(pp), SyntaxHighlight(_SyntaxHighlight), in HTMLPrinter()
49 clang::CreateHTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &PP, in CreateHTMLPrinter() argument
51 return std::make_unique<HTMLPrinter>(std::move(OS), PP, SyntaxHighlight, in CreateHTMLPrinter()
60 if (PP.getDiagnostics().hasErrorOccurred()) in HandleTranslationUnit()
82 if (SyntaxHighlight) html::SyntaxHighlight(R, FID, PP); in HandleTranslationUnit()
83 if (HighlightMacros) html::HighlightMacros(R, FID, PP); in HandleTranslationUnit()
H A DInclusionRewriter.cpp37 Preprocessor &PP; ///< Used to find inclusion directives. member in __anon2d3463ca0111::InclusionRewriter
109 : PP(PP), SM(PP.getSourceManager()), OS(OS), MainEOL("\n"), in InclusionRewriter()
371 PP.LookUpIdentifierInfo(RawToken); in NextIdentifierName()
389 Lexer RawLex(FileId, FromFile, PP.getSourceManager(), PP.getLangOpts()); in Process()
420 PP.LookUpIdentifierInfo(RawToken); in Process()
430 if (FileId != PP.getPredefinesFileID()) in Process()
549 SourceManager &SM = PP.getSourceManager(); in RewriteIncludesInInput()
555 PP.IgnorePragmas(); in RewriteIncludesInInput()
559 PP.EnterMainSourceFile(); in RewriteIncludesInInput()
566 PP.SetMacroExpansionOnlyInDirectives(); in RewriteIncludesInInput()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp158 SourceManager &SM = PP.getSourceManager(); in isExpandedFromConfigurationMacro()
167 } else if (!PP.getLangOpts().CPlusPlus) { in isExpandedFromConfigurationMacro()
189 Preprocessor &PP, in isConfigurationValue() argument
275 return isConfigurationValue(ED->getInitExpr(), PP); in isConfigurationValue()
302 return isConfigurationValue(Term, PP); in shouldTreatSuccessorsAsReachable()
313 return isConfigurationValue(Cond, PP); in shouldTreatSuccessorsAsReachable()
318 Preprocessor *PP, in scanFromBlock() argument
357 assert(PP); in scanFromBlock()
385 return scanFromBlock(Start, Reachable, &PP, true); in scanMaybeReachableFromBlock()
397 Preprocessor &PP; member in __anon9ab0f3670111::DeadCodeScan
[all …]
H A DMacroExpansionContext.cpp15 static void dumpTokenInto(const clang::Preprocessor &PP, clang::raw_ostream &OS,
21 const Preprocessor &PP; member in clang::detail::MacroExpansionRangeRecorder
27 const Preprocessor &PP, SourceManager &SM, in MacroExpansionRangeRecorder() argument
29 : PP(PP), SM(SM), ExpansionRanges(ExpansionRanges) {} in MacroExpansionRangeRecorder()
50 (void)PP; in MacroExpands()
52 dumpTokenInto(PP, llvm::dbgs(), MacroName); in MacroExpands()
90 PP = &NewPP; in registerForPreprocessor()
95 *PP, *SM, ExpansionRanges)); in registerForPreprocessor()
97 PP->setTokenWatcher([this](const Token &Tok) { onTokenLexed(Tok); }); in registerForPreprocessor()
197 unsigned Len = PP.getSpelling(Tok, TokPtr); in dumpTokenInto()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMustExecute.h420 iterator &begin(const Instruction *PP) { in begin()
421 auto &It = InstructionIteratorMap[PP]; in begin()
423 It.reset(new iterator(*this, PP)); in begin()
428 const_iterator &begin(const Instruction *PP) const { in begin()
429 return *InstructionIteratorMap.find(PP)->second; in begin()
443 return llvm::make_range(begin(PP), end(PP)); in range()
448 return llvm::make_range(begin(PP), end(PP)); in range()
456 bool checkForAllContext(const Instruction *PP, in checkForAllContext()
458 for (auto EIt = begin(PP), EEnd = end(PP); EIt != EEnd; ++EIt) in checkForAllContext()
471 auto EIt = begin(PP), EEnd = end(PP); in findInContextOf()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp104 std::shared_ptr<Preprocessor> PP; member in __anon01cdd9dd0111::IndexASTConsumer
110 std::shared_ptr<Preprocessor> PP, in IndexASTConsumer() argument
114 PP(std::move(PP)), in IndexASTConsumer()
117 assert(this->PP != nullptr); in IndexASTConsumer()
124 IndexCtx->getDataConsumer().setPreprocessor(PP); in Initialize()
232 static void indexPreprocessorMacros(Preprocessor &PP, in indexPreprocessorMacros() argument
234 for (const auto &M : PP.macros()) { in indexPreprocessorMacros()
242 static void indexPreprocessorModuleMacros(Preprocessor &PP, in indexPreprocessorModuleMacros() argument
245 for (const auto &M : PP.macros()) { in indexPreprocessorModuleMacros()
247 for (auto *MM : PP.getLeafModuleMacros(M.first)) { in indexPreprocessorModuleMacros()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTTypeTraits.cpp193 TN->print(OS, PP); in print()
195 NNS->print(OS, PP); in print()
198 NNS->print(OS, PP); in print()
202 QT->print(OS, PP); in print()
204 TL->getType().print(OS, PP); in print()
206 D->print(OS, PP); in print()
208 S->printPretty(OS, nullptr, PP); in print()
210 QualType(T, 0).print(OS, PP); in print()
212 A->printPretty(OS, PP); in print()
214 P->getProtocol()->print(OS, PP); in print()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
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.h31 const Preprocessor &PP; variable
37 : PP(P), Ident__VA_ARGS__(PP.Ident__VA_ARGS__), in VariadicMacroScopeGuard()
38 Ident__VA_OPT__(PP.Ident__VA_OPT__) { in VariadicMacroScopeGuard()
74 VAOptDefinitionContext(Preprocessor &PP) in VAOptDefinitionContext() argument
75 : Ident__VA_OPT__(PP.Ident__VA_OPT__) {} in VAOptDefinitionContext()
156 VAOptExpansionContext(Preprocessor &PP) in VAOptExpansionContext() argument
157 : VAOptDefinitionContext(PP), LeadingSpaceForStringifiedToken(false), in VAOptExpansionContext()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp46 const Preprocessor &PP; member in __anonaad8345b0111::PlistDiagnostics
85 const Preprocessor &PP; member in __anonaad8345b0211::PlistPrinter
94 : FM(FM), PP(PP), CTU(CTU), MacroExpansions(MacroExpansions) {} in PlistPrinter()
188 const SourceManager &SM = PP.getSourceManager(); in EmitRanges()
189 const LangOptions &LangOpts = PP.getLangOpts(); in EmitRanges()
219 const SourceManager &SM = PP.getSourceManager(); in EmitFixits()
220 const LangOptions &LangOpts = PP.getLangOpts(); in EmitFixits()
245 const SourceManager &SM = PP.getSourceManager(); in ReportControlFlow()
246 const LangOptions &LangOpts = PP.getLangOpts(); in ReportControlFlow()
302 const SourceManager &SM = PP.getSourceManager(); in ReportEvent()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMacroPPCallbacks.cpp23 Preprocessor &PP, raw_ostream &Name, in writeMacroDefinition() argument
56 Value << PP.getSpelling(T, SpellingBuffer); in writeMacroDefinition()
61 MacroPPCallbacks::MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP) in MacroPPCallbacks() argument
62 : Gen(Gen), PP(PP), Status(NoScope) {} in MacroPPCallbacks()
120 if (PP.getSourceManager().isWrittenInCommandLineFile(Loc)) in FileEntered()
140 if (!PP.getSourceManager().isWrittenInBuiltinFile(Loc)) in FileExited()
185 writeMacroDefinition(*Id, *MD->getMacroInfo(), PP, Name, Value); in MacroDefined()

12345678910