Home
last modified time | relevance | path

Searched refs:MB (Results 1 – 25 of 473) sorted by relevance

12345678910>>...19

/freebsd-12-stable/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
DLibDriver.cpp142 static Expected<COFF::MachineTypes> getCOFFFileMachine(MemoryBufferRef MB) { in getCOFFFileMachine() argument
144 auto Obj = object::COFFObjectFile::create(MB); in getCOFFFileMachine()
160 static Expected<COFF::MachineTypes> getBitcodeFileMachine(MemoryBufferRef MB) { in getBitcodeFileMachine() argument
161 Expected<std::string> TripleStr = getBitcodeTargetTriple(MB); in getBitcodeFileMachine()
182 std::string &LibMachineSource, MemoryBufferRef MB) { in appendFile() argument
183 file_magic Magic = identify_magic(MB.getBuffer()); in appendFile()
188 llvm::errs() << MB.getBufferIdentifier() in appendFile()
200 object::Archive Archive(MB, Err); in appendFile()
201 fatalOpenError(std::move(Err), MB.getBufferIdentifier()); in appendFile()
207 llvm::errs() << MB.getBufferIdentifier() << ": " << EIB.message() in appendFile()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
DMemory.cpp44 raw_ostream &operator<<(raw_ostream &OS, const MemoryBlock &MB) { in operator <<() argument
45 return OS << "[ " << MB.base() << " .. " in operator <<()
46 << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] (" in operator <<()
47 << MB.allocatedSize() << " bytes)"; in operator <<()
DMemoryBuffer.cpp84 template<typename MB>
85 class MemoryBufferMem : public MB {
107 template <typename MB>
108 static ErrorOr<std::unique_ptr<MB>>
168 template <typename MB>
184 template<typename MB>
185 class MemoryBufferMMapFile : public MB {
203 : MFR(FD, Mapmode<MB>, getLegalMapSize(Len, Offset), in MemoryBufferMMapFile()
252 template <typename MB>
253 static ErrorOr<std::unique_ptr<MB>>
[all …]
DSpecialCaseList.cpp82 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, in create() argument
85 if (SCL->createInternal(MB, Error)) in create()
118 bool SpecialCaseList::createInternal(const MemoryBuffer *MB, in createInternal() argument
121 if (!parse(MB, Sections, Error)) in createInternal()
126 bool SpecialCaseList::parse(const MemoryBuffer *MB, in parse() argument
131 MB->getBuffer().split(Lines, '\n'); in parse()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Rewrite/
DRewriter.cpp247 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer() local
248 I->second.Initialize(MB.begin(), MB.end()); in getEditBuffer()
263 StringRef MB = SourceMgr->getBufferData(FID); in InsertText() local
274 while (isWhitespaceExceptNL(MB[i])) in InsertText()
276 indentSpace = MB.substr(lineOffs, i-lineOffs); in InsertText()
340 StringRef MB = SourceMgr->getBufferData(FID); in ReplaceText() local
341 return ReplaceText(start, origLength, MB.substr(newOffs, newLength)); in ReplaceText()
364 StringRef MB = SourceMgr->getBufferData(FID); in IncreaseIndentation() local
381 while (isWhitespaceExceptNL(MB[i])) in IncreaseIndentation()
383 parentSpace = MB.substr(parentLineOffs, i-parentLineOffs); in IncreaseIndentation()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp104 sys::MemoryBlock MB = MMapper.allocateMappedMemory( in allocateSection() local
113 MemGroup.Near = MB; in allocateSection()
118 CodeMem.Near = MB; in allocateSection()
120 RODataMem.Near = MB; in allocateSection()
122 RWDataMem.Near = MB; in allocateSection()
125 MemGroup.AllocatedMem.push_back(MB); in allocateSection()
126 Addr = (uintptr_t)MB.base(); in allocateSection()
127 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); in allocateSection()
206 for (sys::MemoryBlock &MB : MemGroup.PendingMem) in applyMemoryGroupPermissions()
207 if (std::error_code EC = MMapper.protectMappedMemory(MB, Permissions)) in applyMemoryGroupPermissions()
/freebsd-12-stable/sys/contrib/zstd/
DREADME.md36 | **zstd 1.3.4 -1** | 2.877 | 470 MB/s | 1380 MB/s |
37 | zlib 1.2.11 -1 | 2.743 | 110 MB/s | 400 MB/s |
38 | brotli 1.0.2 -0 | 2.701 | 410 MB/s | 430 MB/s |
39 | quicklz 1.5.0 -1 | 2.238 | 550 MB/s | 710 MB/s |
40 | lzo1x 2.09 -1 | 2.108 | 650 MB/s | 830 MB/s |
41 | lz4 1.8.1 | 2.101 | 750 MB/s | 3700 MB/s |
42 | snappy 1.1.4 | 2.091 | 530 MB/s | 1800 MB/s |
43 | lzf 3.6 -1 | 2.077 | 400 MB/s | 860 MB/s |
70 Previous charts provide results applicable to typical file and stream scenarios (several MB). Small…
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/
DREADME.md115 | zlib 1.2.8 | 30.51 MB/s | 219.3 MB/s | 6819783 | 3.45…
116 | zlib 1.2.8 not reusing a context | 30.22 MB/s | 218.1 MB/s | 6819783 | 3.45…
117 | zlib 1.2.8 with zlibWrapper and reusing a context | 30.40 MB/s | 218.9 MB/s | 6819783 | 3.45…
118 | zlib 1.2.8 with zlibWrapper not reusing a context | 30.28 MB/s | 218.1 MB/s | 6819783 | 3.45…
119 | zstd 1.1.0 using ZSTD_CCtx | 68.35 MB/s | 430.9 MB/s | 6868521 | 3.43…
120 | zstd 1.1.0 using ZSTD_CStream | 66.63 MB/s | 422.3 MB/s | 6868521 | 3.43…
121 | zstd 1.1.0 with zlibWrapper and reusing a context | 54.01 MB/s | 403.2 MB/s | 6763482 | 3.48…
122 | zstd 1.1.0 with zlibWrapper not reusing a context | 51.59 MB/s | 383.7 MB/s | 6763482 | 3.48…
/freebsd-12-stable/sys/contrib/zstd/programs/
DREADME.md192 | `zstd -1` | `5.065` | `284.8 MB/s` | `759.3 MB/s` |
193 | `zstd -5` | `5.826` | `124.9 MB/s` | `674.0 MB/s` |
194 | `zstd -10` | `6.504` | `29.5 MB/s` | `771.3 MB/s` |
195 | `zstd -1 --long` | `17.426` | `220.6 MB/s` | `1638.4 MB/s` |
196 | `zstd -5 --long` | `19.661` | `165.5 MB/s` | `1530.6 MB/s`|
197 | `zstd -10 --long`| `21.949` | `75.6 MB/s` | `1632.6 MB/s`|
212 | `zstd -1` | `2.878` | `231.7 MB/s` | `594.4 MB/s` |
213 | `zstd -1 --long` | `2.929` | `106.5 MB/s` | `517.9 MB/s` |
214 | `zstd -5` | `3.274` | `77.1 MB/s` | `464.2 MB/s` |
215 | `zstd -5 --long` | `3.319` | `51.7 MB/s` | `371.9 MB/s` |
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp193 SectionInfo(StringRef Name, sys::MemoryBlock MB, unsigned SectionID) in SectionInfo()
194 : Name(std::string(Name)), MB(std::move(MB)), SectionID(SectionID) {} in SectionInfo()
196 sys::MemoryBlock MB; member
249 sys::MemoryBlock MB = in preallocateSlab() local
254 if (!MB.base()) in preallocateSlab()
257 PreallocSlab = MB; in preallocateSlab()
269 sys::MemoryBlock MB((void *)OldSlabOffset, Size); in allocateFromSlab() local
271 FunctionMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab()
273 DataMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab()
303 sys::MemoryBlock MB = in allocateCodeSection() local
[all …]
/freebsd-12-stable/sys/gnu/dts/arm64/broadcom/northstar2/
Dns2-xmc.dts90 reg = <0x00000000 0x00280000>; /* 2.5MB */
96 reg = <0x00280000 0x00040000>; /* 0.25MB */
102 reg = <0x002c0000 0x00040000>; /* 0.25MB */
108 reg = <0x00300000 0x03d00000>; /* 61MB */
114 reg = <0x04000000 0x06400000>; /* 100MB */
119 reg = <0x0a400000 0x35c00000>; /* 860MB */
179 reg = <0x00200000 0x00e00000>; /* 14MB */
184 reg = <0x01000000 0x01000000>; /* 16MB */
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
DDlltoolDriver.cpp58 ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> MB = MemoryBuffer::getFile(Path); in openFile() local
60 if (std::error_code EC = MB.getError()) { in openFile()
65 return std::move(*MB); in openFile()
140 std::unique_ptr<MemoryBuffer> MB = in dlltoolDriverMain() local
142 if (!MB) in dlltoolDriverMain()
145 if (!MB->getBufferSize()) { in dlltoolDriverMain()
165 parseCOFFModuleDefinition(*MB, Machine, true); in dlltoolDriverMain()
/freebsd-12-stable/sys/mips/conf/
DALFA_HORNET_UB6 # This is for the 64MB RAM/16MB flash part. They also
11 # * 64MB RAM
12 # * 16MB flash
28 # Board memory - 64MB
DTP-MR30205 # chance that this will ever boot FreeBSD directly from the 3.5MB
10 # * 32MB RAM
11 # * 4MB flash
29 # Board memory - 32MB
55 # With only 4MB of flash, we are stuck using USB
DTL-WR740Nv45 # * 32MB RAM
6 # * 4MB flash
22 # Board memory - 32MB
54 # Note: we don't fit in 4MB flash, so the rootfs must be on USB for now
DTP-MR30405 # chance that this will ever boot FreeBSD directly from the 3.5MB
10 # * 32MB RAM
11 # * 4MB flash
30 # Board memory - 32MB
/freebsd-12-stable/sys/gnu/dts/arm/
Darmada-xp-linksys-mamba.dts36 reg = <0x00000000 0x00000000 0x00000000 0x10000000>; /* 256MB */
337 reg = <0x0000000 0x100000>; /* 1MB */
353 reg = <0x900000 0x100000>; /* 1MB */
360 reg = <0xa00000 0x2800000>; /* 40MB */
365 reg = <0xd00000 0x2500000>; /* 37MB */
371 reg = <0x3200000 0x2800000>; /* 40MB */
376 reg = <0x3500000 0x2500000>; /* 37MB */
380 * 38MB, last MB is for the BBT, not writable
395 reg = <0x180000 0x780000>; /* 7.5MB */
Dopenbmc-flash-layout-128.dtsi19 reg = <0x100000 0x900000>; // 9MB
24 reg = <0xa00000 0x5600000>; // 86MB
29 reg = <0x6000000 0x2000000>; // 32MB
Dkirkwood-laplug.dts20 reg = <0x00000000 0x8000000>; /* 128 MB */
126 /* Total size : 512MB */
131 reg = <0x0 0x100000>; /* 1MB */
137 reg = <0x100000 0x1000000>; /* 16MB */
142 reg = <0x1100000 0x1EF00000>; /* 495MB */
Darmada-370-netgear-rn102.dts24 reg = <0x00000000 0x20000000>; /* 512 MB */
249 reg = <0x0000000 0x180000>; /* 1.5MB */
261 reg = <0x0200000 0x600000>; /* 6MB */
266 reg = <0x0800000 0x400000>; /* 4MB */
269 /* Last MB is for the BBT, i.e. not writable */
272 reg = <0x0c00000 0x7400000>; /* 116MB */
Darmada-370-netgear-rn104.dts24 reg = <0x00000000 0x20000000>; /* 512 MB */
275 reg = <0x0000000 0x180000>; /* 1.5MB */
287 reg = <0x0200000 0x600000>; /* 6MB */
292 reg = <0x0800000 0x400000>; /* 4MB */
295 /* Last MB is for the BBT, i.e. not writable */
298 reg = <0x0c00000 0x7400000>; /* 116MB */
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-dis/
Dllvm-dis.cpp177 std::unique_ptr<MemoryBuffer> MB = ExitOnErr( in main() local
180 BitcodeFileContents IF = ExitOnErr(llvm::getBitcodeFileContents(*MB)); in main()
188 BitcodeModule MB = IF.Mods[I]; in main() local
190 MB.getLazyModule(Context, MaterializeMetadata, SetImporting)); in main()
196 BitcodeLTOInfo LTOInfo = ExitOnErr(MB.getLTOInfo()); in main()
199 Index = ExitOnErr(MB.getSummary()); in main()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.h58 static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { in isRunOfOnes() argument
64 MB = countLeadingZeros(Val); in isRunOfOnes()
74 MB = countLeadingZeros((Val - 1) ^ Val) + 1; in isRunOfOnes()
82 static inline bool isRunOfOnes64(uint64_t Val, unsigned &MB, unsigned &ME) { in isRunOfOnes64() argument
88 MB = countLeadingZeros(Val); in isRunOfOnes64()
98 MB = countLeadingZeros((Val - 1) ^ Val) + 1; in isRunOfOnes64()
/freebsd-12-stable/lib/libc/gen/
Dgetbsize.c50 #define MB (1024L * 1024L) in getbsize() macro
74 max = MAXB / MB; in getbsize()
75 mul = MB; in getbsize()
/freebsd-12-stable/tools/tools/nanobsd/dhcpd/
Dos-base40 # /var -> ~10MB (look through rc.initdiskless for the formula of how this
153 # kill includes (saves 14MB)
156 # kill docs (saves 22MB)
160 # and info (2MB)
163 # and man pages (4.4MB)
169 # and groff_fonts junk (3MB)
174 # Kill all .a's and .la's that are installed (20MB+)
177 # magic.mgc is just a speed optimization. Kill it for 1.7MB

12345678910>>...19