search for: fatcast

Displaying 1 result from an estimated 1 matches for "fatcast".

2018 Mar 19
4
RFC: Devirtualization v2
...ce_odr void @A_A(%struct.A *) { %2 = getelementptr inbounds %struct.A, %struct.A * %0, i64 0, i32 0 store i32 (...)** bitcast (i8** getelementptr inbounds ({ [3 x i8*] }, { [3 x i8*] }* @vtable_for_A, i64 0, inrange i32 0, i64 2) to i32 (...)**), i32 (...)** * %2, align 8, !invariant.group !0 %fatcast = bitcast %struct.A* %0 to i8* %base = call i8* @llvm.strip.invariant.group(i8* %fatcast) %ptr = bitcast i8* %base to %struct.A* %3 = getelementptr inbounds %struct.A, %struct.A* %ptr, i64 0, i32 1 store i32 0, i32* %3 ret void}define linkonce_odr void @B_B(%struct.B *) { %2 = bitcast %st...