Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp42 static size_t VarAndRedzoneSize(size_t Size, size_t Granularity, in VarAndRedzoneSize() argument
51 return alignTo(std::max(Res, 2 * Granularity), Alignment); in VarAndRedzoneSize()
56 size_t Granularity, size_t MinHeaderSize) { in ComputeASanStackFrameLayout() argument
57 assert(Granularity >= 8 && Granularity <= 64 && in ComputeASanStackFrameLayout()
58 (Granularity & (Granularity - 1)) == 0); in ComputeASanStackFrameLayout()
60 MinHeaderSize >= Granularity); in ComputeASanStackFrameLayout()
69 Layout.Granularity = Granularity; in ComputeASanStackFrameLayout()
70 Layout.FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout()
71 size_t Offset = std::max(std::max(MinHeaderSize, Granularity), in ComputeASanStackFrameLayout()
73 assert((Offset % Granularity) == 0); in ComputeASanStackFrameLayout()
[all …]
/external/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp52 size_t Granularity, size_t MinHeaderSize, in ComputeASanStackFrameLayout() argument
54 assert(Granularity >= 8 && Granularity <= 64 && in ComputeASanStackFrameLayout()
55 (Granularity & (Granularity - 1)) == 0); in ComputeASanStackFrameLayout()
57 MinHeaderSize >= Granularity); in ComputeASanStackFrameLayout()
67 Layout->FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout()
70 size_t Offset = std::max(std::max(MinHeaderSize, Granularity), in ComputeASanStackFrameLayout()
72 assert((Offset % Granularity) == 0); in ComputeASanStackFrameLayout()
73 SB.insert(SB.end(), Offset / Granularity, kAsanStackLeftRedzoneMagic); in ComputeASanStackFrameLayout()
76 size_t Alignment = std::max(Granularity, Vars[i].Alignment); in ComputeASanStackFrameLayout()
86 size_t NextAlignment = IsLast ? Granularity in ComputeASanStackFrameLayout()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DMemory.inc84 size_t Granularity = GranularityCached;
85 if (Granularity == 0) {
86 Granularity = getAllocationGranularity();
87 GranularityCached = Granularity;
90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity;
98 if (Start && Start % Granularity != 0)
99 Start += Granularity - Start % Granularity;
104 NumBlocks*Granularity,
117 Result.Size = NumBlocks*Granularity;
/external/llvm/lib/Support/Windows/
DMemory.inc84 size_t Granularity = GranularityCached;
85 if (Granularity == 0) {
86 Granularity = getAllocationGranularity();
87 GranularityCached = Granularity;
90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity;
98 if (Start && Start % Granularity != 0)
99 Start += Granularity - Start % Granularity;
104 NumBlocks*Granularity,
117 Result.Size = NumBlocks*Granularity;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DASanStackFrameLayout.h46 size_t Granularity; // Shadow granularity. member
55 size_t Granularity,
/external/llvm/unittests/Transforms/Utils/
DASanStackFrameLayoutTest.cpp31 size_t Granularity, size_t MinHeaderSize, in TestLayout() argument
35 ComputeASanStackFrameLayout(Vars, Granularity, MinHeaderSize, &L); in TestLayout()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DASanStackFrameLayoutTest.cpp34 #define TEST_LAYOUT(V, Granularity, MinHeaderSize, ExpectedDescr, \ argument
39 ComputeASanStackFrameLayout(Vars, Granularity, MinHeaderSize); \
/external/libtextclassifier/annotator/
Dentity-data.fbs18 enum Granularity : int {
32 granularity:Datetime_.Granularity = GRANULARITY_UNKNOWN;
Dannotator.cc1421 static_cast<EntityData_::Datetime_::Granularity>( in CreateDatetimeSerializedEntityData()
/external/llvm/include/llvm/Transforms/Utils/
DASanStackFrameLayout.h54 size_t Granularity,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1341 unsigned Alignment, unsigned Granularity, in doInstrumentAddress() argument
1349 (Alignment >= Granularity || Alignment == 0 || Alignment >= TypeSize / 8)) in doInstrumentAddress()
1360 unsigned Granularity, uint32_t TypeSize, in instrumentMaskedLoadOrStore() argument
1390 Granularity, ElemTypeSize, IsWrite, SizeArgument, in instrumentMaskedLoadOrStore()
1444 unsigned Granularity = 1 << Mapping.Scale; in instrumentMop() local
1447 Alignment, Granularity, TypeSize, IsWrite, in instrumentMop()
1450 doInstrumentAddress(this, I, I, Addr, Alignment, Granularity, TypeSize, in instrumentMop()
1489 size_t Granularity = static_cast<size_t>(1) << Mapping.Scale; in createSlowPathCmp() local
1492 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp()
1551 size_t Granularity = 1ULL << Mapping.Scale; in instrumentAddress() local
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1075 unsigned Granularity = 1 << Mapping.Scale; in instrumentMop() local
1080 (Alignment >= Granularity || Alignment == 0 || Alignment >= TypeSize / 8)) in instrumentMop()
1121 size_t Granularity = static_cast<size_t>(1) << Mapping.Scale; in createSlowPathCmp() local
1124 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp()
1164 size_t Granularity = 1ULL << Mapping.Scale; in instrumentAddress() local
1167 if (ClAlwaysSlowPath || (TypeSize < 8 * Granularity)) { in instrumentAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DOptBisect.rst187 Adding Finer Granularity
DGlobalISel.rst31 * **Granularity** --- SelectionDAG and FastISel operate on individual basic
DAMDGPUUsage.rst2025 work-group. Granularity is
/external/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_testplan.txt84 Granularity test with respect to shares values