Searched refs:ICP (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/ |
| H A D | icp_invoke.ll | 22 ; 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 D | icp_invoke_nouse.ll | 1 ; 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 D | thinlto_samplepgo_icp.ll | 7 ; by ICP. Note that the GUID in the profile is from the oroginal name.
|
| /llvm-project-15.0.7/bolt/test/X86/ |
| H A D | icp-inline.s | 1 # 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 D | jump-table-icp.test | 21 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 D | csspgo-inline-icall.ll | 1 …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 D | IndirectCallPromotion.cpp | 32 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 D | devirt-after-icp.ll | 24 ; 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 D | devirt_check.ll | 80 ; In particular, if left on the fallback indirect call ICP may perform an
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryFunctionProfile.cpp | 30 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 D | load-sample-prof-icp.ll | 2 ; down to the ICP correctly.
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | IndirectCallPromotion.h | 121 Callsite(BinaryFunction &BF, const IndirectCallProfile &ICP);
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | Lexicon.rst | 165 **ICP**
|