Module llvm_util

Source

Structs§

LLVMFeature 🔒

Enums§

TargetFeatureFoldStrength 🔒

Statics§

INIT 🔒

Functions§

configure_llvm 🔒
get_host_cpu_name 🔒
Returns the host CPU name, according to LLVM.
get_version 🔒
global_llvm_features 🔒
The list of LLVM features computed from CLI flags (-Ctarget-cpu, -Ctarget-feature, --target and similar).
handle_native 🔒
If the given string is "native", returns the host CPU name according to LLVM. Otherwise, the string is returned as-is.
init 🔒
llvm_target_features 🔒
print 🔒
print_passes 🔒
print_target_cpus 🔒
print_target_features 🔒
print_version 🔒
require_inited 🔒
target_cpu 🔒
target_features_cfg 🔒
Used to generate cfg variables and apply features. Must express features in the way Rust understands them.
time_trace_profiler_finish 🔒
to_llvm_features 🔒
tune_cpu 🔒