Home
last modified time | relevance | path

Searched refs:byteSize (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtarget.cpp23 auto byteSize{static_cast<std::size_t>(kind)}; in TargetCharacteristics() local
28 byteSize = 2; in TargetCharacteristics()
32 byteSize = 16; in TargetCharacteristics()
35 std::size_t align{byteSize}; in TargetCharacteristics()
37 byteSize = 2 * byteSize; in TargetCharacteristics()
39 EnableType(category, kind, byteSize, align); in TargetCharacteristics()
60 std::int64_t kind, std::size_t byteSize, std::size_t align) { in EnableType() argument
62 byteSize_[static_cast<int>(category)][kind] = byteSize; in EnableType()
64 maxByteSize_ = std::max(maxByteSize_, byteSize); in EnableType()
/llvm-project-15.0.7/flang/runtime/
H A DISO_Fortran_binding.cpp70 std::size_t byteSize{elem_len}; in CFI_allocate() local
77 dim->sm = byteSize; in CFI_allocate()
78 byteSize *= extent; in CFI_allocate()
80 void *p{std::malloc(byteSize)}; in CFI_allocate()
81 if (!p && byteSize) { in CFI_allocate()
277 std::size_t byteSize{elem_len}; in CFI_establish() local
283 descriptor->dim[j].sm = byteSize; in CFI_establish()
284 byteSize *= extents[j]; in CFI_establish()
H A Ddescriptor.cpp131 std::size_t byteSize{Elements() * ElementBytes()}; in Allocate() local
132 void *p{std::malloc(byteSize)}; in Allocate()
133 if (!p && byteSize) { in Allocate()
H A Dtype-info.cpp216 f, "\n binding descriptor (byteSize 0x%zx): ", binding_.byteSize); in Dump()
235 f, "\n special descriptor (byteSize 0x%zx): ", special_.byteSize); in Dump()
/llvm-project-15.0.7/mlir/lib/IR/
H A DAffineMapDetail.h52 auto byteSize = in construct() local
54 auto *rawMem = allocator.allocate(byteSize, alignof(AffineMapStorage)); in construct()
H A DTypeDetail.h110 auto byteSize = TupleTypeStorage::totalSizeToAlloc<Type>(key.size()); in construct() local
111 auto *rawMem = allocator.allocate(byteSize, alignof(TupleTypeStorage)); in construct()
H A DOperation.cpp71 size_t byteSize = in create() local
77 char *mallocMem = reinterpret_cast<char *>(malloc(byteSize + prefixByteSize)); in create()
/llvm-project-15.0.7/lldb/test/API/python_api/process/
H A DTestProcessAPI.py215 byteSize = val.GetByteSize()
216 bytes = int_to_bytearray(256, byteSize)
235 if not error.Success() or result != byteSize:
257 content = process.ReadMemory(location, byteSize, error)
267 new_value = bytearray_to_int(content, byteSize)
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Ddescriptor.h397 static constexpr std::size_t byteSize{ in alignas()
407 assert(descriptor().SizeInBytes() <= byteSize); in alignas()
419 char storage_[byteSize]{}; in alignas()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtarget.h63 std::size_t byteSize, std::size_t align);
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp1489 unsigned byteSize = is32bit ? 4 : 8; in processInstruction() local
1490 getStreamer().emitCodeAlignment(byteSize, &getSTI(), byteSize); in processInstruction()
1502 getStreamer().emitIntValue(Value, byteSize); in processInstruction()
/llvm-project-15.0.7/lld/COFF/
H A DDebugTypes.cpp225 unsigned byteSize = ref.Count * sizeof(TypeIndex); in remapRecord() local
226 if (contents.size() < ref.Offset + byteSize) in remapRecord()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertExpr.cpp3852 mlir::Value byteSize = builder.createIntegerConstant(loc, i64Ty, 1); in lowerLazyArrayExpression() local
3854 loc, builder, header, /*asHeaders=*/false, byteSize, shape); in lowerLazyArrayExpression()
4436 [[maybe_unused]] mlir::Value byteSize = in prepareRaggedArrays() local
4452 loc, builder, header, /*asHeader=*/true, byteSize, extents); in prepareRaggedArrays()