Home
last modified time | relevance | path

Searched refs:kNativeStackAlignment (Results 1 – 12 of 12) sorted by relevance

/art/runtime/arch/x86/
Djni_frame_x86.h34 static constexpr size_t kNativeStackAlignment = 16; // IA-32 cdecl requires 16 byte alignment. variable
35 static_assert(kNativeStackAlignment == kStackAlignment);
66 return RoundUp(size, kNativeStackAlignment); in GetCriticalNativeStubFrameSize()
76 return RoundUp(size, kNativeStackAlignment); in GetCriticalNativeDirectCallFrameSize()
/art/runtime/arch/riscv64/
Djni_frame_riscv64.h35 static constexpr size_t kNativeStackAlignment = 16u; variable
36 static_assert(kNativeStackAlignment == kStackAlignment);
80 return RoundUp(size, kNativeStackAlignment); in GetCriticalNativeStubFrameSize()
90 return RoundUp(size, kNativeStackAlignment); in GetCriticalNativeDirectCallFrameSize()
/art/runtime/arch/x86_64/
Djni_frame_x86_64.h34 static constexpr size_t kNativeStackAlignment = 16; variable
35 static_assert(kNativeStackAlignment == kStackAlignment);
83 return RoundUp(size, kNativeStackAlignment); in GetCriticalNativeStubFrameSize()
93 return RoundUp(size, kNativeStackAlignment); in GetCriticalNativeDirectCallFrameSize()
/art/compiler/utils/x86/
Djni_macro_assembler_x86.cc41 static constexpr size_t kNativeStackAlignment = 16; variable
42 static_assert(kNativeStackAlignment == kStackAlignment);
56 CHECK_ALIGNED(frame_size, kNativeStackAlignment); in BuildFrame()
87 CHECK_ALIGNED(frame_size, kNativeStackAlignment); in RemoveFrame()
109 CHECK_ALIGNED(adjust, kNativeStackAlignment); in IncreaseFrameSize()
117 CHECK_ALIGNED(adjust, kNativeStackAlignment); in DecreaseFrameSizeImpl()
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.cc267 static_assert(kFramePointerSize < kNativeStackAlignment); in OutFrameSize()
275 size_t out_args_size = RoundUp(size, kNativeStackAlignment); in OutFrameSize()
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.cc38 static constexpr size_t kNativeStackAlignment = 16; variable
39 static_assert(kNativeStackAlignment == kStackAlignment);
54 CHECK_ALIGNED(frame_size, kNativeStackAlignment); in BuildFrame()
99 CHECK_ALIGNED(frame_size, kNativeStackAlignment); in RemoveFrame()
138 CHECK_ALIGNED(adjust, kNativeStackAlignment); in IncreaseFrameSize()
146 CHECK_ALIGNED(adjust, kNativeStackAlignment); in DecreaseFrameSizeImpl()
/art/compiler/jni/quick/x86_64/
Dcalling_convention_x86_64.cc248 size_t out_args_size = RoundUp(size, kNativeStackAlignment); in OutFrameSize()
/art/compiler/jni/quick/riscv64/
Dcalling_convention_riscv64.cc257 size_t out_args_size = RoundUp(size, kNativeStackAlignment); in OutFrameSize()
/art/compiler/optimizing/
Dcode_generator.h601 size_t kNativeStackAlignment,
610 RoundUp(calling_convention_visitor.GetStackOffset(), kNativeStackAlignment); in PrepareCriticalNativeCall()
Dcode_generator_riscv64.cc6904 kNativeStackAlignment, in GenerateStaticOrDirectCall()
Dcode_generator_x86_64.cc1210 kNativeStackAlignment, in GenerateStaticOrDirectCall()
Dcode_generator_x86.cc5570 kNativeStackAlignment, in GenerateStaticOrDirectCall()