Tim Wojtulewicz
06b6df48a8
Merge remote-tracking branch 'origin/topic/vern/script-opt-maint.Apr24'
...
* origin/topic/vern/script-opt-maint.Apr24:
ZAM fix for concretizing vectors in record constructors
improve ZAM's estimation of profiling overheads
2024-04-09 15:12:22 -07:00
Vern Paxson
641b7de3ad
ZAM fix for concretizing vectors in record constructors
2024-04-09 15:12:00 -07:00
Vern Paxson
a474106fce
improve ZAM's estimation of profiling overheads
2024-04-09 15:12:00 -07:00
Vern Paxson
4cafacf90b
fix ZAM "cat" of doubles/times to include trailing ".0" per normal BiF behavior
2024-03-28 16:43:06 -07:00
Vern Paxson
593355cf2c
ZAM documentation updated to reflect finer-grained profiling
2024-03-19 10:59:49 -07:00
Vern Paxson
c29db63fdd
ZAM execution changes to support richer profiling
2024-03-19 10:59:49 -07:00
Vern Paxson
c8d15f1eaa
use richer block-aware location information for ZAM instructions
2024-03-19 10:59:49 -07:00
Vern Paxson
9f9f01580f
better isolation of ZAM instruction elements
...
hooks for tracking extended ZAM profiling location
2024-03-19 10:59:49 -07:00
Vern Paxson
dc376953fa
framework for --enable-ZAM-profiling configuration
...
profiles go to zprof.log rather than stdout
2024-03-19 10:59:49 -07:00
Vern Paxson
8d762eea54
ZAM classes in support of finer-grained profiling
2024-03-19 10:59:49 -07:00
Vern Paxson
037f76e384
refined ZAM function profiling to include (correct) statement line number blocks
2024-03-19 10:59:49 -07:00
Vern Paxson
74d36eb759
script optimization support for clearing tables/vectors using "delete"
2024-03-08 19:09:46 +01:00
Vern Paxson
ce6d77e2ce
fix for ZAM printing of instructions that modify slots other than slot 1
2024-03-08 19:09:46 +01:00
Vern Paxson
54877e9dec
fixed bug where appending an empty vector to a vector-of-vector's had no effect
2024-03-08 19:09:43 +01:00
Vern Paxson
e5bb63c662
fixes & enhancements to location information associated w/ AST nodes & ZAM optimization
2024-02-06 11:03:02 +01:00
Vern Paxson
9e32443504
minor updates and fixes for script optimization maintenance
2024-02-04 07:57:45 -08:00
Vern Paxson
91cab9931d
ZAM optimizations for record creation
...
includes reworking of managing "auxiliary" information for ZAM instructions
2024-01-25 20:49:12 +01:00
Vern Paxson
96f5de8df8
ZAM speedup for constructing empty vectors
2024-01-15 15:03:56 +01:00
Vern Paxson
4bd0a46c29
fixes for ZAM optimization of "switch" statements
2024-01-15 15:03:56 +01:00
Vern Paxson
71a1aa0afd
fix for needing to always flush optimization information for identifiers
2024-01-15 15:03:56 +01:00
Vern Paxson
24e182f080
better name for key variable in script optimization
2024-01-15 15:03:56 +01:00
Vern Paxson
cb4900847d
ZAM fix for tracking variable usage
2024-01-15 15:03:56 +01:00
Vern Paxson
6660738b7d
ZAM fixes for "for" loops that are only used to choose an element from a table/set
2024-01-15 15:03:56 +01:00
Vern Paxson
d1dffd3e1b
ZAM fixes for loops indexed with variables not used in the loop body
2024-01-15 15:03:56 +01:00
Vern Paxson
e0736afe4c
fix for ZAM location tracking - more extensive changes are pending
2024-01-15 15:03:56 +01:00
Vern Paxson
dc78a94c78
fixes for ZAM's special-casing of that "cat" BiF
2024-01-15 15:03:56 +01:00
Vern Paxson
eac764595c
some fixes for ZAM memory management
2024-01-15 15:03:56 +01:00
Vern Paxson
896238c173
streamlining of some script optimization APIs
2024-01-15 15:03:56 +01:00
Vern Paxson
f7b739a47d
fixes for initializations of "-O gen-C++" script compilations
2024-01-15 15:03:56 +01:00
Vern Paxson
bae87fb606
script optimization fixes for "concretizing" vector-of-any's
2024-01-15 15:03:56 +01:00
Tim Wojtulewicz
df65b668b7
CPP-gen: Don't emit extra braces if only one element
2024-01-08 13:26:57 -07:00
Tim Wojtulewicz
ca29793ecc
ZAM: Create ListValPtr directly instead of a stack object
2024-01-08 13:26:57 -07:00
Vern Paxson
eab2f8a49f
expanded ZAM maintenance notes & support scripts
2023-12-12 09:45:19 +01:00
Vern Paxson
dd91790f1e
script optimization tracking of functions called by event engine or indirectly
2023-12-12 09:45:19 +01:00
Vern Paxson
e9b990254a
memory-handling fixes for information associated with low-level ZAM instructions
2023-12-12 09:45:19 +01:00
Vern Paxson
e2646f9752
fix for -O C++ lambda functions reporting errors/warnings
2023-12-12 09:45:19 +01:00
Vern Paxson
6e0ce17c22
revert problems with profiling attributes introduced by recent script-opt PR
2023-12-12 09:45:19 +01:00
Vern Paxson
f573036099
script optimization fixes for pattern tables
2023-12-12 09:45:19 +01:00
Vern Paxson
709d410fcd
regularized (some) types of pointers used in script optimization
2023-12-12 09:45:19 +01:00
Vern Paxson
dd389c0380
splitting off script optimization CSE into its own source files
2023-12-12 09:45:19 +01:00
Vern Paxson
a824bb1e4b
some very minor tidying of script optimization code/documentation
2023-12-12 09:45:19 +01:00
Tim Wojtulewicz
9e8a738a8a
Merge remote-tracking branch 'origin/topic/vern/CSE-opt'
...
* origin/topic/vern/CSE-opt:
incorporate latest version of gen-zam to correctly generate indirect calls
added sub-directory for tracking ZAM maintenance issues
BTest to stress-test AST optimizer's assessment of side effects
reworked AST optimizers analysis of side effects during aggregate operations & calls
script optimization support for tracking information associated with BiFs/functions
fix for AST analysis of inlined functions
improved AST optimizer's analysis of variable usage in inlined functions
new method for Stmt nodes to report whether they could execute a "return"
bug fixes for indirect function calls when using ZAM
minor fixes for script optimization, exporting of attr_name, script layout tweak
2023-12-08 10:01:23 -07:00
Vern Paxson
d43d6dd09d
added sub-directory for tracking ZAM maintenance issues
2023-12-06 12:26:46 -08:00
Vern Paxson
740a087765
reworked AST optimizers analysis of side effects during aggregate operations & calls
2023-12-06 12:26:27 -08:00
Vern Paxson
c028901146
script optimization support for tracking information associated with BiFs/functions
2023-12-04 16:53:57 -08:00
Vern Paxson
ce09a11a0c
fix for AST analysis of inlined functions
2023-12-04 16:53:32 -08:00
Vern Paxson
d0eb40ac92
improved AST optimizer's analysis of variable usage in inlined functions
2023-12-04 16:53:32 -08:00
Vern Paxson
087eb1ca4e
new method for Stmt nodes to report whether they could execute a "return"
2023-12-04 16:53:32 -08:00
Vern Paxson
3d69b0551a
bug fixes for indirect function calls when using ZAM
2023-12-04 16:50:27 -08:00
Dominik Charousset
a69928d977
Integrate review feedback
2023-12-04 15:23:56 +01:00