Home
last modified time | relevance | path

Searched refs:PROM (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/llvm/test/Transforms/PGOProfile/
Dindirect_call_promotion_musttail.ll1 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
2 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
28 ; ICALL-PROM: [[CMP1:%[0-9]+]] = icmp eq i32* ()* %tmp, @func4
29 ; ICALL-PROM: br i1 [[CMP1]], label %if.true.direct_targ, label %[[L1:[0-9]+]], !prof [[BRANCH_WE…
30 ; ICALL-PROM: if.true.direct_targ:
31 ; ICALL-PROM: [[DIRCALL_RET1:%[0-9]+]] = musttail call i32* @func4()
32 ; ICALL-PROM: ret i32* [[DIRCALL_RET1]]
33 ; ICALL-PROM: [[L1]]:
34 ; ICALL-PROM: [[CMP2:%[0-9]+]] = icmp eq i32* ()* %tmp, @func2
35 ; ICALL-PROM: br i1 [[CMP2]], label %if.true.direct_targ1, label %[[L2:[0-9]+]], !prof [[BRANCH_W…
[all …]
Dicp_vararg.ll1 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
2 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
16 ; ICALL-PROM: [[CMP:%[0-9]+]] = icmp eq i32 (i32, ...)* %tmp, @va_func
17 ; ICALL-PROM: br i1 [[CMP]], label %if.true.direct_targ, label %if.false.orig_indirect, !prof [[BR…
18 ; ICALL-PROM:if.true.direct_targ:
19 ; ICALL-PROM: [[DIRCALL_RET:%[0-9]+]] = call i32 (i32, ...) @va_func(i32 3, i32 12, i32 22, i32 4)
20 ; ICALL-PROM: br label %if.end.icp
22 ; ICALL-PROM:if.false.orig_indirect:
23 ; ICALL-PROM: %call = call i32 (i32, ...) %tmp(i32 3, i32 12, i32 22, i32 4)
24 ; ICALL-PROM: br label %if.end.icp
[all …]
Dicp_covariant_call_return.ll1 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
2 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
27 ; ICALL-PROM: [[CMP:%[0-9]+]] = icmp eq %struct.Base* (%struct.B*)* %tmp3, bitcast (%struct.Derive…
28 ; ICALL-PROM: br i1 [[CMP]], label %if.true.direct_targ, label %if.false.orig_indirect, !prof [[BR…
29 ; ICALL-PROM:if.true.direct_targ:
30 ; ICALL-PROM: [[ARG_BITCAST:%[0-9]+]] = bitcast %struct.B* %tmp1 to %struct.D*
31 ; ICALL-PROM: [[DIRCALL_RET:%[0-9]+]] = call %struct.Derived* @_ZN1D4funcEv(%struct.D* [[ARG_BITCA…
32 ; ICALL-PROM: [[DIRCALL_RET_CAST:%[0-9]+]] = bitcast %struct.Derived* [[DIRCALL_RET]] to %struct.B…
33 ; ICALL-PROM: br label %if.end.icp
34 ; ICALL-PROM:if.false.orig_indirect:
[all …]
Dindirect_call_promotion.ll1 …pt < %s -pgo-icall-prom -S -icp-total-percent-threshold=50 | FileCheck %s --check-prefix=ICALL-PROM
2 …all-prom -S -icp-samplepgo -icp-total-percent-threshold=50 | FileCheck %s --check-prefix=ICALL-PROM
3 … -passes=pgo-icall-prom -S -icp-total-percent-threshold=50 | FileCheck %s --check-prefix=ICALL-PROM
46 ; ICALL-PROM: [[CMP:%[0-9]+]] = icmp eq i32 ()* %tmp, @func4
47 ; ICALL-PROM: br i1 [[CMP]], label %if.true.direct_targ, label %if.false.orig_indirect, !prof [[B…
48 ; ICALL-PROM: if.true.direct_targ:
49 ; ICALL-PROM: [[DIRCALL_RET:%[0-9]+]] = call i32 @func4()
50 ; ICALL-PROM-SAMPLEPGO: call i32 @func4(), !prof [[CALL_METADATA:![0-9]+]]
51 ; ICALL-PROM: br label %if.end.icp
53 ; ICALL-PROM: if.false.orig_indirect:
[all …]
Dicp_covariant_invoke_return.ll1 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
2 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
37 ; ICALL-PROM: [[CMP:%[0-9]+]] = icmp eq %struct.Base* (%struct.B*)* %tmp3, bitcast (%struct.Derive…
38 ; ICALL-PROM: br i1 [[CMP]], label %if.true.direct_targ, label %if.false.orig_indirect, !prof [[BR…
39 ; ICALL-PROM:if.true.direct_targ:
40 ; ICALL-PROM: [[ARG_BITCAST:%[0-9]+]] = bitcast %struct.B* %tmp1 to %struct.D*
41 ; ICALL-PROM: [[DIRCALL_RET:%[0-9]+]] = invoke %struct.Derived* @_ZN1D4funcEv(%struct.D* [[ARG_BIT…
42 ; ICALL-PROM: to label %if.true.direct_targ.if.end.icp_crit_edge unwind label %lpad
43 ; ICALL-PROM:if.true.direct_targ.if.end.icp_crit_edge:
44 ; ICALL-PROM: [[DIRCALL_RET_CAST:%[0-9]+]] = bitcast %struct.Derived* [[DIRCALL_RET]] to %struct.B…
[all …]
Dthinlto_indirect_call_promotion.ll10 ; RUN: opt %t4.bc -icp-lto -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
24 ; ICALL-PROM: br i1 %{{[0-9]+}}, label %if.true.direct_targ, label %if.false.orig_indirect, !prof…
27 ; ICALL-PROM: br i1 %{{[0-9]+}}, label %if.true.direct_targ1, label %if.false.orig_indirect2, !pr…
37 ; ICALL-PROM-NOT: !"VP"
38 ; ICALL-PROM: [[BRANCH_WEIGHT]] = !{!"branch_weights", i32 1, i32 0}
39 ; ICALL-PROM-NOT: !"VP"
Dthinlto_samplepgo_icp.ll10 ; RUN: opt %t4.bc -icp-lto -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
21 ; ICALL-PROM: br i1 %{{[0-9]+}}, label %if.true.direct_targ, label %if.false.orig_indirect
Dthinlto_samplepgo_icp3.ll15 ; RUN: llvm-dis %t3.2.4.opt.bc -o - | FileCheck %s --check-prefix=ICALL-PROM
16 ; ICALL-PROM: br i1 %{{[0-9]+}}, label %tailrecurse, label %if.false.orig_indirect,
Dthinlto_samplepgo_icp2.ll36 ; ICALL-PROM: br i1 %{{[0-9]+}}, label %if.true.direct_targ, label %if.false.orig_indirect
/external/llvm/test/Transforms/PGOProfile/
Dicp_vararg.ll1 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
2 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
16 ; ICALL-PROM: [[BITCAST:%[0-9]+]] = bitcast i32 (i32, ...)* %tmp to i8*
17 ; ICALL-PROM: [[CMP:%[0-9]+]] = icmp eq i8* [[BITCAST]], bitcast (i32 (i32, ...)* @va_func to i8*)
18 ; ICALL-PROM: br i1 [[CMP]], label %if.true.direct_targ, label %if.false.orig_indirect, !prof [[BR…
19 ; ICALL-PROM:if.true.direct_targ:
20 ; ICALL-PROM: [[DIRCALL_RET:%[0-9]+]] = call i32 (i32, ...) @va_func(i32 3, i32 12, i32 22, i32 4)
21 ; ICALL-PROM: br label %if.end.icp
23 ; ICALL-PROM:if.false.orig_indirect:
24 ; ICALL-PROM: %call = call i32 (i32, ...) %tmp(i32 3, i32 12, i32 22, i32 4)
[all …]
Dicp_covariant_call_return.ll1 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
2 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
25 ; ICALL-PROM: [[BITCAST:%[0-9]+]] = bitcast %struct.Base* (%struct.B*)* %tmp3 to i8*
26 ; ICALL-PROM: [[CMP:%[0-9]+]] = icmp eq i8* [[BITCAST]], bitcast (%struct.Derived* (%struct.D*)* @…
27 ; ICALL-PROM: br i1 [[CMP]], label %if.true.direct_targ, label %if.false.orig_indirect, !prof [[BR…
28 ; ICALL-PROM:if.true.direct_targ:
29 ; ICALL-PROM: [[ARG_BITCAST:%[0-9]+]] = bitcast %struct.B* %tmp1 to %struct.D*
30 ; ICALL-PROM: [[DIRCALL_RET:%[0-9]+]] = call %struct.Derived* @_ZN1D4funcEv(%struct.D* [[ARG_BITCA…
31 ; ICALL-PROM: [[DIRCALL_RET_CAST:%[0-9]+]] = bitcast %struct.Derived* [[DIRCALL_RET]] to %struct.B…
32 ; ICALL-PROM: br label %if.end.icp
[all …]
Dindirect_call_promotion.ll1 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
2 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
38 ; ICALL-PROM: [[BITCAST:%[0-9]+]] = bitcast i32 ()* %tmp to i8*
39 ; ICALL-PROM: [[CMP:%[0-9]+]] = icmp eq i8* [[BITCAST]], bitcast (i32 ()* @func4 to i8*)
40 ; ICALL-PROM: br i1 [[CMP]], label %if.true.direct_targ, label %if.false.orig_indirect, !prof [[B…
41 ; ICALL-PROM: if.true.direct_targ:
42 ; ICALL-PROM: [[DIRCALL_RET:%[0-9]+]] = call i32 @func4()
43 ; ICALL-PROM: br label %if.end.icp
45 ; ICALL-PROM: if.false.orig_indirect:
46 ; ICALL-PROM: %call = call i32 %tmp(), !prof [[NEW_VP_METADATA:![0-9]+]]
[all …]
Dicp_covariant_invoke_return.ll1 ; RUN: opt < %s -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
2 ; RUN: opt < %s -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM
35 ; ICALL-PROM: [[BITCAST:%[0-9]+]] = bitcast %struct.Base* (%struct.B*)* %tmp3 to i8*
36 ; ICALL-PROM: [[CMP:%[0-9]+]] = icmp eq i8* [[BITCAST]], bitcast (%struct.Derived* (%struct.D*)* @…
37 ; ICALL-PROM: br i1 [[CMP]], label %if.true.direct_targ, label %if.false.orig_indirect, !prof [[BR…
38 ; ICALL-PROM:if.true.direct_targ:
39 ; ICALL-PROM: [[ARG_BITCAST:%[0-9]+]] = bitcast %struct.B* %tmp1 to %struct.D*
40 ; ICALL-PROM: [[DIRCALL_RET:%[0-9]+]] = invoke %struct.Derived* @_ZN1D4funcEv(%struct.D* [[ARG_BIT…
41 ; ICALL-PROM: to label %if.end.icp unwind label %lpad
42 ; ICALL-PROM:if.false.orig_indirect:
[all …]
/external/llvm-project/clang/test/CodeGenOpenCL/
Dext-int-shift.cl8 // CHECK: %[[PROM:.+]] = zext i12 %{{.+}} to i32
9 // CHECK: %[[MASK:.+]] = and i32 %[[PROM]], 31
13 // CHECK: %[[PROM:.+]] = trunc i32 %{{.+}} to i12
14 // CHECK: %[[MASK:.+]] = urem i12 %[[PROM]], 12
18 // CHECK: %[[PROM:.+]] = zext i12 %{{.+}} to i32
19 // CHECK: %[[MASK:.+]] = and i32 %[[PROM]], 31
/external/ethtool/
Damd8111e.c34 PROM = (1 << 16), enumerator
208 reg & PROM ? "Enabled" : "Disabled", in amd8111e_dump_regs()