; LLVM IR from rl-tools/rl-tools :: src/rl/environments/acrobot/sac (acrobot)

; 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.135", %"class.std::mersenne_twister_engine", [8 x i8], %"struct.rl_tools::nn_models::sequential::ModuleBuffer.137", [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::AcrobotSwingup"], [1 x %"struct.rl_tools::rl::environments::acrobot::EasyParameters"], [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.55", [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.55", [2 x %"struct.rl_tools::nn_models::sequential::ModuleBuffer.128"], %"struct.rl_tools::nn_models::sequential::ModuleBuffer.128", 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", %"struct.rl_tools::rl::components::off_policy_runner::Buffers", i64, i8, %"struct.rl_tools::Matrix.3", [8 x i8], %"struct.rl_tools::Matrix.5", %"struct.rl_tools::Matrix.7", %"struct.rl_tools::Matrix.9", %"struct.rl_tools::Matrix.11", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.13", %"struct.rl_tools::Matrix.15" }
%"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::MatrixDynamic" }
%"struct.rl_tools::matrix::MatrixDynamic" = type { ptr }
%"struct.rl_tools::Matrix.0" = type { %"struct.rl_tools::matrix::MatrixDynamic" }
%"struct.rl_tools::Matrix.3" = type { %"struct.rl_tools::matrix::MatrixDynamic.4" }
%"struct.rl_tools::matrix::MatrixDynamic.4" = type { ptr }
%"struct.rl_tools::Matrix.5" = type { %"struct.rl_tools::matrix::MatrixDynamic.6" }
%"struct.rl_tools::matrix::MatrixDynamic.6" = type { ptr }
%"struct.rl_tools::Matrix.7" = type { %"struct.rl_tools::matrix::MatrixDynamic.8" }
%"struct.rl_tools::matrix::MatrixDynamic.8" = type { ptr }
%"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::MatrixDynamic.12" }
%"struct.rl_tools::matrix::MatrixDynamic.12" = type { ptr }
%"struct.rl_tools::Matrix.1" = type { %"struct.rl_tools::matrix::MatrixDynamic.2" }
%"struct.rl_tools::matrix::MatrixDynamic.2" = type { ptr }
%"struct.rl_tools::Matrix.13" = type { %"struct.rl_tools::matrix::MatrixDynamic.14" }
%"struct.rl_tools::matrix::MatrixDynamic.14" = type { ptr }
%"struct.rl_tools::Matrix.15" = type { %"struct.rl_tools::matrix::MatrixDynamic.16" }
%"struct.rl_tools::matrix::MatrixDynamic.16" = type { ptr }
%"struct.rl_tools::rl::environments::AcrobotSwingup" = type { i8 }
%"struct.rl_tools::rl::environments::acrobot::EasyParameters" = type { i8 }
%"struct.rl_tools::rl::algorithms::sac::ActorCritic" = type { %"struct.rl_tools::nn_models::sequential::Build", %"struct.rl_tools::nn_models::sequential::Build.61", %"struct.rl_tools::nn_models::sequential::Build.61", %"struct.rl_tools::nn_models::sequential::Build.91", %"struct.rl_tools::nn_models::sequential::Build.91", %"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.52" }
%"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.26"], %"struct.rl_tools::nn::layers::dense::LayerGradient.37" }
%"struct.rl_tools::nn::layers::dense::LayerGradient" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerBackward" = type { %"struct.rl_tools::nn::layers::dense::LayerForward", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerForward" = type { %"struct.rl_tools::nn::parameters::Adam::instance", %"struct.rl_tools::nn::parameters::Adam::instance.19" }
%"struct.rl_tools::nn::parameters::Adam::instance" = type { %"struct.rl_tools::nn::parameters::Gradient::instance", %"struct.rl_tools::Matrix.17", %"struct.rl_tools::Matrix.17" }
%"struct.rl_tools::nn::parameters::Gradient::instance" = type { %"struct.rl_tools::nn::parameters::Plain::instance", %"struct.rl_tools::Matrix.17" }
%"struct.rl_tools::nn::parameters::Plain::instance" = type { %"struct.rl_tools::Matrix.17" }
%"struct.rl_tools::Matrix.17" = type { %"struct.rl_tools::matrix::MatrixDynamic.18" }
%"struct.rl_tools::matrix::MatrixDynamic.18" = type { ptr }
%"struct.rl_tools::nn::parameters::Adam::instance.19" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.20", %"struct.rl_tools::Matrix.22", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Gradient::instance.20" = type { %"struct.rl_tools::nn::parameters::Plain::instance.21", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Plain::instance.21" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::Matrix.22" = type { %"struct.rl_tools::matrix::MatrixDynamic.23" }
%"struct.rl_tools::matrix::MatrixDynamic.23" = type { ptr }
%"struct.rl_tools::Matrix.24" = type { %"struct.rl_tools::matrix::MatrixDynamic.25" }
%"struct.rl_tools::matrix::MatrixDynamic.25" = type { ptr }
%"struct.rl_tools::nn::layers::dense::LayerGradient.26" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.27", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.27" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.28", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerForward.28" = type { %"struct.rl_tools::nn::parameters::Adam::instance.29", %"struct.rl_tools::nn::parameters::Adam::instance.34" }
%"struct.rl_tools::nn::parameters::Adam::instance.29" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.30", %"struct.rl_tools::Matrix.32", %"struct.rl_tools::Matrix.32" }
%"struct.rl_tools::nn::parameters::Gradient::instance.30" = type { %"struct.rl_tools::nn::parameters::Plain::instance.31", %"struct.rl_tools::Matrix.32" }
%"struct.rl_tools::nn::parameters::Plain::instance.31" = type { %"struct.rl_tools::Matrix.32" }
%"struct.rl_tools::Matrix.32" = type { %"struct.rl_tools::matrix::MatrixDynamic.33" }
%"struct.rl_tools::matrix::MatrixDynamic.33" = type { ptr }
%"struct.rl_tools::nn::parameters::Adam::instance.34" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.35", %"struct.rl_tools::Matrix.22", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Gradient::instance.35" = type { %"struct.rl_tools::nn::parameters::Plain::instance.36", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Plain::instance.36" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.37" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.38", %"struct.rl_tools::Matrix.50" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.38" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.39", %"struct.rl_tools::Matrix.50" }
%"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::MatrixDynamic.44" }
%"struct.rl_tools::matrix::MatrixDynamic.44" = type { ptr }
%"struct.rl_tools::nn::parameters::Adam::instance.45" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.46", %"struct.rl_tools::Matrix.48", %"struct.rl_tools::Matrix.48" }
%"struct.rl_tools::nn::parameters::Gradient::instance.46" = type { %"struct.rl_tools::nn::parameters::Plain::instance.47", %"struct.rl_tools::Matrix.48" }
%"struct.rl_tools::nn::parameters::Plain::instance.47" = type { %"struct.rl_tools::Matrix.48" }
%"struct.rl_tools::Matrix.48" = type { %"struct.rl_tools::matrix::MatrixDynamic.49" }
%"struct.rl_tools::matrix::MatrixDynamic.49" = type { ptr }
%"struct.rl_tools::Matrix.50" = type { %"struct.rl_tools::matrix::MatrixDynamic.51" }
%"struct.rl_tools::matrix::MatrixDynamic.51" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ModuleGradient.52" = type { %"struct.rl_tools::nn_models::sequential::ModuleBackward.base", [7 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.57", %"struct.rl_tools::Matrix.55", %"struct.rl_tools::nn::parameters::Adam::instance.58" }
%"struct.rl_tools::nn::layers::sample_and_squash::LayerBackward" = type { %"struct.rl_tools::Matrix.55", %"struct.rl_tools::Matrix.55" }
%"struct.rl_tools::Matrix.57" = type { %"struct.rl_tools::matrix::MatrixDynamic.56" }
%"struct.rl_tools::matrix::MatrixDynamic.56" = type { ptr }
%"struct.rl_tools::nn::parameters::Adam::instance.58" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.59", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Gradient::instance.59" = type { %"struct.rl_tools::nn::parameters::Plain::instance.60", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Plain::instance.60" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn_models::sequential::Build.61" = type { %"struct.rl_tools::nn_models::sequential::ModuleGradient.base.90", [7 x i8] }
%"struct.rl_tools::nn_models::sequential::ModuleGradient.base.90" = type { %"struct.rl_tools::nn_models::sequential::ModuleBackward.base.89" }
%"struct.rl_tools::nn_models::sequential::ModuleBackward.base.89" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward.base.88" }
%"struct.rl_tools::nn_models::sequential::ModuleForward.base.88" = type <{ %"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient.65", i8 }>
%"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient.65" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward.66" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward.66" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.67" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.67" = type { %"struct.rl_tools::nn::layers::dense::LayerGradient.68", [1 x %"struct.rl_tools::nn::layers::dense::LayerGradient.76"], %"struct.rl_tools::nn::layers::dense::LayerGradient.79" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.68" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.69", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.69" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.70", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerForward.70" = type { %"struct.rl_tools::nn::parameters::Adam::instance.71", %"struct.rl_tools::nn::parameters::Adam::instance.19" }
%"struct.rl_tools::nn::parameters::Adam::instance.71" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.72", %"struct.rl_tools::Matrix.74", %"struct.rl_tools::Matrix.74" }
%"struct.rl_tools::nn::parameters::Gradient::instance.72" = type { %"struct.rl_tools::nn::parameters::Plain::instance.73", %"struct.rl_tools::Matrix.74" }
%"struct.rl_tools::nn::parameters::Plain::instance.73" = type { %"struct.rl_tools::Matrix.74" }
%"struct.rl_tools::Matrix.74" = type { %"struct.rl_tools::matrix::MatrixDynamic.75" }
%"struct.rl_tools::matrix::MatrixDynamic.75" = type { ptr }
%"struct.rl_tools::nn::layers::dense::LayerGradient.76" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.77", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.77" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.78", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerForward.78" = type { %"struct.rl_tools::nn::parameters::Adam::instance.29", %"struct.rl_tools::nn::parameters::Adam::instance.34" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.79" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.80", %"struct.rl_tools::Matrix.55" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.80" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.81", %"struct.rl_tools::Matrix.55" }
%"struct.rl_tools::nn::layers::dense::LayerForward.81" = type { %"struct.rl_tools::nn::parameters::Adam::instance.82", %"struct.rl_tools::nn::parameters::Adam::instance.85" }
%"struct.rl_tools::nn::parameters::Adam::instance.82" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.83", %"struct.rl_tools::Matrix.22", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Gradient::instance.83" = type { %"struct.rl_tools::nn::parameters::Plain::instance.84", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Plain::instance.84" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Adam::instance.85" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.86", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Gradient::instance.86" = type { %"struct.rl_tools::nn::parameters::Plain::instance.87", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Plain::instance.87" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn_models::sequential::Build.91" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward.base.103", [7 x i8] }
%"struct.rl_tools::nn_models::sequential::ModuleForward.base.103" = type <{ %"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.93", i8 }>
%"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.93" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.94", [1 x %"struct.rl_tools::nn::layers::dense::LayerForward.97"], %"struct.rl_tools::nn::layers::dense::LayerForward.100" }
%"struct.rl_tools::nn::layers::dense::LayerForward.94" = type { %"struct.rl_tools::nn::parameters::Plain::instance.95", %"struct.rl_tools::nn::parameters::Plain::instance.96" }
%"struct.rl_tools::nn::parameters::Plain::instance.95" = type { %"struct.rl_tools::Matrix.74" }
%"struct.rl_tools::nn::parameters::Plain::instance.96" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::layers::dense::LayerForward.97" = type { %"struct.rl_tools::nn::parameters::Plain::instance.98", %"struct.rl_tools::nn::parameters::Plain::instance.99" }
%"struct.rl_tools::nn::parameters::Plain::instance.98" = type { %"struct.rl_tools::Matrix.32" }
%"struct.rl_tools::nn::parameters::Plain::instance.99" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::layers::dense::LayerForward.100" = type { %"struct.rl_tools::nn::parameters::Plain::instance.101", %"struct.rl_tools::nn::parameters::Plain::instance.102" }
%"struct.rl_tools::nn::parameters::Plain::instance.101" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Plain::instance.102" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::rl::algorithms::sac::CriticTrainingBuffers" = type { %"struct.rl_tools::Tensor.112", %"struct.rl_tools::Tensor.114", %"struct.rl_tools::Tensor.115", %"struct.rl_tools::Tensor.116", %"struct.rl_tools::Tensor.117", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108" }
%"struct.rl_tools::Tensor.112" = type { %"struct.rl_tools::tensor::TensorDynamic.113" }
%"struct.rl_tools::tensor::TensorDynamic.113" = type { ptr }
%"struct.rl_tools::Tensor.114" = type { %"struct.rl_tools::tensor::TensorDynamic.113" }
%"struct.rl_tools::Tensor.115" = type { %"struct.rl_tools::tensor::TensorDynamic.113" }
%"struct.rl_tools::Tensor.116" = type { %"struct.rl_tools::tensor::TensorDynamic.113" }
%"struct.rl_tools::Tensor.117" = type { %"struct.rl_tools::tensor::TensorDynamic.113" }
%"struct.rl_tools::Tensor.118" = type { %"struct.rl_tools::tensor::TensorDynamic.119" }
%"struct.rl_tools::tensor::TensorDynamic.119" = type { ptr }
%"struct.rl_tools::Tensor.108" = type { %"struct.rl_tools::tensor::TensorDynamic.109" }
%"struct.rl_tools::tensor::TensorDynamic.109" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer" = type { %"struct.rl_tools::Tensor.120", %"struct.rl_tools::Tensor.120", %"struct.rl_tools::nn_models::sequential::ContentBuffer" }
%"struct.rl_tools::Tensor.120" = type { %"struct.rl_tools::tensor::TensorDynamic.121" }
%"struct.rl_tools::tensor::TensorDynamic.121" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ContentBuffer" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers", [8 x i8] }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers" = type <{ %"struct.rl_tools::Matrix.24", %"struct.rl_tools::Matrix.24", [8 x i8] }>
%"struct.rl_tools::rl::components::off_policy_runner::SequentialBatch" = type { %"struct.rl_tools::Tensor", %"struct.rl_tools::Tensor.105", %"struct.rl_tools::Tensor.105", %"struct.rl_tools::Tensor.106", %"struct.rl_tools::Tensor.107", %"struct.rl_tools::Tensor.105", %"struct.rl_tools::Tensor.106", %"struct.rl_tools::Tensor.107", %"struct.rl_tools::Tensor.105", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.110", %"struct.rl_tools::Tensor.110", %"struct.rl_tools::Tensor.110", %"struct.rl_tools::Tensor.110" }
%"struct.rl_tools::Tensor" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::tensor::TensorDynamic" = type { ptr }
%"struct.rl_tools::Tensor.106" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::Tensor.107" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::Tensor.105" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::Tensor.110" = type { %"struct.rl_tools::tensor::TensorDynamic.111" }
%"struct.rl_tools::tensor::TensorDynamic.111" = type { ptr }
%"struct.rl_tools::rl::algorithms::sac::ActorTrainingBuffers" = type { %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.122", %"struct.rl_tools::Tensor.123", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.124", %"struct.rl_tools::Tensor.124", %"struct.rl_tools::Tensor.126" }
%"struct.rl_tools::Tensor.122" = type { %"struct.rl_tools::tensor::TensorDynamic.119" }
%"struct.rl_tools::Tensor.123" = type { %"struct.rl_tools::tensor::TensorDynamic.119" }
%"struct.rl_tools::Tensor.124" = type { %"struct.rl_tools::tensor::TensorDynamic.125" }
%"struct.rl_tools::tensor::TensorDynamic.125" = type { ptr }
%"struct.rl_tools::Tensor.126" = type { %"struct.rl_tools::tensor::TensorDynamic.127" }
%"struct.rl_tools::tensor::TensorDynamic.127" = type { ptr }
%"struct.rl_tools::Matrix.55" = type { %"struct.rl_tools::matrix::MatrixDynamic.56" }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer.128" = type { %"struct.rl_tools::Tensor.129", %"struct.rl_tools::Tensor.129", %"struct.rl_tools::nn_models::sequential::ContentBuffer.130" }
%"struct.rl_tools::Tensor.129" = type { %"struct.rl_tools::tensor::TensorDynamic.125" }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.130" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.131", %"struct.rl_tools::nn_models::sequential::ContentBuffer.133" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.131" = type <{ %"struct.rl_tools::Matrix.24", %"struct.rl_tools::Matrix.24", [8 x i8] }>
%"struct.rl_tools::nn_models::sequential::ContentBuffer.133" = type <{ %"struct.rl_tools::nn::layers::sample_and_squash::Buffer", [8 x i8] }>
%"struct.rl_tools::nn::layers::sample_and_squash::Buffer" = type { %"struct.rl_tools::Matrix.55" }
%"struct.rl_tools::Matrix.135" = type { %"struct.rl_tools::matrix::MatrixDynamic.136" }
%"struct.rl_tools::matrix::MatrixDynamic.136" = type { ptr }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer.137" = type { %"struct.rl_tools::Tensor.138", %"struct.rl_tools::Tensor.138", %"struct.rl_tools::nn_models::sequential::ContentBuffer.140" }
%"struct.rl_tools::Tensor.138" = type { %"struct.rl_tools::tensor::TensorDynamic.139" }
%"struct.rl_tools::tensor::TensorDynamic.139" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.140" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.141", %"struct.rl_tools::nn_models::sequential::ContentBuffer.145" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.141" = type <{ %"struct.rl_tools::Matrix.142", %"struct.rl_tools::Matrix.142", [8 x i8] }>
%"struct.rl_tools::Matrix.142" = type { %"struct.rl_tools::matrix::MatrixDynamic.143" }
%"struct.rl_tools::matrix::MatrixDynamic.143" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.145" = type <{ %"struct.rl_tools::nn::layers::sample_and_squash::Buffer.146", [8 x i8] }>
%"struct.rl_tools::nn::layers::sample_and_squash::Buffer.146" = type { %"struct.rl_tools::Matrix.147" }
%"struct.rl_tools::Matrix.147" = type { %"struct.rl_tools::matrix::MatrixDynamic.148" }
%"struct.rl_tools::matrix::MatrixDynamic.148" = type { ptr }
%"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 norecurse uwtable
define dso_local noundef i32 @main() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.rl_tools::devices::CPU", align 8
  %3 = alloca %"struct.rl_tools::rl::loop::steps::timing::State", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 112, ptr %2) #5
  call void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(105) %2) #5
  call void @llvm.lifetime.start.p0(i64 12432, ptr %3) #5
  invoke void @_ZN8rl_tools2rl4loop5steps6timing5StateINS3_6ConfigINS2_10evaluation6ConfigINS0_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENS0_12environments14AcrobotSwingupINSF_7acrobot13SpecificationIfmNSH_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSB_22ConfigApproximatorsMLPELb1EEENS6_10ParametersIfmSP_EENSF_7DummyUIEEENS3_10ParametersImLm1EEEEENS6_5StateIST_NSB_5StateISP_EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(12432) %3)
          to label %6 unwind label %14

6:                                                ; preds = %0
  invoke void @_ZN8rl_tools6mallocINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments14AcrobotSwingupINSP_7acrobot13SpecificationIfmNSR_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSL_22ConfigApproximatorsMLPELb1EEENSG_10ParametersIfmSZ_EENSP_7DummyUIEEEEEvRT_RNSG_5StateIT0_NS17_4NEXT5StateINS17_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105) %2, ptr noundef nonnull align 8 dereferenceable(12403) %3)
          to label %7 unwind label %14

