<commit_before>/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
* All rights reserved.
*/

/**
 * @file firm_common.h
 *
 * common firm declarations
 *
 * @author <NAME>, <NAME> & <NAME>
 */

/* $Id$ */

# ifndef _FIRM_COMMON_H_
# define _FIRM_COMMON_H_

#ifndef INLINE
#ifdef USE_GCC_INLINE
#define INLINE inline
#else
#define INLINE
#endif
#endif

/** a list of firm kinds */
typedef enum {
  k_entity,     /**< an entity */
  k_type,       /**< a type */
  k_ir_node,    /**< an ir node */
  k_ir_loop     /**< a loop */
} firm_kind;

/**
 * Returns the kind of a thing.
 *
 * @param firm_thing  pointer repraesenting a firm object
 */
firm_kind get_kind(const void *firm_thing);

/** Returns the kind of a thing as a string. */
const char* print_firm_kind(void *firm_thing);

# endif /*_FIRM_COMMON_H_ */<commit_msg>kinds to be added to datastructures<commit_after>/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
* All rights reserved.
*/

/**
 * @file firm_common.h
 *
 * common firm declarations
 *
 * @author <NAME>, <NAME> & <NAME>
 */

/* $Id$ */

# ifndef _FIRM_COMMON_H_
# define _FIRM_COMMON_H_

#ifndef INLINE
#ifdef USE_GCC_INLINE
#define INLINE inline
#else
#define INLINE
#endif
#endif

/** a list of firm kinds */
typedef enum {
  k_entity,     /**< an entity */
  k_type,       /**< a type */
  k_ir_node,    /**< an ir node */
  k_ir_loop,    /**< a loop */
  k_ir_mode,    /**< a ir mode */
  k_tarval      /**< a tarval */
} firm_kind;

/**
 * Returns the kind of a thing.
 *
 * @param firm_thing  pointer repraesenting a firm object
 */
firm_kind get_kind(const void *firm_thing);

/** Returns the kind of a thing as a string. */
const char* print_firm_kind(void *firm_thing);

# endif /*_FIRM_COMMON_H_ */
{'fraction_non_alphanumeric': 0.13785180930499713, 'fraction_numerical': 0.009190120620333142, 'mean_word_length': 3.108490566037736, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7451264', 'n_tokens_mistral': 675, 'n_tokens_neox': 641, 'n_words': 192}