/external/clang/test/Analysis/inlining/ |
D | false-positive-suppression.c | 30 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/ |
D | false-positive-suppression.c | 30 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/ |
D | hlo_casting_utils_test.cc | 38 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 …]
|
D | hlo_casting_utils.h | 41 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/ |
D | sink-addrmode.ll | 15 %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 …]
|
D | sink-addrspacecast.ll | 13 %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
|
D | nonintegral.ll | 16 %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/ |
D | sink-addrmode.ll | 13 %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 …]
|
D | sink-addrspacecast.ll | 12 %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/ |
D | strip-gc-relocates.ll | 23 %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/ |
D | PositionUtils.java | 109 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/ |
D | com_github_javaparser_PositionUtils.txt | 38 …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/ |
D | socket_address_posix_unittest.cc | 52 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/ |
D | decompose.cc | 159 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/ |
D | PositionUtils.java | 104 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/ |
D | PositionUtils.java | 120 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/ |
D | driver.cc | 336 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/ |
D | rematerialize-derived-pointers.ll | 18 ; 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 ]
|
D | base-pointers-11.ll | 15 ; CHECK-DAG: [ %base_obj.relocated.casted, %loop ] 19 ; CHECK-DAG: [ %next.relocated.casted, %loop ]
|
D | relocation.ll | 18 ; 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/ |
D | bitcast-di.ll | 17 %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/ |
D | base-pointers-11.ll | 16 ; CHECK-DAG: [ %base_obj.relocated.casted, %loop ] 20 ; CHECK-DAG: [ %next.relocated.casted, %loop ]
|
D | relocation.ll | 19 ; 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/ |
D | osobject-retain-release.cpp | 330 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/ |
D | lp_bld_format_aos.c | 226 LLVMValueRef shifted, casted, scaled, masked; in lp_build_unpack_arith_rgba_aos() local 334 …casted = LLVMBuildSIToFP(builder, masked, LLVMVectorType(LLVMFloatTypeInContext(gallivm->context),… in lp_build_unpack_arith_rgba_aos() 336 …casted = 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 431 …casted = 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()
|