Home | History | Annotate | Download | only in crosstest
      1 //===- 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 
     18 #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,       \
     24                                           uint32_t inc);
     25 
     26 #endif
     27