Home
last modified time | relevance | path

Searched refs:Modules (Results 1 – 25 of 263) sorted by relevance

1234567891011

/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DDbiModuleList.cpp26 : Modules(&Modules), Modi(Modi), Filei(Filei) { in DbiModuleSourceFilesIterator()
50 assert(Modules == R.Modules); in operator ==()
89 Thisi = R.Modules->getSourceFileCount(RealModi); in operator -()
101 assert(Filei <= Modules->getSourceFileCount(Modi)); in operator +=()
125 auto ExpectedValue = Modules->getFileName(Off); in setValue()
128 Filei = Modules->getSourceFileCount(Modi); in setValue()
137 assert(Modules); in isEnd()
138 assert(Modi <= Modules->getModuleCount()); in isEnd()
139 assert(Filei <= Modules->getSourceFileCount(Modi)); in isEnd()
141 if (Modi == Modules->getModuleCount()) in isEnd()
[all …]
/llvm-project-15.0.7/clang/test/Index/
H A Dindex-module.m7 // RUN: c-index-test -index-file %s -fmodules-cache-path=%t.cache -fmodules -F %S/../Modules/Inputs…
9 …-test -index-file %s -fmodules-cache-path=%t.cache.sys -fmodules -iframework %S/../Modules/Inputs \
11 …dex-test -index-file %s -fmodules-cache-path=%t.cache -fmodules -gmodules -F %S/../Modules/Inputs \
15 // CHECK: [ppIncludedFile]: {{.*}}/Modules/Inputs/DependsOnModule.framework{{[/\\]}}Headers{{[/\\]}…
26 // CHECK-DMOD-NEXT: [ppIncludedFile]: [[DMOD_MODULE_H:.*/Modules/Inputs/DependsOnModule\.framework[…
27 …udedFile]: {{.*}}/Modules/Inputs/Module.framework{{[/\\]}}Headers{{[/\\]}}Module.h | name: "Module…
28 // CHECK-DMOD-NEXT: [ppIncludedFile]: [[DMOD_OTHER_H:.*/Modules/Inputs/DependsOnModule\.framework[/…
29 // CHECK-DMOD-NEXT: [ppIncludedFile]: [[DMOD_NOT_CXX_H:.*/Modules/Inputs/DependsOnModule\.framework…
47 // CHECK-TMOD-NEXT: [ppIncludedFile]: [[TMOD_MODULE_H:.*/Modules/Inputs/Module\.framework[/\\]Heade…
48 // CHECK-TMOD-NEXT: [ppIncludedFile]: [[TMODHDR:.*/Modules/Inputs/Module.framework[/\\]Headers.]]Su…
[all …]
H A Dannotate-module.m7 …est-annotate-tokens=%s:2:1:5:1 %s -fmodules-cache-path=%t.cache -fmodules -F %S/../Modules/Inputs \
9 …te-tokens=%s:2:1:5:1 %s -fmodules-cache-path=%t.cache -fmodules -gmodules -F %S/../Modules/Inputs \
12 …nclusion directive=[[INC_DIR:DependsOnModule[/\\]DependsOnModule\.h \(.*/Modules/Inputs/DependsOnM…
29 …notate-tokens=%S/../Modules/Inputs/Module.framework/Headers/Sub.h:1:1:3:1 %s -fmodules-cache-path=…
32 …n: "#" [1:1 - 1:2] inclusion directive=[[INC_DIR:Module[/\\]Sub2\.h \(.*/Modules/Inputs/Module\.fr…
46 // RUN: c-index-test -cursor-at=%s:3:11 %s -fmodules-cache-path=%t.cache -fmodules -F %S/../Modules
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFeatureModule.h151 std::vector<std::unique_ptr<FeatureModule>> Modules; variable
166 using iterator = llvm::pointee_iterator<decltype(Modules)::iterator>;
168 llvm::pointee_iterator<decltype(Modules)::const_iterator>;
169 iterator begin() { return iterator(Modules.begin()); } in begin()
170 iterator end() { return iterator(Modules.end()); } in end()
171 const_iterator begin() const { return const_iterator(Modules.begin()); } in begin()
172 const_iterator end() const { return const_iterator(Modules.end()); } in end()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DTweak.cpp49 getAllTweaks(const FeatureModuleSet *Modules) { in getAllTweaks() argument
53 if (Modules) { in getAllTweaks()
54 for (auto &M : *Modules) in getAllTweaks()
75 const FeatureModuleSet *Modules) { in prepareTweaks() argument
79 for (auto &T : getAllTweaks(Modules)) { in prepareTweaks()
93 const FeatureModuleSet *Modules) { in prepareTweak() argument
94 for (auto &T : getAllTweaks(Modules)) { in prepareTweak()
/llvm-project-15.0.7/clang/test/Modules/
H A Dincomplete-framework-module.m8 // expected-warning@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:2{{sk…
9 // expected-warning@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:3{{sk…
10 // expected-note@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:1{{use '…
11 // expected-note@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:1{{use '…
H A Dimplicit-private-with-submodule.m14 // expected-warning@Inputs/implicit-private-with-submodule/A.framework/Modules/module.private.modul…
15 // expected-note@Inputs/implicit-private-with-submodule/A.framework/Modules/module.private.modulema…
17 // expected-warning@Inputs/implicit-private-with-submodule/A.framework/Modules/module.private.modul…
18 // expected-note@Inputs/implicit-private-with-submodule/A.framework/Modules/module.private.modulema…
20 // expected-warning@Inputs/implicit-private-with-submodule/A.framework/Modules/module.private.modul…
21 // expected-note@Inputs/implicit-private-with-submodule/A.framework/Modules/module.private.modulema…
H A Dmerge-objc-protocol-visibility.m15 //--- Frameworks/Foundation.framework/Modules/module.modulemap
28 //--- Frameworks/Common.framework/Modules/module.modulemap
39 //--- Frameworks/Regular.framework/Modules/module.modulemap
53 //--- Frameworks/RegularHider.framework/Modules/module.modulemap
H A Dmerge-objc-interface-visibility.m15 //--- Frameworks/Foundation.framework/Modules/module.modulemap
26 //--- Frameworks/Regular.framework/Modules/module.modulemap
40 //--- Frameworks/RegularHider.framework/Modules/module.modulemap
H A Dadd-remove-private.m11 // RUN: rm %t/AddRemovePrivate.framework/Modules/module.private.modulemap
19 … cp %S/Inputs/AddRemovePrivate.framework/Modules/module.private.modulemap %t/AddRemovePrivate.fram…
H A Dmerge-extension-ivars.m43 //--- Frameworks/InterfaceAndExtension.framework/Modules/module.modulemap
53 //--- Frameworks/Redirecting.framework/Modules/module.modulemap
85 //--- Frameworks/WithInlineIvar.framework/Modules/module.modulemap
116 //--- Frameworks/WithProperty.framework/Modules/module.modulemap
129 //--- Frameworks/BackingIvarInExtension.framework/Modules/module.modulemap
/llvm-project-15.0.7/llvm/lib/Support/
H A DSignals.cpp126 const char **Modules, intptr_t *Offsets,
174 std::vector<const char *> Modules(Depth, nullptr); in printSymbolizedStackTrace() local
176 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(), in printSymbolizedStackTrace()
189 if (Modules[i]) in printSymbolizedStackTrace()
190 Input << Modules[i] << " " << (void*)Offsets[i] << "\n"; in printSymbolizedStackTrace()
225 if (!Modules[i]) { in printSymbolizedStackTrace()
247 OS << "(" << Modules[i] << '+' << format_hex(Offsets[i], 0) << ")"; in printSymbolizedStackTrace()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DModulesTests.cpp21 TEST(Modules, TextualIncludeInPreamble) { in TEST() argument
43 TEST(Modules, PreambleBuildVisibility) { in TEST() argument
66 TEST(Modules, Diagnostic) { in TEST() argument
95 TEST(Modules, UnknownFormat) { in TEST() argument
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A DDIModule.ll1 ; ModuleID = '/Volumes/Data/apple-internal/llvm/tools/clang/test/Modules/debug-info-moduleimport.m'
11 ; CHECK-NEXT: DW_AT_LLVM_include_path {{.*}}"/llvm/tools/clang/test/Modules/Inputs"
22 !1 = !DIFile(filename: "/llvm/tools/clang/test/Modules/<stdin>", directory: "/")
26 …dule", configMacros: "-DMODULES=0", includePath: "/llvm/tools/clang/test/Modules/Inputs", apinotes…
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.h157 Module Modules[4096]; variable
164 for (size_t r = 0; r < Modules[m].NumRegions; r++) in IterateCounterRegions()
165 CB(Modules[m].Regions[r]); in IterateCounterRegions()
252 for (size_t r = 0; r < Modules[i].NumRegions; r++) { in CollectFeatures()
253 if (!Modules[i].Regions[r].Enabled) continue; in CollectFeatures()
254 FirstFeature += 8 * ForEachNonZeroByte(Modules[i].Regions[r].Start, in CollectFeatures()
255 Modules[i].Regions[r].Stop, in CollectFeatures()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DGlobalModuleIndex.cpp199 if (ID == Modules.size()) in GlobalModuleIndex()
200 Modules.push_back(ModuleInfo()); in GlobalModuleIndex()
202 Modules.resize(ID + 1); in GlobalModuleIndex()
206 Modules[ID].Size = Record[Idx++]; in GlobalModuleIndex()
207 Modules[ID].ModTime = Record[Idx++]; in GlobalModuleIndex()
217 Modules[ID].Dependencies.insert(Modules[ID].Dependencies.end(), in GlobalModuleIndex()
288 if (ModuleFile *MF = Modules[I].File) in getKnownModules()
306 if (ModuleFile *MF = Modules[I].File) in getModuleDependencies()
329 if (ModuleFile *MF = Modules[ModuleIDs[I]].File) in lookupIdentifier()
346 ModuleInfo &Info = Modules[Known->second]; in loadedModuleFile()
[all …]
/llvm-project-15.0.7/clang/test/VFS/
H A Dreal-path-found-first.m8 // RUN: mkdir -p %t/SomeFramework.framework/Modules
9 // RUN: cat %S/Inputs/some_frame_module.map > %t/SomeFramework.framework/Modules/module.modulemap
18 // RUN: echo ' ' >> %t/SomeFramework.framework/Modules/module.modulemap
37 // RUN: echo ' ' >> %t/SomeFramework.framework/Modules/module.modulemap
45 // RUN: mv %t/SomeFramework.framework/Modules/module.modulemap %t/hide_module.map
47 // RUN: echo "'name': '%t/SomeFramework.framework/Modules/module.modulemap'," >> %t2.yaml
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DIRSymtab.h147 Range<Module> Modules; member
239 ArrayRef<storage::Module> Modules; variable
260 Modules = range(header().Modules); in Reader()
274 size_t getNumModules() const { return Modules.size(); } in getNumModules()
360 const storage::Module &M = Modules[I]; in module_symbols()
/llvm-project-15.0.7/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp152 for (auto &M : Modules) { in generateModuleMap()
582 if (Modules.empty()) in addModule()
635 for (auto &Mod : Modules) { in linkCombinedIndex()
989 for (auto &Mod : Modules) { in run()
1028 auto ModuleCount = Modules.size(); in run()
1037 for (const auto &M : Modules) in run()
1042 for (const auto &M : Modules) in run()
1107 for (auto &Module : Modules) { in run()
1116 ModulesVec.reserve(Modules.size()); in run()
1117 for (auto &Mod : Modules) in run()
[all …]
/llvm-project-15.0.7/libclc/cmake/
H A DCMakeDetermineCLCCompiler.cmake1 include(${CMAKE_ROOT}/Modules/CMakeDetermineCompiler.cmake)
15 find_file(clc_comp_in CMakeCLCCompiler.cmake.in PATHS ${CMAKE_ROOT}/Modules ${CMAKE_MODULE_PATH})
H A DCMakeDetermineLLAsmCompiler.cmake1 include(${CMAKE_ROOT}/Modules/CMakeDetermineCompiler.cmake)
21 find_file(ll_comp_in CMakeLLAsmCompiler.cmake.in PATHS ${CMAKE_ROOT}/Modules ${CMAKE_MODULE_PATH})
/llvm-project-15.0.7/clang/test/CodeCompletion/
H A Dpch-and-module.m12 // ===--- Modules
21 // ===--- PCH + Modules
30 // ===--- Preamble + Modules
/llvm-project-15.0.7/clang/test/VFS/Inputs/
H A Dbar-headers.yaml28 'name': "VDIR/Bar.framework/Modules",
33 'external-contents': "OUT_DIR/Bar.framework/Modules/module.modulemap"
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.cpp324 const DbiModuleList &Modules, uint32_t I, in iterateOneModule() argument
327 if (I >= Modules.getModuleCount()) { in iterateOneModule()
333 auto Modi = Modules.getModuleDescriptor(I); in iterateOneModule()
366 const DbiModuleList &Modules = Stream.modules(); in iterateModules() local
369 iterateOneModule(File, P, Modules, opts::bytes::ModuleIndex, 1, IndentLevel, in iterateModules()
372 uint32_t Count = Modules.getModuleCount(); in iterateModules()
375 iterateOneModule(File, P, Modules, I, Digits, IndentLevel, Callback); in iterateModules()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy.cpp670 ModuleVector Modules; member in MCJITHelper
716 for (it = Modules.begin(), end = Modules.end(); in ~MCJITHelper()
731 ModuleVector::iterator begin = Modules.begin(); in getFunction()
732 ModuleVector::iterator end = Modules.end(); in getFunction()
770 Modules.push_back(M); in getModuleForNewFunction()
777 ModuleVector::iterator begin = Modules.begin(); in getPointerToFunction()
778 ModuleVector::iterator end = Modules.end(); in getPointerToFunction()
859 ModuleVector::iterator begin = Modules.begin(); in getPointerToNamedFunction()
860 ModuleVector::iterator end = Modules.end(); in getPointerToNamedFunction()
883 ModuleVector::iterator begin = Modules.begin(); in dump()
[all …]

1234567891011