Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DASanStackFrameLayout.cpp56 assert(Granularity >= 8 && Granularity <= 64 && in ComputeASanStackFrameLayout()
57 (Granularity & (Granularity - 1)) == 0); in ComputeASanStackFrameLayout()
59 MinHeaderSize >= Granularity); in ComputeASanStackFrameLayout()
68 Layout.Granularity = Granularity; in ComputeASanStackFrameLayout()
72 assert((Offset % Granularity) == 0); in ComputeASanStackFrameLayout()
82 size_t NextAlignment = IsLast ? Granularity in ComputeASanStackFrameLayout()
121 const size_t Granularity = Layout.Granularity; in GetShadowBytes() local
127 if (Var.Size % Granularity) in GetShadowBytes()
128 SB.push_back(Var.Size % Granularity); in GetShadowBytes()
138 const size_t Granularity = Layout.Granularity; in GetShadowBytesAfterScope() local
[all …]
/freebsd-13.1/sys/contrib/dev/acpica/components/resources/
H A Drsaddr.c188 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET (Data.Address16.Address.Granularity),
189 AML_OFFSET (Address16.Granularity),
228 {ACPI_RSC_MOVE32, ACPI_RS_OFFSET (Data.Address32.Address.Granularity),
229 AML_OFFSET (Address32.Granularity),
268 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET (Data.Address64.Address.Granularity),
269 AML_OFFSET (Address64.Granularity),
314 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET (Data.ExtAddress64.Address.Granularity),
315 AML_OFFSET (ExtAddress64.Granularity),
H A Drsdumpinfo.c272 …{ACPI_RSD_UINT16, ACPI_RSD_OFFSET (Address16.Address.Granularity), "Granularity", …
285 …{ACPI_RSD_UINT32, ACPI_RSD_OFFSET (Address32.Address.Granularity), "Granularity", …
298 …{ACPI_RSD_UINT64, ACPI_RSD_OFFSET (Address64.Address.Granularity), "Granularity", …
311 …{ACPI_RSD_UINT64, ACPI_RSD_OFFSET (ExtAddress64.Address.Granularity), "Granularity", …
H A Drsxface.c172 ACPI_COPY_FIELD(Out, In, Address.Granularity); \
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Windows/
H A DMemory.inc113 size_t Granularity = DefaultGranularity;
118 Granularity = LargePageGranularity;
121 size_t NumBlocks = (NumBytes + Granularity - 1) / Granularity;
129 if (Start && Start % Granularity != 0)
130 Start += Granularity - Start % Granularity;
134 size_t AllocSize = NumBlocks * Granularity;
/freebsd-13.1/sys/contrib/dev/acpica/compiler/
H A Daslresource.c323 UINT64 Granularity, in RsLargeAddressCheck() argument
351 if (!Minimum && !Maximum && !Length && !Granularity) in RsLargeAddressCheck()
378 if (Granularity) in RsLargeAddressCheck()
380 if ((Granularity + 1) & in RsLargeAddressCheck()
381 Granularity) in RsLargeAddressCheck()
402 if (Granularity & Length) in RsLargeAddressCheck()
412 if (Granularity != 0) in RsLargeAddressCheck()
456 if (Granularity & Minimum) in RsLargeAddressCheck()
466 if (Granularity & (Maximum + 1)) in RsLargeAddressCheck()
H A Daslrestype2e.c250 Descriptor->ExtAddress64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoExtendedIoDescriptor()
252 CurrentByteOffset + ASL_RESDESC_OFFSET (ExtAddress64.Granularity)); in RsDoExtendedIoDescriptor()
328 Descriptor->ExtAddress64.Granularity, in RsDoExtendedIoDescriptor()
430 Descriptor->ExtAddress64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoExtendedMemoryDescriptor()
432 CurrentByteOffset + ASL_RESDESC_OFFSET (ExtAddress64.Granularity)); in RsDoExtendedMemoryDescriptor()
509 Descriptor->ExtAddress64.Granularity, in RsDoExtendedMemoryDescriptor()
608 Descriptor->ExtAddress64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoExtendedSpaceDescriptor()
610 CurrentByteOffset + ASL_RESDESC_OFFSET (ExtAddress64.Granularity)); in RsDoExtendedSpaceDescriptor()
672 Descriptor->ExtAddress64.Granularity, in RsDoExtendedSpaceDescriptor()
H A Daslrestype2q.c258 Descriptor->Address64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoQwordIoDescriptor()
260 CurrentByteOffset + ASL_RESDESC_OFFSET (Address64.Granularity)); in RsDoQwordIoDescriptor()
377 Descriptor->Address64.Granularity, in RsDoQwordIoDescriptor()
486 Descriptor->Address64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoQwordMemoryDescriptor()
488 CurrentByteOffset + ASL_RESDESC_OFFSET (Address64.Granularity)); in RsDoQwordMemoryDescriptor()
606 Descriptor->Address64.Granularity, in RsDoQwordMemoryDescriptor()
712 Descriptor->Address64.Granularity = InitializerOp->Asl.Value.Integer; in RsDoQwordSpaceDescriptor()
714 CurrentByteOffset + ASL_RESDESC_OFFSET (Address64.Granularity)); in RsDoQwordSpaceDescriptor()
817 Descriptor->Address64.Granularity, in RsDoQwordSpaceDescriptor()
H A Daslrestype2w.c258 Descriptor->Address16.Granularity = (UINT16) InitializerOp->Asl.Value.Integer; in RsDoWordIoDescriptor()
260 CurrentByteOffset + ASL_RESDESC_OFFSET (Address16.Granularity)); in RsDoWordIoDescriptor()
377 (UINT64) Descriptor->Address16.Granularity, in RsDoWordIoDescriptor()
472 Descriptor->Address16.Granularity = in RsDoWordBusNumberDescriptor()
475 CurrentByteOffset + ASL_RESDESC_OFFSET (Address16.Granularity)); in RsDoWordBusNumberDescriptor()
582 (UINT64) Descriptor->Address16.Granularity, in RsDoWordBusNumberDescriptor()
688 Descriptor->Address16.Granularity = in RsDoWordSpaceDescriptor()
691 CurrentByteOffset + ASL_RESDESC_OFFSET (Address16.Granularity)); in RsDoWordSpaceDescriptor()
798 (UINT64) Descriptor->Address16.Granularity, in RsDoWordSpaceDescriptor()
H A Daslrestype2d.c258 Descriptor->Address32.Granularity = in RsDoDwordIoDescriptor()
261 CurrentByteOffset + ASL_RESDESC_OFFSET (Address32.Granularity)); in RsDoDwordIoDescriptor()
386 (UINT64) Descriptor->Address32.Granularity, in RsDoDwordIoDescriptor()
496 Descriptor->Address32.Granularity = in RsDoDwordMemoryDescriptor()
499 CurrentByteOffset + ASL_RESDESC_OFFSET (Address32.Granularity)); in RsDoDwordMemoryDescriptor()
621 (UINT64) Descriptor->Address32.Granularity, in RsDoDwordMemoryDescriptor()
727 Descriptor->Address32.Granularity = in RsDoDwordSpaceDescriptor()
730 CurrentByteOffset + ASL_RESDESC_OFFSET (Address32.Granularity)); in RsDoDwordSpaceDescriptor()
838 (UINT64) Descriptor->Address32.Granularity, in RsDoDwordSpaceDescriptor()
H A Daslcompiler.h1375 UINT64 Granularity,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DASanStackFrameLayout.h45 size_t Granularity; // Shadow granularity. member
54 size_t Granularity,
/freebsd-13.1/sys/contrib/dev/acpica/include/
H A Damlresrc.h446 UINT64 Granularity; member
462 UINT64 Granularity; member
475 UINT32 Granularity; member
488 UINT16 Granularity; member
H A Dacrestyp.h465 UINT16 Granularity; member
475 UINT32 Granularity; member
485 UINT64 Granularity; member
/freebsd-13.1/sys/contrib/dev/acpica/components/disassembler/
H A Ddmresrcl.c713 AcpiDmAddressFields (&Resource->Address16.Granularity, 16, Level); in AcpiDmWordDescriptor()
760 AcpiDmAddressFields (&Resource->Address32.Granularity, 32, Level); in AcpiDmDwordDescriptor()
807 AcpiDmAddressFields (&Resource->Address64.Granularity, 64, Level); in AcpiDmQwordDescriptor()
855 AcpiDmAddressFields (&Resource->ExtAddress64.Granularity, 64, Level); in AcpiDmExtendedDescriptor()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp1599 Granularity, ElemTypeSize, IsWrite, SizeArgument, in instrumentMaskedLoadOrStore()
1647 unsigned Granularity = 1 << Mapping.Scale; in instrumentMop() local
1690 size_t Granularity = static_cast<size_t>(1) << Mapping.Scale; in createSlowPathCmp() local
1763 size_t Granularity = 1ULL << Mapping.Scale; in instrumentAddress() local
1766 if (ClAlwaysSlowPath || (TypeSize < 8 * Granularity)) { in instrumentAddress()
3259 size_t Granularity = 1ULL << Mapping.Scale; in processStaticAllocas() local
3262 ComputeASanStackFrameLayout(SVD, Granularity, MinHeaderSize); in processStaticAllocas()
3423 assert(Desc.Offset % L.Granularity == 0); in processStaticAllocas()
3424 size_t Begin = Desc.Offset / L.Granularity; in processStaticAllocas()
3425 size_t End = Begin + (APC.Size + L.Granularity - 1) / L.Granularity; in processStaticAllocas()
[all …]
H A DMemProfiler.cpp134 Granularity = ClMappingGranularity; in ShadowMapping()
135 Mask = ~(Granularity - 1); in ShadowMapping()
139 int Granularity; member
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp98 Value *getRowFromCol(Instruction *II, Value *V, unsigned Granularity);
102 unsigned Granularity) { in getRowFromCol() argument
111 ConstantInt *Gran = Builder.getInt16(Granularity); in getRowFromCol()
/freebsd-13.1/sys/dev/acpica/
H A Dacpi_resource.c349 gran = res->Data.Address16.Address.Granularity; in acpi_parse_resource()
358 gran = res->Data.Address32.Address.Granularity; in acpi_parse_resource()
367 gran = res->Data.Address64.Address.Granularity; in acpi_parse_resource()
378 gran = res->Data.ExtAddress64.Address.Granularity; in acpi_parse_resource()