rust/compiler/rustc_codegen_ssa/src/traits
flip1995 e1c1d0f8c2
Add llvm.type.checked.load intrinsic
Add the intrinsic

declare {i8*, i1} @llvm.type.checked.load(i8* %ptr, i32 %offset, metadata %type)

This is used in the VFE optimization when lowering loading functions
from vtables to LLVM IR. The `metadata` is used to map the function to
all vtables this function could belong to. This ensures that functions
from vtables that might be used somewhere won't get removed.
2022-06-14 14:50:52 +02:00
..
abi.rs Feat: make cg_ssa get_param borrow the builder mutable 2021-11-23 22:30:20 -05:00
asm.rs Add codegen for global_asm! sym operands 2022-04-15 14:36:30 +01:00
backend.rs Merge new_metadata into codegen_allocator 2022-04-30 21:20:08 +02:00
builder.rs Revert "Auto merge of #92419 - erikdesjardins:coldland, r=nagisa" 2022-02-27 23:11:03 -05:00
consts.rs make memcmp return a value of c_int_width instead of i32 2022-04-02 17:21:08 -07:00
coverageinfo.rs Stabilize -Z instrument-coverage as -C instrument-coverage 2022-01-01 15:57:35 -08:00
debuginfo.rs debuginfo: Refactor debuginfo generation for types -- Rename DebugInfoMethods::create_vtable_metadata() to DebugInfoMethods::create_vtable_debuginfo() 2022-03-14 17:25:24 +01:00
declare.rs Remove DeclareMethods 2020-09-18 13:11:59 +02:00
intrinsic.rs Add llvm.type.checked.load intrinsic 2022-06-14 14:50:52 +02:00
misc.rs Always use llvm.used for coverage symbols 2021-08-21 10:08:05 +02:00
mod.rs Add codegen for global_asm! sym operands 2022-04-15 14:36:30 +01:00
statics.rs Always use llvm.used for coverage symbols 2021-08-21 10:08:05 +02:00
type_.rs Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
write.rs Remove config parameter of optimize_fat and avoid interior mutability for module 2022-04-30 20:58:42 +02:00