Home
last modified time | relevance | path

Searched refs:MinHeaderSize (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp52 size_t Granularity, size_t MinHeaderSize, in ComputeASanStackFrameLayout() argument
56 assert(MinHeaderSize >= 16 && (MinHeaderSize & (MinHeaderSize - 1)) == 0 && in ComputeASanStackFrameLayout()
57 MinHeaderSize >= Granularity); in ComputeASanStackFrameLayout()
70 size_t Offset = std::max(std::max(MinHeaderSize, Granularity), in ComputeASanStackFrameLayout()
98 if (Offset % MinHeaderSize) { in ComputeASanStackFrameLayout()
99 size_t ExtraRedzone = MinHeaderSize - (Offset % MinHeaderSize); in ComputeASanStackFrameLayout()
106 assert((Layout->FrameSize % MinHeaderSize) == 0); in ComputeASanStackFrameLayout()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp56 size_t Granularity, size_t MinHeaderSize) { in ComputeASanStackFrameLayout() argument
59 assert(MinHeaderSize >= 16 && (MinHeaderSize & (MinHeaderSize - 1)) == 0 && in ComputeASanStackFrameLayout()
60 MinHeaderSize >= Granularity); in ComputeASanStackFrameLayout()
71 size_t Offset = std::max(std::max(MinHeaderSize, Granularity), in ComputeASanStackFrameLayout()
90 if (Offset % MinHeaderSize) { in ComputeASanStackFrameLayout()
91 Offset += MinHeaderSize - (Offset % MinHeaderSize); in ComputeASanStackFrameLayout()
94 assert((Layout.FrameSize % MinHeaderSize) == 0); in ComputeASanStackFrameLayout()
/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/llvm/include/llvm/Transforms/Utils/
DASanStackFrameLayout.h58 size_t MinHeaderSize,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DASanStackFrameLayout.h59 size_t MinHeaderSize);
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp2081 size_t MinHeaderSize = ASan.LongSize / 2; in poisonStack() local
2083 ComputeASanStackFrameLayout(SVD, 1ULL << Mapping.Scale, MinHeaderSize, &L); in poisonStack()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp2876 size_t MinHeaderSize = std::max((size_t)ASan.LongSize / 2, Granularity); in processStaticAllocas() local
2878 ComputeASanStackFrameLayout(SVD, Granularity, MinHeaderSize); in processStaticAllocas()