Searched refs:MB (Results 1 - 25 of 80) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DMemory.cpp44 raw_ostream &operator<<(raw_ostream &OS, const MemoryBlock &MB) { argument
45 return OS << "[ " << MB.base() << " .. "
46 << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] ("
47 << MB.allocatedSize() << " bytes)";
H A DMemoryBuffer.cpp83 template<typename MB>
84 class MemoryBufferMem : public MB {
106 template <typename MB>
107 static ErrorOr<std::unique_ptr<MB>>
168 template<typename MB>
169 class MemoryBufferMMapFile : public MB {
187 : MFR(FD, MB::Mapmode, getLegalMapSize(Len, Offset),
237 template <typename MB>
238 static ErrorOr<std::unique_ptr<MB>>
243 template <typename MB>
[all...]
H A DSpecialCaseList.cpp82 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, argument
85 if (SCL->createInternal(MB, Error))
118 bool SpecialCaseList::createInternal(const MemoryBuffer *MB, argument
121 if (!parse(MB, Sections, Error))
126 bool SpecialCaseList::parse(const MemoryBuffer *MB, argument
131 MB->getBuffer().split(Lines, '\n');
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend-query/
H A Ddisk-info.sh49 # Now get the disks size in MB
51 MB=$(convert_byte_to_megabyte ${KB})
59 echo "size=${MB}"
H A Ddisk-part.sh48 # Now get the disks size in MB
50 MB=$(convert_byte_to_megabyte ${KB})
51 TOTALSIZE="$MB"
90 # Now get the startblock, blocksize and MB size of this partition
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/LTO/
H A DCaching.h28 std::function<void(unsigned Task, std::unique_ptr<MemoryBuffer> MB)>;
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend-partmanager/
H A Dcreate-part.sh49 MB="${2}"
53 TOTALBLOCKS="`expr $MB \* 2048`"
/freebsd-11-stable/lib/libc/gen/
H A Dgetbsize.c50 #define MB (1024L * 1024L) macro
74 max = MAXB / MB;
75 mul = MB;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp145 static COFF::MachineTypes getCOFFFileMachine(MemoryBufferRef MB) { argument
147 object::COFFObjectFile Obj(MB, EC);
149 llvm::errs() << MB.getBufferIdentifier()
159 llvm::errs() << MB.getBufferIdentifier() << ": unknown machine: " << Machine
167 static COFF::MachineTypes getBitcodeFileMachine(MemoryBufferRef MB) { argument
168 Expected<std::string> TripleStr = getBitcodeTargetTriple(MB);
170 llvm::errs() << MB.getBufferIdentifier()
185 llvm::errs() << MB.getBufferIdentifier()
193 std::string &LibMachineSource, MemoryBufferRef MB) {
194 file_magic Magic = identify_magic(MB
191 appendFile(std::vector<NewArchiveMember> &Members, COFF::MachineTypes &LibMachine, std::string &LibMachineSource, MemoryBufferRef MB) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp58 ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> MB = MemoryBuffer::getFile(Path); local
60 if (std::error_code EC = MB.getError()) {
65 return std::move(*MB);
112 std::unique_ptr<MemoryBuffer> MB = local
114 if (!MB)
117 if (!MB->getBufferSize()) {
132 parseCOFFModuleDefinition(*MB, Machine, true);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFFModuleDefinition.h46 parseCOFFModuleDefinition(MemoryBufferRef MB, COFF::MachineTypes Machine,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp247 StringRef MB = SourceMgr->getBufferData(FID); local
248 I->second.Initialize(MB.begin(), MB.end());
263 StringRef MB = SourceMgr->getBufferData(FID); local
274 while (isWhitespaceExceptNL(MB[i]))
276 indentSpace = MB.substr(lineOffs, i-lineOffs);
340 StringRef MB = SourceMgr->getBufferData(FID); local
341 return ReplaceText(start, origLength, MB.substr(newOffs, newLength));
364 StringRef MB = SourceMgr->getBufferData(FID); local
381 while (isWhitespaceExceptNL(MB[
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-modextract/
H A Dllvm-modextract.cpp43 std::unique_ptr<MemoryBuffer> MB = local
45 std::vector<BitcodeModule> Ms = ExitOnErr(getBitcodeModuleList(*MB));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp104 sys::MemoryBlock MB = MMapper.allocateMappedMemory( local
113 MemGroup.Near = MB;
116 MemGroup.AllocatedMem.push_back(MB);
117 Addr = (uintptr_t)MB.base();
118 uintptr_t EndOfBlock = Addr + MB.allocatedSize();
198 for (sys::MemoryBlock &MB : MemGroup.PendingMem)
199 if (std::error_code EC = MMapper.protectMappedMemory(MB, Permissions))
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DSpecialCaseList.h76 static std::unique_ptr<SpecialCaseList> create(const MemoryBuffer *MB,
109 bool createInternal(const MemoryBuffer *MB, std::string &Error);
144 bool parse(const MemoryBuffer *MB, StringMap<size_t> &SectionsMap,
/freebsd-11-stable/sys/geom/vinum/
H A Dgeom_vinum_share.c715 snprintf(desc, sizeof(desc), lj ? "%jd MB" : "%10jd MB",
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.h61 static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { argument
67 MB = countLeadingZeros(Val);
77 MB = countLeadingZeros((Val - 1) ^ Val) + 1;
85 static inline bool isRunOfOnes64(uint64_t Val, unsigned &MB, unsigned &ME) { argument
91 MB = countLeadingZeros(Val);
101 MB = countLeadingZeros((Val - 1) ^ Val) + 1;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp191 SectionInfo(StringRef Name, sys::MemoryBlock MB, unsigned SectionID) argument
192 : Name(Name), MB(std::move(MB)), SectionID(SectionID) {}
194 sys::MemoryBlock MB; member in struct:TrivialMemoryManager::SectionInfo
247 sys::MemoryBlock MB = local
252 if (!MB.base())
255 PreallocSlab = MB;
267 sys::MemoryBlock MB((void *)OldSlabOffset, Size);
269 FunctionMemory.push_back(SectionInfo(SectionName, MB, SectionID));
271 DataMemory.push_back(SectionInfo(SectionName, MB, SectionI
301 sys::MemoryBlock MB = local
329 sys::MemoryBlock MB = local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dis/
H A Dllvm-dis.cpp159 std::unique_ptr<MemoryBuffer> MB = local
162 BitcodeFileContents IF = ExitOnErr(llvm::getBitcodeFileContents(*MB));
170 BitcodeModule MB = IF.Mods[i]; local
171 std::unique_ptr<Module> M = ExitOnErr(MB.getLazyModule(Context, MaterializeMetadata,
178 BitcodeLTOInfo LTOInfo = ExitOnErr(MB.getLTOInfo());
181 Index = ExitOnErr(MB.getSummary());
/freebsd-11-stable/contrib/netbsd-tests/bin/df/
H A Dgetmntinfo.c37 #define MB * 1024 KB macro
38 #define GB * 1024 MB
96 #define USED 132ULL MB
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-bcanalyzer/
H A Dllvm-bcanalyzer.cpp91 std::unique_ptr<MemoryBuffer> MB = ExitOnErr(openBitcodeFile(InputFilename)); local
96 BitcodeAnalyzer BA(MB->getBuffer(),
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp289 std::unique_ptr<MemoryBuffer> MB = check(MemoryBuffer::getFile(F), F); local
291 check(InputFile::create(MB->getMemBufferRef()), F);
319 MBs.push_back(std::move(MB));
343 auto AddBuffer = [&](size_t Task, std::unique_ptr<MemoryBuffer> MB) {
344 *AddStream(Task)->OS << MB->getBuffer();
357 std::unique_ptr<MemoryBuffer> MB = check(MemoryBuffer::getFile(F), F); local
358 BitcodeFileContents BFC = check(getBitcodeFileContents(*MB), F);
370 check(InputFile::create(MB->getMemBufferRef()), F);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFRegisters.cpp86 const uint32_t *MB = RegMasks.get(M); local
88 if (!(MB[i/32] & (1u << (i%32))))
107 const uint32_t *MB = getRegMaskBits(Reg); local
109 if (MB[i/32] & (1u << (i%32)))
164 const uint32_t *MB = getRegMaskBits(RM.Reg); local
165 bool Preserved = MB[RR.Reg/32] & (1u << (RR.Reg%32));
186 if (!(MB[SR/32] & (1u << (SR%32))))
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_umountstress.sh45 floppy288|2.88MB 3.5in Extra High Density Floppy:\
130 floppy288|2.88MB 3.5in Extra High Density Floppy:\
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IRReader/
H A DIRReader.cpp120 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf));
122 wrap(parseIR(MB->getMemBufferRef(), Diag, *unwrap(ContextRef)).release());

Completed in 290 milliseconds

1234