Expand description
Various utilities to load MIR. Allow to easily load the MIR code generated by a specific pass.
Re-exportsยง
use std::panic;๐use std::panic;๐use crate::frontend as front;๐use crate::frontend::UnderOwnerState;๐use rustc_middle::mir;๐use rustc_middle::ty;๐use charon_lib::options::MirLevel;๐use super::translate_ctx::ItemTransCtx;๐use charon_lib::ast::*;๐
Functionsยง
- get_
mir_ ๐for_ def_ id_ and_ level - Query the MIR for a function at a specific level. Return
Nonein the case of a foreign body with no MIR available.