Home
last modified time | relevance | path

Searched refs:casted (Results 1 – 25 of 73) sorted by relevance

123

/llvm-project-15.0.7/clang/test/Analysis/inlining/
H A Dfalse-positive-suppression.c31 *casted = 1; in testDynCast()
39 *casted = 1; in testDynCastOrNull()
47 int *casted; in testBranch() local
63 int *casted; in testBranchReversed() local
81 *casted = 1; in testMultipleStore()
189 *casted = 1; in testDynCastOrNullOfNull()
198 *casted = 1; in testDynCastOfNull()
214 *casted = 1; in testZeroIsNotNull()
223 *casted = 1; in testTrackNull()
234 *casted = 1; in testTrackNullVariable()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/CodeGenPrepare/X86/
H A Dsink-addrmode-inseltpoison.ll15 %casted = bitcast i64* %addr to i32*
19 %v = load i32, i32* %casted, align 4
33 %casted = bitcast i64* %addr to i32*
39 %v1 = load i32, i32* %casted, align 4
47 %v2 = load i32, i32* %casted, align 4
61 %casted = bitcast i64* %addr to i32*
67 %v1 = load i32, i32* %casted, align 4
84 %casted = bitcast i64* %addr to i32*
256 %casted.loop = phi i32* [%casted, %entry], [%casted.merged, %backedge]
268 %casted.merged = phi i32* [%casted.loop, %header], [%casted.1, %if.then]
[all …]
H A Dsink-addrmode.ll15 %casted = bitcast i64* %addr to i32*
19 %v = load i32, i32* %casted, align 4
33 %casted = bitcast i64* %addr to i32*
39 %v1 = load i32, i32* %casted, align 4
47 %v2 = load i32, i32* %casted, align 4
61 %casted = bitcast i64* %addr to i32*
67 %v1 = load i32, i32* %casted, align 4
84 %casted = bitcast i64* %addr to i32*
256 %casted.loop = phi i32* [%casted, %entry], [%casted.merged, %backedge]
268 %casted.merged = phi i32* [%casted.loop, %header], [%casted.1, %if.then]
[all …]
H A Dsink-addrspacecast.ll13 %casted = addrspacecast i64* %addr to i32 addrspace(1)*
17 %v = load i32, i32 addrspace(1)* %casted, align 4
29 %casted = addrspacecast i64* %base to i32 addrspace(1)*
30 %addr = getelementptr inbounds i32, i32 addrspace(1)* %casted, i64 5
H A Dnonintegral.ll16 %casted = bitcast i64 addrspace(1)* %addr to i32 addrspace(1)*
20 %v = load i32, i32 addrspace(1)* %casted, align 4
38 %casted = bitcast i64 addrspace(1)* %addr to i32 addrspace(1)*
42 %v = load i32, i32 addrspace(1)* %casted, align 4
/llvm-project-15.0.7/llvm/test/Transforms/Util/
H A Dstrip-gc-relocates.ll23 %arg.relocated.casted = bitcast i8 addrspace(1)* %arg.relocated to i32 addrspace(1)*
24 ret i32 addrspace(1)* %arg.relocated.casted
41 %base.relocated.casted = bitcast i8 addrspace(1)* %base.relocated to i32 addrspace(1)*
42 call void @use_obj32(i32 addrspace(1)* %ptr.gep1.relocated.casted)
44 …p1i8(token %statepoint_token1, i32 1, i32 0) ; (%base.relocated.casted, %ptr.gep1.relocated.casted)
46 …ate.p1i8(token %statepoint_token1, i32 1, i32 1) ; (%base.relocated.casted, %base.relocated.casted)
47 %base.relocated3.casted = bitcast i8 addrspace(1)* %base.relocated3 to i32 addrspace(1)*
48 call void @use_obj32(i32 addrspace(1)* %ptr.gep1.relocated2.casted)
67 %arg.relocated1.casted = bitcast i8 addrspace(1)* %arg.relocated1 to i32 addrspace(1)*
68 ret i32 addrspace(1)* %arg.relocated1.casted
[all …]
/llvm-project-15.0.7/mlir/test/python/dialects/sparse_tensor/
H A Ddialect.py21 casted = st.EncodingAttr(parsed)
36 created = st.EncodingAttr.get(casted.dim_level_types, None, 16, 32)
58 casted = st.EncodingAttr(parsed)
71 created = st.EncodingAttr.get(casted.dim_level_types, casted.dim_ordering,
/llvm-project-15.0.7/llvm/test/Transforms/IROutliner/
H A Doutlining-swift-error.ll18 %casted = bitcast i64* %x to %swift.error*
19 store %swift.error* %casted, %swift.error** %err
35 %casted = bitcast i64* %x to %swift.error*
36 store %swift.error* %casted, %swift.error** %err
45 ; CHECK-NEXT: %casted = bitcast i64* [[ARG1]] to %swift.error*
46 ; CHECK-NEXT: store %swift.error* %casted, %swift.error** [[ARG2]], align 8
/llvm-project-15.0.7/llvm/test/tools/dxil-dis/
H A Dopaque-pointers.ll50 %casted = addrspacecast ptr %p to ptr addrspace(1)
51 store i64 0, ptr addrspace(1) %casted
52 %v = load i64, ptr addrspace(1) %casted
57 ; CHECK-NEXT: %casted = addrspacecast i8* %p to i64 addrspace(1)*
58 ; CHECK-NEXT: store i64 0, i64 addrspace(1)* %casted, align 8
59 ; CHECK-NEXT: %v = load i64, i64 addrspace(1)* %casted, align 8
/llvm-project-15.0.7/mlir/test/Dialect/Bufferization/Transforms/
H A Done-shot-module-bufferize-out-params.mlir20 // CHECK: %[[casted:.*]] = memref.cast %[[alloc]]
21 // CHECK: memref.copy %[[casted]], %[[arg1]]
54 // CHECK: %[[casted:.*]] = memref.cast %[[alloc]] : memref<5xf32> to memref<5xf32, #[[$map1]]>
55 // CHECK: call @callee(%[[arg0]], %[[casted]])
57 // CHECK: %[[l2:.*]] = memref.load %[[casted]]
83 // CHECK: %[[casted:.*]] = memref.cast %[[subview]]
84 // CHECK: memref.copy %[[casted]], %[[r]]
115 // CHECK: %[[casted:.*]] = memref.cast %[[alloc]] : memref<2x5xf32> to memref<2x5xf32, #[[$map2a]…
116 // CHECK: call @callee(%{{.*}}, %[[casted]])
117 // CHECK: memref.load %[[casted]]
H A Done-shot-bufferize-allow-return-allocs.mlir16 // CHECK: %[[casted:.*]] = memref.cast %[[alloc]]
18 // CHECK: scf.yield %[[casted]]
50 // CHECK: %[[casted:.*]] = memref.cast %[[alloc]]
51 // CHECK: scf.yield %[[casted]]
H A Done-shot-module-bufferize.mlir108 // CHECK-DAG: %[[casted:.*]] = memref.cast %[[alloc]]
109 // CHECK: call @private_func(%[[casted]])
195 // CHECK-DAG: %[[casted:.*]] = memref.cast %[[alloc]]
196 // CHECK: %[[call:.*]] = call @inner_func(%[[casted]])
236 // CHECK-DAG: %[[casted:.*]] = memref.cast %[[alloc]]
237 // CHECK: call @f2(%[[casted]])
261 // CHECK: %[[casted:.*]] = memref.cast %[[alloc]]
263 // CHECK: call @does_not_read(%[[casted]])
264 // CHECK: %[[r:.*]] = memref.load %[[casted]]
412 // CHECK-DAG: %[[casted:.*]] = memref.cast %[[alloc]]
[all …]
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Dbitcast-di.ll17 %casted = bitcast i64* %addr to i32*
23 %v1 = load i32, i32* %casted, align 4
34 call void @slowpath(i32 %v1, i32* %casted) ;; NOT COLD
H A Dcodegenprep-addrsink.ll18 %casted = bitcast i32 *%p to i8*
19 %arith = getelementptr i8, i8 *%casted, i32 3
/llvm-project-15.0.7/mlir/test/Dialect/SCF/
H A Dfor-loop-peeling.mlir29 %casted = arith.index_cast %s : index to i32
30 %0 = arith.addi %arg, %casted : i32
61 %casted = arith.index_cast %s : index to i32
62 %0 = arith.addi %arg, %casted : i32
100 %casted = arith.index_cast %s : index to i32
101 %0 = arith.addi %arg, %casted : i32
138 %casted = arith.index_cast %s : index to i32
139 %0 = arith.addi %r, %casted : i32
269 %casted = arith.index_cast %s : index to i32
270 %0 = arith.addi %arg1, %casted : i32
/llvm-project-15.0.7/llvm/test/Transforms/RewriteStatepointsForGC/
H A Drelocation.ll19 ; CHECK: %phi1 = phi i64 addrspace(1)* [ %obj.relocated.casted, %entry ], [ %obj3, %joint2 ]
28 ; CHECK: %phi2 = phi i64 addrspace(1)* [ %obj.relocated.casted, %use ], [ %obj2.relocated.casted, %…
29 ; CHECK: %obj3 = getelementptr i64, i64 addrspace(1)* %obj2.relocated.casted, i32 1
50 ; CHECK-DAG: [ %obj_init.relocated.casted, %loop.backedge ]
52 ; CHECK-DAG: [ %obj.relocated.casted, %loop.backedge ]
270 ; CHECK: phi i64 addrspace(1)* [ %obj.relocated.casted, %callbb ], [ %obj, %entry ]
273 ; CHECK-DAG: [ %obj2.relocated.casted, %callbb ]
H A Dliveness-basics.ll34 …ECK-NEXT: %.0 = phi i64 addrspace(1)* [ %obj.relocated.casted, %taken ], [ %obj.relocated2.casted,…
55 ; CHECK-NEXT: ret i64 addrspace(1)* %obj.relocated.casted
115 ; CHECK-NEXT: ret i64 addrspace(1)* %derived.relocated2.casted
H A Dpreprocess.ll19 ; CHECK-NEXT: @consume(i64 addrspace(1)* %obj.relocated.casted)
20 ; CHECK-NEXT: @consume(i64 addrspace(1)* %obj.relocated.casted)
/llvm-project-15.0.7/clang/test/Analysis/
H A Dosobject-retain-release.cpp327 OSArray *casted = OSDynamicCast(OSArray, other); in check_attribute_propagation() local
328 if (casted) in check_attribute_propagation()
329 return casted->getCount(); in check_attribute_propagation()
335 OSArray *casted = OSDynamicCast(OSArray, other); in check_attribute_indirect_propagation() local
336 if (casted) in check_attribute_indirect_propagation()
337 return casted->getCount(); in check_attribute_indirect_propagation()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransferSplitRewritePatterns.cpp274 Value casted = in createFullPartialLinalgCopy() local
276 scf::ValueVector viewAndIndices{casted}; in createFullPartialLinalgCopy()
327 Value casted = in createFullPartialVectorTransferRead() local
329 scf::ValueVector viewAndIndices{casted}; in createFullPartialVectorTransferRead()
372 Value casted = in getLocationToWriteFullVec() local
374 scf::ValueVector viewAndIndices{casted}; in getLocationToWriteFullVec()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dbitcast-store.ll45 %casted = bitcast i64* %x to %swift.error*
46 store %swift.error* %casted, %swift.error** %err
/llvm-project-15.0.7/llvm/test/Transforms/GlobalOpt/
H A Dglobal-demotion.ll41 ; The global is casted away to a larger type then loaded. The store only partially
55 ; The global is casted away to a smaller type then loaded. This one is fine.
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dbuiltins.cl26 // Verify that return type is correctly casted to i1 value.
60 // Verify that pointer types are properly casted, respecting address spaces.
/llvm-project-15.0.7/mlir/test/Dialect/Arithmetic/
H A Done-shot-bufferize.mlir48 // CHECK-DAG: %[[casted:.*]] = memref.cast %[[alloc]]
50 // CHECK: %[[select:.*]] = arith.select %{{.*}}, %[[casted]], %[[t2]]
/llvm-project-15.0.7/llvm/test/Transforms/SafeStack/X86/
H A Descape-casted-pointer.ll6 ; Addr-of a casted pointer

123