| /freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/ |
| H A D | LibDriver.cpp | 101 ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> MB = in openFile() local 104 if (std::error_code EC = MB.getError()) { in openFile() 109 return std::move(*MB); in openFile() 165 static Expected<COFF::MachineTypes> getCOFFFileMachine(MemoryBufferRef MB) { in getCOFFFileMachine() argument 167 auto Obj = object::COFFObjectFile::create(MB); in getCOFFFileMachine() 183 static Expected<COFF::MachineTypes> getBitcodeFileMachine(MemoryBufferRef MB) { in getBitcodeFileMachine() argument 184 Expected<std::string> TripleStr = getBitcodeTargetTriple(MB); in getBitcodeFileMachine() 227 std::string &LibMachineSource, MemoryBufferRef MB) { in appendFile() argument 228 file_magic Magic = identify_magic(MB.getBuffer()); in appendFile() 233 llvm::errs() << MB.getBufferIdentifier() in appendFile() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/pci/ |
| H A D | v3-v360epc-pci.txt | 11 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 D | faraday,ftpci100.txt | 29 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 D | VTuneSharedStructs.h | 87 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 D | Memory.cpp | 43 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 D | MemoryBuffer.cpp | 96 template<typename MB> 97 class MemoryBufferMem : public MB { 120 template <typename MB> 121 static ErrorOr<std::unique_ptr<MB>> 188 template <typename MB> 204 template<typename MB> 205 class MemoryBufferMMapFile : public MB { 223 : MFR(FD, Mapmode<MB>, getLegalMapSize(Len, Offset), in MemoryBufferMMapFile() 266 template <typename MB> 267 static ErrorOr<std::unique_ptr<MB>> [all …]
|
| /freebsd/contrib/kyua/utils/ |
| H A D | units_test.cpp | 54 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/clang/lib/Rewrite/ |
| H A D | Rewriter.cpp | 149 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer() local 150 I->second.Initialize(MB.begin(), MB.end()); in getEditBuffer() 165 StringRef MB = SourceMgr->getBufferData(FID); in InsertText() local 176 while (isWhitespaceExceptNL(MB[i])) in InsertText() 178 indentSpace = MB.substr(lineOffs, i-lineOffs); in InsertText() 242 StringRef MB = SourceMgr->getBufferData(FID); in ReplaceText() local 243 return ReplaceText(start, origLength, MB.substr(newOffs, newLength)); in ReplaceText() 266 StringRef MB = SourceMgr->getBufferData(FID); in IncreaseIndentation() local 283 while (isWhitespaceExceptNL(MB[i])) in IncreaseIndentation() 285 parentSpace = MB.substr(parentLineOffs, i-parentLineOffs); in IncreaseIndentation() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
| H A D | rtti_test.cpp | 33 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/device-tree/src/arm/xilinx/ |
| H A D | zynq-cc108.dts | 58 flash@0 { /* 16 MB */ 68 reg = <0x0 0x400000>; /* 4MB */ 72 reg = <0x400000 0x400000>; /* 4MB */ 76 reg = <0x800000 0x400000>; /* 4MB */ 80 reg = <0xc00000 0x100000>; /* 1MB */ 84 reg = <0xd00000 0x200000>; /* 2MB */ 88 reg = <0xf00000 0x100000>; /* 1MB */
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | SectionMemoryManager.cpp | 103 sys::MemoryBlock MB = MMapper->allocateMappedMemory( in allocateSection() local 112 MemGroup.Near = MB; in allocateSection() 117 CodeMem.Near = MB; in allocateSection() 119 RODataMem.Near = MB; in allocateSection() 121 RWDataMem.Near = MB; in allocateSection() 124 MemGroup.AllocatedMem.push_back(MB); in allocateSection() 125 Addr = (uintptr_t)MB.base(); in allocateSection() 126 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); in allocateSection() 205 for (sys::MemoryBlock &MB : MemGroup.PendingMem) in applyMemoryGroupPermissions() 206 if (std::error_code EC = MMapper->protectMappedMemory(MB, Permissions)) in applyMemoryGroupPermissions()
|
| /freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
| H A D | c293pcie.dts | 83 /* 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 D | p1024rdb.dtsi | 59 /* 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 D | p2020rdb.dts | 60 /* 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 D | p1020rdb.dtsi | 60 /* 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 D | p2020rdb-pc.dtsi | 59 /* 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 D | p1020rdb-pc.dtsi | 59 /* 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 D | p1021rdb-pc.dtsi | 59 /* 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 D | README.md | 115 | 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 D | ns2-xmc.dts | 90 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 */ 178 reg = <0x00200000 0x00e00000>; /* 14MB */ 183 reg = <0x01000000 0x01000000>; /* 16MB */
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-rtdyld/ |
| H A D | llvm-rtdyld.cpp | 192 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/sys/contrib/zstd/ |
| H A D | README.md | 44 | **zstd 1.5.6 -1** | 2.887 | 510 MB/s | 1580 MB/s | 45 | [zlib] 1.2.11 -1 | 2.743 | 95 MB/s | 400 MB/s | 46 | brotli 1.0.9 -0 | 2.702 | 395 MB/s | 430 MB/s | 47 | **zstd 1.5.6 --fast=1** | 2.437 | 545 MB/s | 1890 MB/s | 48 | **zstd 1.5.6 --fast=3** | 2.239 | 650 MB/s | 2000 MB/s | 49 | quicklz 1.5.0 -1 | 2.238 | 525 MB/s | 750 MB/s | 50 | lzo1x 2.10 -1 | 2.106 | 650 MB/s | 825 MB/s | 51 | [lz4] 1.9.4 | 2.101 | 700 MB/s | 4000 MB/s | 52 | lzf 3.6 -1 | 2.077 | 420 MB/s | 830 MB/s | 53 | snappy 1.1.9 | 2.073 | 530 MB/s | 1660 MB/s | [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
| H A D | JITLoaderVTune.cpp | 31 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
|
| /freebsd/sys/contrib/device-tree/src/arm/marvell/ |
| H A D | armada-xp-linksys-mamba.dts | 36 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 D | sbc8548-altflash.dts | 5 * 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*/
|