Home
last modified time | relevance | path

Searched refs:FE (Results 1 – 25 of 197) sorted by relevance

12345678

/openbsd/gnu/llvm/clang/lib/Tooling/Inclusions/
H A DHeaderAnalysis.cpp60 llvm::StringRef getFileContents(const FileEntry *FE, const SourceManager &SM) { in getFileContents() argument
62 .getMemoryBufferForFileOrNone(FE) in getFileContents()
69 bool isSelfContainedHeader(const FileEntry *FE, const SourceManager &SM, in isSelfContainedHeader() argument
71 assert(FE); in isSelfContainedHeader()
72 if (!HeaderInfo.isFileMultipleIncludeGuarded(FE) && in isSelfContainedHeader()
73 !HeaderInfo.hasFileBeenImported(FE) && in isSelfContainedHeader()
76 (SM.getFileEntryForID(SM.getMainFileID()) != FE || in isSelfContainedHeader()
77 !codeContainsImports(getFileContents(FE, SM)))) in isSelfContainedHeader()
81 return !isDontIncludeMeHeader(getFileContents(FE, SM)); in isSelfContainedHeader()
/openbsd/gnu/usr.bin/perl/cpan/Unicode-Collate/t/
H A Dloc_jait.t142 ok($objJa->eq("\x{31FE}\x{30FD}", "\x{31FE}\x{30EC}"));
253 ok($objJa->lt("\x{31FE}\x{30FD}", "\x{31FE}\x{30EC}"));
447 ok($objJa->eq("\x{30A5}\x{30FE}", "\x{30A5}\x{30FD}".$vs));
448 ok($objJa->eq("\x{FF69}\x{30FE}", "\x{FF69}\x{30FD}".$vs));
451 ok($objJa->eq("\x{30A6}\x{30FE}", "\x{30A6}\x{30FD}".$vs));
452 ok($objJa->eq("\x{FF73}\x{30FE}", "\x{FF73}\x{30FD}".$vs));
459 ok($objJa->eq("\x{30AB}\x{30FE}", "\x{30AB}\x{30FD}".$vs));
460 ok($objJa->eq("\x{FF76}\x{30FE}", "\x{FF76}\x{30FD}".$vs));
465 ok($objJa->eq("\x{30AC}\x{30FE}", "\x{30AC}\x{30FD}".$vs));
471 ok($objJa->eq("\x{30AD}\x{30FE}", "\x{30AD}\x{30FD}".$vs));
[all …]
/openbsd/gnu/llvm/clang/lib/IndexSerialization/
H A DSerializablePathCollection.cpp48 size_t SerializablePathCollection::tryStoreFilePath(const FileEntry &FE) { in tryStoreFilePath() argument
49 auto FileIt = UniqueFiles.find(&FE); in tryStoreFilePath()
53 const auto Dir = tryStoreDirPath(sys::path::parent_path(FE.getName())); in tryStoreFilePath()
55 Paths.addFilePath(Dir.Root, Dir.Path, sys::path::filename(FE.getName())); in tryStoreFilePath()
57 UniqueFiles.try_emplace(&FE, FileIdx); in tryStoreFilePath()
/openbsd/gnu/llvm/clang/tools/libclang/
H A DIndexing.cpp175 const FileEntry *FE) { in hasAlredyBeenParsed() argument
176 assert(FE); in hasAlredyBeenParsed()
177 PPRegion region = getRegion(Loc, FID, FE); in hasAlredyBeenParsed()
203 assert(FE); in getRegion()
204 auto Bail = [this, FE]() { in getRegion()
205 if (isParsedOnceInclude(FE)) { in getRegion()
207 return PPRegion(ID, 0, FE->getModificationTime()); in getRegion()
225 const llvm::sys::fs::UniqueID &ID = FE->getUniqueID(); in getRegion()
229 bool isParsedOnceInclude(const FileEntry *FE) { in isParsedOnceInclude() argument
398 const FileEntry *FE = SM.getFileEntryForID(FID); in shouldSkipFunctionBody() local
[all …]
H A DCXIndexDataConsumer.cpp473 const FileEntry *FE = File ? &File->getFileEntry() : nullptr; in ppIncludedFile() local
479 const_cast<FileEntry *>(FE)), in ppIncludedFile()
482 FileMap[FE] = idxFile; in ppIncludedFile()
501 FileEntry *FE = nullptr; in importedModule() local
503 FE = const_cast<FileEntry *>(&File->getFileEntry()); in importedModule()
1034 const FileEntry *FE = SM.getFileEntryForID(FID); in markEntityOccurrenceInFile() local
1035 if (!FE) in markEntityOccurrenceInFile()
1037 RefFileOccurrence RefOccur(FE, D); in markEntityOccurrenceInFile()
1131 const FileEntry *FE = SM.getFileEntryForID(FID); in translateLoc() local
1133 *indexFile = getIndexFile(FE); in translateLoc()
[all …]
/openbsd/gnu/llvm/clang/lib/Lex/
H A DHeaderSearch.cpp154 if (HeaderMaps[i].first == FE) in CreateHeaderMap()
758 if (MSFE && FE != MSFE) { in checkMSVCHeaderSearch()
935 return FE; in LookupFile()
967 return FE; in LookupFile()
974 return FE; in LookupFile()
976 MSFE = FE; in LookupFile()
1071 IncludeNames[FE] = Filename; in LookupFile()
1317 if (FE->getUID() >= FileInfo.size()) in getFileInfo()
1351 HFI = &FileInfo[FE->getUID()]; in getExistingFileInfo()
1365 HFI = &FileInfo[FE->getUID()]; in getExistingFileInfo()
[all …]
H A DHeaderMap.cpp51 std::unique_ptr<HeaderMap> HeaderMap::Create(const FileEntry *FE, in Create() argument
54 unsigned FileSize = FE->getSize(); in Create()
57 auto FileBuffer = FM.getBufferForFile(FE); in Create()
H A DPPDirectives.cpp873 auto *FE = SM.getFileEntryForID(ID); in getHeaderToIncludeForDiagnostics() local
874 if (!FE) in getHeaderToIncludeForDiagnostics()
912 return FE; in getHeaderToIncludeForDiagnostics()
924 return FE; in getHeaderToIncludeForDiagnostics()
1005 if (&FE->getFileEntry() == FromFile) { in LookupFile()
1019 if (FE) { in LookupFile()
1023 Filename, *FE); in LookupFile()
1024 return FE; in LookupFile()
1039 Filename, *FE); in LookupFile()
1040 return FE; in LookupFile()
[all …]
/openbsd/gnu/llvm/llvm/lib/MC/
H A DMCSubtargetInfo.cpp42 for (const SubtargetFeatureKV &FE : FeatureTable) in SetImpliedBits() local
43 if (Implies.test(FE.Value)) in SetImpliedBits()
44 SetImpliedBits(Bits, FE.Implies.getAsBitset(), FeatureTable); in SetImpliedBits()
51 for (const SubtargetFeatureKV &FE : FeatureTable) { in ClearImpliedBits() local
52 if (FE.Implies.getAsBitset().test(Value)) { in ClearImpliedBits()
53 Bits.reset(FE.Value); in ClearImpliedBits()
54 ClearImpliedBits(Bits, FE.Value, FeatureTable); in ClearImpliedBits()
/openbsd/gnu/gcc/gcc/config/sh/
H A Dsh4a.md176 ;; Group: FE
189 ;; Group: FE
198 ;; Group: FE
206 ;; Group: FE
214 ;; Group: FE
222 ;; Group: FE
230 ;; Group: FE
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DLogDiagnosticPrinter.cpp121 if (const FileEntry *FE = SM.getFileEntryForID(FID)) in HandleDiagnostic() local
122 MainFilename = std::string(FE->getName()); in HandleDiagnostic()
150 if (const FileEntry *FE = SM.getFileEntryForID(FID)) in HandleDiagnostic() local
151 DE.Filename = std::string(FE->getName()); in HandleDiagnostic()
H A DVerifyDiagnosticConsumer.cpp740 const FileEntry *FE = SrcManager->getFileEntryForID(FID); in HandleDiagnostic() local
741 if (FE && CurrentPreprocessor && SrcManager->isLoadedFileID(FID)) { in HandleDiagnostic()
745 if (HS.findModuleForHeader(FE)) in HandleDiagnostic()
1029 const FileEntry *FE = SM.getFileEntryForID(FID); in UpdateParsedFileStatus() local
1034 ParsedFiles.insert(std::make_pair(FID, FE)); in UpdateParsedFileStatus()
1047 UnparsedFileStatus(FE, FoundDirectives))); in UpdateParsedFileStatus()
1069 if (const FileEntry *FE = I.second) in CheckDiagnostics() local
1070 ParsedFileCache.insert(FE); in CheckDiagnostics()
1075 const FileEntry *FE = Status.getFile(); in CheckDiagnostics() local
1078 if (FE && ParsedFileCache.count(FE)) in CheckDiagnostics()
[all …]
H A DModuleDependencyCollector.cpp40 if (auto FE = FileMgr.getOptionalFileRef(Filename)) in visitInputFile() local
41 Filename = FE->getName(); in visitInputFile()
/openbsd/gnu/llvm/clang/lib/Basic/
H A DSarif.cpp38 static StringRef getFileName(const FileEntry &FE) { in getFileName() argument
39 StringRef Filename = FE.tryGetRealPathName(); in getFileName()
41 Filename = FE.getName(); in getFileName()
217 const FileEntry *FE = Start.getExpansionLoc().getFileEntry(); in createPhysicalLocation() local
218 assert(FE != nullptr && "Diagnostic does not exist within a valid file!"); in createPhysicalLocation()
220 const std::string &FileURI = fileNameToURI(getFileName(*FE)); in createPhysicalLocation()
229 .setLength(FE->getSize()) in createPhysicalLocation()
H A DFileManager.cpp384 FileEntry &FE = const_cast<FileEntry &>(STDIN->getFileEntry()); in getSTDIN() local
385 FE.Content = std::move(Content); in getSTDIN()
386 FE.IsNamedPipe = true; in getSTDIN()
622 FE = SeenFileEntries.begin(), in GetUniqueIDMapping() local
624 FE != FEEnd; ++FE) in GetUniqueIDMapping()
625 if (llvm::ErrorOr<FileEntryRef::MapValue> Entry = FE->getValue()) { in GetUniqueIDMapping()
626 if (const auto *FE = Entry->V.dyn_cast<FileEntry *>()) in GetUniqueIDMapping() local
627 UIDToFiles[FE->getUID()] = FE; in GetUniqueIDMapping()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DIgnoreExpr.h51 if (auto *FE = dyn_cast<FullExpr>(E)) in IgnoreImplicitCastsSingleStep() local
52 return FE->getSubExpr(); in IgnoreImplicitCastsSingleStep()
78 if (auto *FE = dyn_cast<FullExpr>(E)) in IgnoreCastsSingleStep() local
79 return FE->getSubExpr(); in IgnoreCastsSingleStep()
/openbsd/gnu/llvm/clang/lib/ARCMigrate/
H A DFileRemapper.cpp137 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) { in flushToFile() local
138 SmallString<200> newPath = StringRef(FE->getName()); in flushToFile()
199 if (const FileEntry *FE = Mapping.second.dyn_cast<const FileEntry *>()) { in forEachMapping() local
200 CaptureFile(Mapping.first->getName(), FE->getName()); in forEachMapping()
212 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) { in applyMappings() local
213 PPOpts.addRemappedFile(I->first->getName(), FE->getName()); in applyMappings()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/GSYM/
H A DGsymReader.cpp385 void GsymReader::dump(raw_ostream &OS, std::optional<FileEntry> FE) { in dump() argument
386 if (FE) { in dump()
388 if (FE->Dir == 0 && FE->Base == 0) in dump()
390 StringRef Dir = getString(FE->Dir); in dump()
391 StringRef Base = getString(FE->Base); in dump()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstrSNP.td32 // F2 0F 01 FE
37 // F3 0F 01 FE
/openbsd/gnu/llvm/clang/include/clang/Lex/
H A DHeaderSearch.h142 virtual HeaderFileInfo GetHeaderFileInfo(const FileEntry *FE) = 0;
538 void MarkFileModuleHeader(const FileEntry *FE,
571 const HeaderMap *CreateHeaderMap(const FileEntry *FE);
800 HeaderFileInfo &getFileInfo(const FileEntry *FE);
806 const HeaderFileInfo *getExistingFileInfo(const FileEntry *FE,
/openbsd/gnu/llvm/clang/tools/clang-refactor/
H A DTestSupport.cpp46 auto FE = SM.getFileManager().getFile(Filename); in foreachRange() local
47 FileID FID = FE ? SM.translateFile(*FE) : FileID(); in foreachRange()
48 if (!FE || FID.isInvalid()) { in foreachRange()
/openbsd/gnu/usr.bin/perl/cpan/Unicode-Collate/Collate/CJK/
H A DJISX0208.pm55 81E5 82BD 86FE 8CC0 96C5 9913 99D5 4ECB 4F1A 89E3
107 73FE 7D43 8237 8A00 8AFA 9650 4E4E 500B 53E4 547C
113 529F 52B9 52FE 539A 53E3 5411 540E 5589 5751 57A2
151 53CE 5468 5B97 5C31 5DDE 4FEE 6101 62FE 6D32 79C0
157 5FAA 65EC 696F 6B89 6DF3 6E96 6F64 76FE 7D14 5DE1
168 57CE 5834 58CC 5B22 5E38 60C5 64FE 6761 6756 6D44
169 72B6 7573 7A63 84B8 8B72 91B8 9320 5631 57F4 98FE
179 83C5 9817 96C0 88FE 6F84 647A 5BF8 4E16 702C 755D
191 81B3 7CCE 564C 5851 5CA8 63AA 66FE 66FD 695A 72D9
290 54E9 69D9 5E55 819C 6795 9BAA 67FE 9C52 685D 4EA6
[all …]
/openbsd/gnu/llvm/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp182 auto FE = ScanInstance.getFileManager().getFile(MD->ClangModuleMapFile); in collectModuleMapFiles() local
183 assert(FE && "Missing module map file that was previously found"); in collectModuleMapFiles()
184 ModuleMapFiles.insert(*FE); in collectModuleMapFiles()
471 *MF, [&](FileEntryRef FE) { in handleTopLevelModule() argument
472 if (FE.getNameAsRequested().endswith("__inferred_module.map")) in handleTopLevelModule()
474 MD.ModuleMapFileDeps.emplace_back(FE.getNameAsRequested()); in handleTopLevelModule()
/openbsd/gnu/llvm/clang/include/clang/Tooling/Inclusions/
H A DHeaderAnalysis.h30 bool isSelfContainedHeader(const FileEntry *FE, const SourceManager &SM,
/openbsd/gnu/llvm/clang/tools/clang-import-test/
H A Dclang-import-test.cpp294 auto FE = CI.getFileManager().getFileRef(Path); in ParseSource() local
295 if (!FE) { in ParseSource()
296 llvm::consumeError(FE.takeError()); in ParseSource()
300 SM.setMainFileID(SM.createFileID(*FE, SourceLocation(), SrcMgr::C_User)); in ParseSource()

12345678