7:                                                ; preds = %6
  invoke void @_ZN8rl_tools4initINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments14AcrobotSwingupINSR_7acrobot13SpecificationIfmNST_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSN_22ConfigApproximatorsMLPELb1EEENSI_10ParametersIfmS11_EENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEENS1C_2TIE(ptr noundef nonnull align 8 dereferenceable(105) %2, ptr noundef nonnull align 8 dereferenceable(12432) %3, i64 noundef 0)
          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_12environments14AcrobotSwingupINSR_7acrobot13SpecificationIfmNST_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSN_22ConfigApproximatorsMLPELb1EEENSI_10ParametersIfmS11_EENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEbRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105) %2, ptr noundef nonnull align 8 dereferenceable(12432) %3)
          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, %0
  %15 = landingpad { ptr, i32 }
          cleanup
  %16 = extractvalue { ptr, i32 } %15, 0
  store ptr %16, ptr %4, align 8
  %17 = extractvalue { ptr, i32 } %15, 1
  store i32 %17, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 12432, ptr %3) #5
  call void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %2) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %2) #5
  br label %21

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

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

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

; 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_12environments14AcrobotSwingupINSF_7acrobot13SpecificationIfmNSH_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSB_22ConfigApproximatorsMLPELb1EEENS6_10ParametersIfmSP_EENSF_7DummyUIEEENS3_10ParametersImLm1EEEEENS6_5StateIST_NSB_5StateISP_EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(12432)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools6mallocINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments14AcrobotSwingupINSP_7acrobot13SpecificationIfmNSR_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSL_22ConfigApproximatorsMLPELb1EEENSG_10ParametersIfmSZ_EENSP_7DummyUIEEEEEvRT_RNSG_5StateIT0_NS17_4NEXT5StateINS17_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(12403)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools4initINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments14AcrobotSwingupINSR_7acrobot13SpecificationIfmNST_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSN_22ConfigApproximatorsMLPELb1EEENSI_10ParametersIfmS11_EENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEENS1C_2TIE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(12432), i64 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN8rl_tools4stepINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments14AcrobotSwingupINSR_7acrobot13SpecificationIfmNST_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSN_22ConfigApproximatorsMLPELb1EEENSI_10ParametersIfmS11_EENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEbRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(12432)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools4freeINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments14AcrobotSwingupINSR_7acrobot13SpecificationIfmNST_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSN_22ConfigApproximatorsMLPELb1EEENSI_10ParametersIfmS11_EENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(12432)) #4

