llvm/polly/lib/External/isl/extract_key.c

/*
 * Copyright 2013      Ecole Normale Superieure
 *
 * Use of this software is governed by the MIT license
 *
 * Written by Sven Verdoolaege,
 * Ecole Normale Superieure, 45 rue d'Ulm, 75230 Paris, France
 */

#include <string.h>

/* Extract a mapping key from the token "tok".
 * Return KEY_ERROR on error, i.e., if "tok" does not
 * correspond to any known key.
 */
static KEY KEY_EXTRACT(__isl_keep isl_stream *s, struct isl_token *tok)
{}

/* Read a key from "s" and return the corresponding enum.
 * Return KEY_ERROR on error, i.e., if the first token
 * on the stream does not correspond to any known key.
 */
static KEY KEY_GET(__isl_keep isl_stream *s)
{}