Home
last modified time | relevance | path

Searched refs:HS (Results 1 – 25 of 67) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/Target/ARM/Utils/
H A DARMBaseInfo.h33 HS, // Carry set >, ==, or unordered enumerator
53 case HS: return LO; in getOppositeCondition()
54 case LO: return HS; in getOppositeCondition()
76 case ARMCC::HS: return ARMCC::LS; in getSwappedCondition()
79 case ARMCC::LS: return ARMCC::HS; in getSwappedCondition()
150 case ARMCC::HS: return "hs"; in ARMCondCodeToString()
171 .Case("hs", ARMCC::HS) in ARMCondCodeFromString()
172 .Case("cs", ARMCC::HS) in ARMCondCodeFromString()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DHeaderSearch.h169 : HS(Other.HS), Idx(Other.Idx) {} in SearchDirIteratorImpl()
176 return HS == RHS.HS && Idx == RHS.Idx;
187 return HS->SearchDirs[Idx];
191 SearchDirIteratorImpl(std::nullptr_t) : HS(nullptr), Idx(0) {} in SearchDirIteratorImpl()
194 explicit operator bool() const { return HS != nullptr; }
198 Qualified<IsConst, HeaderSearch> *HS;
204 SearchDirIteratorImpl(Qualified<IsConst, HeaderSearch> &HS, size_t Idx) in SearchDirIteratorImpl()
205 : HS(&HS), Idx(Idx) {} in SearchDirIteratorImpl()
915 void ApplyHeaderSearchOptions(HeaderSearch &HS,
H A DDirectoryLookup.h184 LookupFile(StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc,
193 StringRef Filename, HeaderSearch &HS, SmallVectorImpl<char> *SearchPath,
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFormatProviders.h132 HexPrintStyle HS;
134 if (consumeHexStyle(Style, HS)) {
135 Digits = consumeNumHexDigits(Style, HS, 0);
136 write_hex(Stream, V, HS, Digits);
181 HexPrintStyle HS = HexPrintStyle::PrefixUpper;
182 consumeHexStyle(Style, HS);
183 size_t Digits = consumeNumHexDigits(Style, HS, sizeof(void *) * 2);
184 write_hex(Stream, reinterpret_cast<std::uintptr_t>(V), HS, Digits);
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DTpiStream.cpp81 auto HS = Pdb.safelyCreateIndexedStream(Header->HashStreamIndex); in reload() local
82 if (!HS) { in reload()
83 consumeError(HS.takeError()); in reload()
87 BinaryStreamReader HSR(**HS); in reload()
112 HashStream = std::move(*HS); in reload()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderInternals.h246 HeaderSearch *HS; variable
265 HeaderFileInfoTrait(ASTReader &Reader, ModuleFile &M, HeaderSearch *HS, in HeaderFileInfoTrait() argument
267 : Reader(Reader), M(M), HS(HS), FrameworkStrings(FrameworkStrings) {} in HeaderFileInfoTrait()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DStdLib.cpp290 const HeaderSearch &HS) { in add() argument
320 if (!HS.getFileMgr().getVirtualFileSystem().getRealPath(DirPath, Path)) in add()
324 llvm::make_range(HS.search_dir_begin(), HS.search_dir_end())) { in add()
330 if (!HS.getFileMgr().getNoncachedStatValue(Path, Stat) && in add()
H A DSymbolCollector.cpp322 HeaderSearch &HS, FrameworkHeaderPath &HeaderPath) { in getFrameworkUmbrellaSpelling() argument
334 auto StatErr = HS.getFileMgr().getNoncachedStatValue(UmbrellaPath, Status); in getFrameworkUmbrellaSpelling()
347 StatErr = HS.getFileMgr().getNoncachedStatValue(UmbrellaPath, Status); in getFrameworkUmbrellaSpelling()
365 const FileEntry *FE, llvm::StringRef Framework, HeaderSearch &HS) { in getFrameworkHeaderIncludeSpelling() argument
378 auto DirKind = HS.getFileDirFlavor(FE); in getFrameworkHeaderIncludeSpelling()
380 getFrameworkUmbrellaSpelling(Framework, DirKind, HS, *HeaderPath)) { in getFrameworkHeaderIncludeSpelling()
415 auto &HS = PP->getHeaderSearchInfo(); in getIncludeHeaderUncached() local
416 if (const auto *HFI = HS.getExistingFileInfo(FE, /*WantExternal*/ false)) in getIncludeHeaderUncached()
419 getFrameworkHeaderIncludeSpelling(FE, HFI->Framework, HS)) in getIncludeHeaderUncached()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DStdLibTests.cpp92 HeaderSearch HS(/*HSOpts=*/nullptr, SM.get(), SM.get().getDiagnostics(), LO, in TEST() local
95 HS.AddSearchPath( in TEST()
100 return Set.add(LO, HS); in TEST()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DDynamicLibrary.inc65 if (HandleSet* HS = IsOpenedHandlesInstance(Handle))
66 HS->Process = nullptr; // Just drop the *Process* handle.
90 HandleSet* HS = IsOpenedHandlesInstance(Handle);
91 if (!HS)
95 if (!HS->Process)
/llvm-project-15.0.7/clang/lib/Lex/
H A DInitHeaderSearch.cpp57 InitHeaderSearch(HeaderSearch &HS, bool verbose, StringRef sysroot) in InitHeaderSearch() argument
58 : Headers(HS), Verbose(verbose), IncludeSysroot(std::string(sysroot)), in InitHeaderSearch()
658 void clang::ApplyHeaderSearchOptions(HeaderSearch &HS, in ApplyHeaderSearchOptions() argument
662 InitHeaderSearch Init(HS, HSOpts.Verbose, HSOpts.Sysroot); in ApplyHeaderSearchOptions()
684 if (auto Dir = HS.getFileMgr().getDirectory(P)) in ApplyHeaderSearchOptions()
685 HS.getModuleMap().setBuiltinIncludeDir(*Dir); in ApplyHeaderSearchOptions()
H A DHeaderSearch.cpp430 StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc, in LookupFile() argument
454 return HS.getFileAndSuggestModule(TmpDir, IncludeLoc, getDir(), in LookupFile()
460 return DoFrameworkLookup(Filename, HS, SearchPath, RelativePath, in LookupFile()
494 if (auto Res = HS.getFileMgr().getOptionalFileRef(Dest)) { in LookupFile()
503 HS.noteLookupUsage(HS.searchDirIdx(*this), IncludeLoc); in LookupFile()
572 FileManager &FileMgr = HS.getFileMgr(); in DoFrameworkLookup()
582 HS.LookupFrameworkCache(Filename.substr(0, SlashPos)); in DoFrameworkLookup()
690 if (!HS.findUsableModuleForFrameworkHeader( in DoFrameworkLookup()
1542 static bool suggestModule(HeaderSearch &HS, const FileEntry *File, in suggestModule() argument
1546 HS.findModuleForHeader(File, /*AllowTextual*/true); in suggestModule()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.h207 uint32_t HS = static_cast<uint32_t>(Context.size() / 2); variable
209 CSize == -1 ? HS : std::min(static_cast<uint32_t>(CSize), HS);
/llvm-project-15.0.7/libc/benchmarks/
H A DJSON.cpp292 static void serialize(const HostState &HS, json::OStream &JOS) { in serialize() argument
293 JOS.attribute("CpuName", HS.CpuName); in serialize()
294 JOS.attribute("CpuFrequency", HS.CpuFrequency); in serialize()
296 for (const auto &CI : HS.Caches) in serialize()
/llvm-project-15.0.7/llvm/lib/Support/
H A DDynamicLibrary.cpp147 HandleSet& HS = *OpenedHandles; in getPermanentLibrary() local
152 HS.AddLibrary(Handle, /*IsProcess*/ FileName == nullptr); in getPermanentLibrary()
/llvm-project-15.0.7/llvm/lib/Target/ARC/MCTargetDesc/
H A DARCInfo.h31 HS = 0x6, enumerator
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendAction.cpp441 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in loadModuleMapForModuleBuild() local
458 if (HS.loadModuleMapFile(ModuleMap, IsSystem, ModuleMapID, &Offset, in loadModuleMapForModuleBuild()
466 if (HS.getModuleMap().canInferFrameworkModule(ModuleMap->getDir())) { in loadModuleMapForModuleBuild()
471 (void)HS.getModuleMap().inferFrameworkModule(*Dir, IsSystem, nullptr); in loadModuleMapForModuleBuild()
490 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in prepareToBuildModule() local
491 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, SourceLocation(), in prepareToBuildModule()
810 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in BeginSourceFile() local
818 HS.LookupFile(FileName, SourceLocation(), in BeginSourceFile()
H A DCompilerInstance.cpp219 static void collectHeaderMaps(const HeaderSearch &HS, in collectHeaderMaps() argument
222 HS.getHeaderMapFileNames(HeaderMapFileNames); in collectHeaderMaps()
1751 HeaderSearch &HS) { in selectModuleSource() argument
1763 const HeaderSearchOptions &HSOpts = HS.getHeaderSearchOpts(); in selectModuleSource()
1766 ModuleFilename = HS.getPrebuiltModuleFileName(ModuleName); in selectModuleSource()
1768 ModuleFilename = HS.getPrebuiltImplicitModuleFileName(M); in selectModuleSource()
1775 ModuleFilename = HS.getCachedModuleFileName(M); in selectModuleSource()
1786 HeaderSearch &HS = PP->getHeaderSearchInfo(); in findOrCompileModuleAndReadAST() local
1788 HS.lookupModule(ModuleName, ImportLoc, true, !IsInclusionDirective); in findOrCompileModuleAndReadAST()
1793 selectModuleSource(M, ModuleName, ModuleFilename, BuiltModules, HS); in findOrCompileModuleAndReadAST()
[all …]
H A DFrontendActions.cpp237 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in CreateOutputFile() local
239 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, in CreateOutputFile()
314 auto &HS = CI.getPreprocessor().getHeaderSearchInfo(); in BeginSourceFileAction() local
317 Optional<FileEntryRef> FE = HS.LookupFile( in BeginSourceFileAction()
328 HS.getModuleMap().createHeaderModule(CI.getLangOpts().CurrentModule, Headers); in BeginSourceFileAction()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp251 clang::HeaderSearch &HS = in AddModule() local
274 HS.getFileMgr().getDirectory(module.search_path.GetStringRef()); in AddModule()
277 auto *file = HS.lookupModuleMapFile(*dir, is_framework); in AddModule()
280 if (!HS.loadModuleMapFile(file, is_system)) in AddModule()
284 if (!HS.lookupModule(module.path.front().GetStringRef())) { in AddModule()
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dmve-vcmp.s137 …LINE+1]]:9: {{error|note}}: condition code for unsigned integer comparison must be EQ, NE, HS or HI
140 …LINE+1]]:9: {{error|note}}: condition code for unsigned integer comparison must be EQ, NE, HS or HI
184 …INE+1]]:10: {{error|note}}: condition code for unsigned integer comparison must be EQ, NE, HS or HI
187 …INE+1]]:10: {{error|note}}: condition code for unsigned integer comparison must be EQ, NE, HS or HI
231 …INE+1]]:10: {{error|note}}: condition code for unsigned integer comparison must be EQ, NE, HS or HI
234 …INE+1]]:10: {{error|note}}: condition code for unsigned integer comparison must be EQ, NE, HS or HI
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A DSRSRC-GIT-clobber-check.mir4 # in SGPR8 for HS or GS
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTX.h161 HS, enumerator
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DMachOPlatform.cpp95 for (auto &HS : AdditionalHeaderSymbols) in materialize() local
96 G->addDefinedSymbol(HeaderBlock, HS.Offset, HS.Name, in materialize()
152 for (auto &HS : AdditionalHeaderSymbols) in createHeaderInterface() local
153 HeaderSymbolFlags[MOP.getExecutionSession().intern(HS.Name)] = in createHeaderInterface()
/llvm-project-15.0.7/llvm/lib/Target/ARC/
H A DARCInstrInfo.cpp111 return ARCCC::HS; in getOppositeBranchCondition()
112 case ARCCC::HS: in getOppositeBranchCondition()

123