rustc_const_eval/interpret/
mod.rs
1mod call;
4mod cast;
5mod discriminant;
6mod eval_context;
7mod intern;
8mod intrinsics;
9mod machine;
10mod memory;
11mod operand;
12mod operator;
13mod place;
14mod projection;
15mod stack;
16mod step;
17mod traits;
18mod util;
19mod validity;
20mod visitor;
21
22#[doc(no_inline)]
23pub use rustc_middle::mir::interpret::*; pub use self::call::FnArg;
26pub use self::eval_context::{InterpCx, format_interp_error};
27use self::eval_context::{from_known_layout, mir_assign_valid_types};
28pub use self::intern::{
29 HasStaticRootDefId, InternKind, InternResult, intern_const_alloc_for_constprop,
30 intern_const_alloc_recursive,
31};
32pub(crate) use self::intrinsics::eval_nullary_intrinsic;
33pub use self::machine::{AllocMap, Machine, MayLeak, ReturnAction, compile_time_machine};
34pub use self::memory::{AllocInfo, AllocKind, AllocRef, AllocRefMut, FnVal, Memory, MemoryKind};
35use self::operand::Operand;
36pub use self::operand::{ImmTy, Immediate, OpTy};
37pub use self::place::{MPlaceTy, MemPlaceMeta, PlaceTy, Writeable};
38use self::place::{MemPlace, Place};
39pub use self::projection::{OffsetMode, Projectable};
40pub use self::stack::{Frame, FrameInfo, LocalState, StackPopCleanup, StackPopInfo};
41pub(crate) use self::util::create_static_alloc;
42pub use self::validity::{CtfeValidationMode, RangeSet, RefTracking};
43pub use self::visitor::ValueVisitor;