Home
last modified time | relevance | path

Searched refs:Instance (Results 1 – 25 of 260) sorted by relevance

1234567891011

/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h55 void init(Allocator *Instance) REQUIRES(Mutex) { in init()
57 Instance->init(); in init()
59 FallbackTSD.init(Instance); in init()
63 void initOnceMaybe(Allocator *Instance) EXCLUDES(Mutex) { in initOnceMaybe()
67 init(Instance); // Sets Initialized. in initOnceMaybe()
70 void unmapTestOnly(Allocator *Instance) EXCLUDES(Mutex) { in unmapTestOnly()
71 DCHECK(Instance); in unmapTestOnly()
74 Instance); in unmapTestOnly()
75 ThreadTSD.commitBack(Instance); in unmapTestOnly()
80 FallbackTSD.commitBack(Instance); in unmapTestOnly()
[all …]
H A Dtsd_shared.h50 void init(Allocator *Instance) REQUIRES(Mutex) { in init()
52 Instance->init(); in init()
54 TSDs[I].init(Instance); in init()
61 void initOnceMaybe(Allocator *Instance) EXCLUDES(Mutex) { in initOnceMaybe()
65 init(Instance); // Sets Initialized. in initOnceMaybe()
68 void unmapTestOnly(Allocator *Instance) EXCLUDES(Mutex) { in unmapTestOnly()
70 TSDs[I].commitBack(Instance); in unmapTestOnly()
78 void drainCaches(Allocator *Instance) { in drainCaches()
82 Instance->drainCache(&TSDs[I]); in drainCaches()
87 ALWAYS_INLINE void initThreadMaybe(Allocator *Instance, in initThreadMaybe()
[all …]
/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.cpp78 CompilerInstance Instance(CI.getPCHContainerOperations()); in onBodySynthesis() local
79 Instance.setInvocation(std::move(Invocation)); in onBodySynthesis()
80 Instance.createDiagnostics( in onBodySynthesis()
85 Instance.getDiagnostics().setSourceManager(&SM); in onBodySynthesis()
89 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis()
90 Instance.setSourceManager(&SM); in onBodySynthesis()
91 Instance.setPreprocessor(CI.getPreprocessorPtr()); in onBodySynthesis()
92 Instance.setASTContext(&CI.getASTContext()); in onBodySynthesis()
94 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis()
100 CRC.RunSafelyOnThread([&]() { Instance in onBodySynthesis()
[all...]
/llvm-project/clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/
H A DSomeKit.apinotes6 MethodKind: Instance
10 MethodKind: Instance
14 MethodKind: Instance
22 MethodKind: Instance
30 MethodKind: Instance
39 PropertyKind: Instance
43 PropertyKind: Instance
56 MethodKind: Instance
61 MethodKind: Instance
70 PropertyKind: Instance
[all …]
/llvm-project/clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/APINotes/
H A DSomeKit.apinotes6 MethodKind: Instance
10 MethodKind: Instance
15 PropertyKind: Instance
19 PropertyKind: Instance
32 MethodKind: Instance
37 MethodKind: Instance
46 PropertyKind: Instance
65 MethodKind: Instance
70 PropertyKind: Instance
73 PropertyKind: Instance
/llvm-project/clang/unittests/Serialization/
H A DModuleCacheTest.cpp122 CompilerInstance Instance; in TEST_F() local
123 Instance.setDiagnostics(Diags.get()); in TEST_F()
124 Instance.setInvocation(Invocation); in TEST_F()
126 ASSERT_TRUE(Instance.ExecuteAction(Action)); in TEST_F()
145 CompilerInstance Instance2(Instance.getPCHContainerOperations(), in TEST_F()
146 &Instance.getModuleCache()); in TEST_F()
172 CompilerInstance Instance; in TEST_F() local
173 Instance.setDiagnostics(Diags.get()); in TEST_F()
174 Instance.setInvocation(Invocation); in TEST_F()
176 ASSERT_TRUE(Instance in TEST_F()
[all...]
H A DForceCheckFileInputTest.cpp89 CompilerInstance Instance; in TEST_F()
90 Instance.setDiagnostics(Diags.get()); in TEST_F()
91 Instance.setInvocation(Invocation); in TEST_F()
93 Instance.getFrontendOpts().OutputFile = BMIPath; in TEST_F()
96 Instance.getInvocation(), Instance.getDiagnostics(), CIOpts.VFS)) in TEST_F()
98 Instance.createFileManager(CIOpts.VFS); in TEST_F()
100 Instance.getHeaderSearchOpts().ValidateASTInputFilesContent = true; in TEST_F()
103 EXPECT_TRUE(Instance.ExecuteAction(Action)); in TEST_F()
87 CompilerInstance Instance; TEST_F() local
H A DVarDeclConstantInitTest.cpp107 CompilerInstance Instance; in TEST_F() local
108 Instance.setDiagnostics(Diags.get()); in TEST_F()
109 Instance.setInvocation(Invocation); in TEST_F()
112 Instance.getFrontendOpts().OutputFile = CacheBMIPath; in TEST_F()
115 ASSERT_TRUE(Instance.ExecuteAction(Action)); in TEST_F()
/llvm-project/lldb/source/Plugins/SymbolLocator/Default/
H A DSymbolLocatorDefault.cpp102 FileSystem::Instance().Exists(symbol_file_spec)) in LocateExecutableSymbolFile()
114 FileSystem::Instance().ResolveSymbolicLink(module_file_spec, in LocateExecutableSymbolFile()
120 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
129 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
138 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
145 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
161 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
185 FileSystem::Instance().Resolve(dirspec); in LocateExecutableSymbolFile()
186 if (!FileSystem::Instance().IsDirectory(dirspec)) in LocateExecutableSymbolFile()
211 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
[all …]
/llvm-project/llvm/test/CodeGen/AArch64/
H A Dmisched-detail-resource-booking-02.mir77 # CHECK-NEXT: Instance 0 available @0c
78 # CHECK-NEXT: Instance 1 available @0c
94 # CHECK-NEXT: Instance 0 available @0c
95 # CHECK-NEXT: Instance 1 available @0c
111 # CHECK-NEXT: Instance 0 available @0c
112 # CHECK-NEXT: Instance 1 available @0c
128 # CHECK-NEXT: Instance 0 available @0c
129 # CHECK-NEXT: Instance 1 available @0c
145 # CHECK-NEXT: Instance 0 available @0c
146 # CHECK-NEXT: Instance
[all...]
H A Dmisched-detail-resource-booking-01.mir289 # CHECK-NEXT: Instance 0 available @0c
290 # CHECK-NEXT: Instance 1 available @0c
306 # CHECK-NEXT: Instance 0 available @0c
307 # CHECK-NEXT: Instance 1 available @0c
323 # CHECK-NEXT: Instance 0 available @0c
324 # CHECK-NEXT: Instance 1 available @0c
340 # CHECK-NEXT: Instance 0 available @0c
341 # CHECK-NEXT: Instance 1 available @0c
360 # CHECK-NEXT: Instance 0 available @3c
361 # CHECK-NEXT: Instance
[all...]
/llvm-project/clang/unittests/Frontend/
H A DCompilerInstanceTest.cpp69 CompilerInstance Instance; in TEST()
70 Instance.setDiagnostics(Diags.get()); in TEST()
71 Instance.setInvocation(CInvok); in TEST()
72 Instance.createFileManager(); in TEST()
76 ASSERT_TRUE(Instance.getFileManager().getOptionalFileRef("vfs-virtual.file"));
91 CompilerInstance Instance; in TEST()
93 Instance.createDiagnostics(*llvm::vfs::getRealFileSystem(), DiagOpts, in TEST()
67 CompilerInstance Instance; TEST() local
89 CompilerInstance Instance; TEST() local
/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/
H A DSymbolLocatorDebugSymbols.cpp153 FileSystem::Instance().Resolve(dsym_filespec); in LocateExecutableObjectFile()
155 if (FileSystem::Instance().IsDirectory(dsym_filespec)) { in LocateExecutableObjectFile()
186 if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) { in LocateExecutableObjectFile()
235 FileSystem::Instance().Resolve(exec_filespec); in LocateExecutableObjectFile()
236 if (FileSystem::Instance().Exists(exec_filespec)) { in LocateExecutableObjectFile()
255 FileSystem::Instance().Resolve(file_spec); in LocateExecutableObjectFile()
271 FileSystem::Instance().Resolve(bundle_exe_file_spec); in LocateExecutableObjectFile()
337 FileSystem::Instance().GetVirtualFileSystem(); in FindSymbolFileInBundle()
408 if (FileSystem::Instance().Exists(dsym_directory)) { in LookForDsymNextToExecutablePath()
414 if (FileSystem::Instance() in LookForDsymNextToExecutablePath()
[all...]
/llvm-project/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwinKernel.cpp356 FileSystem::Instance().Resolve(possible_dir); in CollectKextAndKernelDirectories()
357 if (FileSystem::Instance().IsDirectory(possible_dir)) in CollectKextAndKernelDirectories()
362 FileSystem::Instance().Resolve(cwd); in CollectKextAndKernelDirectories()
373 FileSystem::Instance().Resolve(dir); in GetUserSpecifiedDirectoriesToSearch()
374 if (FileSystem::Instance().IsDirectory(dir)) { in GetUserSpecifiedDirectoriesToSearch()
390 FileSystem::Instance().Resolve(testdir); in AddRootSubdirsToSearchPaths()
391 if (FileSystem::Instance().IsDirectory(testdir)) in AddRootSubdirsToSearchPaths()
405 FileSystem::Instance().EnumerateDirectory( in AddSDKSubdirsToSearchPaths()
436 FileSystem::Instance().EnumerateDirectory( in SearchForKextsAndKernelsRecursively()
446 FileSystem::Instance().EnumerateDirectory( in SearchForKextsAndKernelsRecursively()
[all …]
H A DPlatformDarwinDevice.cpp39 FileSystem::Instance().Resolve(sdk_sysroot_fspec); in UpdateSDKDirectoryInfosIfNeeded()
63 FileSystem::Instance().EnumerateDirectory( in UpdateSDKDirectoryInfosIfNeeded()
75 if (FileSystem::Instance().Exists(sdk_symbols_symlink_fspec)) { in UpdateSDKDirectoryInfosIfNeeded()
91 FileSystem::Instance().Resolve(local_sdk_cache); in UpdateSDKDirectoryInfosIfNeeded()
92 if (FileSystem::Instance().Exists(local_sdk_cache)) { in UpdateSDKDirectoryInfosIfNeeded()
101 FileSystem::Instance().EnumerateDirectory( in UpdateSDKDirectoryInfosIfNeeded()
123 FileSystem::Instance().EnumerateDirectory( in UpdateSDKDirectoryInfosIfNeeded()
131 if (FileSystem::Instance().Exists(sdk_symbols_symlink_fspec)) { in UpdateSDKDirectoryInfosIfNeeded()
348 FileSystem::Instance().Resolve(device_support_spec); in GetSharedModuleWithLocalCache()
349 if (FileSystem::Instance() in GetSharedModuleWithLocalCache()
[all...]
H A DPlatformRemoteDarwinDevice.cpp86 FileSystem::Instance().Resolve(local_file); in GetFileInSDK()
87 if (FileSystem::Instance().Exists(local_file)) { in GetFileInSDK()
112 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
113 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
126 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
127 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
139 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
140 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
147 if (FileSystem::Instance().Exists(local_file)) in GetSymbolFile()
/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp21 CompilerInstance &Instance; member in __anon3b6cdc100111::InterfaceStubFunctionsConsumer
70 !Instance.getLangOpts().GNUInline) in WriteNamedDecl()
120 Instance.getDiagnostics().Report(diag::err_asm_invalid_type_in_input) in WriteNamedDecl()
234 Instance.getDiagnostics().Report(diag::err_asm_invalid_type_in_input) in HandleNamedDecl()
240 InterfaceStubFunctionsConsumer(CompilerInstance &Instance, StringRef InFile, in InterfaceStubFunctionsConsumer() argument
242 : Instance(Instance), InFile(InFile), Format(Format) {} in InterfaceStubFunctionsConsumer()
270 auto OS = Instance.createDefaultOutputFile(/*Binary=*/false, InFile, "ifs"); in HandleTranslationUnit()
274 if (Instance.getLangOpts().DelayedTemplateParsing) { in HandleTranslationUnit()
275 clang::Sema &S = Instance.getSema(); in HandleTranslationUnit()
301 << (Symbol.ParentName.empty() || Instance.getLangOpts().CPlusPlus in HandleTranslationUnit()
[all …]
/llvm-project/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink-statistics.cpp38 std::unique_ptr<StatsPlugin> Instance; in enableIfNeeded() local
40 if (!Instance) in enableIfNeeded()
41 Instance.reset(new StatsPlugin(UsingOrcRuntime)); in enableIfNeeded()
42 return *Instance; in enableIfNeeded()
51 if (Instance) in enableIfNeeded()
52 S.ObjLayer.addPlugin(std::move(Instance)); in enableIfNeeded()
/llvm-project/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp26 CompilerInstance &Instance; member in __anon917037320111::PrintFunctionsConsumer
30 PrintFunctionsConsumer(CompilerInstance &Instance, in PrintFunctionsConsumer() argument
32 : Instance(Instance), ParsedTemplates(ParsedTemplates) {} in PrintFunctionsConsumer()
45 if (!Instance.getLangOpts().DelayedTemplateParsing) in HandleTranslationUnit()
69 clang::Sema &sema = Instance.getSema(); in HandleTranslationUnit()
/llvm-project/lldb/source/Host/android/
H A DHostInfoAndroid.cpp44 FileSystem::Instance().Resolve(file_spec); in ResolveLibraryPath()
72 FileSystem::Instance().Resolve(file_candidate); in ResolveLibraryPath()
75 if (FileSystem::Instance().Exists(file_candidate)) in ResolveLibraryPath()
90 if (!success || !FileSystem::Instance().Exists(file_spec)) in ComputeTempFileBaseDirectory()
93 return FileSystem::Instance().Exists(file_spec); in ComputeTempFileBaseDirectory()
/llvm-project/llvm/include/llvm/MC/
H A DMCLabel.h25 unsigned Instance; variable
30 MCLabel(unsigned instance) : Instance(instance) {} in MCLabel()
37 unsigned getInstance() const { return Instance; } in getInstance()
40 unsigned incInstance() { return ++Instance; } in incInstance()
/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp245 CompilerInstance Instance(CI.getPCHContainerOperations(), in visitModuleFile() local
247 Instance.setInvocation( in visitModuleFile()
249 Instance.createDiagnostics( in visitModuleFile()
253 Instance.getFrontendOpts().DisableFree = false; in visitModuleFile()
254 Instance.getFrontendOpts().Inputs.clear(); in visitModuleFile()
255 Instance.getFrontendOpts().Inputs.emplace_back( in visitModuleFile()
257 Instance.getFrontendOpts().ModuleFiles.clear(); in visitModuleFile()
258 Instance.getFrontendOpts().ModuleMapFiles.clear(); in visitModuleFile()
260 Instance.getPreprocessorOutputOpts().RewriteImports = false; in visitModuleFile()
265 Instance in visitModuleFile()
[all...]
/llvm-project/clang/test/APINotes/Inputs/Frameworks/Simple.framework/Headers/
H A DSimple.apinotes18 PropertyKind: Instance
21 PropertyKind: Instance
24 PropertyKind: Instance
27 PropertyKind: Instance
/llvm-project/libc/utils/HdrGen/
H A DPublicAPICommand.cpp
/llvm-project/clang/test/Modules/
H A Dpr93859.cppm10 // RUN: %clang_cc1 -std=c++20 %t/Instance.cppm -emit-reduced-module-interface -o %t/Instance.pcm \
98 //--- Instance.cppm
99 export module Instance;
102 export class Instance {
104 Instance() {
113 import Instance;

1234567891011