| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | NestedNameSpecifier.cpp | 464 static void Append(char *Start, char *End, char *&Buffer, unsigned &BufferSize, in Append() argument 469 if (BufferSize + (End - Start) > BufferCapacity) { in Append() 473 (unsigned)(BufferSize + (End - Start))); in Append() 477 memcpy(NewBuffer, Buffer, BufferSize); in Append() 485 memcpy(Buffer + BufferSize, Start, End - Start); in Append() 486 BufferSize += End - Start; in Append() 491 unsigned &BufferSize, unsigned &BufferCapacity) { in SaveSourceLocation() argument 494 reinterpret_cast<char *>(&Raw) + sizeof(Raw), Buffer, BufferSize, in SaveSourceLocation() 499 static void SavePointer(void *Ptr, char *&Buffer, unsigned &BufferSize, in SavePointer() argument 503 Buffer, BufferSize, BufferCapacity); in SavePointer() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | Format.h | 46 virtual int snprint(char *Buffer, unsigned BufferSize) const = 0; 54 unsigned print(char *Buffer, unsigned BufferSize) const { in print() argument 55 assert(BufferSize && "Invalid buffer size!"); in print() 58 int N = snprint(Buffer, BufferSize); in print() 62 return BufferSize * 2; in print() 66 if (unsigned(N) >= BufferSize) in print() 94 int snprint_tuple(char *Buffer, unsigned BufferSize, 97 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); 99 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); 109 int snprint(char *Buffer, unsigned BufferSize) const override { [all …]
|
| H A D | circular_raw_ostream.h | 50 size_t BufferSize; variable 75 TheStream->write(Cur, BufferArray + BufferSize - Cur); in flushBuffer() 110 BufferSize(BuffSize), Banner(Header) { in raw_ostream() 111 if (BufferSize != 0) in raw_ostream() 112 BufferArray = new char[BufferSize]; in raw_ostream()
|
| H A D | FormattedStream.h | 86 if (size_t BufferSize = TheStream->GetBufferSize()) in setStream() local 87 SetBufferSize(BufferSize); in setStream() 163 if (size_t BufferSize = GetBufferSize()) in releaseStream() local 164 TheStream->SetBufferSize(BufferSize); in releaseStream()
|
| /openbsd-src/gnu/llvm/compiler-rt/tools/gwp_asan/ |
| H A D | stack_trace_compressor_fuzzer.cpp | 12 size_t BufferSize = kBytesForLargestVarInt * Size / sizeof(uintptr_t); in LLVMFuzzerTestOneInput() local 13 std::vector<uint8_t> Buffer(BufferSize); in LLVMFuzzerTestOneInput() 14 std::vector<uint8_t> Buffer2(BufferSize); in LLVMFuzzerTestOneInput() 19 BufferSize / sizeof(uintptr_t)); in LLVMFuzzerTestOneInput() 24 Buffer.data(), BufferSize); in LLVMFuzzerTestOneInput() 30 BufferSize / sizeof(uintptr_t)); in LLVMFuzzerTestOneInput()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MCA/HardwareUnits/ |
| H A D | ResourceManager.h | 193 const int BufferSize; variable 219 int getBufferSize() const { return BufferSize; } in getBufferSize() 221 bool isBuffered() const { return BufferSize > 0; } in isBuffered() 222 bool isInOrder() const { return BufferSize == 1; } in isInOrder() 225 bool isADispatchHazard() const { return BufferSize == 0; } in isADispatchHazard() 269 if (BufferSize <= 0) in reserveBuffer() 273 assert(AvailableSlots <= static_cast<unsigned>(BufferSize)); in reserveBuffer() 280 if (BufferSize <= 0) in releaseBuffer() 284 assert(AvailableSlots <= static_cast<unsigned>(BufferSize)); in releaseBuffer()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | circular_raw_ostream.cpp | 18 if (BufferSize == 0) { in write_impl() 26 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); in write_impl() 30 if (Cur == BufferArray + BufferSize) { in write_impl() 39 if (BufferSize != 0) { in flushBufferWithBanner()
|
| H A D | FileOutputBuffer.cpp | 77 : FileOutputBuffer(Path), Buffer(Buf), BufferSize(BufSize), in InMemoryBuffer() 83 return (uint8_t *)Buffer.base() + BufferSize; in getBufferEnd() 86 size_t getBufferSize() const override { return BufferSize; } in getBufferSize() 90 llvm::outs() << StringRef((const char *)Buffer.base(), BufferSize); in commit() 102 OS << StringRef((const char *)Buffer.base(), BufferSize); in commit() 109 size_t BufferSize; member in __anondddc5bfe0111::InMemoryBuffer
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/xray/ |
| H A D | xray_buffer_queue.cpp | 79 BufferSize = BS; in init() 82 BackingStore = allocControlBlock(BufferSize, BufferCount); in init() 89 deallocControlBlock(BackingStore, BufferSize, BufferCount); in init() 129 Buf.Data = &BackingStore->Data + (BufferSize * i); in init() 130 Buf.Size = BufferSize; in init() 147 : BufferSize(B), in BufferQueue() 198 Buf.Data > &BackingStore->Data + (BufferCount * BufferSize)) in releaseBuffer() 228 decRefCount(BackingStore, BufferSize, BufferCount); in cleanupBuffers() 234 BufferSize = 0; in cleanupBuffers()
|
| H A D | xray_fdr_logging.cpp | 253 auto BufferSize = atomic_load(It->Extents, memory_order_acquire); in fdrIterator() local 254 SerializedBufferSize = BufferSize + sizeof(MetadataRecord); in fdrIterator() 264 internal_memcpy(ExtentsRecord.Data, &BufferSize, sizeof(BufferSize)); in fdrIterator() 269 internal_memcpy(AfterExtents, It->Data, BufferSize); in fdrIterator() 660 auto BufferSize = FDRFlags.buffer_size; in fdrLoggingInit() local 666 new (BQ) BufferQueue(BufferSize, BufferMax, Success); in fdrLoggingInit() 672 if (BQ->init(BufferSize, BufferMax) != BufferQueue::ErrorCode::Ok) { in fdrLoggingInit()
|
| H A D | xray_basic_logging.cpp | 59 size_t BufferSize = 0; member 137 TLD.BufferSize = GlobalOptions.ThreadBufferSize; in getThreadLocalData() 245 if (++TLD.BufferOffset == TLD.BufferSize) { in InMemoryRawLog() 260 const auto &BuffLen = TLD.BufferSize; in InMemoryRawLogWithArg() 372 XRayLogInitStatus basicLoggingInit(UNUSED size_t BufferSize, in basicLoggingInit() argument
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-mca/Views/ |
| H A D | TimelineView.cpp | 50 if (!BufferInfo.first || BufferInfo.second > MCDesc.BufferSize) { in onReservedBuffers() 52 BufferInfo.second = MCDesc.BufferSize; in onReservedBuffers() 110 unsigned Executions, int BufferSize) { in chooseColor() argument 111 if (CumulativeCycles && BufferSize < 0) in chooseColor() 113 unsigned Size = static_cast<unsigned>(BufferSize); in chooseColor() 122 unsigned Executions, int BufferSize) { in tryChangeColor() argument 126 raw_ostream::Colors Color = chooseColor(Cycles, Executions, BufferSize); in tryChangeColor() 157 int BufferSize = PrintingTotals ? 0 : UsedBuffer[SourceIndex].second; in printWaitTimeEntry() local 160 BufferSize); in printWaitTimeEntry() 165 BufferSize); in printWaitTimeEntry()
|
| H A D | SchedulerStatistics.cpp | 142 if (ProcResource.BufferSize <= 0) in printSchedulerUsage() 147 double AlmostFullThreshold = (double)(ProcResource.BufferSize * 4) / 5; in printSchedulerUsage() 160 BU.MaxUsedSlots == static_cast<unsigned>(ProcResource.BufferSize)) in printSchedulerUsage() 166 FOS << ProcResource.BufferSize << '\n'; in printSchedulerUsage()
|
| /openbsd-src/sys/stand/efi/include/ |
| H A D | efiprot.h | 61 IN UINTN BufferSize, 72 IN UINTN BufferSize, 130 IN UINTN BufferSize, 141 IN UINTN BufferSize, 221 IN OUT UINTN *BufferSize, 229 IN OUT UINTN *BufferSize, 252 IN OUT UINTN *BufferSize, 261 IN UINTN BufferSize, 364 IN OUT UINTN *BufferSize,
|
| H A D | efinet.h | 279 IN UINTN BufferSize, 302 IN UINTN BufferSize, 317 IN OUT UINTN *BufferSize,
|
| H A D | efiser.h | 101 IN OUT UINTN *BufferSize, 109 IN OUT UINTN *BufferSize,
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | memtag_test.cpp | 47 BufferSize = getPageSizeCached(); in SetUp() 49 map(nullptr, BufferSize, "MemtagTest", MAP_MEMTAG, &Data)); in SetUp() 57 unmap(Buffer, BufferSize, 0, &Data); in TearDown() 60 uptr BufferSize = 0; member in scudo::MemtagTest 182 releasePagesToOS(Addr, 0, BufferSize, &Data); in TEST_F()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
| H A D | release.h | 63 BufferSize(0), in RegionPageMap() 75 roundUpTo(BufferSize, getPageSizeCached())); in ~RegionPageMap() 104 BufferSize = SizePerRegion * sizeof(*Buffer) * Regions; in reset() 105 if (BufferSize <= (StaticBufferCount * sizeof(Buffer[0])) && in reset() 108 memset(Buffer, 0, BufferSize); in reset() 117 map(nullptr, roundUpTo(BufferSize, getPageSizeCached()), in reset() 166 uptr getBufferSize() const { return BufferSize; } in getBufferSize() 179 uptr BufferSize; variable
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | SISchedule.td | 96 let BufferSize = 1; 99 let BufferSize = 1; 102 let BufferSize = 1; 105 let BufferSize = 1; 108 let BufferSize = 1; 111 let BufferSize = 1; 114 let BufferSize = 1; 117 let BufferSize = 1; 120 let BufferSize = 0;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCSchedule.h | 48 int BufferSize; member 57 && BufferSize == Other.BufferSize;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMScheduleM7.td | 38 def M7UnitLoadL : ProcResource<1> { let BufferSize = 0; } 39 def M7UnitLoadH : ProcResource<1> { let BufferSize = 0; } 40 def M7UnitLoad : ProcResGroup<[M7UnitLoadL,M7UnitLoadH]> { let BufferSize = 0; } 41 def M7UnitStore : ProcResource<1> { let BufferSize = 0; } 43 def M7UnitShift1 : ProcResource<1> { let BufferSize = 0; } 44 def M7UnitShift2 : ProcResource<1> { let BufferSize = 0; } 45 def M7UnitMAC : ProcResource<1> { let BufferSize = 0; } 46 def M7UnitBranch : ProcResource<1> { let BufferSize = 0; } 47 def M7UnitVFP : ProcResource<1> { let BufferSize = 0; } 48 def M7UnitVPortL : ProcResource<1> { let BufferSize = 0; } [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/MCA/HardwareUnits/ |
| H A D | ResourceManager.cpp | 68 BufferSize(Desc.BufferSize), IsAGroup(llvm::popcount(ResourceMask) > 1) { in ResourceState() 76 AvailableSlots = BufferSize == -1 ? 0U : static_cast<unsigned>(BufferSize); in ResourceState() 98 << ", BufferSize=" << BufferSize in dump()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64SchedThunderX.td | 36 // Modeling each pipeline with BufferSize == 0 since T8X is in-order. 37 def THXT8XUnitALU : ProcResource<2> { let BufferSize = 0; } // Int ALU 38 def THXT8XUnitMAC : ProcResource<1> { let BufferSize = 0; } // Int MAC 39 def THXT8XUnitDiv : ProcResource<1> { let BufferSize = 0; } // Int Division 40 def THXT8XUnitLdSt : ProcResource<1> { let BufferSize = 0; } // Load/Store 41 def THXT8XUnitBr : ProcResource<1> { let BufferSize = 0; } // Branch 42 def THXT8XUnitFPALU : ProcResource<1> { let BufferSize = 0; } // FP ALU 43 def THXT8XUnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mul/Div/Sqrt
|
| H A D | AArch64SchedA53.td | 39 // Modeling each pipeline as a ProcResource using the BufferSize = 0 since 42 def A53UnitALU : ProcResource<2> { let BufferSize = 0; } // Int ALU 43 def A53UnitMAC : ProcResource<1> { let BufferSize = 0; } // Int MAC 44 def A53UnitDiv : ProcResource<1> { let BufferSize = 0; } // Int Division 45 def A53UnitLdSt : ProcResource<1> { let BufferSize = 0; } // Load/Store 46 def A53UnitB : ProcResource<1> { let BufferSize = 0; } // Branch 47 def A53UnitFPALU : ProcResource<1> { let BufferSize = 0; } // FP ALU 48 def A53UnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mult/Div/Sqrt
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | NestedNameSpecifier.h | 371 unsigned BufferSize = 0; variable 507 BufferSize = 0; in Clear() 516 return std::make_pair(Buffer, BufferSize); in getBuffer()
|