LLVM  16.0.0git
COM.h
Go to the documentation of this file.
1 //===- llvm/Support/COM.h ---------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 /// \file
9 ///
10 /// Provides a library for accessing COM functionality of the Host OS.
11 ///
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_SUPPORT_COM_H
15 #define LLVM_SUPPORT_COM_H
16 
17 namespace llvm {
18 namespace sys {
19 
21 
23 public:
25  bool SpeedOverMemory = false);
27 
28 private:
29  InitializeCOMRAII(const InitializeCOMRAII &) = delete;
30  void operator=(const InitializeCOMRAII &) = delete;
31 };
32 }
33 }
34 
35 #endif
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
llvm::sys::COMThreadingMode::SingleThreaded
@ SingleThreaded
llvm::sys::COMThreadingMode
COMThreadingMode
Definition: COM.h:20
llvm::sys::InitializeCOMRAII::InitializeCOMRAII
InitializeCOMRAII(COMThreadingMode Threading, bool SpeedOverMemory=false)
llvm::sys::COMThreadingMode::MultiThreaded
@ MultiThreaded
Threading
dfa jump DFA Jump Threading
Definition: DFAJumpThreading.cpp:209
llvm::sys::InitializeCOMRAII
Definition: COM.h:22
llvm::sys::InitializeCOMRAII::~InitializeCOMRAII
~InitializeCOMRAII()