; 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 norecurse 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 = { 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 #5 = { 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.135", %"class.std::mersenne_twister_engine", [8 x i8], %"struct.rl_tools::nn_models::sequential::ModuleBuffer.137", [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::AcrobotSwingup"], [1 x %"struct.rl_tools::rl::environments::acrobot::EasyParameters"], [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.55", [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.55", [2 x %"struct.rl_tools::nn_models::sequential::ModuleBuffer.128"], %"struct.rl_tools::nn_models::sequential::ModuleBuffer.128", 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", %"struct.rl_tools::rl::components::off_policy_runner::Buffers", i64, i8, %"struct.rl_tools::Matrix.3", [8 x i8], %"struct.rl_tools::Matrix.5", %"struct.rl_tools::Matrix.7", %"struct.rl_tools::Matrix.9", %"struct.rl_tools::Matrix.11", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.13", %"struct.rl_tools::Matrix.15" }
%"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::MatrixDynamic" }
%"struct.rl_tools::matrix::MatrixDynamic" = type { ptr }
%"struct.rl_tools::Matrix.0" = type { %"struct.rl_tools::matrix::MatrixDynamic" }
%"struct.rl_tools::Matrix.3" = type { %"struct.rl_tools::matrix::MatrixDynamic.4" }
%"struct.rl_tools::matrix::MatrixDynamic.4" = type { ptr }
%"struct.rl_tools::Matrix.5" = type { %"struct.rl_tools::matrix::MatrixDynamic.6" }
%"struct.rl_tools::matrix::MatrixDynamic.6" = type { ptr }
%"struct.rl_tools::Matrix.7" = type { %"struct.rl_tools::matrix::MatrixDynamic.8" }
%"struct.rl_tools::matrix::MatrixDynamic.8" = type { ptr }
%"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::MatrixDynamic.12" }
%"struct.rl_tools::matrix::MatrixDynamic.12" = type { ptr }
%"struct.rl_tools::Matrix.1" = type { %"struct.rl_tools::matrix::MatrixDynamic.2" }
%"struct.rl_tools::matrix::MatrixDynamic.2" = type { ptr }
%"struct.rl_tools::Matrix.13" = type { %"struct.rl_tools::matrix::MatrixDynamic.14" }
%"struct.rl_tools::matrix::MatrixDynamic.14" = type { ptr }
%"struct.rl_tools::Matrix.15" = type { %"struct.rl_tools::matrix::MatrixDynamic.16" }
%"struct.rl_tools::matrix::MatrixDynamic.16" = type { ptr }
%"struct.rl_tools::rl::environments::AcrobotSwingup" = type { i8 }
%"struct.rl_tools::rl::environments::acrobot::EasyParameters" = type { i8 }
%"struct.rl_tools::rl::algorithms::sac::ActorCritic" = type { %"struct.rl_tools::nn_models::sequential::Build", %"struct.rl_tools::nn_models::sequential::Build.61", %"struct.rl_tools::nn_models::sequential::Build.61", %"struct.rl_tools::nn_models::sequential::Build.91", %"struct.rl_tools::nn_models::sequential::Build.91", %"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.52" }
%"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.26"], %"struct.rl_tools::nn::layers::dense::LayerGradient.37" }
%"struct.rl_tools::nn::layers::dense::LayerGradient" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerBackward" = type { %"struct.rl_tools::nn::layers::dense::LayerForward", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerForward" = type { %"struct.rl_tools::nn::parameters::Adam::instance", %"struct.rl_tools::nn::parameters::Adam::instance.19" }
%"struct.rl_tools::nn::parameters::Adam::instance" = type { %"struct.rl_tools::nn::parameters::Gradient::instance", %"struct.rl_tools::Matrix.17", %"struct.rl_tools::Matrix.17" }
%"struct.rl_tools::nn::parameters::Gradient::instance" = type { %"struct.rl_tools::nn::parameters::Plain::instance", %"struct.rl_tools::Matrix.17" }
%"struct.rl_tools::nn::parameters::Plain::instance" = type { %"struct.rl_tools::Matrix.17" }
%"struct.rl_tools::Matrix.17" = type { %"struct.rl_tools::matrix::MatrixDynamic.18" }
%"struct.rl_tools::matrix::MatrixDynamic.18" = type { ptr }
%"struct.rl_tools::nn::parameters::Adam::instance.19" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.20", %"struct.rl_tools::Matrix.22", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Gradient::instance.20" = type { %"struct.rl_tools::nn::parameters::Plain::instance.21", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Plain::instance.21" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::Matrix.22" = type { %"struct.rl_tools::matrix::MatrixDynamic.23" }
%"struct.rl_tools::matrix::MatrixDynamic.23" = type { ptr }
%"struct.rl_tools::Matrix.24" = type { %"struct.rl_tools::matrix::MatrixDynamic.25" }
%"struct.rl_tools::matrix::MatrixDynamic.25" = type { ptr }
%"struct.rl_tools::nn::layers::dense::LayerGradient.26" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.27", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.27" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.28", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerForward.28" = type { %"struct.rl_tools::nn::parameters::Adam::instance.29", %"struct.rl_tools::nn::parameters::Adam::instance.34" }
%"struct.rl_tools::nn::parameters::Adam::instance.29" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.30", %"struct.rl_tools::Matrix.32", %"struct.rl_tools::Matrix.32" }
%"struct.rl_tools::nn::parameters::Gradient::instance.30" = type { %"struct.rl_tools::nn::parameters::Plain::instance.31", %"struct.rl_tools::Matrix.32" }
%"struct.rl_tools::nn::parameters::Plain::instance.31" = type { %"struct.rl_tools::Matrix.32" }
%"struct.rl_tools::Matrix.32" = type { %"struct.rl_tools::matrix::MatrixDynamic.33" }
%"struct.rl_tools::matrix::MatrixDynamic.33" = type { ptr }
%"struct.rl_tools::nn::parameters::Adam::instance.34" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.35", %"struct.rl_tools::Matrix.22", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Gradient::instance.35" = type { %"struct.rl_tools::nn::parameters::Plain::instance.36", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Plain::instance.36" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.37" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.38", %"struct.rl_tools::Matrix.50" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.38" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.39", %"struct.rl_tools::Matrix.50" }
%"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::MatrixDynamic.44" }
%"struct.rl_tools::matrix::MatrixDynamic.44" = type { ptr }
%"struct.rl_tools::nn::parameters::Adam::instance.45" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.46", %"struct.rl_tools::Matrix.48", %"struct.rl_tools::Matrix.48" }
%"struct.rl_tools::nn::parameters::Gradient::instance.46" = type { %"struct.rl_tools::nn::parameters::Plain::instance.47", %"struct.rl_tools::Matrix.48" }
%"struct.rl_tools::nn::parameters::Plain::instance.47" = type { %"struct.rl_tools::Matrix.48" }
%"struct.rl_tools::Matrix.48" = type { %"struct.rl_tools::matrix::MatrixDynamic.49" }
%"struct.rl_tools::matrix::MatrixDynamic.49" = type { ptr }
%"struct.rl_tools::Matrix.50" = type { %"struct.rl_tools::matrix::MatrixDynamic.51" }
%"struct.rl_tools::matrix::MatrixDynamic.51" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ModuleGradient.52" = type { %"struct.rl_tools::nn_models::sequential::ModuleBackward.base", [7 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.57", %"struct.rl_tools::Matrix.55", %"struct.rl_tools::nn::parameters::Adam::instance.58" }
%"struct.rl_tools::nn::layers::sample_and_squash::LayerBackward" = type { %"struct.rl_tools::Matrix.55", %"struct.rl_tools::Matrix.55" }
%"struct.rl_tools::Matrix.57" = type { %"struct.rl_tools::matrix::MatrixDynamic.56" }
%"struct.rl_tools::matrix::MatrixDynamic.56" = type { ptr }
%"struct.rl_tools::nn::parameters::Adam::instance.58" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.59", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Gradient::instance.59" = type { %"struct.rl_tools::nn::parameters::Plain::instance.60", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Plain::instance.60" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn_models::sequential::Build.61" = type { %"struct.rl_tools::nn_models::sequential::ModuleGradient.base.90", [7 x i8] }
%"struct.rl_tools::nn_models::sequential::ModuleGradient.base.90" = type { %"struct.rl_tools::nn_models::sequential::ModuleBackward.base.89" }
%"struct.rl_tools::nn_models::sequential::ModuleBackward.base.89" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward.base.88" }
%"struct.rl_tools::nn_models::sequential::ModuleForward.base.88" = type <{ %"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient.65", i8 }>
%"struct.rl_tools::nn_models::mlp::NeuralNetworkGradient.65" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward.66" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBackward.66" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.67" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.67" = type { %"struct.rl_tools::nn::layers::dense::LayerGradient.68", [1 x %"struct.rl_tools::nn::layers::dense::LayerGradient.76"], %"struct.rl_tools::nn::layers::dense::LayerGradient.79" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.68" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.69", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.69" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.70", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerForward.70" = type { %"struct.rl_tools::nn::parameters::Adam::instance.71", %"struct.rl_tools::nn::parameters::Adam::instance.19" }
%"struct.rl_tools::nn::parameters::Adam::instance.71" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.72", %"struct.rl_tools::Matrix.74", %"struct.rl_tools::Matrix.74" }
%"struct.rl_tools::nn::parameters::Gradient::instance.72" = type { %"struct.rl_tools::nn::parameters::Plain::instance.73", %"struct.rl_tools::Matrix.74" }
%"struct.rl_tools::nn::parameters::Plain::instance.73" = type { %"struct.rl_tools::Matrix.74" }
%"struct.rl_tools::Matrix.74" = type { %"struct.rl_tools::matrix::MatrixDynamic.75" }
%"struct.rl_tools::matrix::MatrixDynamic.75" = type { ptr }
%"struct.rl_tools::nn::layers::dense::LayerGradient.76" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.77", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.77" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.78", %"struct.rl_tools::Matrix.24" }
%"struct.rl_tools::nn::layers::dense::LayerForward.78" = type { %"struct.rl_tools::nn::parameters::Adam::instance.29", %"struct.rl_tools::nn::parameters::Adam::instance.34" }
%"struct.rl_tools::nn::layers::dense::LayerGradient.79" = type { %"struct.rl_tools::nn::layers::dense::LayerBackward.80", %"struct.rl_tools::Matrix.55" }
%"struct.rl_tools::nn::layers::dense::LayerBackward.80" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.81", %"struct.rl_tools::Matrix.55" }
%"struct.rl_tools::nn::layers::dense::LayerForward.81" = type { %"struct.rl_tools::nn::parameters::Adam::instance.82", %"struct.rl_tools::nn::parameters::Adam::instance.85" }
%"struct.rl_tools::nn::parameters::Adam::instance.82" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.83", %"struct.rl_tools::Matrix.22", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Gradient::instance.83" = type { %"struct.rl_tools::nn::parameters::Plain::instance.84", %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Plain::instance.84" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Adam::instance.85" = type { %"struct.rl_tools::nn::parameters::Gradient::instance.86", %"struct.rl_tools::Matrix.1", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Gradient::instance.86" = type { %"struct.rl_tools::nn::parameters::Plain::instance.87", %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn::parameters::Plain::instance.87" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::nn_models::sequential::Build.91" = type { %"struct.rl_tools::nn_models::sequential::ModuleForward.base.103", [7 x i8] }
%"struct.rl_tools::nn_models::sequential::ModuleForward.base.103" = type <{ %"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.93", i8 }>
%"struct.rl_tools::nn_models::mlp::NeuralNetworkForward.93" = type { %"struct.rl_tools::nn::layers::dense::LayerForward.94", [1 x %"struct.rl_tools::nn::layers::dense::LayerForward.97"], %"struct.rl_tools::nn::layers::dense::LayerForward.100" }
%"struct.rl_tools::nn::layers::dense::LayerForward.94" = type { %"struct.rl_tools::nn::parameters::Plain::instance.95", %"struct.rl_tools::nn::parameters::Plain::instance.96" }
%"struct.rl_tools::nn::parameters::Plain::instance.95" = type { %"struct.rl_tools::Matrix.74" }
%"struct.rl_tools::nn::parameters::Plain::instance.96" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::layers::dense::LayerForward.97" = type { %"struct.rl_tools::nn::parameters::Plain::instance.98", %"struct.rl_tools::nn::parameters::Plain::instance.99" }
%"struct.rl_tools::nn::parameters::Plain::instance.98" = type { %"struct.rl_tools::Matrix.32" }
%"struct.rl_tools::nn::parameters::Plain::instance.99" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::layers::dense::LayerForward.100" = type { %"struct.rl_tools::nn::parameters::Plain::instance.101", %"struct.rl_tools::nn::parameters::Plain::instance.102" }
%"struct.rl_tools::nn::parameters::Plain::instance.101" = type { %"struct.rl_tools::Matrix.22" }
%"struct.rl_tools::nn::parameters::Plain::instance.102" = type { %"struct.rl_tools::Matrix.1" }
%"struct.rl_tools::rl::algorithms::sac::CriticTrainingBuffers" = type { %"struct.rl_tools::Tensor.112", %"struct.rl_tools::Tensor.114", %"struct.rl_tools::Tensor.115", %"struct.rl_tools::Tensor.116", %"struct.rl_tools::Tensor.117", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108" }
%"struct.rl_tools::Tensor.112" = type { %"struct.rl_tools::tensor::TensorDynamic.113" }
%"struct.rl_tools::tensor::TensorDynamic.113" = type { ptr }
%"struct.rl_tools::Tensor.114" = type { %"struct.rl_tools::tensor::TensorDynamic.113" }
%"struct.rl_tools::Tensor.115" = type { %"struct.rl_tools::tensor::TensorDynamic.113" }
%"struct.rl_tools::Tensor.116" = type { %"struct.rl_tools::tensor::TensorDynamic.113" }
%"struct.rl_tools::Tensor.117" = type { %"struct.rl_tools::tensor::TensorDynamic.113" }
%"struct.rl_tools::Tensor.118" = type { %"struct.rl_tools::tensor::TensorDynamic.119" }
%"struct.rl_tools::tensor::TensorDynamic.119" = type { ptr }
%"struct.rl_tools::Tensor.108" = type { %"struct.rl_tools::tensor::TensorDynamic.109" }
%"struct.rl_tools::tensor::TensorDynamic.109" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer" = type { %"struct.rl_tools::Tensor.120", %"struct.rl_tools::Tensor.120", %"struct.rl_tools::nn_models::sequential::ContentBuffer" }
%"struct.rl_tools::Tensor.120" = type { %"struct.rl_tools::tensor::TensorDynamic.121" }
%"struct.rl_tools::tensor::TensorDynamic.121" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ContentBuffer" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers", [8 x i8] }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers" = type <{ %"struct.rl_tools::Matrix.24", %"struct.rl_tools::Matrix.24", [8 x i8] }>
%"struct.rl_tools::rl::components::off_policy_runner::SequentialBatch" = type { %"struct.rl_tools::Tensor", %"struct.rl_tools::Tensor.105", %"struct.rl_tools::Tensor.105", %"struct.rl_tools::Tensor.106", %"struct.rl_tools::Tensor.107", %"struct.rl_tools::Tensor.105", %"struct.rl_tools::Tensor.106", %"struct.rl_tools::Tensor.107", %"struct.rl_tools::Tensor.105", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.110", %"struct.rl_tools::Tensor.110", %"struct.rl_tools::Tensor.110", %"struct.rl_tools::Tensor.110" }
%"struct.rl_tools::Tensor" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::tensor::TensorDynamic" = type { ptr }
%"struct.rl_tools::Tensor.106" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::Tensor.107" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::Tensor.105" = type { %"struct.rl_tools::tensor::TensorDynamic" }
%"struct.rl_tools::Tensor.110" = type { %"struct.rl_tools::tensor::TensorDynamic.111" }
%"struct.rl_tools::tensor::TensorDynamic.111" = type { ptr }
%"struct.rl_tools::rl::algorithms::sac::ActorTrainingBuffers" = type { %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.122", %"struct.rl_tools::Tensor.123", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.118", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.108", %"struct.rl_tools::Tensor.124", %"struct.rl_tools::Tensor.124", %"struct.rl_tools::Tensor.126" }
%"struct.rl_tools::Tensor.122" = type { %"struct.rl_tools::tensor::TensorDynamic.119" }
%"struct.rl_tools::Tensor.123" = type { %"struct.rl_tools::tensor::TensorDynamic.119" }
%"struct.rl_tools::Tensor.124" = type { %"struct.rl_tools::tensor::TensorDynamic.125" }
%"struct.rl_tools::tensor::TensorDynamic.125" = type { ptr }
%"struct.rl_tools::Tensor.126" = type { %"struct.rl_tools::tensor::TensorDynamic.127" }
%"struct.rl_tools::tensor::TensorDynamic.127" = type { ptr }
%"struct.rl_tools::Matrix.55" = type { %"struct.rl_tools::matrix::MatrixDynamic.56" }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer.128" = type { %"struct.rl_tools::Tensor.129", %"struct.rl_tools::Tensor.129", %"struct.rl_tools::nn_models::sequential::ContentBuffer.130" }
%"struct.rl_tools::Tensor.129" = type { %"struct.rl_tools::tensor::TensorDynamic.125" }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.130" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.131", %"struct.rl_tools::nn_models::sequential::ContentBuffer.133" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.131" = type <{ %"struct.rl_tools::Matrix.24", %"struct.rl_tools::Matrix.24", [8 x i8] }>
%"struct.rl_tools::nn_models::sequential::ContentBuffer.133" = type <{ %"struct.rl_tools::nn::layers::sample_and_squash::Buffer", [8 x i8] }>
%"struct.rl_tools::nn::layers::sample_and_squash::Buffer" = type { %"struct.rl_tools::Matrix.55" }
%"struct.rl_tools::Matrix.135" = type { %"struct.rl_tools::matrix::MatrixDynamic.136" }
%"struct.rl_tools::matrix::MatrixDynamic.136" = type { ptr }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"struct.rl_tools::nn_models::sequential::ModuleBuffer.137" = type { %"struct.rl_tools::Tensor.138", %"struct.rl_tools::Tensor.138", %"struct.rl_tools::nn_models::sequential::ContentBuffer.140" }
%"struct.rl_tools::Tensor.138" = type { %"struct.rl_tools::tensor::TensorDynamic.139" }
%"struct.rl_tools::tensor::TensorDynamic.139" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.140" = type { %"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.141", %"struct.rl_tools::nn_models::sequential::ContentBuffer.145" }
%"struct.rl_tools::nn_models::mlp::NeuralNetworkBuffers.141" = type <{ %"struct.rl_tools::Matrix.142", %"struct.rl_tools::Matrix.142", [8 x i8] }>
%"struct.rl_tools::Matrix.142" = type { %"struct.rl_tools::matrix::MatrixDynamic.143" }
%"struct.rl_tools::matrix::MatrixDynamic.143" = type { ptr }
%"struct.rl_tools::nn_models::sequential::ContentBuffer.145" = type <{ %"struct.rl_tools::nn::layers::sample_and_squash::Buffer.146", [8 x i8] }>
%"struct.rl_tools::nn::layers::sample_and_squash::Buffer.146" = type { %"struct.rl_tools::Matrix.147" }
%"struct.rl_tools::Matrix.147" = type { %"struct.rl_tools::matrix::MatrixDynamic.148" }
%"struct.rl_tools::matrix::MatrixDynamic.148" = type { ptr }
%"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 norecurse uwtable
define dso_local noundef i32 @main() 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) #5
  call void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(105) %1) #5
  call void @llvm.lifetime.start.p0(i64 12432, ptr nonnull %2) #5
  invoke void @_ZN8rl_tools2rl4loop5steps6timing5StateINS3_6ConfigINS2_10evaluation6ConfigINS0_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENS0_12environments14AcrobotSwingupINSF_7acrobot13SpecificationIfmNSH_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSB_22ConfigApproximatorsMLPELb1EEENS6_10ParametersIfmSP_EENSF_7DummyUIEEENS3_10ParametersImLm1EEEEENS6_5StateIST_NSB_5StateISP_EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(12432) %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_12environments14AcrobotSwingupINSP_7acrobot13SpecificationIfmNSR_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSL_22ConfigApproximatorsMLPELb1EEENSG_10ParametersIfmSZ_EENSP_7DummyUIEEEEEvRT_RNSG_5StateIT0_NS17_4NEXT5StateINS17_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(12403) %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_12environments14AcrobotSwingupINSR_7acrobot13SpecificationIfmNST_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSN_22ConfigApproximatorsMLPELb1EEENSI_10ParametersIfmS11_EENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEENS1C_2TIE(ptr noundef nonnull align 8 dereferenceable(105) %1, ptr noundef nonnull align 8 dereferenceable(12432) %2, i64 noundef 0)
          to label %.preheader unwind label %.loopexit.split-lp

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

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

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

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

7:                                                ; 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 12432, ptr nonnull %2) #5
  call void @_ZN8rl_tools7devices3CPUINS0_3cpu13SpecificationINS0_4math3CPUENS0_6random3CPUENS0_7logging3CPUEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(105) %1) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %1) #5
  resume { ptr, i32 } %lpad.phi

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

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

; 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_12environments14AcrobotSwingupINSF_7acrobot13SpecificationIfmNSH_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSB_22ConfigApproximatorsMLPELb1EEENS6_10ParametersIfmSP_EENSF_7DummyUIEEENS3_10ParametersImLm1EEEEENS6_5StateIST_NSB_5StateISP_EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(12432)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools6mallocINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments14AcrobotSwingupINSP_7acrobot13SpecificationIfmNSR_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSL_22ConfigApproximatorsMLPELb1EEENSG_10ParametersIfmSZ_EENSP_7DummyUIEEEEEvRT_RNSG_5StateIT0_NS17_4NEXT5StateINS17_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(12403)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools4initINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments14AcrobotSwingupINSR_7acrobot13SpecificationIfmNST_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSN_22ConfigApproximatorsMLPELb1EEENSI_10ParametersIfmS11_EENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEENS1C_2TIE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(12432), i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN8rl_tools4stepINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments14AcrobotSwingupINSR_7acrobot13SpecificationIfmNST_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSN_22ConfigApproximatorsMLPELb1EEENSI_10ParametersIfmS11_EENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEbRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(12432)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8rl_tools4freeINS_7devices3CPUINS1_3cpu13SpecificationINS1_4math3CPUENS1_6random3CPUENS1_7logging3CPUEEEEENS_2rl4loop5steps6timing6ConfigINSF_10evaluation6ConfigINSD_10algorithms3sac4loop4core6ConfigIfmSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EENSD_12environments14AcrobotSwingupINSR_7acrobot13SpecificationIfmNST_14EasyParametersIfEEEEEE20LOOP_CORE_PARAMETERSNSN_22ConfigApproximatorsMLPELb1EEENSI_10ParametersIfmS11_EENSR_7DummyUIEEENSG_10ParametersImLm1EEEEEEEvRT_RNSG_5StateIT0_NS1C_4NEXT5StateINS1C_4NEXTEEEEE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(12432)) local_unnamed_addr #4

; 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 norecurse 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 = { 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 #5 = { 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