Cargo Features

llvm-ir-analysis has no features set by default.

[dependencies]
llvm-ir-analysis = { version = "0.4.0", features = ["llvm-9", "llvm-10", "llvm-11", "llvm-12", "llvm-13", "llvm-14", "llvm-15", "llvm-16", "llvm-17", "strict-versioning", "prefer-dynamic", "llvm-9-or-greater", "llvm-10-or-greater", "llvm-11-or-greater", "llvm-12-or-greater", "llvm-13-or-greater", "llvm-14-or-greater", "llvm-15-or-greater", "llvm-16-or-greater", "llvm-17-or-greater", "llvm-9-or-lower", "llvm-10-or-lower", "llvm-11-or-lower", "llvm-12-or-lower", "llvm-13-or-lower", "llvm-14-or-lower", "llvm-15-or-lower", "llvm-16-or-lower", "llvm-17-or-lower"] }
llvm-9 = llvm-9-or-greater, llvm-9-or-lower

Select the LLVM version to be compatible with.
You _must_ enable exactly one of the following features.

Enables llvm-9 of llvm-ir

llvm-10 = llvm-10-or-greater, llvm-10-or-lower

Enables llvm-10 of llvm-ir

llvm-11 = llvm-11-or-greater, llvm-11-or-lower

Enables llvm-11 of llvm-ir

llvm-12 = llvm-12-or-greater, llvm-12-or-lower

Enables llvm-12 of llvm-ir

llvm-13 = llvm-13-or-greater, llvm-13-or-lower

Enables llvm-13 of llvm-ir

llvm-14 = llvm-14-or-greater, llvm-14-or-lower

Enables llvm-14 of llvm-ir

llvm-15 = llvm-15-or-greater, llvm-15-or-lower

Enables llvm-15 of llvm-ir

llvm-16 = llvm-16-or-greater, llvm-16-or-lower

Enables llvm-16 of llvm-ir

llvm-17 = llvm-17-or-greater, llvm-17-or-lower

Enables llvm-17 of llvm-ir

strict-versioning

The strict-versioning feature requires an exact match between the system LLVM version and the version selected with the above features.

Enables strict-versioning of llvm-ir

prefer-dynamic

Enables prefer-dynamic of llvm-ir

llvm-ir:

The prefer-dynamic feature is only available on llvm-sys versions >= 120.

llvm-9-or-greater llvm-10-or-greater? llvm-9?

For convenience, these automatically-enabled features allow us to avoid checking complex combinations of features all the time. They are not meant to be manually enabled; use the above llvm-x features instead

llvm-10-or-greater llvm-10? llvm-11-or-greater? = llvm-9-or-greater
llvm-11-or-greater llvm-11? llvm-12-or-greater? = llvm-10-or-greater
llvm-12-or-greater llvm-12? llvm-13-or-greater? = llvm-11-or-greater
llvm-13-or-greater llvm-13? llvm-14-or-greater? = llvm-12-or-greater
llvm-14-or-greater llvm-14? llvm-15-or-greater? = llvm-13-or-greater
llvm-15-or-greater llvm-15? llvm-16-or-greater? = llvm-14-or-greater
llvm-16-or-greater llvm-16? llvm-17-or-greater? = llvm-15-or-greater
llvm-17-or-greater llvm-17? = llvm-16-or-greater
llvm-9-or-lower llvm-9? = llvm-10-or-lower
llvm-10-or-lower llvm-10? llvm-9-or-lower? = llvm-11-or-lower
llvm-11-or-lower llvm-10-or-lower? llvm-11? = llvm-12-or-lower
llvm-12-or-lower llvm-11-or-lower? llvm-12? = llvm-13-or-lower
llvm-13-or-lower llvm-12-or-lower? llvm-13? = llvm-14-or-lower
llvm-14-or-lower llvm-13-or-lower? llvm-14? = llvm-15-or-lower
llvm-15-or-lower llvm-14-or-lower? llvm-15? = llvm-16-or-lower
llvm-16-or-lower llvm-15-or-lower? llvm-16? = llvm-17-or-lower
llvm-17-or-lower llvm-16-or-lower? llvm-17?