Home
last modified time | relevance | path

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

12345

/external/clang/test/Analysis/inlining/
Dfalse-positive-suppression.c30 int *casted = dynCastToInt(p); in testDynCast() local
31 *casted = 1; in testDynCast()
38 int *casted = dynCastOrNull(p); in testDynCastOrNull() local
39 *casted = 1; in testDynCastOrNull()
47 int *casted; in testBranch() local
52 casted = dynCastToInt(p); in testBranch()
56 casted = (int *)p; in testBranch()
59 *casted = 1; // expected-warning {{Dereference of null pointer}} in testBranch()
63 int *casted; in testBranchReversed() local
70 casted = (int *)p; in testBranchReversed()
[all …]
/external/llvm-project/clang/test/Analysis/inlining/
Dfalse-positive-suppression.c30 int *casted = dynCastToInt(p); in testDynCast() local
31 *casted = 1; in testDynCast()
38 int *casted = dynCastOrNull(p); in testDynCastOrNull() local
39 *casted = 1; in testDynCastOrNull()
47 int *casted; in testBranch() local
52 casted = dynCastToInt(p); in testBranch()
56 casted = (int *)p; in testBranch()
59 *casted = 1; // expected-warning {{Dereference of null pointer}} in testBranch()
63 int *casted; in testBranchReversed() local
70 casted = (int *)p; in testBranchReversed()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_casting_utils_test.cc38 DummyInstruction* casted = in TEST() local
40 ASSERT_EQ(casted, &instruction); in TEST()
56 DummyInstruction* casted = in TEST() local
58 ASSERT_EQ(casted, &instruction); in TEST()
69 DummyInstruction* casted = CastOrNull<DummyInstruction>(null); in TEST() local
70 ASSERT_EQ(casted, nullptr); in TEST()
75 DummyInstruction* casted = in TEST() local
77 ASSERT_EQ(casted, &instruction); in TEST()
82 DummyInstruction* casted = in TEST() local
84 ASSERT_EQ(casted, nullptr); in TEST()
[all …]
Dhlo_casting_utils.h41 const T* casted = dynamic_cast<const T*>(instruction); in Cast() local
42 CHECK(casted != nullptr); in Cast()
43 return casted; in Cast()
/external/llvm-project/llvm/test/Transforms/CodeGenPrepare/X86/
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
70 %v2 = load i32, i32* %casted, align 4
84 %casted = bitcast i64* %addr to i32*
90 %v1 = load i32, i32* %casted, align 4
[all …]
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
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
/external/llvm/test/Transforms/CodeGenPrepare/X86/
Dsink-addrmode.ll13 %casted = bitcast i64* %addr to i32*
17 %v = load i32, i32* %casted, align 4
31 %casted = bitcast i64* %addr to i32*
37 %v1 = load i32, i32* %casted, align 4
45 %v2 = load i32, i32* %casted, align 4
59 %casted = bitcast i64* %addr to i32*
65 %v1 = load i32, i32* %casted, align 4
68 %v2 = load i32, i32* %casted, align 4
82 %casted = bitcast i64* %addr to i32*
88 %v1 = load i32, i32* %casted, align 4
[all …]
Dsink-addrspacecast.ll12 %casted = addrspacecast i64* %addr to i32 addrspace(1)*
16 %v = load i32, i32 addrspace(1)* %casted, align 4
27 %casted = addrspacecast i64* %base to i32 addrspace(1)*
28 %addr = getelementptr inbounds i32, i32 addrspace(1)* %casted, i64 5
/external/llvm-project/llvm/test/Transforms/Util/
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
39 %ptr.gep1.relocated.casted = bitcast i8 addrspace(1)* %ptr.gep1.relocated to i32 addrspace(1)*
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)
43 …0) ["gc-live"(i32 addrspace(1)* %ptr.gep1.relocated.casted, i32 addrspace(1)* %base.relocated.cast…
44 …p1i8(token %statepoint_token1, i32 1, i32 0) ; (%base.relocated.casted, %ptr.gep1.relocated.casted)
45 %ptr.gep1.relocated2.casted = bitcast i8 addrspace(1)* %ptr.gep1.relocated2 to i32 addrspace(1)*
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)*
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/
DPositionUtils.java109 MethodDeclaration casted = (MethodDeclaration) node; in beginNodeWithoutConsideringAnnotations() local
110 return casted.getType(); in beginNodeWithoutConsideringAnnotations()
112 FieldDeclaration casted = (FieldDeclaration) node; in beginNodeWithoutConsideringAnnotations() local
113 return casted.getType(); in beginNodeWithoutConsideringAnnotations()
115 ClassOrInterfaceDeclaration casted = (ClassOrInterfaceDeclaration) node; in beginNodeWithoutConsideringAnnotations() local
116 return casted.getNameExpr(); in beginNodeWithoutConsideringAnnotations()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_PositionUtils.txt38 …Line 109) MethodDeclaration casted = (MethodDeclaration) node ==> com.github.javaparser.ast.body.M…
40 Line 110) casted.getType() ==> com.github.javaparser.ast.type.Type
42 …Line 112) FieldDeclaration casted = (FieldDeclaration) node ==> com.github.javaparser.ast.body.Fie…
44 Line 113) casted.getType() ==> com.github.javaparser.ast.type.Type
46 …Line 115) ClassOrInterfaceDeclaration casted = (ClassOrInterfaceDeclaration) node ==> com.github.j…
48 Line 116) casted.getNameExpr() ==> com.github.javaparser.ast.expr.NameExpr
/external/openscreen/platform/impl/
Dsocket_address_posix_unittest.cc52 struct sockaddr* casted = reinterpret_cast<struct sockaddr*>(&address); in TEST() local
53 SocketAddressPosix address_posix(*casted); in TEST()
75 struct sockaddr* casted = reinterpret_cast<struct sockaddr*>(&address); in TEST() local
76 SocketAddressPosix address_posix(*casted); in TEST()
/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/
Ddecompose.cc159 auto casted = builder.create<CastOp>(op->getLoc(), tensor_type, in RewriteUnregisteredTFOps() local
161 new_operands.push_back(casted); in RewriteUnregisteredTFOps()
165 auto casted = builder.create<CastOp>( in RewriteUnregisteredTFOps() local
167 variadic_operands.push_back(casted); in RewriteUnregisteredTFOps()
221 auto casted = builder.create<CastOp>( in RewriteUnregisteredTFOps() local
223 std::get<0>(res).replaceAllUsesWith(casted.out()); in RewriteUnregisteredTFOps()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/utils/
DPositionUtils.java104 NodeWithElementType<?> casted = (NodeWithElementType<?>) node; in beginNodeWithoutConsideringAnnotations() local
105 return casted.getElementType(); in beginNodeWithoutConsideringAnnotations()
107 ClassOrInterfaceDeclaration casted = (ClassOrInterfaceDeclaration) node; in beginNodeWithoutConsideringAnnotations() local
108 return casted.getNameExpr(); in beginNodeWithoutConsideringAnnotations()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DPositionUtils.java120 NodeWithType<?, Type> casted = (NodeWithType<?, Type>) node; in beginNodeWithoutConsideringAnnotations() local
121 return casted.getType(); in beginNodeWithoutConsideringAnnotations()
123 ClassOrInterfaceDeclaration casted = (ClassOrInterfaceDeclaration) node; in beginNodeWithoutConsideringAnnotations() local
124 return casted.getName(); in beginNodeWithoutConsideringAnnotations()
/external/tensorflow/tensorflow/compiler/xla/tools/
Ddriver.cc336 T* casted = static_cast<T*>(buffer); in FillIntT() local
339 casted[i] = distr(generator); in FillIntT()
347 T* casted = static_cast<T*>(buffer); in FillFloatT() local
350 casted[i] = distr(generator); in FillFloatT()
392 const T* casted = static_cast<const T*>(buffer); in DisplayT() local
394 std::cout << casted[i]; in DisplayT()
437 auto casted = static_cast<const void* const*>(buffer); in Display() local
440 Display(casted[tuple_idx], array_shape); in Display()
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Drematerialize-derived-pointers.ll18 ; CHECK: getelementptr i32, i32 addrspace(1)* %base.relocated.casted, i32 15
31 ; CHECK: %base.relocated.casted = bitcast i8 addrspace(1)* %base.relocated to i32 addrspace(1)*
32 ; CHECK: getelementptr i32, i32 addrspace(1)* %base.relocated.casted, i32 %idx
45 ; CHECK: %base.relocated.casted = bitcast i8 addrspace(1)* %base.relocated to i32 addrspace(1)*
46 ; CHECK: bitcast i32 addrspace(1)* %base.relocated.casted to i64 addrspace(1)*
62 ; CHECK: %base.relocated.casted = bitcast i8 addrspace(1)* %base.relocated to i32 addrspace(1)*
63 ; CHECK: bitcast i32 addrspace(1)* %base.relocated.casted to i64 addrspace(1)*
80 ; CHECK: %ptr2.relocated.casted = bitcast i8 addrspace(1)* %ptr2.relocated to i32 addrspace(1)*
82 ; CHECK: %base.relocated.casted = bitcast i8 addrspace(1)* %base.relocated to i32 addrspace(1)*
230 ; CHECK: phi i32 addrspace(1)* [ %base, %entry ], [ %base.relocated.casted, %loop ]
Dbase-pointers-11.ll15 ; CHECK-DAG: [ %base_obj.relocated.casted, %loop ]
19 ; CHECK-DAG: [ %next.relocated.casted, %loop ]
Drelocation.ll18 ; CHECK: %phi1 = phi i64 addrspace(1)* [ %obj.relocated.casted, %entry ], [ %obj3, %joint2 ]
27 ; CHECK: %phi2 = phi i64 addrspace(1)* [ %obj.relocated.casted, %use ], [ %obj2.relocated.casted, %…
28 ; CHECK: %obj3 = getelementptr i64, i64 addrspace(1)* %obj2.relocated.casted, i32 1
49 ; CHECK-DAG: [ %obj_init.relocated.casted, %loop.backedge ]
51 ; CHECK-DAG: [ %obj.relocated.casted, %loop.backedge ]
263 ; CHECK: phi i64 addrspace(1)* [ %obj.relocated.casted, %callbb ], [ %obj, %entry ]
266 ; CHECK-DAG: [ %obj2.relocated.casted, %callbb ]
/external/llvm-project/llvm/test/DebugInfo/X86/
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
/external/llvm-project/llvm/test/Transforms/RewriteStatepointsForGC/
Dbase-pointers-11.ll16 ; CHECK-DAG: [ %base_obj.relocated.casted, %loop ]
20 ; CHECK-DAG: [ %next.relocated.casted, %loop ]
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 ]
/external/llvm-project/clang/test/Analysis/
Dosobject-retain-release.cpp330 OSArray *casted = OSDynamicCast(OSArray, other); in check_attribute_propagation() local
331 if (casted) in check_attribute_propagation()
332 return casted->getCount(); in check_attribute_propagation()
338 OSArray *casted = OSDynamicCast(OSArray, other); in check_attribute_indirect_propagation() local
339 if (casted) in check_attribute_indirect_propagation()
340 return casted->getCount(); in check_attribute_indirect_propagation()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_aos.c226 LLVMValueRef shifted, casted, scaled, masked; in lp_build_unpack_arith_rgba_aos() local
334casted = LLVMBuildSIToFP(builder, masked, LLVMVectorType(LLVMFloatTypeInContext(gallivm->context),… in lp_build_unpack_arith_rgba_aos()
336casted = LLVMBuildUIToFP(builder, masked, LLVMVectorType(LLVMFloatTypeInContext(gallivm->context),… in lp_build_unpack_arith_rgba_aos()
347 scaled = LLVMBuildFMul(builder, casted, LLVMConstVector(scales, 4), ""); in lp_build_unpack_arith_rgba_aos()
349 scaled = casted; in lp_build_unpack_arith_rgba_aos()
372 LLVMValueRef shifted, casted, scaled, unswizzled; in lp_build_pack_rgba_aos() local
431casted = LLVMBuildFPToSI(builder, scaled, LLVMVectorType(LLVMInt32TypeInContext(gallivm->context),… in lp_build_pack_rgba_aos()
433 shifted = LLVMBuildShl(builder, casted, LLVMConstVector(shifts, 4), ""); in lp_build_pack_rgba_aos()

12345