blob: cb4684d42eb6da61f4741ba99cb308c6bfe8a1c4 [file] [log] [blame]
Jan Voung7b34b592014-07-18 13:12:58 -07001//===- subzero/crosstest/test_stacksave.h - Test prototypes -----*- C++ -*-===//
2//
3// The Subzero Code Generator
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file declares the function prototypes for cross testing
11// stacksave and stackrestore intrinsics.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef TEST_STACKSAVE_H
16#define TEST_STACKSAVE_H
17
Jim Stichnothdd842db2015-01-27 12:53:53 -080018#define DECLARE_TESTS(PREFIX) \
19 uint32_t PREFIX##test_basic_vla(uint32_t size, uint32_t start, \
20 uint32_t inc); \
21 uint32_t PREFIX##test_vla_in_loop(uint32_t size, uint32_t start, \
22 uint32_t inc); \
23 uint32_t PREFIX##test_two_vlas_in_loops(uint32_t size, uint32_t start, \
Jan Voung7b34b592014-07-18 13:12:58 -070024 uint32_t inc);
25
26#endif