Module rustc_trans::trans::commonExperimental [-]  [+] [src]

Code that is useful in various trans modules.

Reexports

pub use self::ExprOrMethodCall::*;
pub use trans::context::CrateContext;

Structs

BlockS
BuilderRef_res
FunctionContext
NodeInfo
Result
tydesc_info

Enums

ExprOrMethodCall

Traits

AsI64
AsU64

Functions

BuilderRef_res
C_array
C_binary_slice
C_bool
C_bytes
C_bytes_in_context
C_cstr
C_floating
C_i32
C_i64
C_int
C_integral
C_named_struct
C_nil
C_null
C_str_slice
C_struct
C_struct_in_context
C_u64
C_u8
C_uint
C_undef
const_get_elt
const_to_int
const_to_uint
expr_info
expr_ty
expr_ty_adjusted
fulfill_obligation

Attempts to resolve an obligation. The result is a shallow vtable resolution -- meaning that we do not (necessarily) resolve all nested obligations on the impl. Note that type check should guarantee to us that all nested obligations could be resolved if we wanted to.

gensym_name

Generates a unique symbol based off the name given. This is used to create unique symbols for things like closures.

is_const
is_null
is_undef
langcall
monomorphize_type
node_id_substs
node_id_type
return_type_is_void

Identifies types which we declare to be equivalent to void in C for the purpose of function return types. These are (), bot, and uninhabited enums. Note that all such types are also zero-size, but not all zero-size types use a void return type (in order to aid with C ABI compatibility).

type_is_immediate
type_is_zero_size

Identify types which have size zero at runtime.

val_ty
validate_substs

Type Definitions

Block
ExternMap
LvalueDatum
RvalueDatum