Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/ThinLTO/X86/devirt2.ll
Show All 30 Lines | |||||
; NOENABLESPLITFLAG-DAG: [[D:\^[0-9]+]] = gv: (name: "_ZTV1D", {{.*}} vTableFuncs: ((virtFunc: [[Dm]], offset: 16)), refs: ([[Dm]]) | ; NOENABLESPLITFLAG-DAG: [[D:\^[0-9]+]] = gv: (name: "_ZTV1D", {{.*}} vTableFuncs: ((virtFunc: [[Dm]], offset: 16)), refs: ([[Dm]]) | ||||
; NOENABLESPLITFLAG-DAG: typeidCompatibleVTable: (name: "_ZTS1A", summary: ((offset: 16, [[B]]), (offset: 16, [[C]]))) | ; NOENABLESPLITFLAG-DAG: typeidCompatibleVTable: (name: "_ZTS1A", summary: ((offset: 16, [[B]]), (offset: 16, [[C]]))) | ||||
; NOENABLESPLITFLAG-DAG: typeidCompatibleVTable: (name: "_ZTS1B", summary: ((offset: 16, [[B]]))) | ; NOENABLESPLITFLAG-DAG: typeidCompatibleVTable: (name: "_ZTS1B", summary: ((offset: 16, [[B]]))) | ||||
; NOENABLESPLITFLAG-DAG: typeidCompatibleVTable: (name: "_ZTS1C", summary: ((offset: 16, [[C]]))) | ; NOENABLESPLITFLAG-DAG: typeidCompatibleVTable: (name: "_ZTS1C", summary: ((offset: 16, [[C]]))) | ||||
; NOENABLESPLITFLAG-DAG: typeidCompatibleVTable: (name: "_ZTS1D", summary: ((offset: 16, [[D]]))) | ; NOENABLESPLITFLAG-DAG: typeidCompatibleVTable: (name: "_ZTS1D", summary: ((offset: 16, [[D]]))) | ||||
; Legacy PM, Index based WPD | ; Legacy PM, Index based WPD | ||||
; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -pass-remarks=. \ | ; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -pass-remarks=. \ | ||||
; RUN: -whole-program-visibility \ | |||||
; RUN: -wholeprogramdevirt-print-index-based \ | ; RUN: -wholeprogramdevirt-print-index-based \ | ||||
; RUN: -o %t5 \ | ; RUN: -o %t5 \ | ||||
; RUN: -r=%t3.o,test,px \ | ; RUN: -r=%t3.o,test,px \ | ||||
; RUN: -r=%t3.o,_ZTV1B, \ | ; RUN: -r=%t3.o,_ZTV1B, \ | ||||
; RUN: -r=%t3.o,_ZTV1C, \ | ; RUN: -r=%t3.o,_ZTV1C, \ | ||||
; RUN: -r=%t3.o,_ZTV1D, \ | ; RUN: -r=%t3.o,_ZTV1D, \ | ||||
; RUN: -r=%t3.o,_ZN1D1mEi, \ | ; RUN: -r=%t3.o,_ZN1D1mEi, \ | ||||
; RUN: -r=%t3.o,test2, \ | ; RUN: -r=%t3.o,test2, \ | ||||
; RUN: -r=%t4.o,_ZN1B1fEi,p \ | ; RUN: -r=%t4.o,_ZN1B1fEi,p \ | ||||
; RUN: -r=%t4.o,_ZN1C1fEi,p \ | ; RUN: -r=%t4.o,_ZN1C1fEi,p \ | ||||
; RUN: -r=%t4.o,_ZN1D1mEi,p \ | ; RUN: -r=%t4.o,_ZN1D1mEi,p \ | ||||
; RUN: -r=%t4.o,test2,px \ | ; RUN: -r=%t4.o,test2,px \ | ||||
; RUN: -r=%t4.o,_ZTV1B,px \ | ; RUN: -r=%t4.o,_ZTV1B,px \ | ||||
; RUN: -r=%t4.o,_ZTV1C,px \ | ; RUN: -r=%t4.o,_ZTV1C,px \ | ||||
; RUN: -r=%t4.o,_ZTV1D,px \ | ; RUN: -r=%t4.o,_ZTV1D,px \ | ||||
; RUN: -r=%t4.o,_ZTV1E,px 2>&1 | FileCheck %s --check-prefix=REMARK --check-prefix=PRINT | ; RUN: -r=%t4.o,_ZTV1E,px 2>&1 | FileCheck %s --check-prefix=REMARK --check-prefix=PRINT | ||||
; RUN: llvm-dis %t5.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR1 | ; RUN: llvm-dis %t5.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR1 | ||||
; RUN: llvm-dis %t5.2.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR2 | ; RUN: llvm-dis %t5.2.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR2 | ||||
; RUN: llvm-nm %t5.1 | FileCheck %s --check-prefix=NM-INDEX1 | ; RUN: llvm-nm %t5.1 | FileCheck %s --check-prefix=NM-INDEX1 | ||||
; RUN: llvm-nm %t5.2 | FileCheck %s --check-prefix=NM-INDEX2 | ; RUN: llvm-nm %t5.2 | FileCheck %s --check-prefix=NM-INDEX2 | ||||
; New PM, Index based WPD | ; New PM, Index based WPD | ||||
; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -use-new-pm -pass-remarks=. \ | ; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -use-new-pm -pass-remarks=. \ | ||||
; RUN: -whole-program-visibility \ | |||||
; RUN: -wholeprogramdevirt-print-index-based \ | ; RUN: -wholeprogramdevirt-print-index-based \ | ||||
; RUN: -o %t5 \ | ; RUN: -o %t5 \ | ||||
; RUN: -r=%t3.o,test,px \ | ; RUN: -r=%t3.o,test,px \ | ||||
; RUN: -r=%t3.o,_ZTV1B, \ | ; RUN: -r=%t3.o,_ZTV1B, \ | ||||
; RUN: -r=%t3.o,_ZTV1C, \ | ; RUN: -r=%t3.o,_ZTV1C, \ | ||||
; RUN: -r=%t3.o,_ZTV1D, \ | ; RUN: -r=%t3.o,_ZTV1D, \ | ||||
; RUN: -r=%t3.o,_ZN1D1mEi, \ | ; RUN: -r=%t3.o,_ZN1D1mEi, \ | ||||
; RUN: -r=%t3.o,test2, \ | ; RUN: -r=%t3.o,test2, \ | ||||
Show All 17 Lines | |||||
; NM-INDEX2-DAG: T _ZN1A1nEi.llvm. | ; NM-INDEX2-DAG: T _ZN1A1nEi.llvm. | ||||
; NM-INDEX2-DAG: T _ZN1E1mEi.llvm. | ; NM-INDEX2-DAG: T _ZN1E1mEi.llvm. | ||||
; NM-INDEX2-DAG: W _ZN1D1mEi | ; NM-INDEX2-DAG: W _ZN1D1mEi | ||||
; NM-INDEX2-DAG: t _ZN1B1fEi | ; NM-INDEX2-DAG: t _ZN1B1fEi | ||||
; NM-INDEX2-DAG: t _ZN1C1fEi | ; NM-INDEX2-DAG: t _ZN1C1fEi | ||||
; Index based WPD, distributed backends | ; Index based WPD, distributed backends | ||||
; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -use-new-pm \ | ; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -use-new-pm \ | ||||
; RUN: -whole-program-visibility \ | |||||
; RUN: -thinlto-distributed-indexes -wholeprogramdevirt-print-index-based \ | ; RUN: -thinlto-distributed-indexes -wholeprogramdevirt-print-index-based \ | ||||
; RUN: -o %t5 \ | ; RUN: -o %t5 \ | ||||
; RUN: -r=%t3.o,test,px \ | ; RUN: -r=%t3.o,test,px \ | ||||
; RUN: -r=%t3.o,_ZTV1B, \ | ; RUN: -r=%t3.o,_ZTV1B, \ | ||||
; RUN: -r=%t3.o,_ZTV1C, \ | ; RUN: -r=%t3.o,_ZTV1C, \ | ||||
; RUN: -r=%t3.o,_ZTV1D, \ | ; RUN: -r=%t3.o,_ZTV1D, \ | ||||
; RUN: -r=%t3.o,_ZN1D1mEi, \ | ; RUN: -r=%t3.o,_ZN1D1mEi, \ | ||||
; RUN: -r=%t3.o,test2, \ | ; RUN: -r=%t3.o,test2, \ | ||||
; RUN: -r=%t4.o,_ZN1B1fEi,p \ | ; RUN: -r=%t4.o,_ZN1B1fEi,p \ | ||||
; RUN: -r=%t4.o,_ZN1C1fEi,p \ | ; RUN: -r=%t4.o,_ZN1C1fEi,p \ | ||||
; RUN: -r=%t4.o,_ZN1D1mEi,p \ | ; RUN: -r=%t4.o,_ZN1D1mEi,p \ | ||||
; RUN: -r=%t4.o,test2,px \ | ; RUN: -r=%t4.o,test2,px \ | ||||
; RUN: -r=%t4.o,_ZTV1B,px \ | ; RUN: -r=%t4.o,_ZTV1B,px \ | ||||
; RUN: -r=%t4.o,_ZTV1C,px \ | ; RUN: -r=%t4.o,_ZTV1C,px \ | ||||
; RUN: -r=%t4.o,_ZTV1D,px \ | ; RUN: -r=%t4.o,_ZTV1D,px \ | ||||
; RUN: -r=%t4.o,_ZTV1E,px 2>&1 | FileCheck %s --check-prefix=PRINT | ; RUN: -r=%t4.o,_ZTV1E,px 2>&1 | FileCheck %s --check-prefix=PRINT | ||||
; PRINT-DAG: Devirtualized call to {{.*}} (_ZN1A1nEi) | ; PRINT-DAG: Devirtualized call to {{.*}} (_ZN1A1nEi) | ||||
; PRINT-DAG: Devirtualized call to {{.*}} (_ZN1E1mEi) | ; PRINT-DAG: Devirtualized call to {{.*}} (_ZN1E1mEi) | ||||
; PRINT-DAG: Devirtualized call to {{.*}} (_ZN1D1mEi) | ; PRINT-DAG: Devirtualized call to {{.*}} (_ZN1D1mEi) | ||||
; Legacy PM | ; Legacy PM | ||||
; RUN: llvm-lto2 run %t1.o %t2.o -save-temps -pass-remarks=. \ | ; RUN: llvm-lto2 run %t1.o %t2.o -save-temps -pass-remarks=. \ | ||||
; RUN: -whole-program-visibility \ | |||||
; RUN: -o %t5 \ | ; RUN: -o %t5 \ | ||||
; RUN: -r=%t1.o,test,px \ | ; RUN: -r=%t1.o,test,px \ | ||||
; RUN: -r=%t1.o,_ZTV1B, \ | ; RUN: -r=%t1.o,_ZTV1B, \ | ||||
; RUN: -r=%t1.o,_ZTV1C, \ | ; RUN: -r=%t1.o,_ZTV1C, \ | ||||
; RUN: -r=%t1.o,_ZTV1D, \ | ; RUN: -r=%t1.o,_ZTV1D, \ | ||||
; RUN: -r=%t1.o,_ZTV1D, \ | ; RUN: -r=%t1.o,_ZTV1D, \ | ||||
; RUN: -r=%t1.o,_ZN1D1mEi, \ | ; RUN: -r=%t1.o,_ZN1D1mEi, \ | ||||
; RUN: -r=%t1.o,_ZN1D1mEi, \ | ; RUN: -r=%t1.o,_ZN1D1mEi, \ | ||||
Show All 19 Lines | |||||
; RUN: -r=%t2.o,_ZTV1E,px 2>&1 | FileCheck %s --check-prefix=REMARK | ; RUN: -r=%t2.o,_ZTV1E,px 2>&1 | FileCheck %s --check-prefix=REMARK | ||||
; RUN: llvm-dis %t5.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR1 | ; RUN: llvm-dis %t5.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR1 | ||||
; RUN: llvm-dis %t5.2.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR2 | ; RUN: llvm-dis %t5.2.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR2 | ||||
; RUN: llvm-nm %t5.1 | FileCheck %s --check-prefix=NM-HYBRID1 | ; RUN: llvm-nm %t5.1 | FileCheck %s --check-prefix=NM-HYBRID1 | ||||
; RUN: llvm-nm %t5.2 | FileCheck %s --check-prefix=NM-HYBRID2 | ; RUN: llvm-nm %t5.2 | FileCheck %s --check-prefix=NM-HYBRID2 | ||||
; New PM | ; New PM | ||||
; RUN: llvm-lto2 run %t1.o %t2.o -save-temps -use-new-pm -pass-remarks=. \ | ; RUN: llvm-lto2 run %t1.o %t2.o -save-temps -use-new-pm -pass-remarks=. \ | ||||
; RUN: -whole-program-visibility \ | |||||
; RUN: -o %t5 \ | ; RUN: -o %t5 \ | ||||
; RUN: -r=%t1.o,test,px \ | ; RUN: -r=%t1.o,test,px \ | ||||
; RUN: -r=%t1.o,_ZTV1B, \ | ; RUN: -r=%t1.o,_ZTV1B, \ | ||||
; RUN: -r=%t1.o,_ZTV1C, \ | ; RUN: -r=%t1.o,_ZTV1C, \ | ||||
; RUN: -r=%t1.o,_ZTV1D, \ | ; RUN: -r=%t1.o,_ZTV1D, \ | ||||
; RUN: -r=%t1.o,_ZTV1D, \ | ; RUN: -r=%t1.o,_ZTV1D, \ | ||||
; RUN: -r=%t1.o,_ZN1D1mEi, \ | ; RUN: -r=%t1.o,_ZN1D1mEi, \ | ||||
; RUN: -r=%t1.o,_ZN1D1mEi, \ | ; RUN: -r=%t1.o,_ZN1D1mEi, \ | ||||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |