Home
last modified time | relevance | path

Searched refs:my_struct (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/test/Transforms/MemCpyOpt/
H A Daggregate-type-crash.ll7 %my_struct = type { i8, i32 }
10 declare noalias i8* @my_malloc(%my_struct*) #0
12 define void @my_func(%my_struct* %0) {
15 ; CHECK-NEXT: [[TMP1:%.*]] = load [[MY_STRUCT:%.*]], %my_struct* [[TMP0:%.*]], align 4
16 ; CHECK-NEXT: [[TMP2:%.*]] = call i8* @my_malloc(%my_struct* [[TMP0]])
17 ; CHECK-NEXT: [[TMP3:%.*]] = bitcast i8* [[TMP2]] to %my_struct*
18 ; CHECK-NEXT: store [[MY_STRUCT]] [[TMP1]], %my_struct* [[TMP3]], align 4
22 %1 = load %my_struct, %my_struct* %0
23 %2 = call i8* @my_malloc(%my_struct* %0)
24 %3 = bitcast i8* %2 to %my_struct*
[all …]
/llvm-project-15.0.7/mlir/test/Target/LLVMIR/Import/
H A Ddynamic-gep-index.ll4 %my_struct = type { %sub_struct, [4 x i32] }
6 ; CHECK: llvm.func @foo(%[[ARG0:.+]]: !llvm.ptr<struct<"my_struct", {{.+}}>>, %[[ARG1:.+]]: i32)
7 define void @foo(%my_struct* %arg, i32 %idx) {
10 %1 = getelementptr %my_struct, %my_struct* %arg, i32 0, i32 1, i32 %idx
H A Dincorrect-constexpr-inst-caching.ll7 %my_struct = type {i32, i8*}
13 ; CHECK: llvm.mlir.undef : !llvm.struct<"my_struct", (i32, ptr<i8>)>
21 ; CHECK: llvm.mlir.undef : !llvm.struct<"my_struct", (i32, ptr<i8>)>
24 ; CHECK: llvm.mlir.undef : !llvm.array<2 x struct<"my_struct", (i32, ptr<i8>)>>
30 @g = global [2 x %my_struct] [%my_struct {i32 8, i8* getelementptr ([5 x i8], [5 x i8]* @str0, i32 …
H A Dincorrect-constant-caching.ll10 %my_struct = type {i32, i8*}
16 ; CHECK: llvm.mlir.undef : !llvm.struct<"my_struct", (i32, ptr<i8>)>
24 ; CHECK: llvm.mlir.undef : !llvm.struct<"my_struct", (i32, ptr<i8>)>
27 ; CHECK: llvm.mlir.undef : !llvm.array<2 x struct<"my_struct", (i32, ptr<i8>)>>
33 @g = global [2 x %my_struct] [%my_struct {i32 8, i8* getelementptr ([5 x i8], [5 x i8]* @str0, i32 …
H A Dincorrect-instmap-assignment.ll9 %my_struct = type {i32, i32}
10 @gvar = external global %my_struct
106 %95 = load i32, i32* getelementptr inbounds (%my_struct, %my_struct* @gvar, i32 0, i32 0)
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/evaluate/
H A Dmain.cpp14 struct my_struct { struct
19 my_struct struct1 = {15}; in main() argument
20 my_struct *struct2 = new my_struct{16}; in main()
/llvm-project-15.0.7/mlir/test/Dialect/LLVMIR/
H A Ddynamic-gep-index.mlir4 // CHECK: llvm.func @foo(%[[ARG0:.+]]: !llvm.ptr<struct<"my_struct", {{.+}}>>, %[[ARG1:.+]]: i32)
5 …llvm.func @foo(%arg0: !llvm.ptr<struct<"my_struct", (struct<"sub_struct", (i32, i8)>, array<4 x i3…
9 …se<[-2147483648, 1, -2147483648]> : tensor<3xi32>} : (!llvm.ptr<struct<"my_struct", (struct<"sub_s…
/llvm-project-15.0.7/lldb/test/API/commands/expression/fixits/
H A Dmain.cpp18 struct MyStruct my_struct = {10, {20, 30}}; in main() local
19 struct MyStruct *my_pointer = &my_struct; in main()
/llvm-project-15.0.7/llvm/test/Transforms/LoopDataPrefetch/AArch64/
H A Dopt-remark.ll16 ; 4 } *my_struct;
21 ; 9 total += my_struct[i].field;
30 @my_struct = common global %struct.MyStruct* null, align 8
38 %0 = load %struct.MyStruct*, %struct.MyStruct** @my_struct, align 8, !dbg !10, !tbaa !11
H A Dopt-remark-with-hotness.ll18 ; 4 } *my_struct;
23 ; 9 total += my_struct[i].field;
32 @my_struct = common global %struct.MyStruct* null, align 8
40 %0 = load %struct.MyStruct*, %struct.MyStruct** @my_struct, align 8, !dbg !10, !tbaa !11
/llvm-project-15.0.7/llvm/test/Transforms/MetaRenamer/
H A Dexclude-names.ll1 …ename-exclude-global-prefixes=my_global -rename-exclude-struct-prefixes=my_struct -rename-exclude-…
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Ddebug-info-blocks.ll18 %2 = type <{ i8*, i32, i32, i8*, %struct.Re*, i8*, %3*, %struct.my_struct* }>
24 %struct.my_struct = type opaque
234 !127 = !DICompositeType(tag: DW_TAG_structure_type, name: "my_struct", line: 49, flags: DIFlagFwdDe…