/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonStoreWidening.cpp | 105 InstrGroup &OG, unsigned &TotalSize, unsigned MaxSize); 106 bool createWideStores(InstrGroup &OG, InstrGroup &NG, unsigned TotalSize); 306 InstrGroup::iterator End, InstrGroup &OG, unsigned &TotalSize, in selectStores() argument 384 TotalSize = Pow2Size; in selectStores() 392 unsigned TotalSize) { in createWideStores() argument 397 if (TotalSize > 4) in createWideStores() 424 unsigned WOpc = (TotalSize == 2) ? Hexagon::S4_storeirh_io : in createWideStores() 425 (TotalSize == 4) ? Hexagon::S4_storeiri_io : 0; in createWideStores() 428 int Val = (TotalSize == 2) ? int16_t(Acc) : int(Acc); in createWideStores() 448 unsigned WOpc = (TotalSize == 2) ? Hexagon::S2_storerh_io : in createWideStores() [all …]
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
H A D | MapperJITLinkMemoryManager.cpp | 73 auto TotalSize = SegsSizes->total(); in allocate() local 91 auto TotalSize = Seg.ContentSize + Seg.ZeroFillSize; in allocate() local 94 Seg.WorkingMem = Mapper->prepare(NextSegAddr, TotalSize); in allocate() 96 NextSegAddr += alignTo(TotalSize, Mapper->getPageSize()); in allocate() 132 if (It.stop() - It.start() + 1 >= TotalSize) { in allocate() 140 auto TotalAllocation = alignTo(TotalSize, ReservationUnits); in allocate()
|
H A D | EPCGenericRTDyldMemoryManager.cpp | 120 uint64_t TotalSize = 0; in reserveAllocationSpace() local 121 TotalSize += alignTo(CodeSize, EPC.getPageSize()); in reserveAllocationSpace() 122 TotalSize += alignTo(RODataSize, EPC.getPageSize()); in reserveAllocationSpace() 123 TotalSize += alignTo(RWDataSize, EPC.getPageSize()); in reserveAllocationSpace() 127 << formatv("{0:x}", TotalSize) << " bytes.\n"; in reserveAllocationSpace() 133 SAs.Reserve, TargetAllocAddr, SAs.Instance, TotalSize)) { in reserveAllocationSpace()
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | CachePruning.cpp | 207 uint64_t TotalSize = 0; in pruneCache() local 244 TotalSize += StatusOrErr->getSize(); in pruneCache() 255 TotalSize -= FileInfo->Size; in pruneCache() 258 << FileInfo->Size << "), new occupancy is " << TotalSize in pruneCache() 286 auto AvailableSpace = TotalSize + SpaceInfo.free; in pruneCache() 296 LLVM_DEBUG(dbgs() << "Occupancy: " << ((100 * TotalSize) / AvailableSpace) in pruneCache() 315 while (TotalSize > TotalSizeTarget && FileInfo != FileInfos.end()) in pruneCache()
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/PerfJITEvents/ |
H A D | PerfJITEventListener.cpp | 121 uint32_t TotalSize; // total size of header member 132 uint32_t TotalSize; member 219 Header.TotalSize = sizeof(Header); in PerfJITEventListener() 414 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode() 445 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug() 455 rec.Prefix.TotalSize += sizeof(LLVMPerfJitDebugEntry); in NotifyDebug() 456 rec.Prefix.TotalSize += line.FileName.size() + 1; in NotifyDebug()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMUnwindOpAsm.cpp | 165 size_t TotalSize = Ops.size() + 1; in Finalize() local 166 size_t RoundUpSize = (TotalSize + 3) / 4 * 4; in Finalize() 181 size_t TotalSize = Ops.size() + 2; in Finalize() local 182 size_t RoundUpSize = (TotalSize + 3) / 4 * 4; in Finalize()
|
/openbsd/gnu/llvm/compiler-rt/lib/memprof/tests/ |
H A D | rawprofile.cpp | 102 const uint64_t TotalSize = Read(Ptr); in TEST() local 108 EXPECT_EQ(TotalSize, NumBytes); in TEST() 109 EXPECT_EQ(TotalSize % 8, 0ULL); in TEST() 128 EXPECT_GE(TotalSize - StackOffset, 8ULL + 2 * (8 + 8 + 5 * 8)); in TEST()
|
/openbsd/gnu/llvm/llvm/lib/Target/MSP430/ |
H A D | MSP430BranchSelector.cpp | 95 unsigned TotalSize = BlockOffsets[Begin->getNumber()]; in measureFunction() local 97 BlockOffsets[MBB.getNumber()] = TotalSize; in measureFunction() 99 TotalSize += TII->getInstSizeInBytes(MI); in measureFunction() 102 return TotalSize; in measureFunction()
|
/openbsd/gnu/llvm/llvm/lib/ObjCopy/wasm/ |
H A D | WasmWriter.cpp | 58 size_t TotalSize = finalize(); in write() local 59 Out.reserveExtraSpace(TotalSize); in write()
|
/openbsd/gnu/llvm/llvm/lib/ProfileData/ |
H A D | RawMemProfReader.cpp | 60 uint64_t TotalSize = 0; in checkBuffer() local 68 TotalSize += H->TotalSize; in checkBuffer() 69 Next += H->TotalSize; in checkBuffer() 72 if (Buffer.getBufferSize() != TotalSize) { in checkBuffer() 509 Next += Header->TotalSize; in readRawProfile()
|
H A D | InstrProf.cpp | 931 static std::unique_ptr<ValueProfData> allocValueProfData(uint32_t TotalSize) { in allocValueProfData() argument 932 return std::unique_ptr<ValueProfData>(new (::operator new(TotalSize)) in allocValueProfData() 941 if (TotalSize % sizeof(uint64_t)) in checkIntegrity() 951 if ((char *)VR - (char *)this > (ptrdiff_t)TotalSize) in checkIntegrity() 969 uint32_t TotalSize = swapToHostOrder<uint32_t>(Header, Endianness); in getValueProfData() local 970 if (D + TotalSize > BufferEnd) in getValueProfData() 973 std::unique_ptr<ValueProfData> VPD = allocValueProfData(TotalSize); in getValueProfData() 974 memcpy(VPD.get(), D, TotalSize); in getValueProfData() 991 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesToHost() 1013 sys::swapByteOrder<uint32_t>(TotalSize); in swapBytesFromHost()
|
/openbsd/gnu/llvm/llvm/include/llvm/ProfileData/ |
H A D | MemProfData.inc | 43 uint64_t TotalSize; 122 TotalSize = Size; 155 TotalSize += newMIB.TotalSize;
|
H A D | MIBEntryDef.inc | 33 MIBEntryDef(TotalSize = 5, TotalSize, uint64_t)
|
H A D | InstrProfData.inc | 358 uint32_t TotalSize; 412 uint32_t getSize() const { return TotalSize; } 554 uint32_t TotalSize = sizeof(ValueProfData); 561 TotalSize += getValueProfRecordSize(NumValueSites, 564 return TotalSize; 593 * DstData is not null, the caller is expected to set the TotalSize 600 uint32_t TotalSize = 601 DstData ? DstData->TotalSize : getValueProfDataSize(Closure); 604 DstData ? DstData : Closure->AllocValueProfData(TotalSize); 606 VPD->TotalSize = TotalSize;
|
/openbsd/gnu/llvm/compiler-rt/include/profile/ |
H A D | MemProfData.inc | 43 uint64_t TotalSize; 122 TotalSize = Size; 155 TotalSize += newMIB.TotalSize;
|
H A D | MIBEntryDef.inc | 33 MIBEntryDef(TotalSize = 5, TotalSize, uint64_t)
|
H A D | InstrProfData.inc | 358 uint32_t TotalSize; 412 uint32_t getSize() const { return TotalSize; } 554 uint32_t TotalSize = sizeof(ValueProfData); 561 TotalSize += getValueProfRecordSize(NumValueSites, 564 return TotalSize; 593 * DstData is not null, the caller is expected to set the TotalSize 600 uint32_t TotalSize = 601 DstData ? DstData->TotalSize : getValueProfDataSize(Closure); 604 DstData ? DstData : Closure->AllocValueProfData(TotalSize); 606 VPD->TotalSize = TotalSize;
|
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
H A D | report.cpp | 107 void NORETURN reportAllocationSizeTooBig(uptr UserSize, uptr TotalSize, in reportAllocationSizeTooBig() argument 112 UserSize, TotalSize, MaxSize); in reportAllocationSizeTooBig()
|
H A D | report.h | 33 void NORETURN reportAllocationSizeTooBig(uptr UserSize, uptr TotalSize,
|
/openbsd/gnu/llvm/clang/lib/Basic/ |
H A D | SourceManager.cpp | 454 SourceLocation::UIntTy TotalSize) { in AllocateLoadedSLocEntries() argument 457 if (CurrentLoadedOffset < TotalSize || in AllocateLoadedSLocEntries() 458 CurrentLoadedOffset - TotalSize < NextLocalOffset) { in AllocateLoadedSLocEntries() 463 CurrentLoadedOffset -= TotalSize; in AllocateLoadedSLocEntries() 2247 uint64_t TotalSize = 0; in noteSLocAddressSpaceUsage() member 2272 EntryInfo.TotalSize += Size; in noteSLocAddressSpaceUsage() 2289 return A.second.TotalSize > B.second.TotalSize || in noteSLocAddressSpaceUsage() 2290 (A.second.TotalSize == B.second.TotalSize && in noteSLocAddressSpaceUsage() 2314 << (FileInfo.TotalSize - FileInfo.DirectSize); in noteSLocAddressSpaceUsage() 2315 ReportedSize += FileInfo.TotalSize; in noteSLocAddressSpaceUsage()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | StackColoring.cpp | 1236 unsigned TotalSize = 0; in runOnMachineFunction() local 1244 TotalSize += MFI->getObjectSize(i); in runOnMachineFunction() 1247 LLVM_DEBUG(dbgs() << "Total Stack size: " << TotalSize << " bytes\n\n"); in runOnMachineFunction() 1251 if (NumMarkers < 2 || TotalSize < 16 || DisableColoring || in runOnMachineFunction()
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocChecker.cpp | 1207 SVal TotalSize = SB.evalBinOp(State, BO_Mul, BlocksVal, BlockBytesVal, in evalMulForBufferSize() local 1209 return TotalSize; in evalMulForBufferSize() 1402 State = MallocMemAux(C, Call, TotalSize, Init, State, AF_Malloc); in checkGMallocN() 1414 State = MallocMemAux(C, Call, TotalSize, Init, State, AF_Malloc); in checkGMallocN0() 2589 SVal TotalSize = C.getSVal(Arg1); in ReallocMemAux() local 2591 TotalSize = evalMulForBufferSize(C, Arg1, CE->getArg(2)); in ReallocMemAux() 2592 if (!isa<DefinedOrUnknownSVal>(TotalSize)) in ReallocMemAux() 2597 svalBuilder.evalEQ(State, TotalSize.castAs<DefinedOrUnknownSVal>(), in ReallocMemAux() 2614 C, Call, TotalSize, UndefinedVal(), StatePtrIsNull, Family); in ReallocMemAux() 2680 SVal TotalSize = in CallocMem() local [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/profile/ |
H A D | InstrProfilingMerge.c | 181 SrcValueProfData + ((ValueProfData *)SrcValueProfData)->TotalSize; in __llvm_profile_merge_from_buffer()
|
/openbsd/gnu/llvm/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObject.cpp | 2601 size_t TotalSize = totalSize(); in finalize() local 2602 Buf = WritableMemoryBuffer::getNewMemBuffer(TotalSize); in finalize() 2606 Twine::utohexstr(TotalSize) + " bytes"); in finalize() 2644 TotalSize = 0; in finalize() 2648 TotalSize = std::max(TotalSize, Sec.Offset + Sec.Size); in finalize() 2651 Buf = WritableMemoryBuffer::getNewMemBuffer(TotalSize); in finalize() 2655 Twine::utohexstr(TotalSize) + " bytes"); in finalize() 2707 assert(Offset == TotalSize); in write() 2753 TotalSize = LengthCalc.getBufferOffset() + in finalize() 2757 Buf = WritableMemoryBuffer::getNewMemBuffer(TotalSize); in finalize() [all …]
|
/openbsd/gnu/llvm/llvm/tools/obj2yaml/ |
H A D | coff2yaml.cpp | 227 YAMLFD.TotalSize = ObjFD->TotalSize; in dumpFunctionDefinition()
|