ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
builtin_names.h
Go to the documentation of this file.
1#pragma once
2
4#include <util/irep/irep.h>
5
6#include <string>
7
13
15bool compare_float_suffix(const irep_idt &identifier, const std::string &name);
16
20 const irep_idt &identifier,
21 const std::string &name);
22
28
40
42
49
59 const contextt &context,
60 const irep_idt &base_name,
61 const irep_idt &symbol_id);
ieee_float_builtin
The float library calls that have an IEEE node of their own.
Definition builtin_names.h:34
@ nearbyint
Definition builtin_names.h:36
@ none
Definition builtin_names.h:35
@ fma
Definition builtin_names.h:38
@ remainder
Definition builtin_names.h:37
bool compare_float_suffix(const irep_idt &identifier, const std::string &name)
Callee-name matching shared by clang_c_adjust::do_special_functions and its IREP2 counterpart.
Definition builtin_names.cpp:4
ieee_float_builtin ieee_float_builtin_of(const irep_idt &identifier)
Definition builtin_names.cpp:34
bool is_name_matched_builtin(const irep_idt &identifier)
The lowerings that match a callee's base name, so a program that defines one of these names itself wo...
Definition builtin_names.cpp:45
bool builtin_shadows_user_definition(const contextt &context, const irep_idt &base_name, const irep_idt &symbol_id)
True when lowering this call would throw away a definition the program supplies.
Definition builtin_names.cpp:60
bool is_abs_builtin_name(const irep_idt &identifier)
True for the abs builtins that may be lowered to an abs node.
Definition builtin_names.cpp:24
bool compare_unscore_builtin(const irep_idt &identifier, const std::string &name)
name and its __- and __builtin_-prefixed spellings, each with the float suffixes: isnan,...
Definition builtin_names.cpp:10
Definition context.h:57
Definition irep_idt.h:12
Definition symbol_id.h:6
@ identifier
Definition nested_func_transform.cpp:62