|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| Unix/ | | 03-May-2024 | - | 2,983 | 2,541 |
| Windows/ | | 03-May-2024 | - | 3,779 | 3,179 |
| APFloat.cpp | D | 03-May-2024 | 103.1 KiB | 3,622 | 2,495 |
| APInt.cpp | D | 03-May-2024 | 88.7 KiB | 2,966 | 2,050 |
| APSInt.cpp | D | 03-May-2024 | 779 | 24 | 7 |
| Allocator.cpp | D | 03-May-2024 | 5.8 KiB | 189 | 121 |
| Atomic.cpp | D | 03-May-2024 | 2.9 KiB | 114 | 89 |
| BlockFrequency.cpp | D | 03-May-2024 | 2.8 KiB | 127 | 77 |
| BranchProbability.cpp | D | 03-May-2024 | 1.1 KiB | 44 | 23 |
| COPYRIGHT.regex | D | 03-May-2024 | 2.7 KiB | 55 | 47 |
| CommandLine.cpp | D | 03-May-2024 | 49.5 KiB | 1,433 | 943 |
| ConstantRange.cpp | D | 03-May-2024 | 22.7 KiB | 702 | 473 |
| CrashRecoveryContext.cpp | D | 03-May-2024 | 10.1 KiB | 352 | 208 |
| DAGDeltaAlgorithm.cpp | D | 03-May-2024 | 12.6 KiB | 358 | 234 |
| DataExtractor.cpp | D | 03-May-2024 | 4.8 KiB | 176 | 136 |
| Debug.cpp | D | 03-May-2024 | 4.6 KiB | 135 | 62 |
| DeltaAlgorithm.cpp | D | 03-May-2024 | 3.4 KiB | 115 | 76 |
| Disassembler.cpp | D | 03-May-2024 | 1.7 KiB | 76 | 49 |
| Dwarf.cpp | D | 03-May-2024 | 38.5 KiB | 708 | 628 |
| DynamicLibrary.cpp | D | 03-May-2024 | 4.9 KiB | 190 | 119 |
| Errno.cpp | D | 03-May-2024 | 2.1 KiB | 75 | 41 |
| ErrorHandling.cpp | D | 03-May-2024 | 3.2 KiB | 100 | 64 |
| FileUtilities.cpp | D | 03-May-2024 | 9.1 KiB | 282 | 184 |
| FoldingSet.cpp | D | 03-May-2024 | 14 KiB | 425 | 256 |
| FormattedStream.cpp | D | 03-May-2024 | 3.3 KiB | 102 | 44 |
| GraphWriter.cpp | D | 03-May-2024 | 5.5 KiB | 201 | 163 |
| Host.cpp | D | 03-May-2024 | 11 KiB | 316 | 218 |
| INSTALL.vcxproj.filters | D | 03-May-2024 | 657 | 25 | 24 |
| IncludeFile.cpp | D | 03-May-2024 | 707 | 21 | 3 |
| IntEqClasses.cpp | D | 03-May-2024 | 2.1 KiB | 71 | 41 |
| IntervalMap.cpp | D | 03-May-2024 | 4.3 KiB | 162 | 101 |
| IsInf.cpp | D | 03-May-2024 | 1.5 KiB | 50 | 27 |
| IsNAN.cpp | D | 03-May-2024 | 914 | 34 | 18 |
| LLVMSupport.vcxproj | D | 03-May-2024 | 27.6 KiB | 436 | 436 |
| LLVMSupport.vcxproj.filters | D | 03-May-2024 | 7.5 KiB | 229 | 229 |
| Makefile | D | 03-May-2024 | 690 | 23 | 8 |
| ManagedStatic.cpp | D | 03-May-2024 | 2 KiB | 76 | 43 |
| Memory.cpp | D | 03-May-2024 | 2.4 KiB | 81 | 46 |
| MemoryBuffer.cpp | D | 03-May-2024 | 13.3 KiB | 377 | 246 |
| MemoryObject.cpp | D | 03-May-2024 | 946 | 38 | 21 |
| Mutex.cpp | D | 03-May-2024 | 4.5 KiB | 158 | 95 |
| PACKAGE.vcxproj.filters | D | 03-May-2024 | 657 | 25 | 24 |
| Path.cpp | D | 03-May-2024 | 8.3 KiB | 304 | 236 |
| PathV2.cpp | D | 03-May-2024 | 20 KiB | 803 | 594 |
| PluginLoader.cpp | D | 03-May-2024 | 1.6 KiB | 48 | 30 |
| PrettyStackTrace.cpp | D | 03-May-2024 | 4.1 KiB | 134 | 83 |
| Process.cpp | D | 03-May-2024 | 1 KiB | 34 | 11 |
| Program.cpp | D | 03-May-2024 | 1.8 KiB | 57 | 34 |
| README.txt.system | D | 03-May-2024 | 1.9 KiB | 44 | 36 |
| RWMutex.cpp | D | 03-May-2024 | 4.3 KiB | 158 | 100 |
| Regex.cpp | D | 03-May-2024 | 4.6 KiB | 169 | 106 |
| SearchForAddressOfSpecialSymbol.cpp | D | 03-May-2024 | 1.7 KiB | 59 | 27 |
| Signals.cpp | D | 03-May-2024 | 1.1 KiB | 35 | 11 |
| SmallPtrSet.cpp | D | 03-May-2024 | 7.4 KiB | 230 | 137 |
| SmallVector.cpp | D | 03-May-2024 | 1.4 KiB | 41 | 18 |
| SourceMgr.cpp | D | 03-May-2024 | 7.3 KiB | 233 | 138 |
| Statistic.cpp | D | 03-May-2024 | 4.7 KiB | 153 | 84 |
| StringExtras.cpp | D | 03-May-2024 | 3.1 KiB | 81 | 43 |
| StringMap.cpp | D | 03-May-2024 | 7.9 KiB | 231 | 128 |
| StringPool.cpp | D | 03-May-2024 | 997 | 36 | 16 |
| StringRef.cpp | D | 03-May-2024 | 12.1 KiB | 423 | 279 |
| SystemUtils.cpp | D | 03-May-2024 | 2.2 KiB | 56 | 28 |
| TargetRegistry.cpp | D | 03-May-2024 | 3.8 KiB | 123 | 90 |
| ThreadLocal.cpp | D | 03-May-2024 | 2.4 KiB | 85 | 54 |
| Threading.cpp | D | 03-May-2024 | 4 KiB | 148 | 94 |
| TimeValue.cpp | D | 03-May-2024 | 1.7 KiB | 58 | 37 |
| Timer.cpp | D | 03-May-2024 | 12 KiB | 394 | 261 |
| ToolOutputFile.cpp | D | 03-May-2024 | 1.5 KiB | 44 | 21 |
| Triple.cpp | D | 03-May-2024 | 19.6 KiB | 673 | 526 |
| Twine.cpp | D | 03-May-2024 | 4.1 KiB | 172 | 148 |
| Valgrind.cpp | D | 03-May-2024 | 1.6 KiB | 55 | 25 |
| circular_raw_ostream.cpp | D | 03-May-2024 | 1.3 KiB | 46 | 26 |
| raw_os_ostream.cpp | D | 03-May-2024 | 967 | 31 | 10 |
| raw_ostream.cpp | D | 03-May-2024 | 22.2 KiB | 765 | 496 |
| regcclass.h | D | 03-May-2024 | 2.9 KiB | 71 | 30 |
| regcname.h | D | 03-May-2024 | 4.2 KiB | 140 | 101 |
| regcomp.c | D | 03-May-2024 | 34.8 KiB | 1,526 | 1,145 |
| regengine.inc | D | 03-May-2024 | 26.5 KiB | 1,035 | 983 |
| regerror.c | D | 03-May-2024 | 4.4 KiB | 136 | 78 |
| regex2.h | D | 03-May-2024 | 6.7 KiB | 158 | 72 |
| regex_impl.h | D | 03-May-2024 | 3.6 KiB | 109 | 59 |
| regexec.c | D | 03-May-2024 | 5.7 KiB | 163 | 92 |
| regfree.c | D | 03-May-2024 | 2.5 KiB | 73 | 27 |
| regstrlcpy.c | D | 03-May-2024 | 1.6 KiB | 53 | 23 |
| regutils.h | D | 03-May-2024 | 2.2 KiB | 54 | 11 |
| system_error.cpp | D | 03-May-2024 | 2.8 KiB | 131 | 85 |
README.txt.system
1Design Of lib/System
2====================
3
4The software in this directory is designed to completely shield LLVM from any
5and all operating system specific functionality. It is not intended to be a
6complete operating system wrapper (such as ACE), but only to provide the
7functionality necessary to support LLVM.
8
9The software located here, of necessity, has very specific and stringent design
10rules. Violation of these rules means that cracks in the shield could form and
11the primary goal of the library is defeated. By consistently using this library,
12LLVM becomes more easily ported to new platforms since the only thing requiring
13porting is this library.
14
15Complete documentation for the library can be found in the file:
16 llvm/docs/SystemLibrary.html
17or at this URL:
18 http://llvm.org/docs/SystemLibrary.html
19
20While we recommend that you read the more detailed documentation, for the
21impatient, here's a high level summary of the library's requirements.
22
23 1. No system header files are to be exposed through the interface.
24 2. Std C++ and Std C header files are okay to be exposed through the interface.
25 3. No exposed system-specific functions.
26 4. No exposed system-specific data.
27 5. Data in lib/System classes must use only simple C++ intrinsic types.
28 6. Errors are handled by returning "true" and setting an optional std::string
29 7. Library must not throw any exceptions, period.
30 8. Interface functions must not have throw() specifications.
31 9. No duplicate function impementations are permitted within an operating
32 system class.
33
34To accomplish these requirements, the library has numerous design criteria that
35must be satisfied. Here's a high level summary of the library's design criteria:
36
37 1. No unused functionality (only what LLVM needs)
38 2. High-Level Interfaces
39 3. Use Opaque Classes
40 4. Common Implementations
41 5. Multiple Implementations
42 6. Minimize Memory Allocation
43 7. No Virtual Methods
44