Home
last modified time | relevance | path

Searched refs:instr (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/llvm-project-15.0.7/lld/ELF/
H A DAArch64ErrataFix.cpp115 return (instr & 0xbfff0000) == 0x0d000000 && isST1SingleOpcode(instr); in isST1Single()
120 return (instr & 0xbfe00000) == 0x0d800000 && isST1SingleOpcode(instr); in isST1SinglePost()
124 return isST1Multiple(instr) || isST1MultiplePost(instr) || in isST1()
125 isST1Single(instr) || isST1SinglePost(instr); in isST1()
177 return isSTPPost(instr) || isSTPOffset(instr) || isSTPPre(instr); in isSTP()
218 static uint32_t getRt(uint32_t instr) { return (instr & 0x1f); } in getRt() argument
221 static uint32_t getRn(uint32_t instr) { return (instr >> 5) & 0x1f; } in getRn() argument
239 isLoadStoreUnpriv(instr) || isLoadStoreImmediatePre(instr) || in isV8SingleRegisterNonStructureLoadStore()
275 isSTPPre(instr) || isSTPPost(instr) || isST1SinglePost(instr) || in hasWriteback()
283 return (isV8NonStructureLoad(instr) && getRt(instr) == reg) || in doesLoadStoreWriteToReg()
[all …]
H A DARMErrataFix.cpp93 uint32_t instr; member in elf::Patch657417Section
126 static bool isB(uint32_t instr) { return (instr & 0xf800d000) == 0xf0009000; } in isB() argument
128 static bool isBLX(uint32_t instr) { return (instr & 0xf800d000) == 0xf000c000; } in isBLX() argument
130 static bool isBL(uint32_t instr) { return (instr & 0xf800d000) == 0xf000d000; } in isBL() argument
133 return isBcc(instr) || isB(instr) || isBL(instr) || isBLX(instr); in is32bitBranch()
140 patchee(p), patcheeOffset(off), instr(instr), isARM(isARM) { in Patch657417Section()
159 if (isBcc(instr)) in getThumbDestAddr()
161 else if (isB(instr)) in getThumbDestAddr()
172 if (isBLX(instr)) in getThumbDestAddr()
245 uint32_t instr; member
[all …]
/llvm-project-15.0.7/compiler-rt/test/profile/Posix/
H A Dinstrprof-shared.test4 1. libt-instr.so is instrumented
22 RUN: %clang_profgen -o %t-instr-instr -L%t.d -rpath %t.d -lt-instr %S/../Inputs/instrprof-shared-m…
33 RUN: env LLVM_PROFILE_FILE=%t-instr-instr.profraw %run %t-instr-instr
34 RUN: env LLVM_PROFILE_FILE=%t-instr-no-instr1.profraw %run %t-instr-no-instr1
35 RUN: env LLVM_PROFILE_FILE=%t-instr-no-instr2.profraw %run %t-instr-no-instr2
43 RUN: llvm-profdata merge -o %t-instr-instr.profdata %t-instr-instr.profraw
60 RUN: %clang_profuse=%t-instr-instr.profdata -o %t-main-instr-instr.ll -S -emit-llvm %S/../Inputs/in…
63 RUN: %clang_profuse=%t-instr-instr.profdata -o %t-lib-instr-instr.ll -S -emit-llvm %S/../Inputs/ins…
66 RUN: %clang_profuse=%t-instr-instr.profdata -o %t-lib-instr-instr.ll -S -emit-llvm %S/../Inputs/ins…
68 RUN: diff %t-main-instr-no-instr1.ll %t-main-instr-no-instr2.ll
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-profdata/
H A Dweight-instr.test4 RUN: llvm-profdata merge -instr -weighted-input=1,%p/Inputs/weight-instr-bar.profdata -weighted-inp…
5 RUN: llvm-profdata show -instr -all-functions %t > %t.out1
10 RUN: llvm-profdata merge -instr -weighted-input=1,%p/Inputs/weight-instr-bar.profdata %p/Inputs/wei…
11 RUN: llvm-profdata show -instr -all-functions %t > %t.out2
39 RUN: llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-inp…
40 RUN: llvm-profdata show -instr -all-functions %t > %t.out3
68 … not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-in…
69 …not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-inp…
70 … not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-in…
71 …: not llvm-profdata merge -instr -weighted-input=3,%p/Inputs/weight-instr-bar.profdata -weighted-i…
[all …]
H A Doverflow-instr.test4 RUN: llvm-profdata merge -instr %p/Inputs/overflow-instr.proftext %p/Inputs/overflow-instr.proftext…
5 RUN: llvm-profdata show -instr -all-functions -counts %t.out | FileCheck %s --check-prefix=SHOW_OVE…
11 RUN: llvm-profdata merge -instr %p/Inputs/overflow-instr.proftext -o %t.out 2>&1 | FileCheck %s -ch…
12 RUN: llvm-profdata show -instr -all-functions -counts %t.out | FileCheck %s --check-prefix=SHOW_NO_…
/llvm-project-15.0.7/llvm/utils/
H A Dcodegen-diff13 my ($addr, $bytes, $instr) = ($1, $2, $4);
16 $instr =~ s/\s*(.*\S)\s*/$1/;
17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr});
18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG;
33 my ($addr, $bytes, $instr) = ($1, $3, $2);
37 $instr =~ s/\s*(.*\S)\s*/$1/;
38 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr});
39 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG;
43 my ($addr, $bytes, $instr) = ($got_addr, $2, $1);
47 $instr =~ s/\s*(.*\S)\s*/$1/;
[all …]
/llvm-project-15.0.7/llvm/test/Other/
H A Dnew-pm-cspgo.ll4 …r -passes='default<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-noncs.profdata' -cspgo-…
5 …='thinlto-pre-link<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-noncs.profdata' -cspgo-…
6 …r -passes='thinlto<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-noncs.profdata' -cspgo-…
7 …sses='lto-pre-link<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-noncs.profdata' -cspgo-…
8 …nager -passes='lto<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-noncs.profdata' -cspgo-…
20 …ger -passes='default<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-cs.profdata' -cspgo-k…
21 …es='thinlto-pre-link<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-cs.profdata' -cspgo-k…
22 …ger -passes='thinlto<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-cs.profdata' -cspgo-k…
23 …sses='lto-pre-link<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-noncs.profdata' -cspgo-…
24 …manager -passes='lto<O2>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t-cs.profdata' -cspgo-k…
H A Dnew-pm-pgo-O0.ll1 ; RUN: opt -debug-pass-manager -passes='default<O0>' -pgo-kind=pgo-instr-gen-pipeline -profile-file…
3 ; RUN: opt -debug-pass-manager -passes='default<O0>' -pgo-kind=pgo-instr-use-pipeline -profile-file…
4 ; RUN: opt -debug-pass-manager -passes='thinlto-pre-link<O0>' -pgo-kind=pgo-instr-use-pipeline -pro…
6 ; RUN: opt -debug-pass-manager -passes='lto-pre-link<O0>' -pgo-kind=pgo-instr-use-pipeline -profile…
8 ; RUN: opt -debug-pass-manager -passes='thinlto<O0>' -pgo-kind=pgo-instr-use-pipeline -profile-file…
10 ; RUN: opt -debug-pass-manager -passes='lto<O0>' -pgo-kind=pgo-instr-use-pipeline -profile-file='%t…
/llvm-project-15.0.7/openmp/runtime/tools/
H A Dcheck-instruction-set.pl48 my ( $instr, $args ) = @_;
51 return ( defined( $instr ) and $instr =~ $mic_bad_re );
53 return ( defined( $instr ) and $instr =~ $mic_bad_re or defined( $args ) and $args =~ m{xmm}i );
110 my ( $instr, $args ) = @_;
111 return ( defined( $instr ) and $instr =~ $ia32_bad_re );
152 my ( $addr, $dump, $instr, $args ) = ( $1, $2, $3, $4 );
154 if ( bad_instr( $instr, $args ) ) {
/llvm-project-15.0.7/clang/test/Profile/
H A DREADME2 the -fprofile-instr-generate and -fprofile-instr-use driver flags.
6 - the generation of instrumentation (-fprofile-instr-generate), and
7 - the use of profile data from instrumented runs (-fprofile-instr-use).
9 In order to test -fprofile-instr-use without actually running an instrumented
13 -fprofile-instr-generate and running the resulting program generates the same
14 .profdata file that is consumed by the tests for -fprofile-instr-use. Even
15 tests that only check -fprofile-instr-use should include such a main function,
/llvm-project-15.0.7/llvm/test/tools/llvm-remark-size-diff/
H A Djson-add-remove-func.test1 RUN: llvm-remark-size-diff %p/Inputs/1-func-1-instr-1-stack.yaml %p/Inputs/2-identical-func-1-instr…
2 RUN: llvm-remark-size-diff %p/Inputs/2-identical-func-1-instr-1-stack.yaml %p/Inputs/1-func-1-instr…
4 ; The "two-identical-one-instr-funcs" file contains a single-instruction
8 ; ADD: "A":{{.*}}1-func-1-instr-1-stack.yaml
9 ; ADD-NEXT: "B":{{.*}}2-identical-func-1-instr-1-stack.yaml
34 ; REMOVE: "A":{{.*}}2-identical-func-1-instr-1-stack.yaml
35 ; REMOVE-NEXT: "B":{{.*}}1-func-1-instr-1-stack.yaml
H A Djson-increase-decrease-inst-count.test1 RUN: llvm-remark-size-diff %p/Inputs/1-func-1-instr-1-stack.yaml %p/Inputs/1-func-2-instr-2-stack.y…
2 RUN: llvm-remark-size-diff %p/Inputs/1-func-2-instr-2-stack.yaml %p/Inputs/1-func-1-instr-1-stack.y…
7 ; INCREASE: "A":{{.*}}1-func-1-instr-1-stack.yaml
8 ; INCREASE-NEXT: "B":{{.*}}1-func-2-instr-2-stack.yaml
24 ; DECREASE: "A":{{.*}}1-func-2-instr-2-stack.yaml
25 ; DECREASE-NEXT: "B":{{.*}}1-func-1-instr-1-stack.yaml
H A Dadd-remove-func.test1 RUN: llvm-remark-size-diff %p/Inputs/1-func-1-instr-1-stack.yaml %p/Inputs/2-identical-func-1-instr…
2 RUN: llvm-remark-size-diff %p/Inputs/2-identical-func-1-instr-1-stack.yaml %p/Inputs/1-func-1-instr…
4 ; The "two-identical-one-instr-funcs" file contains a single-instruction
H A Djson-no-difference.test1 RUN: llvm-remark-size-diff %p/Inputs/1-func-1-instr-1-stack.yaml %p/Inputs/1-func-1-instr-1-stack.y…
4 ; CHECK: "A":{{.*}}1-func-1-instr-1-stack.yaml
5 ; CHECK-NEXT: "B":{{.*}}1-func-1-instr-1-stack.yaml
H A Dincrease-decrease-inst-count.test1 RUN: llvm-remark-size-diff %p/Inputs/1-func-1-instr-1-stack.yaml %p/Inputs/1-func-2-instr-2-stack.y…
2 RUN: llvm-remark-size-diff %p/Inputs/1-func-2-instr-2-stack.yaml %p/Inputs/1-func-1-instr-1-stack.y…
/llvm-project-15.0.7/llvm/test/DebugInfo/MIR/InstrRef/
H A Dx86-lea-fixup.mir6 # and check that any debug-instr-number attached to the original instruction
25 $ebp = LEA64_32r killed $rbp, 1, killed $rax, 0, $noreg, debug-instr-number 1
26 ; COREI7: ADD32rr {{.*}} debug-instr-number 2
49 … renamable $ecx = nsw LEA64_32r renamable $rdi, 8, renamable $rdi, 42, $noreg, debug-instr-number 1
50 ; HASWELL: ADD32ri8 {{.*}} debug-instr-number 3
51 …renamable $eax = nsw LEA64_32r killed renamable $rdi, 4, renamable $rdi, 2, $noreg, debug-instr-nu…
52 ; HASWELL: ADD32ri8 {{.*}} debug-instr-number 4
73 ; ATOM: LEA64_32r {{.*}} debug-instr-number 2
107 ; CHECK-NOT: debug-instr-number
109 ; CHECK-NOT: debug-instr-number
[all …]
H A Dx86-fp-stackifier-drop-locations.mir1 … -o - -experimental-debug-variable-locations | FileCheck %s --implicit-check-not=debug-instr-number
3 # The x87 FP instructions below have debug instr numbers attached -- but the
8 …csr_32, implicit $esp, implicit $ssp, implicit-def $esp, implicit-def $ssp, debug-instr-number 101,
142 … $noreg, killed renamable $fp0, implicit-def $fpsw, implicit $fpcw, debug-instr-number 2 :: (store…
144 …reg, 0, $noreg, renamable $fp1, implicit-def $fpsw, implicit $fpcw, debug-instr-number 4 :: (store…
152 …implicit $esp, implicit $ssp, implicit-def $esp, implicit-def $ssp, debug-instr-number 101, debug-…
156 …icit $ssp, implicit-def $esp, implicit-def $ssp, implicit-def $fp0, debug-instr-number 100, debug-…
167 …%stack.2, 1, $noreg, 0, $noreg, implicit-def $fpsw, implicit $fpcw, debug-instr-number 11 :: (load…
170 …p2, killed renamable $fp1, implicit-def dead $fpsw, implicit $fpcw, debug-instr-number 14, debug-l…
173 …%stack.0, 1, $noreg, 0, $noreg, implicit-def $fpsw, implicit $fpcw, debug-instr-number 16 :: (load…
[all …]
H A Dx86-lea-fixup-2.mir19 ; CHECK: $eax = ADD32ri8 {{.*}} debug-instr-number 2
20 $eax = LEA32r killed $eax, 1, killed $ebp, -5, $noreg, debug-instr-number 1
39 ; CHECK: $ebx = ADD32rr {{.*}} debug-instr-number 2
40 $ebx = LEA32r killed $ebp, 1, $ebp, 0, $noreg, debug-instr-number 1
58 ; CHECK: $ebx = ADD32rr {{.*}} debug-instr-number 2
59 $ebx = LEA32r $ebp, 1, $ebp, 5, $noreg, debug-instr-number 1
/llvm-project-15.0.7/llvm/test/tools/llvm-cov/
H A Duniversal_bin_wrapping_archives.test7 clang -fprofile-instr-generate -fcoverage-mapping -c obj1.c -o obj1_32.o -arch i386
8 clang -fprofile-instr-generate -fcoverage-mapping -c obj2.c -o obj2_32.o -arch i386
9 clang -fprofile-instr-generate -fcoverage-mapping -c obj1.c -o obj1_64.o -arch x86_64
10 clang -fprofile-instr-generate -fcoverage-mapping -c obj2.c -o obj2_64.o -arch x86_64
20 RUN: -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs/universal_bin_wrapping_archives …
24 RUN: -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs/universal_bin_wrapping_archives …
33 RUN: -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs/universal_bin_wrapping_archives …
37 RUN: -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs/universal_bin_wrapping_archives …
41 RUN: llvm-cov report %t.thin32.a -instr-profile %t.profdata | FileCheck %s --check-prefix=REPORT_AR…
H A Dmultithreaded-report.test5 RUN: -instr-profile %S/Inputs/multithreaded_report/main.profdata \
10 RUN: -instr-profile %S/Inputs/multithreaded_report/main.profdata \
18 RUN: -instr-profile %S/Inputs/multithreaded_report/main.profdata \
23 RUN: -instr-profile %S/Inputs/multithreaded_report/main.profdata \
31 RUN: -instr-profile %S/Inputs/multithreaded_report/main.profdata \
36 RUN: -instr-profile %S/Inputs/multithreaded_report/main.profdata \
44 RUN: -instr-profile %S/Inputs/multithreaded_report/main.profdata \
49 RUN: -instr-profile %S/Inputs/multithreaded_report/main.profdata \
57 RUN: -instr-profile %S/Inputs/multithreaded_report/main.profdata \
62 RUN: -instr-profile %S/Inputs/multithreaded_report/main.profdata \
[all …]
H A Dcoverage_watermark.test1 RUN: not llvm-cov show --instr-profile=/dev/null -coverage-watermark=foo /dev/null 2>&1 | FileCheck…
4 RUN: not llvm-cov show --instr-profile=/dev/null -coverage-watermark=a,2 /dev/null 2>&1 | FileCheck…
7 RUN: not llvm-cov show --instr-profile=/dev/null -coverage-watermark=10,b /dev/null 2>&1 | FileChec…
10 RUN: not llvm-cov show --instr-profile=/dev/null -coverage-watermark=10,20 /dev/null 2>&1 | FileChe…
13 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateIns…
23 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateIns…
33 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateIns…
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dfold-frame-offset-using-rr.mir3 # ADDI instr: ToBeChangedReg = ADDI FrameBaseReg, OffsetAddi
4 # ADD instr: ToBeDeletedReg = ADD ToBeChangedReg(killed), ScaleReg
5 # Imm instr: Reg = op OffsetImm, ToBeDeletedReg(killed)
9 # new ADDI instr: ToBeChangedReg = ADDI FrameBaseReg, (OffsetAddi + OffsetImm)
10 # Index instr: Reg = opx ScaleReg, ToBeChangedReg(killed)
47 # There is other use for ToBeDeletedReg between ADD instr and Imm instr
65 # There is other use for ToBeChangedReg between ADDI instr and ADD instr
118 # There is other def for ToBeChangedReg between ADD instr and Imm instr
138 # There is other def for ScaleReg between ADD instr and Imm instr
/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/
H A Dselect1.ll1 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instr-select=true -S | FileCheck %s --check-prefix=GEN
2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instr-select=false -S | FileCheck %s --check-prefix=NOSE…
4 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instr-select=true -S …
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/pipeliner/
H A Dswp-phi-start.mir8 # CHECK: intregs = S2_addasl_rrri %{{[0-9]+}}, %{{[0-9]+}}, 1, post-instr-symbol <mcsymbol Stage…
9 # CHECK: intregs = L2_loadruh_io %{{[0-9]+}}, -4, post-instr-symbol <mcsymbol Stage-3_Cycle-0> :…
10 # CHECK: intregs = S2_storerh_pi %{{[0-9]+}}, -2, %{{[0-9]+}}, post-instr-symbol <mcsymbol Stage…
11 # CHECK: intregs = nsw A2_addi %{{[0-9]+}}, -1, post-instr-symbol <mcsymbol Stage-0_Cycle-0>
138 %1:intregs = PHI %7, %bb.2, %5, %bb.3, post-instr-symbol <mcsymbol Stage-3_Cycle-0>
139 %2:intregs = PHI %10, %bb.2, %4, %bb.3, post-instr-symbol <mcsymbol Stage-0_Cycle-0>
140 %3:intregs = PHI %6, %bb.2, %2, %bb.3, post-instr-symbol <mcsymbol Stage-0_Cycle-0>
141 %11:intregs = S2_addasl_rrri %7, %3, 1, post-instr-symbol <mcsymbol Stage-0_Cycle-0>
142 …%12:intregs = L2_loadruh_io %11, -4, post-instr-symbol <mcsymbol Stage-3_Cycle-0> :: (load (s16) f…
143 …%5:intregs = S2_storerh_pi %1, -2, %12, post-instr-symbol <mcsymbol Stage-3_Cycle-0> :: (store (s1…
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/X86/
H A Dinstr-symbols-and-mcsymbol-operands.mir48 …r_64, implicit $rsp, implicit $ssp, implicit $edi, pre-instr-symbol <mcsymbol .Lpre_f>, post-instr…
49 …; CHECK: CALL64pcrel32 @f, {{.*}}, pre-instr-symbol <mcsymbol .Lpre_f>, post-instr-symbol <mcsymbo…
55 …CALL64pcrel32 @g, csr_64, implicit $rsp, implicit $ssp, implicit $edi, pre-instr-symbol <mcsymbol …
56 ; CHECK: CALL64pcrel32 @g, {{.*}}, pre-instr-symbol <mcsymbol .Lpre_g>
62 …CALL64pcrel32 @h, csr_64, implicit $rsp, implicit $ssp, implicit $edi, post-instr-symbol <mcsymbol…
63 ; CHECK: CALL64pcrel32 @h, {{.*}}, post-instr-symbol <mcsymbol .Lpost_h>, debug-location

12345678910>>...16