Copilot
b5492e5cf9
Modernize C++ patterns: range-based for loops and nullptr ( #8167 )
...
* Initial plan
* Replace NULL with nullptr in test files
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Convert iterator loops to range-based for loops (part 1)
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Convert iterator loops to range-based for loops (part 2)
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Fix compilation errors in iterator loop conversions
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-11 21:20:07 -08:00
LeeYoungJoon
0a93ff515d
Centralize and document TRACE tags using X-macros ( #7657 )
...
* Introduce X-macro-based trace tag definition
- Created trace_tags.def to centralize TRACE tag definitions
- Each tag includes a symbolic name and description
- Set up enum class TraceTag for type-safe usage in TRACE macros
* Add script to generate Markdown documentation from trace_tags.def
- Python script parses trace_tags.def and outputs trace_tags.md
* Refactor TRACE_NEW to prepend TraceTag and pass enum to is_trace_enabled
* trace: improve trace tag handling system with hierarchical tagging
- Introduce hierarchical tag-class structure: enabling a tag class activates all child tags
- Unify TRACE, STRACE, SCTRACE, and CTRACE under enum TraceTag
- Implement initial version of trace_tag.def using X(tag, tag_class, description)
(class names and descriptions to be refined in a future update)
* trace: replace all string-based TRACE tags with enum TraceTag
- Migrated all TRACE, STRACE, SCTRACE, and CTRACE macros to use enum TraceTag values instead of raw string literals
* trace : add cstring header
* trace : Add Markdown documentation generation from trace_tags.def via mk_api_doc.py
* trace : rename macro parameter 'class' to 'tag_class' and remove Unicode comment in trace_tags.h.
* trace : Add TODO comment for future implementation of tag_class activation
* trace : Disable code related to tag_class until implementation is ready (#7663 ).
2025-05-28 14:31:25 +01:00
Nikolaj Bjorner
4a6083836a
call it data instead of c_ptr for approaching C++11 std::vector convention.
2021-04-13 18:17:35 -07:00
Nuno Lopes
d6ce9cce95
fix clang warnings
2021-02-19 10:59:22 +00:00
Nikolaj Bjorner
3ae4c6e9de
refactor get_sort
2021-02-02 04:45:54 -08:00
Nikolaj Bjorner
6f63f8761c
optimizations to bv-solver and euf-egraph ( #4698 )
...
* additional bit-vector propagators
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* rename restrict (not a keyword, but well) #4694 , tune euf
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add pb rewriting to pb2bv #4697
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-09-20 06:47:27 -07:00
Nikolaj Bjorner
a884201d62
remove using insert_if_not_there2
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-25 15:08:51 -07:00
Nikolaj Bjorner
6e7e53e25c
block selected configurations from HORN tactic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-07 19:14:01 -07:00
Nikolaj Bjorner
b71595f5b1
fix #3003
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-02-14 17:51:31 -10:00
Nikolaj Bjorner
520ce9a5ee
integrate lambda expressions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-26 07:23:04 -07:00
Bruce Mitchener
76eb7b9ede
Use nullptr.
2018-02-12 14:05:55 +07:00
Nikolaj Bjorner
b19f94ae5b
make include paths uniformly use path relative to src. #534
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 13:24:11 -07:00
Nikolaj Bjorner
5b497b6249
reduce set of mainly verbose warnings raised by -Wmaybe-uninitialized and unused variable warnings from release mode builds
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-22 20:25:47 -07:00
Nikolaj Bjorner
c3f498a640
strengthen support for int.to.str and length reasoning. Issue #589
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-28 12:26:47 -07:00
Nuno Lopes
d9cd01f3f7
remove a few leftovers from min aggregation cleanup
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-12-09 09:28:17 +00:00
Nikolaj Bjorner
4bbe1d4674
remove unused min-aggregate
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-04 09:23:36 -08:00
Alex Horn
8c097044e8
Add basic compiler support for min aggregation function
...
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-11 16:23:26 +01:00
Alex Horn
9b7c5658c8
Ignore min aggregation functions in compiler for now
...
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-10 20:06:09 +01:00
Nuno Lopes
b10f79a941
dl_compiler: minor simplifications
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-27 17:07:18 +01:00
Matthias Schlaipfer
c82319b358
Refactor count_vars and count_rule_vars
...
ast_manager m was not used
2015-05-14 17:04:38 +01:00
Nuno Lopes
0c4d82de58
datalog: optimize previous commit
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-02 11:49:58 +00:00
Nuno Lopes
5548ecc853
Datalog: fix bug with the following 2 scenarios:
...
A(#x00) :- not B().
A() :- not B().
The first case can be further optimized, but committing this for correctness
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-02 11:29:49 +00:00
Nuno Lopes
6017dcace3
datalog: fix compilation for rules like a(X) :- not b(X).
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-01-29 20:41:22 +00:00
Nuno Lopes
4be2f608f1
Datalog: make the compiler reuse registers in simple cases.
...
this also allows some code simplification
dl_compiler.cpp | 133 +++++++++++++++++++-------------------------------------
dl_compiler.h | 16 +++---
2 files changed, 54 insertions(+), 95 deletions(-)
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-01-29 13:00:44 +00:00
Nuno Lopes
9e447281ed
Datalog: fix bug in compilation of negated queries that referenced vars not in the head.
...
We will now first add unbounded columns for negation and for filtering
do filter_negation, and finally filter_interpret(_project)
2015-01-27 14:21:34 +00:00
Nuno Lopes
6ab167f0c7
fix debug build
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-01-25 18:31:04 +00:00
Nuno Lopes
a7c7b70e19
muZ Datalog: be more aggressive when forming join_project
2014-12-22 12:49:31 +00:00
Nuno Lopes
4a710cf86d
sync with unstable (port bugfix)
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-25 11:35:32 +01:00
Nikolaj Bjorner
979d1f913a
fix bug in union_fn: delta should not be reset, it is shared among several union computations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-24 16:46:00 -07:00
Nikolaj Bjorner
c09903288f
have free variable utility use a class for more efficient re-use
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-15 16:14:22 -07:00
Nikolaj Bjorner
93fd36b5da
revert wrong optimization for single-occurrence negative columns
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-08 11:52:00 -07:00
Nikolaj Bjorner
716663b04a
avoid creating full tables when negated variables are unitary, add lazy table infrastructure, fix coi_filter for relations, reduce dependencies on fixedpoing_parameters.hpp header file
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-08 05:52:18 -07:00
Nikolaj Bjorner
0d56499e2d
re-organize muz_qe into separate units
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-08-28 21:20:24 -07:00