ruby-llvm 18.1.3 → 18.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/llvm/transforms/pass_builder.rb +11 -0
- data/lib/llvm/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc153f553bc0dc073dbde51a5a333cff17b7f174259088de7f963f6a8f521007
|
4
|
+
data.tar.gz: e3d9d96fdcd670e05cdc7cbf0d43cb3ac753370df85d57b74874115abb2fac5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60e93ebe09eb7551746ff450671a33a5f7185f39d398d7f1751807049155fe41290b35f50a9adecd4a063144e625002d18f3d724730cefebd2e24b694424a76a
|
7
|
+
data.tar.gz: 2b6aad6e0790ce7c7c67b34c4adb564f05014419c69b05b7672647aee40c09734d3fd5b9d0935c6aec4e5b1f7984c0a37e3a6f5cd1d453a529ce87a0277cec00
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ computationally intensive algorithms on the fly.
|
|
14
14
|
Current version
|
15
15
|
---------------
|
16
16
|
|
17
|
-
This library currently binds to LLVM-
|
17
|
+
This library currently binds to LLVM-18 (specifically llvm-c 18.
|
18
18
|
|
19
19
|
About version numbers
|
20
20
|
---------------------
|
@@ -403,6 +403,17 @@ module LLVM
|
|
403
403
|
add_pass('always-inline')
|
404
404
|
end
|
405
405
|
|
406
|
+
# This pass performs partial inlining, typically by inlining an if statement
|
407
|
+
# that surrounds the body of the function.
|
408
|
+
# https://llvm.org/doxygen/PartialInlining_8h_source.html
|
409
|
+
# https://llvm.org/doxygen/PartialInlining_8cpp_source.html
|
410
|
+
# https://llvm.org/doxygen/PartialInlining_8h.html
|
411
|
+
# https://llvm.org/doxygen/PartialInlining_8cpp.html
|
412
|
+
# @return self
|
413
|
+
def partial_inliner!
|
414
|
+
add_pass('partial-inliner')
|
415
|
+
end
|
416
|
+
|
406
417
|
# This pass looks for equivalent functions that are mergable and folds them.
|
407
418
|
# https://llvm.org/docs/MergeFunctions.html
|
408
419
|
# https://llvm.org/doxygen/MergeFunctions_8cpp_source.html
|
data/lib/llvm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-llvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 18.1.
|
4
|
+
version: 18.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesse Johnson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-04-
|
12
|
+
date: 2024-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|