Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Transforms/WholeProgramDevirt/vcp-no-this.ll
; RUN: opt -S -wholeprogramdevirt %s | FileCheck %s | ; RUN: opt -S -wholeprogramdevirt -whole-program-visibility %s | FileCheck %s | ||||
target datalayout = "e-p:64:64" | target datalayout = "e-p:64:64" | ||||
target triple = "x86_64-unknown-linux-gnu" | target triple = "x86_64-unknown-linux-gnu" | ||||
@vt1 = constant [1 x i8*] [i8* bitcast (i32 ()* @vf1 to i8*)], !type !0 | @vt1 = constant [1 x i8*] [i8* bitcast (i32 ()* @vf1 to i8*)], !type !0 | ||||
@vt2 = constant [1 x i8*] [i8* bitcast (i32 ()* @vf2 to i8*)], !type !0 | @vt2 = constant [1 x i8*] [i8* bitcast (i32 ()* @vf2 to i8*)], !type !0 | ||||
define i32 @vf1() readnone { | define i32 @vf1() readnone { | ||||
Show All 26 Lines |