ruby-llvm 18.1.3 → 18.1.5
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: 4e9f45f25c75b0a1262b73a5298756a31469a023759fe634ae5ee40037ad4367
|
4
|
+
data.tar.gz: ea6c4e237c1c3d23432782982c4e0480fda06db147dd63fb276235d11a80387f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58605eee1c85b4a541622b84e9fbb63f881a11cc5d3ed33faeb7cd070fe20f2e437fdd222835c7644eb5148fb62536e4e5fa828cffadaae62bfc7e728ea54d80
|
7
|
+
data.tar.gz: 12ad942e51d3c79133b44a2da015d728c13c92455c8d60f050b2e833aa7e0967ac73c962fca1eb3d014a66db0bf98e52d887f63026821095c27108dd5be90346
|
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.5
|
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-
|
12
|
+
date: 2024-05-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|