; LLVM IR from rl-tools/rl-tools :: src/rl/environments/pendulum/sac/arm/test.ll (Z5trainv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.rl_tools::devices::CPU" = type <{ [8 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, [7 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.rl_tools::rl::loop::steps::timing::State" = type { %"struct.rl_tools::rl::loop::steps::evaluation::State.base", %"class.std::chrono::time_point", %"class.std::chrono::time_point", i64 }
%"struct.rl_tools::rl::loop::steps::evaluation::State.base" = type <{ %"struct.rl_tools::rl::algorithms::sac::loop::core::State.base", [6 x i8], %"struct.rl_tools::Matrix.147", %"class.std::mersenne_twister_engine", [4 x i8], %"struct.rl_tools::nn_models::sequential::ModuleBuffer.149", [3 x i8] }>
%"struct.rl_tools::rl::algorithms::sac::loop::core::State.base" = type <{ %"struct.rl_tools::nn::optimizers::Adam", [2 x %"struct.rl_tools::nn::optimizers::Adam"], %"struct.rl_tools::nn::optimizers::Adam", %"class.std::mersenne_twister_engine", %"struct.rl_tools::rl::components::OffPolicyRunner", [1 x %"struct.rl_tools::rl::environments::Pendulum"], [1 x %"struct.rl_tools::rl::environments::pendulum::DefaultParameters"], [6 x i8], %"struct.rl_tools::rl::algorithms::sac::ActorCritic", %"struct.rl_tools::rl::components::off_policy_runner::SequentialBatch", [2 x %"struct.rl_tools::rl::algorithms::sac::CriticTrainingBuffers"], %"struct.rl_tools::Matrix.66", [2 x %"struct.rl_tools::nn_models::sequential::ModuleBuffer"], %"struct.rl_tools::rl::components::off_policy_runner::SequentialBatch", %"struct.rl_tools::rl::algorithms::sac::ActorTrainingBuffers", %"struct.rl_tools::Matrix.66", [2 x %"struct.rl_tools::nn_models::sequential::ModuleBuffer.140"], %"struct.rl_tools::nn_models::sequential::ModuleBuffer.140", i64, i8, i8 }>
%"struct.rl_tools::nn::optimizers::Adam" = type { %"struct.rl_tools::nn::optimizers::adam::Parameters", float, float, i64 }
%"struct.rl_tools::nn::optimizers::adam::Parameters" = type { float, float, float, float, float, float, float, float, float }
%"struct.rl_tools::rl::components::OffPolicyRunner" = type <{ %"struct.rl_tools::rl::components::off_policy_runner::ParametersRuntime", [4 x i8], %"struct.rl_tools::rl::components::off_policy_runner::Buffers", i64, i8, %"struct.rl_tools::Matrix.3", [6 x i8], %"struct.rl_tools::Matrix.5", %"struct.rl_tools::Matrix.11", %"struct.rl_tools::Matrix.20", %"struct.rl_tools::Matrix.22", [3 x i8], %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.24", %"struct.rl_tools::Matrix.26", [7 x i8] }>
%"struct.rl_tools::rl::components::off_policy_runner::ParametersRuntime" = type { float }
%"struct.rl_tools::rl::components::off_policy_runner::Buffers" = type { %"struct.rl_tools::Matrix", %"struct.rl_tools::Matrix.0", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix", %"struct.rl_tools::Matrix.0" }
%"struct.rl_tools::Matrix" = type { %"struct.rl_tools::matrix::MatrixStatic" }
%"struct.rl_tools::matrix::MatrixStatic" = type { [3 x float] }
%"struct.rl_tools::Matrix.0" = type { %"struct.rl_tools::matrix::MatrixDynamic" }
%"struct.rl_tools::matrix::MatrixDynamic" = type { ptr }
%"struct.rl_tools::Matrix.3" = type { %"struct.rl_tools::matrix::MatrixStatic.4" }
%"struct.rl_tools::matrix::MatrixStatic.4" = type { [1 x %"struct.rl_tools::rl::environments::Pendulum"] }
%"struct.rl_tools::Matrix.5" = type { %"struct.rl_tools::matrix::MatrixStatic.6" }
%"struct.rl_tools::matrix::MatrixStatic.6" = type { [1 x %"struct.rl_tools::rl::components::off_policy_runner::EpisodeStats"] }
%"struct.rl_tools::rl::components::off_policy_runner::EpisodeStats" = type { %"struct.rl_tools::Matrix.7", i64, %"struct.rl_tools::Matrix.9", %"struct.rl_tools::Matrix.9" }
%"struct.rl_tools::Matrix.7" = type { %"struct.rl_tools::matrix::MatrixStatic.8" }
%"struct.rl_tools::matrix::MatrixStatic.8" = type { [2000 x float] }
%"struct.rl_tools::Matrix.9" = type { %"struct.rl_tools::matrix::MatrixDynamic.10" }
%"struct.rl_tools::matrix::MatrixDynamic.10" = type { ptr }
%"struct.rl_tools::Matrix.11" = type { %"struct.rl_tools::matrix::MatrixStatic.12" }
%"struct.rl_tools::matrix::MatrixStatic.12" = type { [1 x %"struct.rl_tools::rl::components::ReplayBufferWithStates"] }
%"struct.rl_tools::rl::components::ReplayBufferWithStates" = type { %"struct.rl_tools::rl::components::ReplayBuffer", %"struct.rl_tools::Matrix.18", %"struct.rl_tools::Matrix.18" }
%"struct.rl_tools::rl::components::ReplayBuffer" = type { %"struct.rl_tools::Matrix.13", i64, i8, %"struct.rl_tools::Matrix.15", %"struct.rl_tools::Matrix.15", %"struct.rl_tools::Matrix.17", %"struct.rl_tools::Matrix.17", %"struct.rl_tools::Matrix.15", %"struct.rl_tools::Matrix.15", %"struct.rl_tools::Matrix.17", %"struct.rl_tools::Matrix.17" }
%"struct.rl_tools::Matrix.13" = type { %"struct.rl_tools::matrix::MatrixStatic.14" }
%"struct.rl_tools::matrix::MatrixStatic.14" = type { [100000 x float] }
%"struct.rl_tools::Matrix.15" = type { %"struct.rl_tools::matrix::MatrixDynamic.16" }
%"struct.rl_tools::matrix::MatrixDynamic.16" = type { ptr }
%"struct.rl_tools::Matrix.17" = type { %"struct.rl_tools::matrix::MatrixDynamic.16" }
%"struct.rl_tools::Matrix.18" = type { %"struct.rl_tools::matrix::MatrixStatic.19" }
%"struct.rl_tools::matrix::MatrixStatic.19" = type { [10000 x %"struct.rl_tools::rl::environments::pendulum::State"] }
%"struct.rl_tools::rl::environments::pendulum::State" = type { float, float }
%"struct.rl_tools::Matrix.20" = type { %"struct.rl_tools::matrix::MatrixStatic.21" }
%"struct.rl_tools::matrix::MatrixStatic.21" = type { [1 x %"struct.rl_tools::rl::environments::pendulum::State"] }
%"struct.rl_tools::Matrix.22" = type { %"struct.rl_tools::matrix::MatrixStatic.23" }
%"struct.rl_tools::matrix::MatrixStatic.23" = type { [1 x %"struct.rl_tools::rl::environments::pendulum::DefaultParameters"] }
%"struct.rl_tools::Matrix.1" = type { %"struct.rl_tools::matrix::MatrixStatic.2" }
%"struct.rl_tools::matrix::MatrixStatic.2" = type { [1 x float] }
%"struct.rl_tools::Matrix.24" = type { %"struct.rl_tools::matrix::MatrixStatic.25" }
%"struct.rl_tools::matrix::MatrixStatic.25" = type { [1 x i64] }
%"struct.rl_tools::Matrix.26" = type { %"struct.rl_tools::matrix::MatrixStatic.27" }
%"struct.rl_tools::matrix::MatrixStatic.27" = type { [1 x i8] }
%"struct.rl_tools::rl::environments::Pendulum" = type { i8 }
%"struct.rl_tools::rl::environments::pendulum::DefaultParameters" = type { i8 }
%"struct.rl_tools::rl::algorithms::sac::ActorCritic" = type { %"struct.rl_tools::nn_models::sequential::Build", %"struct.rl_tools::nn_models::sequential::Build.72", %"struct.rl_tools::nn_models::sequential::Build.72", %"struct.rl_tools::nn_models::sequential::Build.102", %"struct.rl_tools::nn_models::sequential::Build.102", %"struct.rl_tools::nn::optimizers::Adam", [2 x %"struct.rl_tools::nn::optimizers::Adam"], %"struct.rl_tools::nn::optimizers::Adam" }
%"struct.rl_tools::nn_models::sequential::Build" = type { %"struct.rl_tools::nn_models::sequential::ModuleGradient" }
%"struct.rl_tools::nn_models::sequential::ModuleGradient" = type { %"struct.rl_tools::nn_models::sequential::ModuleBackward" }
%"struct.rl_tools::nn_models::sequential::ModuleBackward" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward" }
%"struct.rl_tools::nn_models::sequential::ModuleForward" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient", %"struct.rl_tools::nn_models::sequential::ModuleGradient.63" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkForward" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkForward" = type { %"struct.rl_tools::nn::layers::dense::LayerGradient", [1 x %"struct.rl_tools::nn::layers::dense::LayerGradient.37"], %"struct.rl_tools::nn::layers::dense::LayerGradient.48" }
%"struct.rl_tools::nn::layers::dense::LayerGradient" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerBackward" = type { %"struct.rl_tools::nn::layers::dense::LayerForward", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerForward" = type { %"struct.rl_tools::nn::parameters::Adam::instance", %"struct.rl_tools::nn::parameters::Adam::instance.30" }
%"struct.rl_tools::nn::parameters::Adam::instance" = type { %"struct.rl_tools::nn::parameters::Gradient::instance", %"struct.rl_tools::Matrix.28", %"struct.rl_tools::Matrix.28" }
%"struct.rl_tools::nn::parameters::Gradient::instance" = type { %"struct.rl_tools::nn::parameters::Plain::instance", %"struct.rl_tools::Matrix.28" }
%"struct.rl_tools::nn::parameters::Plain::instance" = type { %"struct.rl_tools::Matrix.28" }
%"struct.rl_tools::Matrix.28" = type { %"struct.rl_tools::matrix::MatrixStatic.29" }
%"struct.rl_tools::matrix::MatrixStatic.29" = type { [192 x float] }
%"struct.rl_tools::nn::parameters::Adam::instance.30" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.31", %"struct.rl_tools::Matrix.33", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Gradient::instance.31" = type { %"struct.rl_tools::nn::parameters::Plain::instance.32", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Plain::instance.32" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::Matrix.33" = type { %"struct.rl_tools::matrix::MatrixStatic.34" }
%"struct.rl_tools::matrix::MatrixStatic.34" = type { [64 x float] }
%"struct.rl_tools::Matrix.35" = type { %"struct.rl_tools::matrix::MatrixStatic.36" }
%"struct.rl_tools::matrix::MatrixStatic.36" = type { [6400 x float] }
%"struct.rl_tools::nn::layers::dense::LayerGradient.37" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.38", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.38" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.39", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerForward.39" = type { %"struct.rl_tools::nn::parameters::Adam::instance.40", %"struct.rl_tools::nn::parameters::Adam::instance.45" }
%"struct.rl_tools::nn::parameters::Adam::instance.40" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.41", %"struct.rl_tools::Matrix.43", %"struct.rl_tools::Matrix.43" }
%"struct.rl_tools::nn::parameters::Gradient::instance.41" = type { %"struct.rl_tools::nn::parameters::Plain::instance.42", %"struct.rl_tools::Matrix.43" }
%"struct.rl_tools::nn::parameters::Plain::instance.42" = type { %"struct.rl_tools::Matrix.43" }
%"struct.rl_tools::Matrix.43" = type { %"struct.rl_tools::matrix::MatrixStatic.44" }
%"struct.rl_tools::matrix::MatrixStatic.44" = type { [4096 x float] }
%"struct.rl_tools::nn::parameters::Adam::instance.45" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.46", %"struct.rl_tools::Matrix.33", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Gradient::instance.46" = type { %"struct.rl_tools::nn::parameters::Plain::instance.47", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Plain::instance.47" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.48" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.49", %"struct.rl_tools::Matrix.61" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.49" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.50", %"struct.rl_tools::Matrix.61" }
%"struct.rl_tools::nn::layers::dense::LayerForward.50" = type { %"struct.rl_tools::nn::parameters::Adam::instance.51", %"struct.rl_tools::nn::parameters::Adam::instance.56" }
%"struct.rl_tools::nn::parameters::Adam::instance.51" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.52", %"struct.rl_tools::Matrix.54", %"struct.rl_tools::Matrix.54" }
%"struct.rl_tools::nn::parameters::Gradient::instance.52" = type { %"struct.rl_tools::nn::parameters::Plain::instance.53", %"struct.rl_tools::Matrix.54" }
%"struct.rl_tools::nn::parameters::Plain::instance.53" = type { %"struct.rl_tools::Matrix.54" }
%"struct.rl_tools::Matrix.54" = type { %"struct.rl_tools::matrix::MatrixStatic.55" }
%"struct.rl_tools::matrix::MatrixStatic.55" = type { [128 x float] }
%"struct.rl_tools::nn::parameters::Adam::instance.56" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.57", %"struct.rl_tools::Matrix.59", %"struct.rl_tools::Matrix.59" }
%"struct.rl_tools::nn::parameters::Gradient::instance.57" = type { %"struct.rl_tools::nn::parameters::Plain::instance.58", %"struct.rl_tools::Matrix.59" }
%"struct.rl_tools::nn::parameters::Plain::instance.58" = type { %"struct.rl_tools::Matrix.59" }
%"struct.rl_tools::Matrix.59" = type { %"struct.rl_tools::matrix::MatrixStatic.60" }
%"struct.rl_tools::matrix::MatrixStatic.60" = type { [2 x float] }
%"struct.rl_tools::Matrix.61" = type { %"struct.rl_tools::matrix::MatrixStatic.62" }
%"struct.rl_tools::matrix::MatrixStatic.62" = type { [200 x float] }
%"struct.rl_tools::nn_models::sequential::ModuleGradient.63" = type { %"struct.rl_tools::nn_models::sequential::ModuleBackward.base", [3 x i8] }
%"struct.rl_tools::nn_models::sequential::ModuleBackward.base" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward.base" }
%"struct.rl_tools::nn_models::sequential::ModuleForward.base" = type <{ %"struct.rl_tools::nn::layers::sample_and_squash::LayerGradient", i8 }>
%"struct.rl_tools::nn::layers::sample_and_squash::LayerGradient" = type { %"struct.rl_tools::nn::layers::sample_and_squash::LayerBackward", %"struct.rl_tools::Matrix.68", %"struct.rl_tools::Matrix.66", %"struct.rl_tools::nn::parameters::Adam::instance.69" }
%"struct.rl_tools::nn::layers::sample_and_squash::LayerBackward" = type { %"struct.rl_tools::Matrix.66", %"struct.rl_tools::Matrix.66" }
%"struct.rl_tools::Matrix.68" = type { %"struct.rl_tools::matrix::MatrixStatic.67" }
%"struct.rl_tools::matrix::MatrixStatic.67" = type { [100 x float] }
%"struct.rl_tools::nn::parameters::Adam::instance.69" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.70", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Gradient::instance.70" = type { %"struct.rl_tools::nn::parameters::Plain::instance.71", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Plain::instance.71" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn_models::sequential::Build.72" = type { %"struct.rl_tools::nn_models::sequential::ModuleGradient.base.101", [3 x i8] }
%"struct.rl_tools::nn_models::sequential::ModuleGradient.base.101" = type { %"struct.rl_tools::nn_models::sequential::ModuleBackward.base.100" }
%"struct.rl_tools::nn_models::sequential::ModuleBackward.base.100" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward.base.99" }
%"struct.rl_tools::nn_models::sequential::ModuleForward.base.99" = type <{ %"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient.76", i8 }>
%"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient.76" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward.77" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward.77" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.78" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.78" = type { %"struct.rl_tools::nn::layers::dense::LayerGradient.79", [1 x %"struct.rl_tools::nn::layers::dense::LayerGradient.87"], %"struct.rl_tools::nn::layers::dense::LayerGradient.90" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.79" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.80", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.80" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.81", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerForward.81" = type { %"struct.rl_tools::nn::parameters::Adam::instance.82", %"struct.rl_tools::nn::parameters::Adam::instance.30" }
%"struct.rl_tools::nn::parameters::Adam::instance.82" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.83", %"struct.rl_tools::Matrix.85", %"struct.rl_tools::Matrix.85" }
%"struct.rl_tools::nn::parameters::Gradient::instance.83" = type { %"struct.rl_tools::nn::parameters::Plain::instance.84", %"struct.rl_tools::Matrix.85" }
%"struct.rl_tools::nn::parameters::Plain::instance.84" = type { %"struct.rl_tools::Matrix.85" }
%"struct.rl_tools::Matrix.85" = type { %"struct.rl_tools::matrix::MatrixStatic.86" }
%"struct.rl_tools::matrix::MatrixStatic.86" = type { [256 x float] }
%"struct.rl_tools::nn::layers::dense::LayerGradient.87" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.88", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.88" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.89", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerForward.89" = type { %"struct.rl_tools::nn::parameters::Adam::instance.40", %"struct.rl_tools::nn::parameters::Adam::instance.45" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.90" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.91", %"struct.rl_tools::Matrix.66" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.91" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.92", %"struct.rl_tools::Matrix.66" }
%"struct.rl_tools::nn::layers::dense::LayerForward.92" = type { %"struct.rl_tools::nn::parameters::Adam::instance.93", %"struct.rl_tools::nn::parameters::Adam::instance.96" }
%"struct.rl_tools::nn::parameters::Adam::instance.93" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.94", %"struct.rl_tools::Matrix.33", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Gradient::instance.94" = type { %"struct.rl_tools::nn::parameters::Plain::instance.95", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Plain::instance.95" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Adam::instance.96" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.97", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Gradient::instance.97" = type { %"struct.rl_tools::nn::parameters::Plain::instance.98", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Plain::instance.98" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn_models::sequential::Build.102" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward.base.114", [3 x i8] }
%"struct.rl_tools::nn_models::sequential::ModuleForward.base.114" = type <{ %"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.104", i8 }>
%"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.104" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.105", [1 x %"struct.rl_tools::nn::layers::dense::LayerForward.108"], %"struct.rl_tools::nn::layers::dense::LayerForward.111" }
%"struct.rl_tools::nn::layers::dense::LayerForward.105" = type { %"struct.rl_tools::nn::parameters::Plain::instance.106", %"struct.rl_tools::nn::parameters::Plain::instance.107" }
%"struct.rl_tools::nn::parameters::Plain::instance.106" = type { %"struct.rl_tools::Matrix.85" }
%"struct.rl_tools::nn::parameters::Plain::instance.107" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::layers::dense::LayerForward.108" = type { %"struct.rl_tools::nn::parameters::Plain::instance.109", %"struct.rl_tools::nn::parameters::Plain::instance.110" }
%"struct.rl_tools::nn::parameters::Plain::instance.109" = type { %"struct.rl_tools::Matrix.43" }
%"struct.rl_tools::nn::parameters::Plain::instance.110" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::layers::dense::LayerForward.111" = type { %"struct.rl_tools::nn::parameters::Plain::instance.112", %"struct.rl_tools::nn::parameters::Plain::instance.113" }
%"struct.rl_tools::nn::parameters::Plain::instance.112" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Plain::instance.113" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::rl::algorithms::sac::CriticTrainingBuffers" = type { %"struct.rl_tools::Tensor.123", %"struct.rl_tools::Tensor.125", %"struct.rl_tools::Tensor.127", %"struct.rl_tools::Tensor.128", %"struct.rl_tools::Tensor.129", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.130", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119" }
%"struct.rl_tools::Tensor.123" = type { %"struct.rl_tools::tensor::TensorStatic.124" }
%"struct.rl_tools::tensor::TensorStatic.124" = type { [500 x float] }
%"struct.rl_tools::Tensor.125" = type { %"struct.rl_tools::tensor::TensorDynamic.126" }
%"struct.rl_tools::tensor::TensorDynamic.126" = type { ptr }
%"struct.rl_tools::Tensor.127" = type { %"struct.rl_tools::tensor::TensorDynamic.126" }
%"struct.rl_tools::Tensor.128" = type { %"struct.rl_tools::tensor::TensorDynamic.126" }
%"struct.rl_tools::Tensor.129" = type { %"struct.rl_tools::tensor::TensorDynamic.126" }
%"struct.rl_tools::Tensor.130" = type { %"struct.rl_tools::tensor::TensorStatic.131" }
%"struct.rl_tools::tensor::TensorStatic.131" = type { [400 x float] }
%"struct.rl_tools::Tensor.119" = type { %"struct.rl_tools::tensor::TensorStatic.120" }
%"struct.rl_tools::tensor::TensorStatic.120" = type { [100 x float] }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer" = type { %"struct.rl_tools::Tensor.132", %"struct.rl_tools::Tensor.132", %"struct.rl_tools::nn_models::sequential::ContentBuffer" }
%"struct.rl_tools::Tensor.132" = type { %"struct.rl_tools::tensor::TensorStaticEmpty" }
%"struct.rl_tools::tensor::TensorStaticEmpty" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ContentBuffer" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers", [4 x i8] }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers" = type <{ %"struct.rl_tools::Matrix.35", %"struct.rl_tools::Matrix.35", [4 x i8] }>
%"struct.rl_tools::rl::components::off_policy_runner::SequentialBatch" = type { %"struct.rl_tools::Tensor", %"struct.rl_tools::Tensor.116", %"struct.rl_tools::Tensor.116", %"struct.rl_tools::Tensor.117", %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.116", %"struct.rl_tools::Tensor.117", %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.116", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.121", %"struct.rl_tools::Tensor.121", %"struct.rl_tools::Tensor.121", %"struct.rl_tools::Tensor.121" }
%"struct.rl_tools::Tensor" = type { %"struct.rl_tools::tensor::TensorStatic" }
%"struct.rl_tools::tensor::TensorStatic" = type { [800 x float] }
%"struct.rl_tools::Tensor.117" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::tensor::TensorDynamic" = type { ptr }
%"struct.rl_tools::Tensor.118" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::Tensor.116" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::Tensor.121" = type { %"struct.rl_tools::tensor::TensorStatic.122" }
%"struct.rl_tools::tensor::TensorStatic.122" = type { [100 x i8] }
%"struct.rl_tools::rl::algorithms::sac::ActorTrainingBuffers" = type { %"struct.rl_tools::Tensor.130", %"struct.rl_tools::Tensor.133", %"struct.rl_tools::Tensor.135", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.130", %"struct.rl_tools::Tensor.130", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.136", %"struct.rl_tools::Tensor.136", %"struct.rl_tools::Tensor.138" }
%"struct.rl_tools::Tensor.133" = type { %"struct.rl_tools::tensor::TensorDynamic.134" }
%"struct.rl_tools::tensor::TensorDynamic.134" = type { ptr }
%"struct.rl_tools::Tensor.135" = type { %"struct.rl_tools::tensor::TensorDynamic.134" }
%"struct.rl_tools::Tensor.136" = type { %"struct.rl_tools::tensor::TensorStatic.137" }
%"struct.rl_tools::tensor::TensorStatic.137" = type { [200 x float] }
%"struct.rl_tools::Tensor.138" = type { %"struct.rl_tools::tensor::TensorStatic.139" }
%"struct.rl_tools::tensor::TensorStatic.139" = type { [300 x float] }
%"struct.rl_tools::Matrix.66" = type { %"struct.rl_tools::matrix::MatrixStatic.67" }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer.140" = type { %"struct.rl_tools::Tensor.141", %"struct.rl_tools::Tensor.141", %"struct.rl_tools::nn_models::sequential::ContentBuffer.142" }
%"struct.rl_tools::Tensor.141" = type { %"struct.rl_tools::tensor::TensorStatic.137" }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.142" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.143", %"struct.rl_tools::nn_models::sequential::ContentBuffer.145" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.143" = type <{ %"struct.rl_tools::Matrix.35", %"struct.rl_tools::Matrix.35", [4 x i8] }>
%"struct.rl_tools::nn_models::sequential::ContentBuffer.145" = type <{ %"struct.rl_tools::nn::layers::sample_and_squash::Buffer", [4 x i8] }>
%"struct.rl_tools::nn::layers::sample_and_squash::Buffer" = type { %"struct.rl_tools::Matrix.66" }
%"struct.rl_tools::Matrix.147" = type { %"struct.rl_tools::matrix::MatrixStatic.148" }
%"struct.rl_tools::matrix::MatrixStatic.148" = type { [10 x %"struct.rl_tools::rl::utils::evaluation::Result"] }
%"struct.rl_tools::rl::utils::evaluation::Result" = type { [10 x float], float, float, [10 x i64], float, float }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer.149" = type { %"struct.rl_tools::Tensor.150", %"struct.rl_tools::Tensor.150", %"struct.rl_tools::nn_models::sequential::ContentBuffer.152" }
%"struct.rl_tools::Tensor.150" = type { %"struct.rl_tools::tensor::TensorStatic.151" }
%"struct.rl_tools::tensor::TensorStatic.151" = type { [20 x float] }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.152" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.153", %"struct.rl_tools::nn_models::sequential::ContentBuffer.157" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.153" = type <{ %"struct.rl_tools::Matrix.154", %"struct.rl_tools::Matrix.154", [4 x i8] }>
%"struct.rl_tools::Matrix.154" = type { %"struct.rl_tools::matrix::MatrixStatic.155" }
%"struct.rl_tools::matrix::MatrixStatic.155" = type { [640 x float] }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.157" = type <{ %"struct.rl_tools::nn::layers::sample_and_squash::Buffer.158", [4 x i8] }>
%"struct.rl_tools::nn::layers::sample_and_squash::Buffer.158" = type { %"struct.rl_tools::Matrix.159" }
%"struct.rl_tools::Matrix.159" = type { %"struct.rl_tools::matrix::MatrixStatic.160" }
%"struct.rl_tools::matrix::MatrixStatic.160" = type { [10 x float] }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5trainv() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.rl_tools::devices::CPU", align 8
  %2 = alloca %"struct.rl_tools::rl::loop::steps::timing::State", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %1) #4
  call void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(105) %1) #4
  call void @llvm.lifetime.start.p0(i64 1444656, ptr %2) #4
  invoke void @_ZN8rl_tools2rl4loop5steps6timing5StateINS3_6ConfigINS2_10evaluation6ConfigINS0_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENS0_12environments8PendulumINSF_8pendulum13SpecificationIfmNSH_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSISP_ENSF_7DummyUIEEENS3_10ParametersImLm1EEEEENS6_5StateIST_NSB_5StateISP_EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(1444656) %2)
          to label %5 unwind label %14

5:                                                ; preds = %0
  invoke void @_ZN8rl_tools6mallocINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSP_8pendulum13SpecificationIfmNSR_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSISZ_ENSP_7DummyUIEEEEEvRT_RNSG_5StateIT0_NS17_4NEXT5StateINS17_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(1444631) %2)
          to label %6 unwind label %14

6:                                                ; preds = %5
  invoke void @_ZN8rl_tools4initINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEENS1C_2TIE(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(1444656) %2, i64 noundef 0)
          to label %7 unwind label %14

7:                                                ; preds = %6
  invoke void @_Z11print_sizesIN8rl_tools7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS0_2rl4loop5steps6timing5StateINSG_6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSS_8pendulum13SpecificationIfmNSU_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS12_ENSS_7DummyUIEEENSG_10ParametersImLm1EEEEENSJ_5StateIS16_NSO_5StateIS12_EEEEEEEvRT_RT0_(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(1444656) %2)
          to label %8 unwind label %14

8:                                                ; preds = %7
  br label %9

9:                                                ; preds = %13, %8
  %10 = invoke noundef zeroext i1 @_ZN8rl_tools4stepINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEbRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(1444656) %2)
          to label %11 unwind label %14

11:                                               ; preds = %9
  %12 = xor i1 %10, true
  br i1 %12, label %13, label %18

13:                                               ; preds = %11
  br label %9, !llvm.loop !5

14:                                               ; preds = %18, %9, %7, %6, %5, %0
  %15 = landingpad { ptr, i32 }
          cleanup
  %16 = extractvalue { ptr, i32 } %15, 0
  store ptr %16, ptr %3, align 8
  %17 = extractvalue { ptr, i32 } %15, 1
  store i32 %17, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 1444656, ptr %2) #4
  call void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %1) #4
  call void @llvm.lifetime.end.p0(i64 112, ptr %1) #4
  br label %20

18:                                               ; preds = %11
  invoke void @_ZN8rl_tools4freeINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(1444656) %2)
          to label %19 unwind label %14

19:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 1444656, ptr %2) #4
  call void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %1) #4
  call void @llvm.lifetime.end.p0(i64 112, ptr %1) #4
  ret void

