Home
last modified time | relevance | path

Searched refs:DataPtr (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/support/
DContext.h81 Context(std::shared_ptr<const Data> DataPtr);
101 for (const Data *DataPtr = this->DataPtr.get(); DataPtr != nullptr; in get() local
102 DataPtr = DataPtr->Parent.get()) { in get()
103 if (DataPtr->KeyPtr == &Key) in get()
104 return static_cast<const Type *>(DataPtr->Value->getValuePtr()); in get()
124 Data{/*Parent=*/DataPtr, &Key, in derive()
134 Data{/*Parent=*/std::move(DataPtr), &Key, in derive()
183 std::shared_ptr<const Data> DataPtr; variable
DContext.cpp17 Context::Context(std::shared_ptr<const Data> DataPtr) in Context() argument
18 : DataPtr(std::move(DataPtr)) {} in Context()
20 Context Context::clone() const { return Context(DataPtr); } in clone()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/X86/
DX86Counter.cpp76 const char *DataPtr = DataBuf; in parseDataBuffer() local
77 while (DataPtr < DataBuf + DataSize) { in parseDataBuffer()
79 memcpy(&Header, DataPtr, sizeof(struct perf_event_header)); in parseDataBuffer()
82 DataPtr += Header.size; in parseDataBuffer()
85 DataPtr += sizeof(Header); in parseDataBuffer()
86 uint64_t Count = llvm::support::endian::read64(DataPtr, support::native); in parseDataBuffer()
87 DataPtr += sizeof(Count); in parseDataBuffer()
90 memcpy(&Entry, DataPtr, sizeof(struct perf_branch_entry)); in parseDataBuffer()
109 DataPtr += sizeof(Entry); in parseDataBuffer()
110 memcpy(&Entry, DataPtr, sizeof(struct perf_branch_entry)); in parseDataBuffer()
/external/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/
Dexpected.pass.cpp28 struct DataPtr { struct
30 ~DataPtr() { delete p; } in ~DataPtr() argument
36 expected(DataPtr & p) : data{std::move(p.p->val), std::move(p.p->error)} {} in expected()
40 DataPtr get_return_object() { data = new Data{}; return {data}; } in get_return_object()
/external/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp262 const char *DataPtr = SymContents.drop_front(BytesInAddress).data(); in dumpCXXData() local
265 TD.AlwaysZero = *reinterpret_cast<const little64_t *>(DataPtr); in dumpCXXData()
267 TD.AlwaysZero = *reinterpret_cast<const little32_t *>(DataPtr); in dumpCXXData()
292 const little32_t *DataPtr = in dumpCXXData() local
295 CT.Flags = DataPtr[0]; in dumpCXXData()
296 CT.NonVirtualBaseAdjustmentOffset = DataPtr[2]; in dumpCXXData()
297 CT.VirtualBasePointerOffset = DataPtr[3]; in dumpCXXData()
298 CT.VirtualBaseAdjustmentOffset = DataPtr[4]; in dumpCXXData()
299 CT.Size = DataPtr[5]; in dumpCXXData()
321 const char *DataPtr = in dumpCXXData() local
[all …]
/external/llvm-project/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp269 const char *DataPtr = SymContents.drop_front(BytesInAddress).data(); in dumpCXXData() local
272 TD.AlwaysZero = *reinterpret_cast<const little64_t *>(DataPtr); in dumpCXXData()
274 TD.AlwaysZero = *reinterpret_cast<const little32_t *>(DataPtr); in dumpCXXData()
299 const little32_t *DataPtr = in dumpCXXData() local
302 CT.Flags = DataPtr[0]; in dumpCXXData()
303 CT.NonVirtualBaseAdjustmentOffset = DataPtr[2]; in dumpCXXData()
304 CT.VirtualBasePointerOffset = DataPtr[3]; in dumpCXXData()
305 CT.VirtualBaseAdjustmentOffset = DataPtr[4]; in dumpCXXData()
306 CT.Size = DataPtr[5]; in dumpCXXData()
328 const char *DataPtr = in dumpCXXData() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp469 const uint8_t *DataPtr = Value.data; in dump() local
470 if (DataPtr) { in dump()
472 const uint8_t *EndDataPtr = DataPtr + UValue; in dump()
473 while (DataPtr < EndDataPtr) { in dump()
474 AddrOS << format("%2.2x ", *DataPtr); in dump()
475 ++DataPtr; in dump()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp471 const uint8_t *DataPtr = Value.data; in dump() local
472 if (DataPtr) { in dump()
474 const uint8_t *EndDataPtr = DataPtr + UValue; in dump()
475 while (DataPtr < EndDataPtr) { in dump()
476 AddrOS << format("%2.2x ", *DataPtr); in dump()
477 ++DataPtr; in dump()
/external/llvm-project/llvm/include/llvm/IR/
DMatrixBuilder.h65 CallInst *CreateColumnMajorLoad(Value *DataPtr, Align Alignment,
70 PointerType *PtrTy = cast<PointerType>(DataPtr->getType());
75 Value *Ops[] = {DataPtr, Stride, B.getInt1(IsVolatile), B.getInt32(Rows),
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc366 static void handleFloatCastOverflow(void *DataPtr, ValueHandle From, in handleFloatCastOverflow() argument
373 if (looksLikeFloatCastOverflowDataV1(DataPtr)) { in handleFloatCastOverflow()
374 auto Data = reinterpret_cast<FloatCastOverflowData *>(DataPtr); in handleFloatCastOverflow()
380 auto Data = reinterpret_cast<FloatCastOverflowDataV2 *>(DataPtr); in handleFloatCastOverflow()
/external/llvm-project/llvm/include/llvm/Support/
DBinaryByteStream.h119 uint8_t *DataPtr = const_cast<uint8_t *>(Data.data()); in writeBytes() local
120 ::memcpy(DataPtr + Offset, Buffer.data(), Buffer.size()); in writeBytes()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryByteStream.h119 uint8_t *DataPtr = const_cast<uint8_t *>(Data.data()); in writeBytes() local
120 ::memcpy(DataPtr + Offset, Buffer.data(), Buffer.size()); in writeBytes()
/external/llvm-project/polly/lib/CodeGen/
DRuntimeDebugBuilder.cpp191 auto *DataPtr = Builder.CreateGEP(Data, {Zero, Zero}); in createGPUPrinterT() local
195 auto Ptr = Builder.CreateGEP(DataPtr, Builder.getInt64(Offset)); in createGPUPrinterT()
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_handlers.cpp481 static void handleFloatCastOverflow(void *DataPtr, ValueHandle From, in handleFloatCastOverflow() argument
488 if (looksLikeFloatCastOverflowDataV1(DataPtr)) { in handleFloatCastOverflow()
489 auto Data = reinterpret_cast<FloatCastOverflowData *>(DataPtr); in handleFloatCastOverflow()
495 auto Data = reinterpret_cast<FloatCastOverflowDataV2 *>(DataPtr); in handleFloatCastOverflow()
/external/llvm-project/lldb/source/Plugins/Process/minidump/
DProcessMinidump.cpp211 auto DataPtr = FileSystem::Instance().CreateDataBuffer(crash_file->GetPath(), in CreateInstance() local
213 if (!DataPtr) in CreateInstance()
216 lldbassert(DataPtr->GetByteSize() == header_size); in CreateInstance()
217 if (identify_magic(toStringRef(DataPtr->GetData())) != llvm::file_magic::minidump) in CreateInstance()
/external/llvm-project/llvm/utils/benchmark/src/
Dsysinfo.cc91 using DataPtr = std::unique_ptr<DataT, decltype(&std::free)>; typedef
95 DataPtr Buff;
/external/libcxx/utils/google-benchmark/src/
Dsysinfo.cc93 using DataPtr = std::unique_ptr<DataT, decltype(&std::free)>; typedef
97 DataPtr Buff;
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dsysinfo.cc93 using DataPtr = std::unique_ptr<DataT, decltype(&std::free)>; typedef
97 DataPtr Buff;
/external/google-benchmark/src/
Dsysinfo.cc98 using DataPtr = std::unique_ptr<DataT, decltype(&std::free)>; typedef
102 DataPtr Buff;