| /llvm-project-15.0.7/llvm/test/Transforms/LoopUnroll/ |
| H A D | ignore-annotation-intrinsic-cost.ll | 4 ; Test that llvm.annotation intrinsic do not count against the loop body size 27 %annot.0 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0) 28 %annot.1 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0) 29 %annot.2 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0) 30 %annot.3 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0) 31 %annot.4 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0) 32 %annot.5 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0) 33 %annot.6 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0) 34 %annot.7 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0) 35 %annot.8 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0) [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/ |
| H A D | annotations.ll | 4 ; has !annotation metadata. 20 %c.1 = icmp ult i8* %a, %b, !annotation !0 24 %c.2 = icmp uge i8* %c, %d, !annotation !0 37 ; has !annotation metadata. 53 %c.1 = icmp ult i8* %a, %b, !annotation !0 57 %c.2 = icmp uge i8* %c, %d, !annotation !0 70 ; and OR have !annotation metadata. 88 %c.1 = icmp ult i8* %a, %b, !annotation !0 93 %c.3 = icmp uge i8* %c, %d, !annotation !0 107 ; and OR do not have !annotation metadata. [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | annotations.ll | 7 ; instruction has !annotation metadata. 13 %a.c = bitcast i8* %a to i32*, !annotation !0 14 %b.c = bitcast i8* %b to i32*, !annotation !0 15 %c = icmp uge i32* %a.c, %b.c, !annotation !0 21 ; !annotation). 27 %a.c = bitcast i8* %a to i32*, !annotation !0 28 %b.c = bitcast i8* %b to i32*, !annotation !0 34 ; with !annotation with an existing one without. 41 %res = add i32 0, %add, !annotation !0 46 ; !annotation metadata. [all …]
|
| H A D | annotation-intrinsic.ll | 4 ; This tests that llvm.annotation does not prevent load combining. 9 declare i32 @llvm.annotation.i32(i32, i8*, i8*, i32) #1 15 ; CHECK-NEXT: [[TMP1:%.*]] = call i32 @llvm.annotation.i32(i32 [[TMP0]], i8* undef, i8* undef, i… 21 %1 = call i32 @llvm.annotation.i32(i32 %0, i8* undef, i8* undef, i32 undef)
|
| H A D | assume_inevitable.ll | 13 ; CHECK-NEXT: [[LOADRES2:%.*]] = call i32 @llvm.annotation.i32(i32 [[LOADRES]], i8* getelementpt… 18 ; CHECK-NEXT: [[M_A:%.*]] = call i8* @llvm.ptr.annotation.p0i8(i8* nonnull [[M_I8]], i8* getelem… 35 …%loadres2 = call i32 @llvm.annotation.i32(i32 %loadres, i8* getelementptr inbounds ([4 x i8], [4 x… 47 …%m_a = call i8* @llvm.ptr.annotation.p0i8(i8* %m_i8, i8* getelementptr inbounds ([4 x i8], [4 x i8… 66 declare i32 @llvm.annotation.i32(i32, i8*, i8*, i32) 67 declare i8* @llvm.ptr.annotation.p0i8(i8*, i8*, i8*, i32, i8*)
|
| /llvm-project-15.0.7/llvm/test/Transforms/Util/ |
| H A D | annotation-remarks.ll | 1 ; RUN: opt -annotation-remarks -pass-remarks-missed='annotation-remarks' -disable-output -pass-rema… 3 ; RUN: opt -passes='annotation-remarks' -pass-remarks-missed='annotation-remarks' -disable-output -… 7 ; CHECK-NEXT: Pass: annotation-remarks 17 ; CHECK-NEXT: Pass: annotation-remarks 27 ; CHECK-NEXT: Pass: annotation-remarks 39 %a.addr = alloca float*, align 8, !annotation !0 40 store float* null, float** %a.addr, align 8, !annotation !1 41 store float* %a, float** %a.addr, align 8, !annotation !0 42 ret void, !annotation !0 47 %a.addr = alloca float*, align 8, !annotation !1 [all …]
|
| H A D | annotation-remarks-dbg-info.ll | 1 ; RUN: opt -annotation-remarks -pass-remarks-missed='annotation-remarks' -disable-output -pass-rema… 3 ; RUN: opt -passes='annotation-remarks' -pass-remarks-missed='annotation-remarks' -disable-output -… 7 ; the annotation summary remarks. 10 ; CHECK-NEXT: Pass: annotation-remarks 21 ; CHECK-NEXT: Pass: annotation-remarks 32 ; CHECK-NEXT: Pass: annotation-remarks 45 %a.addr = alloca float*, align 8, !dbg !16, !annotation !5 47 store float* %a, float** %a.addr, align 8, !annotation !5 48 ret void, !annotation !5 53 %a.addr = alloca float*, align 8, !annotation !6 [all …]
|
| H A D | trivial-auto-var-init-call.ll | 1 ; RUN: opt -annotation-remarks -o /dev/null -S -pass-remarks-output=%t.opt.yaml %s -pass-remarks-mi… 8 ; YAML-NEXT: Pass: annotation-remarks 29 ; YAML-NEXT: Pass: annotation-remarks 50 ; YAML-NEXT: Pass: annotation-remarks 71 ; YAML-NEXT: Pass: annotation-remarks 83 ; YAML-NEXT: Pass: annotation-remarks 103 ; YAML-NEXT: Pass: annotation-remarks 127 ; YAML-NEXT: Pass: annotation-remarks 151 ; YAML-NEXT: Pass: annotation-remarks 175 ; YAML-NEXT: Pass: annotation-remarks [all …]
|
| H A D | trivial-auto-var-init-store.ll | 1 ; RUN: opt -annotation-remarks -o /dev/null -S -pass-remarks-output=%t.opt.yaml %s -pass-remarks-mi… 9 ; YAML-NEXT: Pass: annotation-remarks 25 store i32 0, i32* %dst, !annotation !0, !dbg !DILocation(scope: !4) 34 ; YAML-NEXT: Pass: annotation-remarks 59 ; YAML-NEXT: Pass: annotation-remarks 85 ; YAML-NEXT: Pass: annotation-remarks 108 store i32 0, i32* %dst, !annotation !0, !dbg !DILocation(scope: !4) 119 store i32 0, i32* %gep, !annotation !0, !dbg !DILocation(scope: !4) 132 store i32 0, i32* %i2p, !annotation !0, !dbg !DILocation(scope: !4) 143 store i32 0, i32* %gep, !annotation !0, !dbg !DILocation(scope: !4) [all …]
|
| H A D | trivial-auto-var-init-unknown.ll | 1 ; RUN: opt -annotation-remarks -o /dev/null -S -pass-remarks-output=%t.opt.yaml %s -pass-remarks-mi… 14 ; YAML-NEXT: Pass: annotation-remarks 21 ret void, !annotation !0, !dbg !DILocation(scope: !4) 28 ; YAML-NEXT: Pass: annotation-remarks 32 call i8* @llvm.returnaddress(i32 0), !annotation !0, !dbg !DILocation(scope: !4)
|
| H A D | annotation2metadata.ll | 2 ; RUN: opt -annotation2metadata -pass-remarks-analysis='annotation-remarks' -S %s | FileCheck %s 3 ; RUN: opt -passes='annotation2metadata' -pass-remarks-analysis='annotation-remarks' -S %s | FileCh… 24 ; CHECK-NEXT: [[A_ADDR:%.*]] = alloca float*, align 8, !annotation [[GROUP1:!.+]] 25 ; CHECK-NEXT: store float* [[A:%.*]], float** [[A_ADDR]], align 8, !annotation [[GROUP1]] 26 ; CHECK-NEXT: ret void, !annotation [[GROUP1]] 50 ; CHECK-NEXT: [[A_ADDR:%.*]] = alloca float*, align 8, !annotation [[GROUP2:!.+]] 51 ; CHECK-NEXT: store float* [[A:%.*]], float** [[A_ADDR]], align 8, !annotation [[GROUP2]] 52 ; CHECK-NEXT: ret void, !annotation [[GROUP2]]
|
| /llvm-project-15.0.7/llvm/test/Bitcode/ |
| H A D | upgrade-ptr-annotation.ll | 1 ; Test upgrade of ptr.annotation intrinsics. 11 %t0 = call i8* @llvm.ptr.annotation.p0i8(i8* %arg0, i8* %arg1, i8* %arg2, i32 %arg3) 15 %t1 = call i16* @llvm.ptr.annotation.p0i16(i16* %arg0_p16, i8* %arg1, i8* %arg2, i32 %arg3) 28 %t0 = call i16* @llvm.ptr.annotation.p0i16(i16* %x, i8* undef, i8* undef, i32 undef) 29 %t1 = call i16* @llvm.ptr.annotation.p0i16(i16* %y, i8* undef, i8* undef, i32 undef) 40 declare i8* @llvm.ptr.annotation.p0i8(i8*, i8*, i8*, i32) 41 ; CHECK: declare i8* @llvm.ptr.annotation.p0i8(i8*, i8*, i8*, i32, i8*) 42 declare i16* @llvm.ptr.annotation.p0i16(i16*, i8*, i8*, i32) 43 ; CHECK: declare i16* @llvm.ptr.annotation.p0i16(i16*, i8*, i8*, i32, i8*) 44 declare i256* @llvm.ptr.annotation.p0i256(i256*, i8*, i8*, i32) [all …]
|
| H A D | upgrade-var-annotation.ll | 1 ; Test upgrade of var.annotation intrinsics. 8 call void @llvm.var.annotation(i8* %arg0, i8* %arg1, i8* %arg2, i32 %arg3) 9 ;CHECK: call void @llvm.var.annotation(i8* [[ARG0]], i8* [[ARG1]], i8* [[ARG2]], i32 [[ARG3]], i8*… 14 declare void @llvm.var.annotation(i8*, i8*, i8*, i32) 15 ; CHECK: declare void @llvm.var.annotation(i8*, i8*, i8*, i32, i8*)
|
| /llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/ |
| H A D | annotation-intrinsics.ll | 4 declare i64 @llvm.annotation.i64(i64, i8*, i8*, i32) 5 declare i8* @llvm.ptr.annotation.p0i8(i8*, i8*, i8*, i32, i8*) 7 define i64 @annotation(i64 %x) { 8 ; CHECK-LABEL: 'annotation' 9 ; CHECK-NEXT: Classifying expressions for: @annotation 10 ; CHECK-NEXT: %1 = tail call i64 @llvm.annotation.i64(i64 %x, i8* null, i8* null, i32 0) 12 ; CHECK-NEXT: Determining loop execution counts for: @annotation 14 %1 = tail call i64 @llvm.annotation.i64(i64 %x, i8* null, i8* null, i32 0) 21 ; CHECK-NEXT: %1 = call i8* @llvm.ptr.annotation.p0i8(i8* %x, i8* null, i8* null, i32 0, i8* nul… 25 %1 = call i8* @llvm.ptr.annotation.p0i8(i8* %x, i8* null, i8* null, i32 0, i8* null)
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/ |
| H A D | label-annotation.ll | 8 declare void @llvm.codeview.annotation(metadata) 13 call void @llvm.codeview.annotation(metadata !0) 23 !0 = !{!"annotation"} 27 ; CHECK: call void @llvm.codeview.annotation(metadata !0) 32 ; there is no annotation. 34 ; CHECK-NOT: call void @llvm.codeview.annotation
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/AArch64/ |
| H A D | sve-intrinsic-loadstore.ll | 9 …: [[TMP2:%.*]] = load <vscale x 4 x i32>, <vscale x 4 x i32>* [[TMP1]], align 16, !annotation !0 13 …l <vscale x 4 x i32> @llvm.aarch64.sve.ld1.nxv4i32(<vscale x 4 x i1> %1, i32* %ptr), !annotation !0 20 …: [[TMP2:%.*]] = load <vscale x 4 x i32>, <vscale x 4 x i32>* [[TMP1]], align 16, !annotation !0 26 …l <vscale x 4 x i32> @llvm.aarch64.sve.ld1.nxv4i32(<vscale x 4 x i1> %3, i32* %ptr), !annotation !0 38 …l <vscale x 4 x i32> @llvm.aarch64.sve.ld1.nxv4i32(<vscale x 4 x i1> %1, i32* %ptr), !annotation !0 54 …l <vscale x 8 x i16> @llvm.aarch64.sve.ld1.nxv8i16(<vscale x 8 x i1> %3, i16* %ptr), !annotation !0 61 …XT: store <vscale x 4 x i32> [[VEC:%.*]], <vscale x 4 x i32>* [[TMP1]], align 16, !annotation !0 65 …m.aarch64.sve.st1.nxv4i32(<vscale x 4 x i32> %vec, <vscale x 4 x i1> %1, i32* %ptr), !annotation !0 72 …XT: store <vscale x 4 x i32> [[VEC:%.*]], <vscale x 4 x i32>* [[TMP1]], align 16, !annotation !0 78 …m.aarch64.sve.st1.nxv4i32(<vscale x 4 x i32> %vec, <vscale x 4 x i1> %3, i32* %ptr), !annotation !0 [all …]
|
| /llvm-project-15.0.7/llvm/test/FileCheck/dump-input/ |
| H A D | filter.txt | 269 ; RUN: -dump-input-filter=annotation-full \ 274 ; RUN: -dump-input-filter=annotation \ 327 ; all, annotation-full => all 333 ; annotation-full, annotation => annotation-full 336 ; RUN: -dump-input-filter=annotation-full \ 337 ; RUN: -dump-input-filter=annotation \ 340 ; annotation, error => annotation 350 ; error, annotation => annotation 360 ; annotation, error => annotation 366 ; error, annotation => annotation [all …]
|
| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | annotation-metadata.ll | 5 ; CHECK: annotation must have at least one operand 6 %a.addr = alloca float*, align 8, !annotation !0 9 ret void, !annotation !1
|
| /llvm-project-15.0.7/llvm/test/Analysis/CostModel/X86/ |
| H A D | free-intrinsics.ll | 7 …el: Found an estimated cost of 0 for instruction: %a0 = call i32 @llvm.annotation.i32(i32 undef, i… 19 …Found an estimated cost of 0 for instruction: %a6 = call i8* @llvm.ptr.annotation.p0i8(i8* undef, … 20 …del: Found an estimated cost of 0 for instruction: call void @llvm.var.annotation(i8* undef, i8* u… 24 …el: Found an estimated cost of 0 for instruction: %a0 = call i32 @llvm.annotation.i32(i32 undef, i… 37 …del: Found an estimated cost of 0 for instruction: call void @llvm.var.annotation(i8* undef, i8* u… 40 %a0 = call i32 @llvm.annotation.i32(i32 undef, i8* undef, i8* undef, i32 undef) 55 %a6 = call i8* @llvm.ptr.annotation.p0i8(i8* undef, i8* undef, i8* undef, i32 undef, i8* undef) 56 call void @llvm.var.annotation(i8* undef, i8* undef, i8* undef, i32 undef, i8* undef) 60 declare i32 @llvm.annotation.i32(i32, i8*, i8*, i32) 75 declare i8* @llvm.ptr.annotation.p0i8(i8*, i8*, i8*, i32, i8*) [all …]
|
| /llvm-project-15.0.7/llvm/test/Analysis/CostModel/ |
| H A D | free-intrinsics-datalayout.ll | 9 …el: Found an estimated cost of 0 for instruction: %a0 = call i32 @llvm.annotation.i32(i32 undef, i… 21 …Found an estimated cost of 0 for instruction: %a6 = call i8* @llvm.ptr.annotation.p0i8(i8* undef, … 22 …del: Found an estimated cost of 0 for instruction: call void @llvm.var.annotation(i8* undef, i8* u… 26 …el: Found an estimated cost of 0 for instruction: %a0 = call i32 @llvm.annotation.i32(i32 undef, i… 39 …del: Found an estimated cost of 0 for instruction: call void @llvm.var.annotation(i8* undef, i8* u… 42 %a0 = call i32 @llvm.annotation.i32(i32 undef, i8* undef, i8* undef, i32 undef) 57 %a6 = call i8* @llvm.ptr.annotation.p0i8(i8* undef, i8* undef, i8* undef, i32 undef, i8* undef) 58 call void @llvm.var.annotation(i8* undef, i8* undef, i8* undef, i32 undef, i8* undef) 62 declare i32 @llvm.annotation.i32(i32, i8*, i8*, i32) 77 declare i8* @llvm.ptr.annotation.p0i8(i8*, i8*, i8*, i32, i8*) [all …]
|
| H A D | free-intrinsics-no_info.ll | 7 …el: Found an estimated cost of 0 for instruction: %a0 = call i32 @llvm.annotation.i32(i32 undef, i… 19 …Found an estimated cost of 0 for instruction: %a6 = call i8* @llvm.ptr.annotation.p0i8(i8* undef, … 20 …del: Found an estimated cost of 0 for instruction: call void @llvm.var.annotation(i8* undef, i8* u… 24 …el: Found an estimated cost of 0 for instruction: %a0 = call i32 @llvm.annotation.i32(i32 undef, i… 37 …del: Found an estimated cost of 0 for instruction: call void @llvm.var.annotation(i8* undef, i8* u… 40 %a0 = call i32 @llvm.annotation.i32(i32 undef, i8* undef, i8* undef, i32 undef) 55 %a6 = call i8* @llvm.ptr.annotation.p0i8(i8* undef, i8* undef, i8* undef, i32 undef, i8* undef) 56 call void @llvm.var.annotation(i8* undef, i8* undef, i8* undef, i32 undef, i8* undef) 60 declare i32 @llvm.annotation.i32(i32, i8*, i8*, i32) 75 declare i8* @llvm.ptr.annotation.p0i8(i8*, i8*, i8*, i32, i8*) [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/ |
| H A D | irtranslator-no-op-intrinsics.ll | 27 %call = call i8* @llvm.ptr.annotation.p0i8(i8* %arg0, i8* %arg1, i8* %arg2, i32 %arg3, i8* null) 34 define i32 @annotation(i32 %a) { 35 ; CHECK-LABEL: name: annotation 42 …%call = call i32 @llvm.annotation.i32(i32 %a, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.st… 71 declare i8* @llvm.ptr.annotation.p0i8(i8*, i8*, i8*, i32, i8*) #1 72 declare i32 @llvm.annotation.i32(i32, i8*, i8*, i32) #1
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | MarkedUpDisassembly.rst | 23 not carry semantics beyond "this text has an annotation," so consumers can 50 includes contextual tags on portions of the instruction string. An annotation 55 annotation: '<' tag-name tag-modifier-list ':' annotated-text '>' 59 The tag-name is an identifier which gives the type of the annotation. For the 70 For example, a possible annotation of an ARM load of a stack-relative location
|
| /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/ |
| H A D | hash_mismatch_metadata.ll | 4 define void @foo() !annotation !1 { 9 define void @bar() !annotation !2 {
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | typo-correction-cxx11.cpp | 55 auto &annotation = *annotations; in run() local 58 …new_annotation->Swap(&annotation); // expected-error {{use of undeclared identifier 'new_annotati… in run()
|