20:                                               ; preds = %14
  %21 = load ptr, ptr %3, align 8
  %22 = load i32, ptr %4, align 4
  %23 = insertvalue { ptr, i32 } poison, ptr %21, 0
  %24 = insertvalue { ptr, i32 } %23, i32 %22, 1
  resume { ptr, i32 } %24
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(105)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8rl_tools2rl4loop5steps6timing5StateINS3_6ConfigINS2_10evaluation6ConfigINS0_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENS0_12environments8PendulumINSF_8pendulum13SpecificationIfmNSH_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSISP_ENSF_7DummyUIEEENS3_10ParametersImLm1EEEEENS6_5StateIST_NSB_5StateISP_EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(1444656)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools6mallocINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSP_8pendulum13SpecificationIfmNSR_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSISZ_ENSP_7DummyUIEEEEEvRT_RNSG_5StateIT0_NS17_4NEXT5StateINS17_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(1444631)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools4initINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEENS1C_2TIE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(1444656), i64 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11print_sizesIN8rl_tools7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS0_2rl4loop5steps6timing5StateINSG_6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSS_8pendulum13SpecificationIfmNSU_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS12_ENSS_7DummyUIEEENSG_10ParametersImLm1EEEEENSJ_5StateIS16_NSO_5StateIS12_EEEEEEEvRT_RT0_(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(1444656)) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN8rl_tools4stepINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEbRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(1444656)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools4freeINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(1444656)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(105)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.rl_tools::devices::CPU" = type <{ [8 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, [7 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.rl_tools::rl::loop::steps::timing::State" = type { %"struct.rl_tools::rl::loop::steps::evaluation::State.base", %"class.std::chrono::time_point", %"class.std::chrono::time_point", i64 }
%"struct.rl_tools::rl::loop::steps::evaluation::State.base" = type <{ %"struct.rl_tools::rl::algorithms::sac::loop::core::State.base", [6 x i8], %"struct.rl_tools::Matrix.147", %"class.std::mersenne_twister_engine", [4 x i8], %"struct.rl_tools::nn_models::sequential::ModuleBuffer.149", [3 x i8] }>
%"struct.rl_tools::rl::algorithms::sac::loop::core::State.base" = type <{ %"struct.rl_tools::nn::optimizers::Adam", [2 x %"struct.rl_tools::nn::optimizers::Adam"], %"struct.rl_tools::nn::optimizers::Adam", %"class.std::mersenne_twister_engine", %"struct.rl_tools::rl::components::OffPolicyRunner", [1 x %"struct.rl_tools::rl::environments::Pendulum"], [1 x %"struct.rl_tools::rl::environments::pendulum::DefaultParameters"], [6 x i8], %"struct.rl_tools::rl::algorithms::sac::ActorCritic", %"struct.rl_tools::rl::components::off_policy_runner::SequentialBatch", [2 x %"struct.rl_tools::rl::algorithms::sac::CriticTrainingBuffers"], %"struct.rl_tools::Matrix.66", [2 x %"struct.rl_tools::nn_models::sequential::ModuleBuffer"], %"struct.rl_tools::rl::components::off_policy_runner::SequentialBatch", %"struct.rl_tools::rl::algorithms::sac::ActorTrainingBuffers", %"struct.rl_tools::Matrix.66", [2 x %"struct.rl_tools::nn_models::sequential::ModuleBuffer.140"], %"struct.rl_tools::nn_models::sequential::ModuleBuffer.140", i64, i8, i8 }>
%"struct.rl_tools::nn::optimizers::Adam" = type { %"struct.rl_tools::nn::optimizers::adam::Parameters", float, float, i64 }
%"struct.rl_tools::nn::optimizers::adam::Parameters" = type { float, float, float, float, float, float, float, float, float }
%"struct.rl_tools::rl::components::OffPolicyRunner" = type <{ %"struct.rl_tools::rl::components::off_policy_runner::ParametersRuntime", [4 x i8], %"struct.rl_tools::rl::components::off_policy_runner::Buffers", i64, i8, %"struct.rl_tools::Matrix.3", [6 x i8], %"struct.rl_tools::Matrix.5", %"struct.rl_tools::Matrix.11", %"struct.rl_tools::Matrix.20", %"struct.rl_tools::Matrix.22", [3 x i8], %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.24", %"struct.rl_tools::Matrix.26", [7 x i8] }>
%"struct.rl_tools::rl::components::off_policy_runner::ParametersRuntime" = type { float }
%"struct.rl_tools::rl::components::off_policy_runner::Buffers" = type { %"struct.rl_tools::Matrix", %"struct.rl_tools::Matrix.0", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix", %"struct.rl_tools::Matrix.0" }
%"struct.rl_tools::Matrix" = type { %"struct.rl_tools::matrix::MatrixStatic" }
%"struct.rl_tools::matrix::MatrixStatic" = type { [3 x float] }
%"struct.rl_tools::Matrix.0" = type { %"struct.rl_tools::matrix::MatrixDynamic" }
%"struct.rl_tools::matrix::MatrixDynamic" = type { ptr }
%"struct.rl_tools::Matrix.3" = type { %"struct.rl_tools::matrix::MatrixStatic.4" }
%"struct.rl_tools::matrix::MatrixStatic.4" = type { [1 x %"struct.rl_tools::rl::environments::Pendulum"] }
%"struct.rl_tools::Matrix.5" = type { %"struct.rl_tools::matrix::MatrixStatic.6" }
%"struct.rl_tools::matrix::MatrixStatic.6" = type { [1 x %"struct.rl_tools::rl::components::off_policy_runner::EpisodeStats"] }
%"struct.rl_tools::rl::components::off_policy_runner::EpisodeStats" = type { %"struct.rl_tools::Matrix.7", i64, %"struct.rl_tools::Matrix.9", %"struct.rl_tools::Matrix.9" }
%"struct.rl_tools::Matrix.7" = type { %"struct.rl_tools::matrix::MatrixStatic.8" }
%"struct.rl_tools::matrix::MatrixStatic.8" = type { [2000 x float] }
%"struct.rl_tools::Matrix.9" = type { %"struct.rl_tools::matrix::MatrixDynamic.10" }
%"struct.rl_tools::matrix::MatrixDynamic.10" = type { ptr }
%"struct.rl_tools::Matrix.11" = type { %"struct.rl_tools::matrix::MatrixStatic.12" }
%"struct.rl_tools::matrix::MatrixStatic.12" = type { [1 x %"struct.rl_tools::rl::components::ReplayBufferWithStates"] }
%"struct.rl_tools::rl::components::ReplayBufferWithStates" = type { %"struct.rl_tools::rl::components::ReplayBuffer", %"struct.rl_tools::Matrix.18", %"struct.rl_tools::Matrix.18" }
%"struct.rl_tools::rl::components::ReplayBuffer" = type { %"struct.rl_tools::Matrix.13", i64, i8, %"struct.rl_tools::Matrix.15", %"struct.rl_tools::Matrix.15", %"struct.rl_tools::Matrix.17", %"struct.rl_tools::Matrix.17", %"struct.rl_tools::Matrix.15", %"struct.rl_tools::Matrix.15", %"struct.rl_tools::Matrix.17", %"struct.rl_tools::Matrix.17" }
%"struct.rl_tools::Matrix.13" = type { %"struct.rl_tools::matrix::MatrixStatic.14" }
%"struct.rl_tools::matrix::MatrixStatic.14" = type { [100000 x float] }
%"struct.rl_tools::Matrix.15" = type { %"struct.rl_tools::matrix::MatrixDynamic.16" }
%"struct.rl_tools::matrix::MatrixDynamic.16" = type { ptr }
%"struct.rl_tools::Matrix.17" = type { %"struct.rl_tools::matrix::MatrixDynamic.16" }
%"struct.rl_tools::Matrix.18" = type { %"struct.rl_tools::matrix::MatrixStatic.19" }
%"struct.rl_tools::matrix::MatrixStatic.19" = type { [10000 x %"struct.rl_tools::rl::environments::pendulum::State"] }
%"struct.rl_tools::rl::environments::pendulum::State" = type { float, float }
%"struct.rl_tools::Matrix.20" = type { %"struct.rl_tools::matrix::MatrixStatic.21" }
%"struct.rl_tools::matrix::MatrixStatic.21" = type { [1 x %"struct.rl_tools::rl::environments::pendulum::State"] }
%"struct.rl_tools::Matrix.22" = type { %"struct.rl_tools::matrix::MatrixStatic.23" }
%"struct.rl_tools::matrix::MatrixStatic.23" = type { [1 x %"struct.rl_tools::rl::environments::pendulum::DefaultParameters"] }
%"struct.rl_tools::Matrix.1" = type { %"struct.rl_tools::matrix::MatrixStatic.2" }
%"struct.rl_tools::matrix::MatrixStatic.2" = type { [1 x float] }
%"struct.rl_tools::Matrix.24" = type { %"struct.rl_tools::matrix::MatrixStatic.25" }
%"struct.rl_tools::matrix::MatrixStatic.25" = type { [1 x i64] }
%"struct.rl_tools::Matrix.26" = type { %"struct.rl_tools::matrix::MatrixStatic.27" }
%"struct.rl_tools::matrix::MatrixStatic.27" = type { [1 x i8] }
%"struct.rl_tools::rl::environments::Pendulum" = type { i8 }
%"struct.rl_tools::rl::environments::pendulum::DefaultParameters" = type { i8 }
%"struct.rl_tools::rl::algorithms::sac::ActorCritic" = type { %"struct.rl_tools::nn_models::sequential::Build", %"struct.rl_tools::nn_models::sequential::Build.72", %"struct.rl_tools::nn_models::sequential::Build.72", %"struct.rl_tools::nn_models::sequential::Build.102", %"struct.rl_tools::nn_models::sequential::Build.102", %"struct.rl_tools::nn::optimizers::Adam", [2 x %"struct.rl_tools::nn::optimizers::Adam"], %"struct.rl_tools::nn::optimizers::Adam" }
%"struct.rl_tools::nn_models::sequential::Build" = type { %"struct.rl_tools::nn_models::sequential::ModuleGradient" }
%"struct.rl_tools::nn_models::sequential::ModuleGradient" = type { %"struct.rl_tools::nn_models::sequential::ModuleBackward" }
%"struct.rl_tools::nn_models::sequential::ModuleBackward" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward" }
%"struct.rl_tools::nn_models::sequential::ModuleForward" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient", %"struct.rl_tools::nn_models::sequential::ModuleGradient.63" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkForward" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkForward" = type { %"struct.rl_tools::nn::layers::dense::LayerGradient", [1 x %"struct.rl_tools::nn::layers::dense::LayerGradient.37"], %"struct.rl_tools::nn::layers::dense::LayerGradient.48" }
%"struct.rl_tools::nn::layers::dense::LayerGradient" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerBackward" = type { %"struct.rl_tools::nn::layers::dense::LayerForward", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerForward" = type { %"struct.rl_tools::nn::parameters::Adam::instance", %"struct.rl_tools::nn::parameters::Adam::instance.30" }
%"struct.rl_tools::nn::parameters::Adam::instance" = type { %"struct.rl_tools::nn::parameters::Gradient::instance", %"struct.rl_tools::Matrix.28", %"struct.rl_tools::Matrix.28" }
%"struct.rl_tools::nn::parameters::Gradient::instance" = type { %"struct.rl_tools::nn::parameters::Plain::instance", %"struct.rl_tools::Matrix.28" }
%"struct.rl_tools::nn::parameters::Plain::instance" = type { %"struct.rl_tools::Matrix.28" }
%"struct.rl_tools::Matrix.28" = type { %"struct.rl_tools::matrix::MatrixStatic.29" }
%"struct.rl_tools::matrix::MatrixStatic.29" = type { [192 x float] }
%"struct.rl_tools::nn::parameters::Adam::instance.30" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.31", %"struct.rl_tools::Matrix.33", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Gradient::instance.31" = type { %"struct.rl_tools::nn::parameters::Plain::instance.32", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Plain::instance.32" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::Matrix.33" = type { %"struct.rl_tools::matrix::MatrixStatic.34" }
%"struct.rl_tools::matrix::MatrixStatic.34" = type { [64 x float] }
%"struct.rl_tools::Matrix.35" = type { %"struct.rl_tools::matrix::MatrixStatic.36" }
%"struct.rl_tools::matrix::MatrixStatic.36" = type { [6400 x float] }
%"struct.rl_tools::nn::layers::dense::LayerGradient.37" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.38", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.38" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.39", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerForward.39" = type { %"struct.rl_tools::nn::parameters::Adam::instance.40", %"struct.rl_tools::nn::parameters::Adam::instance.45" }
%"struct.rl_tools::nn::parameters::Adam::instance.40" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.41", %"struct.rl_tools::Matrix.43", %"struct.rl_tools::Matrix.43" }
%"struct.rl_tools::nn::parameters::Gradient::instance.41" = type { %"struct.rl_tools::nn::parameters::Plain::instance.42", %"struct.rl_tools::Matrix.43" }
%"struct.rl_tools::nn::parameters::Plain::instance.42" = type { %"struct.rl_tools::Matrix.43" }
%"struct.rl_tools::Matrix.43" = type { %"struct.rl_tools::matrix::MatrixStatic.44" }
%"struct.rl_tools::matrix::MatrixStatic.44" = type { [4096 x float] }
%"struct.rl_tools::nn::parameters::Adam::instance.45" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.46", %"struct.rl_tools::Matrix.33", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Gradient::instance.46" = type { %"struct.rl_tools::nn::parameters::Plain::instance.47", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Plain::instance.47" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.48" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.49", %"struct.rl_tools::Matrix.61" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.49" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.50", %"struct.rl_tools::Matrix.61" }
%"struct.rl_tools::nn::layers::dense::LayerForward.50" = type { %"struct.rl_tools::nn::parameters::Adam::instance.51", %"struct.rl_tools::nn::parameters::Adam::instance.56" }
%"struct.rl_tools::nn::parameters::Adam::instance.51" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.52", %"struct.rl_tools::Matrix.54", %"struct.rl_tools::Matrix.54" }
%"struct.rl_tools::nn::parameters::Gradient::instance.52" = type { %"struct.rl_tools::nn::parameters::Plain::instance.53", %"struct.rl_tools::Matrix.54" }
%"struct.rl_tools::nn::parameters::Plain::instance.53" = type { %"struct.rl_tools::Matrix.54" }
%"struct.rl_tools::Matrix.54" = type { %"struct.rl_tools::matrix::MatrixStatic.55" }
%"struct.rl_tools::matrix::MatrixStatic.55" = type { [128 x float] }
%"struct.rl_tools::nn::parameters::Adam::instance.56" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.57", %"struct.rl_tools::Matrix.59", %"struct.rl_tools::Matrix.59" }
%"struct.rl_tools::nn::parameters::Gradient::instance.57" = type { %"struct.rl_tools::nn::parameters::Plain::instance.58", %"struct.rl_tools::Matrix.59" }
%"struct.rl_tools::nn::parameters::Plain::instance.58" = type { %"struct.rl_tools::Matrix.59" }
%"struct.rl_tools::Matrix.59" = type { %"struct.rl_tools::matrix::MatrixStatic.60" }
%"struct.rl_tools::matrix::MatrixStatic.60" = type { [2 x float] }
%"struct.rl_tools::Matrix.61" = type { %"struct.rl_tools::matrix::MatrixStatic.62" }
%"struct.rl_tools::matrix::MatrixStatic.62" = type { [200 x float] }
%"struct.rl_tools::nn_models::sequential::ModuleGradient.63" = type { %"struct.rl_tools::nn_models::sequential::ModuleBackward.base", [3 x i8] }
%"struct.rl_tools::nn_models::sequential::ModuleBackward.base" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward.base" }
%"struct.rl_tools::nn_models::sequential::ModuleForward.base" = type <{ %"struct.rl_tools::nn::layers::sample_and_squash::LayerGradient", i8 }>
%"struct.rl_tools::nn::layers::sample_and_squash::LayerGradient" = type { %"struct.rl_tools::nn::layers::sample_and_squash::LayerBackward", %"struct.rl_tools::Matrix.68", %"struct.rl_tools::Matrix.66", %"struct.rl_tools::nn::parameters::Adam::instance.69" }
%"struct.rl_tools::nn::layers::sample_and_squash::LayerBackward" = type { %"struct.rl_tools::Matrix.66", %"struct.rl_tools::Matrix.66" }
%"struct.rl_tools::Matrix.68" = type { %"struct.rl_tools::matrix::MatrixStatic.67" }
%"struct.rl_tools::matrix::MatrixStatic.67" = type { [100 x float] }
%"struct.rl_tools::nn::parameters::Adam::instance.69" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.70", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Gradient::instance.70" = type { %"struct.rl_tools::nn::parameters::Plain::instance.71", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Plain::instance.71" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn_models::sequential::Build.72" = type { %"struct.rl_tools::nn_models::sequential::ModuleGradient.base.101", [3 x i8] }
%"struct.rl_tools::nn_models::sequential::ModuleGradient.base.101" = type { %"struct.rl_tools::nn_models::sequential::ModuleBackward.base.100" }
%"struct.rl_tools::nn_models::sequential::ModuleBackward.base.100" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward.base.99" }
%"struct.rl_tools::nn_models::sequential::ModuleForward.base.99" = type <{ %"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient.76", i8 }>
%"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient.76" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward.77" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward.77" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.78" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.78" = type { %"struct.rl_tools::nn::layers::dense::LayerGradient.79", [1 x %"struct.rl_tools::nn::layers::dense::LayerGradient.87"], %"struct.rl_tools::nn::layers::dense::LayerGradient.90" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.79" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.80", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.80" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.81", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerForward.81" = type { %"struct.rl_tools::nn::parameters::Adam::instance.82", %"struct.rl_tools::nn::parameters::Adam::instance.30" }
%"struct.rl_tools::nn::parameters::Adam::instance.82" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.83", %"struct.rl_tools::Matrix.85", %"struct.rl_tools::Matrix.85" }
%"struct.rl_tools::nn::parameters::Gradient::instance.83" = type { %"struct.rl_tools::nn::parameters::Plain::instance.84", %"struct.rl_tools::Matrix.85" }
%"struct.rl_tools::nn::parameters::Plain::instance.84" = type { %"struct.rl_tools::Matrix.85" }
%"struct.rl_tools::Matrix.85" = type { %"struct.rl_tools::matrix::MatrixStatic.86" }
%"struct.rl_tools::matrix::MatrixStatic.86" = type { [256 x float] }
%"struct.rl_tools::nn::layers::dense::LayerGradient.87" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.88", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.88" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.89", %"struct.rl_tools::Matrix.35" }
%"struct.rl_tools::nn::layers::dense::LayerForward.89" = type { %"struct.rl_tools::nn::parameters::Adam::instance.40", %"struct.rl_tools::nn::parameters::Adam::instance.45" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.90" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.91", %"struct.rl_tools::Matrix.66" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.91" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.92", %"struct.rl_tools::Matrix.66" }
%"struct.rl_tools::nn::layers::dense::LayerForward.92" = type { %"struct.rl_tools::nn::parameters::Adam::instance.93", %"struct.rl_tools::nn::parameters::Adam::instance.96" }
%"struct.rl_tools::nn::parameters::Adam::instance.93" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.94", %"struct.rl_tools::Matrix.33", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Gradient::instance.94" = type { %"struct.rl_tools::nn::parameters::Plain::instance.95", %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Plain::instance.95" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Adam::instance.96" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.97", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Gradient::instance.97" = type { %"struct.rl_tools::nn::parameters::Plain::instance.98", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Plain::instance.98" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn_models::sequential::Build.102" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward.base.114", [3 x i8] }
%"struct.rl_tools::nn_models::sequential::ModuleForward.base.114" = type <{ %"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.104", i8 }>
%"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.104" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.105", [1 x %"struct.rl_tools::nn::layers::dense::LayerForward.108"], %"struct.rl_tools::nn::layers::dense::LayerForward.111" }
%"struct.rl_tools::nn::layers::dense::LayerForward.105" = type { %"struct.rl_tools::nn::parameters::Plain::instance.106", %"struct.rl_tools::nn::parameters::Plain::instance.107" }
%"struct.rl_tools::nn::parameters::Plain::instance.106" = type { %"struct.rl_tools::Matrix.85" }
%"struct.rl_tools::nn::parameters::Plain::instance.107" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::layers::dense::LayerForward.108" = type { %"struct.rl_tools::nn::parameters::Plain::instance.109", %"struct.rl_tools::nn::parameters::Plain::instance.110" }
%"struct.rl_tools::nn::parameters::Plain::instance.109" = type { %"struct.rl_tools::Matrix.43" }
%"struct.rl_tools::nn::parameters::Plain::instance.110" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::layers::dense::LayerForward.111" = type { %"struct.rl_tools::nn::parameters::Plain::instance.112", %"struct.rl_tools::nn::parameters::Plain::instance.113" }
%"struct.rl_tools::nn::parameters::Plain::instance.112" = type { %"struct.rl_tools::Matrix.33" }
%"struct.rl_tools::nn::parameters::Plain::instance.113" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::rl::algorithms::sac::CriticTrainingBuffers" = type { %"struct.rl_tools::Tensor.123", %"struct.rl_tools::Tensor.125", %"struct.rl_tools::Tensor.127", %"struct.rl_tools::Tensor.128", %"struct.rl_tools::Tensor.129", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.130", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119" }
%"struct.rl_tools::Tensor.123" = type { %"struct.rl_tools::tensor::TensorStatic.124" }
%"struct.rl_tools::tensor::TensorStatic.124" = type { [500 x float] }
%"struct.rl_tools::Tensor.125" = type { %"struct.rl_tools::tensor::TensorDynamic.126" }
%"struct.rl_tools::tensor::TensorDynamic.126" = type { ptr }
%"struct.rl_tools::Tensor.127" = type { %"struct.rl_tools::tensor::TensorDynamic.126" }
%"struct.rl_tools::Tensor.128" = type { %"struct.rl_tools::tensor::TensorDynamic.126" }
%"struct.rl_tools::Tensor.129" = type { %"struct.rl_tools::tensor::TensorDynamic.126" }
%"struct.rl_tools::Tensor.130" = type { %"struct.rl_tools::tensor::TensorStatic.131" }
%"struct.rl_tools::tensor::TensorStatic.131" = type { [400 x float] }
%"struct.rl_tools::Tensor.119" = type { %"struct.rl_tools::tensor::TensorStatic.120" }
%"struct.rl_tools::tensor::TensorStatic.120" = type { [100 x float] }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer" = type { %"struct.rl_tools::Tensor.132", %"struct.rl_tools::Tensor.132", %"struct.rl_tools::nn_models::sequential::ContentBuffer" }
%"struct.rl_tools::Tensor.132" = type { %"struct.rl_tools::tensor::TensorStaticEmpty" }
%"struct.rl_tools::tensor::TensorStaticEmpty" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ContentBuffer" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers", [4 x i8] }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers" = type <{ %"struct.rl_tools::Matrix.35", %"struct.rl_tools::Matrix.35", [4 x i8] }>
%"struct.rl_tools::rl::components::off_policy_runner::SequentialBatch" = type { %"struct.rl_tools::Tensor", %"struct.rl_tools::Tensor.116", %"struct.rl_tools::Tensor.116", %"struct.rl_tools::Tensor.117", %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.116", %"struct.rl_tools::Tensor.117", %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.116", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.121", %"struct.rl_tools::Tensor.121", %"struct.rl_tools::Tensor.121", %"struct.rl_tools::Tensor.121" }
%"struct.rl_tools::Tensor" = type { %"struct.rl_tools::tensor::TensorStatic" }
%"struct.rl_tools::tensor::TensorStatic" = type { [800 x float] }
%"struct.rl_tools::Tensor.117" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::tensor::TensorDynamic" = type { ptr }
%"struct.rl_tools::Tensor.118" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::Tensor.116" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::Tensor.121" = type { %"struct.rl_tools::tensor::TensorStatic.122" }
%"struct.rl_tools::tensor::TensorStatic.122" = type { [100 x i8] }
%"struct.rl_tools::rl::algorithms::sac::ActorTrainingBuffers" = type { %"struct.rl_tools::Tensor.130", %"struct.rl_tools::Tensor.133", %"struct.rl_tools::Tensor.135", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.130", %"struct.rl_tools::Tensor.130", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.119", %"struct.rl_tools::Tensor.136", %"struct.rl_tools::Tensor.136", %"struct.rl_tools::Tensor.138" }
%"struct.rl_tools::Tensor.133" = type { %"struct.rl_tools::tensor::TensorDynamic.134" }
%"struct.rl_tools::tensor::TensorDynamic.134" = type { ptr }
%"struct.rl_tools::Tensor.135" = type { %"struct.rl_tools::tensor::TensorDynamic.134" }
%"struct.rl_tools::Tensor.136" = type { %"struct.rl_tools::tensor::TensorStatic.137" }
%"struct.rl_tools::tensor::TensorStatic.137" = type { [200 x float] }
%"struct.rl_tools::Tensor.138" = type { %"struct.rl_tools::tensor::TensorStatic.139" }
%"struct.rl_tools::tensor::TensorStatic.139" = type { [300 x float] }
%"struct.rl_tools::Matrix.66" = type { %"struct.rl_tools::matrix::MatrixStatic.67" }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer.140" = type { %"struct.rl_tools::Tensor.141", %"struct.rl_tools::Tensor.141", %"struct.rl_tools::nn_models::sequential::ContentBuffer.142" }
%"struct.rl_tools::Tensor.141" = type { %"struct.rl_tools::tensor::TensorStatic.137" }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.142" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.143", %"struct.rl_tools::nn_models::sequential::ContentBuffer.145" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.143" = type <{ %"struct.rl_tools::Matrix.35", %"struct.rl_tools::Matrix.35", [4 x i8] }>
%"struct.rl_tools::nn_models::sequential::ContentBuffer.145" = type <{ %"struct.rl_tools::nn::layers::sample_and_squash::Buffer", [4 x i8] }>
%"struct.rl_tools::nn::layers::sample_and_squash::Buffer" = type { %"struct.rl_tools::Matrix.66" }
%"struct.rl_tools::Matrix.147" = type { %"struct.rl_tools::matrix::MatrixStatic.148" }
%"struct.rl_tools::matrix::MatrixStatic.148" = type { [10 x %"struct.rl_tools::rl::utils::evaluation::Result"] }
%"struct.rl_tools::rl::utils::evaluation::Result" = type { [10 x float], float, float, [10 x i64], float, float }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer.149" = type { %"struct.rl_tools::Tensor.150", %"struct.rl_tools::Tensor.150", %"struct.rl_tools::nn_models::sequential::ContentBuffer.152" }
%"struct.rl_tools::Tensor.150" = type { %"struct.rl_tools::tensor::TensorStatic.151" }
%"struct.rl_tools::tensor::TensorStatic.151" = type { [20 x float] }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.152" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.153", %"struct.rl_tools::nn_models::sequential::ContentBuffer.157" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.153" = type <{ %"struct.rl_tools::Matrix.154", %"struct.rl_tools::Matrix.154", [4 x i8] }>
%"struct.rl_tools::Matrix.154" = type { %"struct.rl_tools::matrix::MatrixStatic.155" }
%"struct.rl_tools::matrix::MatrixStatic.155" = type { [640 x float] }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.157" = type <{ %"struct.rl_tools::nn::layers::sample_and_squash::Buffer.158", [4 x i8] }>
%"struct.rl_tools::nn::layers::sample_and_squash::Buffer.158" = type { %"struct.rl_tools::Matrix.159" }
%"struct.rl_tools::Matrix.159" = type { %"struct.rl_tools::matrix::MatrixStatic.160" }
%"struct.rl_tools::matrix::MatrixStatic.160" = type { [10 x float] }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5trainv() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.rl_tools::devices::CPU", align 8
  %2 = alloca %"struct.rl_tools::rl::loop::steps::timing::State", align 8
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %1) #4
  call void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(105) %1) #4
  call void @llvm.lifetime.start.p0(i64 1444656, ptr nonnull %2) #4
  invoke void @_ZN8rl_tools2rl4loop5steps6timing5StateINS3_6ConfigINS2_10evaluation6ConfigINS0_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENS0_12environments8PendulumINSF_8pendulum13SpecificationIfmNSH_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSISP_ENSF_7DummyUIEEENS3_10ParametersImLm1EEEEENS6_5StateIST_NSB_5StateISP_EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(1444656) %2)
          to label %3 unwind label %.loopexit.split-lp

3:                                                ; preds = %0
  invoke void @_ZN8rl_tools6mallocINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSP_8pendulum13SpecificationIfmNSR_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSISZ_ENSP_7DummyUIEEEEEvRT_RNSG_5StateIT0_NS17_4NEXT5StateINS17_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(1444631) %2)
          to label %4 unwind label %.loopexit.split-lp

4:                                                ; preds = %3
  invoke void @_ZN8rl_tools4initINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEENS1C_2TIE(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(1444656) %2, i64 noundef 0)
          to label %5 unwind label %.loopexit.split-lp

5:                                                ; preds = %4
  invoke void @_Z11print_sizesIN8rl_tools7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS0_2rl4loop5steps6timing5StateINSG_6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSS_8pendulum13SpecificationIfmNSU_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS12_ENSS_7DummyUIEEENSG_10ParametersImLm1EEEEENSJ_5StateIS16_NSO_5StateIS12_EEEEEEEvRT_RT0_(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(1444656) %2)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %5, %7
  %6 = invoke noundef zeroext i1 @_ZN8rl_tools4stepINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEbRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(1444656) %2)
          to label %7 unwind label %.loopexit

7:                                                ; preds = %.preheader
  br i1 %6, label %9, label %.preheader, !llvm.loop !5

.loopexit:                                        ; preds = %.preheader
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %8

.loopexit.split-lp:                               ; preds = %0, %3, %4, %5, %9
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %8

8:                                                ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 1444656, ptr nonnull %2) #4
  call void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %1) #4
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %1) #4
  resume { ptr, i32 } %lpad.phi

