Home
last modified time | relevance | path

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

12345678910>>...23

/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp98 ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> MB = in openFile() local
101 if (std::error_code EC = MB.getError()) { in openFile()
106 return std::move(*MB); in openFile()
162 static Expected<COFF::MachineTypes> getCOFFFileMachine(MemoryBufferRef MB) { in getCOFFFileMachine() argument
164 auto Obj = object::COFFObjectFile::create(MB); in getCOFFFileMachine()
179 static Expected<COFF::MachineTypes> getBitcodeFileMachine(MemoryBufferRef MB) { in getBitcodeFileMachine() argument
180 Expected<std::string> TripleStr = getBitcodeTargetTriple(MB); in getBitcodeFileMachine()
221 std::string &LibMachineSource, MemoryBufferRef MB) { in appendFile() argument
222 file_magic Magic = identify_magic(MB.getBuffer()); in appendFile()
227 llvm::errs() << MB.getBufferIdentifier() in appendFile()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Dv3-v360epc-pci.txt11 second the configuration area register space, 16MB
18 each be exactly 256MB (0x10000000) in size.
22 be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB,
23 64MB, 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked
50 0x20000000 0 0x20000000 /* 512 MB @ LB 20000000 1:1 */
H A Dfaraday,ftpci100.txt29 be aligned to a 1MB boundary, and may be 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB,
30 128MB, 256MB, 512MB, 1GB or 2GB in size. The memory should be marked as
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DVTuneSharedStructs.h87 static size_t size(const VTuneMethodBatch &MB) { in size() argument
88 return SPSVTuneMethodBatch::AsArgList::size(MB.Methods, MB.Strings); in size()
91 static bool deserialize(SPSInputBuffer &IB, VTuneMethodBatch &MB) { in deserialize() argument
92 return SPSVTuneMethodBatch::AsArgList::deserialize(IB, MB.Methods, in deserialize()
93 MB.Strings); in deserialize()
96 static bool serialize(SPSOutputBuffer &OB, const VTuneMethodBatch &MB) { in serialize() argument
97 return SPSVTuneMethodBatch::AsArgList::serialize(OB, MB.Methods, in serialize()
98 MB.Strings); in serialize()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DMemory.cpp43 raw_ostream &operator<<(raw_ostream &OS, const MemoryBlock &MB) { in operator <<() argument
44 return OS << "[ " << MB.base() << " .. " in operator <<()
45 << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] (" in operator <<()
46 << MB.allocatedSize() << " bytes)"; in operator <<()
H A DMemoryBuffer.cpp99 template<typename MB>
100 class MemoryBufferMem : public MB {
123 template <typename MB>
124 static ErrorOr<std::unique_ptr<MB>>
191 template <typename MB>
207 template<typename MB>
208 class MemoryBufferMMapFile : public MB {
226 : MFR(FD, Mapmode<MB>, getLegalMapSize(Len, Offset), in MemoryBufferMMapFile()
269 template <typename MB>
270 static ErrorOr<std::unique_ptr<MB>>
[all …]
/freebsd/contrib/kyua/utils/
H A Dunits_test.cpp54 using units::MB; in ATF_TEST_CASE_BODY()
57 ATF_REQUIRE_EQ("745.96G", units::bytes(745 * GB + 980 * MB).format()); in ATF_TEST_CASE_BODY()
64 using units::MB; in ATF_TEST_CASE_BODY()
67 ATF_REQUIRE_EQ("1.00M", units::bytes(1 * MB).format()); in ATF_TEST_CASE_BODY()
68 ATF_REQUIRE_EQ("1023.50M", units::bytes(1023 * MB + 512 * KB).format()); in ATF_TEST_CASE_BODY()
108 using units::MB; in ATF_TEST_CASE_BODY()
120 using units::MB; in ATF_TEST_CASE_BODY()
124 ATF_REQUIRE_EQ(units::bytes(MB), units::bytes::parse("1M")); in ATF_TEST_CASE_BODY()
125 ATF_REQUIRE_EQ(units::bytes(MB), units::bytes::parse("1m")); in ATF_TEST_CASE_BODY()
188 ATF_REQUIRE_EQ(units::bytes(12 * units::MB), bytes); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dextensible_rtti_test.cpp33 MyBase MB; in TEST() local
38 EXPECT_TRUE(isa<RTTIRoot>(MB)); in TEST()
39 EXPECT_TRUE(isa<MyBase>(MB)); in TEST()
40 EXPECT_FALSE(isa<MyDerivedA>(MB)); in TEST()
41 EXPECT_FALSE(isa<MyDerivedB>(MB)); in TEST()
/freebsd/sys/contrib/zstd/
H A DREADME.md47 | **zstd 1.5.1 -1** | 2.887 | 530 MB/s | 1700 MB/s |
48 | [zlib] 1.2.11 -1 | 2.743 | 95 MB/s | 400 MB/s |
49 | brotli 1.0.9 -0 | 2.702 | 395 MB/s | 450 MB/s |
50 | **zstd 1.5.1 --fast=1** | 2.437 | 600 MB/s | 2150 MB/s |
51 | **zstd 1.5.1 --fast=3** | 2.239 | 670 MB/s | 2250 MB/s |
52 | quicklz 1.5.0 -1 | 2.238 | 540 MB/s | 760 MB/s |
53 | **zstd 1.5.1 --fast=4** | 2.148 | 710 MB/s | 2300 MB/s |
54 | lzo1x 2.10 -1 | 2.106 | 660 MB/s | 845 MB/s |
55 | [lz4] 1.9.3 | 2.101 | 740 MB/s | 4500 MB/s |
56 | lzf 3.6 -1 | 2.077 | 410 MB/s | 830 MB/s |
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A 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/sys/contrib/device-tree/src/powerpc/fsl/
H A Dc293pcie.dts83 /* 1MB for DTB Image */
89 /* 8 MB for Linux Kernel Image */
95 /* 53MB for rootfs */
101 /* 1MB for blob encrypted key */
122 /* 1MB for u-boot Bootloader Image */
129 /* 1MB for DTB Image */
135 /* 16MB for Linux Kernel Image */
141 /* 4078MB for Root file System Image */
175 /* 1MB for u-boot Bootloader Image */
176 /* 1MB for Environment */
[all …]
H A Dp1024rdb.dtsi59 /* 3.5 MB for Linux Kernel Image */
65 /* 11MB for JFFS2 based Root file System */
89 /* 1MB for u-boot Bootloader Image */
96 /* 1MB for DTB Image */
102 /* 4MB for Linux Kernel Image */
108 /* 4MB for Compressed Root file System Image */
114 /* 15MB for JFFS2 based Root file System */
120 /* 7MB for User Writable Area */
150 /* 4MB for Linux Kernel Image */
156 /* 4MB for Compressed RFS Image */
[all …]
H A Dp2020rdb.dts60 /* 3.5 MB for Linux Kernel Image */
67 /* 11MB for JFFS2 based Root file System */
91 /* 1MB for u-boot Bootloader Image */
98 /* 1MB for DTB Image */
105 /* 4MB for Linux Kernel Image */
112 /* 4MB for Compressed Root file System Image */
119 /* 7MB for JFFS2 based Root file System */
125 /* 15MB for JFFS2 based Root file System */
173 /* 4MB for Linux Kernel Image */
180 /* 4MB for Compressed RFS Image */
[all …]
H A Dp1020rdb.dtsi60 /* 3.5 MB for Linux Kernel Image */
67 /* 11MB for JFFS2 based Root file System */
91 /* 1MB for u-boot Bootloader Image */
98 /* 1MB for DTB Image */
105 /* 4MB for Linux Kernel Image */
112 /* 4MB for Compressed Root file System Image */
119 /* 7MB for JFFS2 based Root file System */
125 /* 15MB for JFFS2 based Root file System */
170 /* 4MB for Linux Kernel Image */
177 /* 4MB for Compressed RFS Image */
[all …]
H A Dp2020rdb-pc.dtsi59 /* 3.5 MB for Linux Kernel Image */
65 /* 11MB for JFFS2 based Root file System */
89 /* 1MB for u-boot Bootloader Image */
96 /* 1MB for DTB Image */
102 /* 4MB for Linux Kernel Image */
108 /* 4MB for Compressed Root file System Image */
114 /* 7MB for JFFS2 based Root file System */
120 /* 15MB for JFFS2 based Root file System */
172 /* 4MB for Linux Kernel Image */
178 /* 4MB for Compressed RFS Image */
[all …]
H A Dp1020rdb-pc.dtsi59 /* 3.5 MB for Linux Kernel Image */
65 /* 11MB for JFFS2 based Root file System */
89 /* 1MB for u-boot Bootloader Image */
96 /* 1MB for DTB Image */
102 /* 4MB for Linux Kernel Image */
108 /* 4MB for Compressed Root file System Image */
114 /* 7MB for JFFS2 based Root file System */
120 /* 15MB for JFFS2 based Root file System */
172 /* 4MB for Linux Kernel Image */
178 /* 4MB for Compressed RFS Image */
[all …]
H A Dp1021rdb-pc.dtsi59 /* 3.5 MB for Linux Kernel Image */
65 /* 10.75MB for JFFS2 based Root file System */
96 /* 1MB for u-boot Bootloader Image */
103 /* 1MB for DTB Image */
109 /* 4MB for Linux Kernel Image */
115 /* 4MB for Compressed Root file System Image */
121 /* 7MB for JFFS2 based Root file System */
127 /* 15MB for User Writable Area */
171 /* 4MB for Linux Kernel Image */
177 /* 4MB for Compressed RFS Image */
[all …]
/freebsd/sys/contrib/zstd/zlibWrapper/
H A 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/sys/contrib/device-tree/src/arm64/broadcom/northstar2/
H A 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/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp192 SectionInfo(StringRef Name, sys::MemoryBlock MB, unsigned SectionID) in SectionInfo()
193 : Name(std::string(Name)), MB(std::move(MB)), SectionID(SectionID) {} in SectionInfo()
195 sys::MemoryBlock MB; member
251 sys::MemoryBlock MB = in preallocateSlab() local
256 if (!MB.base()) in preallocateSlab()
260 PreallocSlab = MB; in preallocateSlab()
272 sys::MemoryBlock MB((void *)OldSlabOffset, Size); in allocateFromSlab() local
274 FunctionMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab()
276 DataMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab()
309 sys::MemoryBlock MB = in allocateCodeSection() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp62 ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> MB = MemoryBuffer::getFile(Path); in openFile() local
64 if (std::error_code EC = MB.getError()) { in openFile()
69 return std::move(*MB); in openFile()
119 std::unique_ptr<MemoryBuffer> MB = openFile(DefFileName); in parseModuleDefinition() local
120 if (!MB) in parseModuleDefinition()
123 if (!MB->getBufferSize()) { in parseModuleDefinition()
129 *MB, Machine, /*MingwDef=*/true, AddUnderscores); in parseModuleDefinition()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DJITLoaderVTune.cpp31 static Error registerJITLoaderVTuneRegisterImpl(const VTuneMethodBatch &MB) { in registerJITLoaderVTuneRegisterImpl() argument
32 const size_t StringsSize = MB.Strings.size(); in registerJITLoaderVTuneRegisterImpl()
34 for (const auto &MethodInfo : MB.Methods) { in registerJITLoaderVTuneRegisterImpl()
41 const_cast<char *>(MB.Strings.at(MethodInfo.NameSI).data()); in registerJITLoaderVTuneRegisterImpl()
47 const_cast<char *>(MB.Strings.at(MethodInfo.ClassFileSI).data()); in registerJITLoaderVTuneRegisterImpl()
53 const_cast<char *>(MB.Strings.at(MethodInfo.SourceFileSI).data()); in registerJITLoaderVTuneRegisterImpl()
191 static Error unsupportedBatch(const VTuneMethodBatch &MB) { in unsupportedBatch() argument
H A DSimpleExecutorMemoryManager.cpp26 auto MB = sys::Memory::allocateMappedMemory( in allocate() local
31 assert(!Allocations.count(MB.base()) && "Duplicate allocation addr"); in allocate()
32 Allocations[MB.base()].Size = Size; in allocate()
33 return ExecutorAddr::fromPtr(MB.base()); in allocate()
102 sys::MemoryBlock MB(AllocToDestroy.first, AllocToDestroy.second.Size); in finalize() local
103 if (auto EC = sys::Memory::releaseMappedMemory(MB)) in finalize()
220 sys::MemoryBlock MB(Base, A.Size); in deallocateImpl() local
221 if (auto EC = sys::Memory::releaseMappedMemory(MB)) in deallocateImpl()
/freebsd/sys/contrib/device-tree/src/arm/marvell/
H A Darmada-xp-linksys-mamba.dts36 reg = <0x00000000 0x00000000 0x00000000 0x10000000>; /* 256MB */
333 reg = <0x0000000 0x100000>; /* 1MB */
349 reg = <0x900000 0x100000>; /* 1MB */
356 reg = <0xa00000 0x2800000>; /* 40MB */
361 reg = <0xd00000 0x2500000>; /* 37MB */
367 reg = <0x3200000 0x2800000>; /* 40MB */
372 reg = <0x3500000 0x2500000>; /* 37MB */
376 * 38MB, last MB is for the BBT, not writable
391 reg = <0x180000 0x780000>; /* 7.5MB */
[all...]
/freebsd/sys/contrib/device-tree/src/powerpc/
H A Dsbc8548-altflash.dts5 * Configured for booting off the alternate (64MB SODIMM) flash.
26 ranges = <0x0 0x0 0xfc000000 0x04000000 /*64MB Flash*/
27 0x3 0x0 0xf0000000 0x04000000 /*64MB SDRAM*/
28 0x4 0x0 0xf4000000 0x04000000 /*64MB SDRAM*/
30 0x6 0x0 0xef800000 0x00800000>; /*8MB Flash*/

12345678910>>...23