Home
last modified time | relevance | path

Searched refs:ICP (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/
H A Dicp_invoke.ll22 ; ICP: [[CMP_IC1:%[0-9]+]] = icmp eq ptr %tmp, @_ZL4bar1v
24 ; ICP:[[TRUE_LABEL_IC1]]:
25 ; ICP: invoke void @_ZL4bar1v()
27 ; ICP:[[FALSE_LABEL_IC1]]:
31 ; ICP:[[DCALL_NORMAL_DEST_IC1]]:
32 ; ICP: br label %try.cont
52 ; ICP:[[TRUE_LABEL_IC2]]:
55 ; ICP:[[FALSE_LABEL_IC2]]:
56 ; ICP: [[RESULT_IC2_1:%.+]] = invoke i32 %tmp6()
61 ; ICP:[[MERGE_BB]]:
[all …]
H A Dicp_invoke_nouse.ll1 ; RUN: opt < %s -icp-lto -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICP
21 ; ICP: [[CMP_IC1:%[0-9]+]] = icmp eq ptr %fptr, @_ZL4bar1v
22 ; ICP: br i1 [[CMP_IC1]], label %[[TRUE_LABEL_IC1:.*]], label %[[FALSE_LABEL_IC1:.*]], !prof [[BRA…
23 ; ICP:[[TRUE_LABEL_IC1]]:
24 ; ICP: invoke i32 @_ZL4bar1v()
25 ; ICP: to label %[[DCALL_NORMAL_DEST_IC1:.*]] unwind label %lpad
26 ; ICP:[[FALSE_LABEL_IC1]]:
30 ; ICP:[[DCALL_NORMAL_DEST_IC1]]:
31 ; ICP: br label %cleanup
49 ; ICP-NOT: %[0-9]+ = phi
H A Dthinlto_samplepgo_icp.ll7 ; by ICP. Note that the GUID in the profile is from the oroginal name.
/llvm-project-15.0.7/bolt/test/X86/
H A Dicp-inline.s1 # This test verifies the effect of -icp-inline option: that ICP is only
21 # Without -icp-inline option, ICP is performed
25 # RUN: | FileCheck %s --check-prefix=CHECK-NO-ICP-INLINE
26 # CHECK-NO-ICP-INLINE: Binary Function "main" after indirect-call-promotion
27 # CHECK-NO-ICP-INLINE: callq bar
28 # CHECK-NO-ICP-INLINE: End of Function "main"
34 # RUN: --data %t.fdata | FileCheck %s --check-prefix=CHECK-ICP-INLINE
35 # CHECK-ICP-INLINE: Binary Function "main" after indirect-call-promotion
36 # CHECK-ICP-INLINE: callq *(%rcx,%rax,8)
37 # CHECK-ICP-INLINE-NOT: callq bar
[all …]
H A Djump-table-icp.test21 BOLT-INFO: ICP total indirect callsites = 0
22 BOLT-INFO: ICP total jump table callsites = 2
23 BOLT-INFO: ICP total number of calls = 2137
24 BOLT-INFO: ICP percentage of calls that are indirect = 0.0%
25 BOLT-INFO: ICP percentage of indirect calls that can be optimized = 0.0%
26 BOLT-INFO: ICP percentage of indirect calls that are optimized = 0.0%
27 BOLT-INFO: ICP percentage of jump table calls that can be optimized = 17.7%
28 BOLT-INFO: ICP percentage of jump table calls that are optimized = 100.0%
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dcsspgo-inline-icall.ll1 …e-hotness=1 -pass-remarks=sample-profile -S -o /dev/null 2>&1 | FileCheck -check-prefix=ICP-ALL %s
2 …ple-profile -sample-profile-inline-size=0 -S -o /dev/null 2>&1 | FileCheck -check-prefix=ICP-HOT %s
4 …ple-profile -sample-profile-inline-size=0 -S -o /dev/null 2>&1 | FileCheck -check-prefix=ICP-HOT %s
58 ; ICP-ALL: remark: test.cc:4:0: '_Z3foov' inlined into 'test'
59 ; ICP-ALL-NEXT: remark: test.cc:4:0: '_Z3barv' inlined into 'test'
60 ; ICP-ALL-NEXT: remark: test.cc:5:0: '_Z3bazv' inlined into 'test'
61 ; ICP-ALL-NOT: remark
63 ; ICP-HOT: remark: test.cc:4:0: '_Z3foov' inlined into 'test'
64 ; ICP-HOT-NOT: remark
/llvm-project-15.0.7/bolt/lib/Passes/
H A DIndirectCallPromotion.cpp32 extern cl::opt<IndirectCallPromotionType> ICP;
188 const IndirectCallProfile &ICP) in Callsite() argument
189 : From(BF.getSymbol()), To(ICP.Offset), Mispreds(ICP.Mispreds), in Callsite()
190 Branches(ICP.Count) { in Callsite()
191 if (ICP.Symbol) { in Callsite()
192 To.Sym = ICP.Symbol; in Callsite()
1129 if (opts::ICP == ICP_NONE) in runOnFunctions()
1134 const bool OptimizeCalls = (opts::ICP == ICP_CALLS || opts::ICP == ICP_ALL); in runOnFunctions()
1136 (opts::ICP == ICP_JUMP_TABLES || opts::ICP == ICP_ALL); in runOnFunctions()
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Ddevirt-after-icp.ll24 ; return a->foo(); // ICP profile says most calls are to B::foo()
31 ; After the compile step, which will perform ICP and a round of inlining, we
87 ; This is the compare instruction inserted by ICP
102 ; inlined from B::foo() after ICP introduced the guarded promotion.
H A Ddevirt_check.ll80 ; In particular, if left on the fallback indirect call ICP may perform an
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryFunctionProfile.cpp30 cl::opt<IndirectCallPromotionType> ICP(
43 cl::aliasopt(ICP));
170 if (opts::ICP < ICP_JUMP_TABLES && opts::JumpTables < JTS_AGGRESSIVE) in postProcessProfile()
/llvm-project-15.0.7/llvm/test/LTO/Resolution/X86/
H A Dload-sample-prof-icp.ll2 ; down to the ICP correctly.
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DIndirectCallPromotion.h121 Callsite(BinaryFunction &BF, const IndirectCallProfile &ICP);
/llvm-project-15.0.7/llvm/docs/
H A DLexicon.rst165 **ICP**