Home
last modified time | relevance | path

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

12345678910

/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h28 void init(Allocator *Instance) { in init()
30 Instance->init(); in init()
32 FallbackTSD.init(Instance); in init()
36 void initOnceMaybe(Allocator *Instance) { in initOnceMaybe()
40 init(Instance); // Sets Initialized. in initOnceMaybe()
43 void unmapTestOnly(Allocator *Instance) { in unmapTestOnly()
44 DCHECK(Instance); in unmapTestOnly()
47 Instance); in unmapTestOnly()
48 ThreadTSD.commitBack(Instance); in unmapTestOnly()
53 FallbackTSD.commitBack(Instance); in unmapTestOnly()
[all …]
H A Dtsd_shared.h27 void init(Allocator *Instance) { in init()
29 Instance->init(); in init()
31 TSDs[I].init(Instance); in init()
38 void initOnceMaybe(Allocator *Instance) { in initOnceMaybe()
42 init(Instance); // Sets Initialized. in initOnceMaybe()
45 void unmapTestOnly(Allocator *Instance) { in unmapTestOnly()
47 TSDs[I].commitBack(Instance); in unmapTestOnly()
54 ALWAYS_INLINE void initThreadMaybe(Allocator *Instance, in initThreadMaybe()
58 initThread(Instance); in initThreadMaybe()
153 NOINLINE void initThread(Allocator *Instance) { in initThread()
[all …]
H A Dtsd.h32 void init(Allocator *Instance) { in init()
35 Instance->initCache(&Cache); in init()
39 void commitBack(Allocator *Instance) { Instance->commitBack(this); } in commitBack()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.cpp79 CompilerInstance Instance(CI.getPCHContainerOperations()); in onBodySynthesis() local
80 Instance.setInvocation(std::move(Invocation)); in onBodySynthesis()
81 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.ExecuteAction(parseModelFile); }, in onBodySynthesis()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Symbol/
H A DLocateSymbolFile.cpp96 if (FileSystem::Instance().Exists(dsym_directory)) { in LookForDsymNextToExecutablePath()
102 if (FileSystem::Instance().Exists(dsym_fspec) && in LookForDsymNextToExecutablePath()
118 if (FileSystem::Instance().Exists(dsym_fspec) && in LookForDsymNextToExecutablePath()
134 if (FileSystem::Instance().Exists(dsym_yaa_fspec)) { in LookForDsymNextToExecutablePath()
138 FileSystem::Instance().Exists(mutable_mod_spec.GetSymbolFileSpec())) { in LookForDsymNextToExecutablePath()
267 FileSystem::Instance().Exists(symbol_file_spec)) in LocateExecutableSymbolFile()
279 FileSystem::Instance().ResolveSymbolicLink(module_file_spec, in LocateExecutableSymbolFile()
285 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
294 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
303 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
[all …]
H A DLocateSymbolFileMacOSX.cpp119 FileSystem::Instance().Resolve(dsym_filespec); in LocateMacOSXFilesUsingDebugSymbols()
121 if (FileSystem::Instance().IsDirectory(dsym_filespec)) { in LocateMacOSXFilesUsingDebugSymbols()
152 if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) { in LocateMacOSXFilesUsingDebugSymbols()
201 FileSystem::Instance().Resolve(exec_filespec); in LocateMacOSXFilesUsingDebugSymbols()
202 if (FileSystem::Instance().Exists(exec_filespec)) { in LocateMacOSXFilesUsingDebugSymbols()
221 FileSystem::Instance().Resolve(file_spec); in LocateMacOSXFilesUsingDebugSymbols()
237 FileSystem::Instance().Resolve(bundle_exe_file_spec); in LocateMacOSXFilesUsingDebugSymbols()
301 FileSystem::Instance().GetVirtualFileSystem(); in FindSymbolFileInBundle()
354 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in GetModuleSpecInfoFromUUIDDictionary()
367 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in GetModuleSpecInfoFromUUIDDictionary()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp26 CompilerInstance &Instance; member in __anonf82be9960111::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()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp21 CompilerInstance &Instance; member in __anon0e4b08f40111::InterfaceStubFunctionsConsumer
69 !Instance.getLangOpts().GNUInline) in WriteNamedDecl()
119 Instance.getDiagnostics().Report(diag::err_asm_invalid_type_in_input) in WriteNamedDecl()
233 Instance.getDiagnostics().Report(diag::err_asm_invalid_type_in_input) in HandleNamedDecl()
239 InterfaceStubFunctionsConsumer(CompilerInstance &Instance, StringRef InFile, in InterfaceStubFunctionsConsumer() argument
241 : Instance(Instance), InFile(InFile), Format(Format) {} in InterfaceStubFunctionsConsumer()
269 auto OS = Instance.createDefaultOutputFile(/*Binary=*/false, InFile, "ifs"); in HandleTranslationUnit()
273 if (Instance.getLangOpts().DelayedTemplateParsing) { in HandleTranslationUnit()
274 clang::Sema &S = Instance.getSema(); in HandleTranslationUnit()
300 << (Symbol.ParentName.empty() || Instance.getLangOpts().CPlusPlus in HandleTranslationUnit()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformRemoteDarwinDevice.cpp79 if (FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) { in ResolveExecutable()
111 if (FileSystem::Instance().Readable(resolved_module_spec.GetFileSpec())) { in ResolveExecutable()
151 FileSystem::Instance().Resolve(local_file); in GetFileInSDK()
152 if (FileSystem::Instance().Exists(local_file)) { in GetFileInSDK()
177 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
178 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
191 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
192 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
204 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
205 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
[all …]
H A DPlatformDarwinKernel.cpp364 FileSystem::Instance().Resolve(possible_dir); in CollectKextAndKernelDirectories()
365 if (FileSystem::Instance().IsDirectory(possible_dir)) in CollectKextAndKernelDirectories()
370 FileSystem::Instance().Resolve(cwd); in CollectKextAndKernelDirectories()
381 FileSystem::Instance().Resolve(dir); in GetUserSpecifiedDirectoriesToSearch()
382 if (FileSystem::Instance().IsDirectory(dir)) { in GetUserSpecifiedDirectoriesToSearch()
398 FileSystem::Instance().Resolve(testdir); in AddRootSubdirsToSearchPaths()
399 if (FileSystem::Instance().IsDirectory(testdir)) in AddRootSubdirsToSearchPaths()
413 FileSystem::Instance().EnumerateDirectory( in AddSDKSubdirsToSearchPaths()
444 FileSystem::Instance().EnumerateDirectory( in SearchForKextsAndKernelsRecursively()
454 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().Exists(device_support_spec)) { in GetSharedModuleWithLocalCache()
[all …]
H A DPlatformDarwin.cpp220 FileSystem::Instance().Exists(symfile_spec)) { in LocateExecutableScriptingResources()
264 FileSystem::Instance().Resolve(script_fspec); in LocateExecutableScriptingResources()
266 FileSystem::Instance().Resolve(orig_script_fspec); in LocateExecutableScriptingResources()
273 FileSystem::Instance().Exists(orig_script_fspec)) { in LocateExecutableScriptingResources()
277 if (FileSystem::Instance().Exists(script_fspec)) in LocateExecutableScriptingResources()
300 if (FileSystem::Instance().Exists(script_fspec)) { in LocateExecutableScriptingResources()
326 if (FileSystem::Instance().IsDirectory(sym_file)) { in ResolveSymbolFile()
390 if (FileSystem::Instance().Exists(new_file_spec)) { in GetSharedModule()
623 if (FileSystem::Instance().Exists(xcode_select_cmd)) { in GetXcodeSelectPath()
735 if (FileSystem::Instance().Exists(command_line_tools_path)) { in GetCommandLineToolsLibraryPath()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp244 CompilerInstance Instance(CI.getPCHContainerOperations(), in visitModuleFile() local
246 Instance.setInvocation( in visitModuleFile()
248 Instance.createDiagnostics( in visitModuleFile()
251 Instance.getFrontendOpts().DisableFree = false; in visitModuleFile()
252 Instance.getFrontendOpts().Inputs.clear(); in visitModuleFile()
253 Instance.getFrontendOpts().Inputs.emplace_back( in visitModuleFile()
255 Instance.getFrontendOpts().ModuleFiles.clear(); in visitModuleFile()
256 Instance.getFrontendOpts().ModuleMapFiles.clear(); in visitModuleFile()
258 Instance.getPreprocessorOutputOpts().RewriteImports = false; in visitModuleFile()
263 Instance.ExecuteAction(Action); in visitModuleFile()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp31 if (FileSystem::Instance().IsDirectory(clang_path)) in VerifyClangPath()
76 FileSystem::Instance().Resolve(file_spec); in DefaultComputeClangResourceDirectory()
123 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
138 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
149 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBFileSpec.cpp43 FileSystem::Instance().Resolve(*m_opaque_up); in SBFileSpec()
51 FileSystem::Instance().Resolve(*m_opaque_up); in SBFileSpec()
89 return FileSystem::Instance().Exists(*m_opaque_up); in Exists()
95 return FileSystem::Instance().ResolveExecutableLocation(*m_opaque_up); in ResolveExecutableLocation()
103 FileSystem::Instance().Resolve(result); in ResolvePath()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/regression/
H A Dbuilder_does_not_init.t5 use Test2::API::Instance;
9 local *Test2::API::Instance::_finalize = sub { confess "_finalize called\n" };
10 local *Test2::API::Instance::load = sub { confess "load called\n" };
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericDylibManager.cpp67 {{SAs.Instance, rt::SimpleExecutorDylibManagerInstanceName}, in CreateWithDefaultBootstrapSymbols()
79 SAs.Open, H, SAs.Instance, Path, Mode)) in open()
90 SAs.Lookup, Result, SAs.Instance, H, Lookup)) in lookup()
101 SAs.Lookup, Result, SAs.Instance, H, Lookup)) in lookup()
/openbsd-src/gnu/llvm/lldb/source/Host/common/
H A DMonitoringProcessLauncher.cpp32 FileSystem &fs = FileSystem::Instance(); in LaunchProcess()
36 FileSystem::Instance().Resolve(exe_spec); in LaunchProcess()
39 FileSystem::Instance().ResolveExecutableLocation(exe_spec); in LaunchProcess()
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DSourceManager.cpp54 if (!FileSystem::Instance().Exists(file_spec) && in resolve_tilde()
57 FileSystem::Instance().Resolve(file_spec); in resolve_tilde()
100 if (!file_sp || !FileSystem::Instance().Exists(file_sp->GetFileSpec())) { in GetFile()
399 m_mod_time(FileSystem::Instance().GetModificationTime(file_spec)), in File()
406 m_mod_time(FileSystem::Instance().GetModificationTime(file_spec)), in File()
452 m_mod_time = FileSystem::Instance().GetModificationTime(m_file_spec); in CommonInitializer()
458 if (!FileSystem::Instance().Exists(m_file_spec)) { in CommonInitializer()
470 m_mod_time = FileSystem::Instance().GetModificationTime(m_file_spec); in CommonInitializer()
477 m_data_sp = FileSystem::Instance().CreateDataBuffer(m_file_spec); in CommonInitializer()
550 auto curr_mod_time = FileSystem::Instance().GetModificationTime(m_file_spec); in UpdateIfNeeded()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DRemoteAwarePlatform.cpp44 if (!FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) { in ResolveExecutable()
48 FileSystem::Instance().Resolve(resolved_module_spec.GetFileSpec()); in ResolveExecutable()
51 if (!FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) in ResolveExecutable()
52 FileSystem::Instance().ResolveExecutableLocation( in ResolveExecutable()
58 if (FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) in ResolveExecutable()
61 const uint32_t permissions = FileSystem::Instance().GetPermissions( in ResolveExecutable()
84 if (FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) in ResolveExecutable()
153 if (FileSystem::Instance().Readable( in ResolveExecutable()
/openbsd-src/gnu/llvm/lldb/source/Interpreter/
H A DOptionValueFileSpec.cpp65 FileSystem::Instance().Resolve(m_current_value); in SetValueFromString()
93 const auto file_mod_time = FileSystem::Instance().GetModificationTime(m_current_value); in GetFileContents()
97 FileSystem::Instance().CreateDataBuffer(m_current_value.GetPath()); in GetFileContents()
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DFrontendAction.h39 CompilerInstance *Instance; variable
120 assert(Instance && "Compiler instance not registered!"); in getCompilerInstance()
121 return *Instance; in getCompilerInstance()
124 void setCompilerInstance(CompilerInstance *Value) { Instance = Value; } in setCompilerInstance()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp211 Value *VPTransformState::get(VPValue *Def, const VPIteration &Instance) { in get() argument
215 if (hasScalarValue(Def, Instance)) { in get()
217 .PerPartScalars[Def][Instance.Part][Instance.Lane.mapToCacheIndex(VF)]; in get()
220 assert(hasVectorValue(Def, Instance.Part)); in get()
221 auto *VecPart = Data.PerPartOutput[Def][Instance.Part]; in get()
223 assert(Instance.Lane.isFirstLane() && "cannot get lane > 0 for scalar"); in get()
227 Value *Lane = Instance.Lane.getAsRuntimeExpr(Builder, VF); in get()
323 bool Replica = State->Instance && !State->Instance->isFirstIteration(); in execute()
541 assert(!State->Instance && "Replicating a Region with non-null instance."); in execute()
544 State->Instance = VPIteration(0, 0); in execute()
[all …]

12345678910