9:                                                ; preds = %7
  invoke void @_ZN8rl_tools4freeINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(1444656) %2)
          to label %10 unwind label %.loopexit.split-lp

10:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 1444656, ptr nonnull %2) #4
  call void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %1) #4
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %1) #4
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(105)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8rl_tools2rl4loop5steps6timing5StateINS3_6ConfigINS2_10evaluation6ConfigINS0_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENS0_12environments8PendulumINSF_8pendulum13SpecificationIfmNSH_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSISP_ENSF_7DummyUIEEENS3_10ParametersImLm1EEEEENS6_5StateIST_NSB_5StateISP_EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(1444656)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools6mallocINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSP_8pendulum13SpecificationIfmNSR_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSISZ_ENSP_7DummyUIEEEEEvRT_RNSG_5StateIT0_NS17_4NEXT5StateINS17_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(1444631)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools4initINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEENS1C_2TIE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(1444656), i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11print_sizesIN8rl_tools7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS0_2rl4loop5steps6timing5StateINSG_6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSS_8pendulum13SpecificationIfmNSU_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS12_ENSS_7DummyUIEEENSG_10ParametersImLm1EEEEENSJ_5StateIS16_NSO_5StateIS12_EEEEEEEvRT_RT0_(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(1444656)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN8rl_tools4stepINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEbRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(1444656)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools4freeINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments8PendulumINSR_8pendulum13SpecificationIfmNST_17DefaultParametersIfEEEEEE20LOOP_CORE_PARAMETERS19APPROXIMATOR_CONFIGLb0EEE15EVAL_PARAMETERSIS11_ENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(1444656)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(105)) unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass