/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 539 IRB.CreateIntCast(M->getArgOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic() 540 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 547 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 555 IRB.CreatePtrToInt(V, Ty) : IRB.CreateIntCast(V, Ty, false); in createIntOrPtrToIntCast() 616 IRB.CreateIntCast(RMWI->getValOperand(), Ty, false), in instrumentAtomic()
|
D | SanitizerCoverage.cpp | 471 Cond = IRB.CreateIntCast(Cond, Int64Ty, false); in InjectTraceForSwitch() 504 IRB.CreateIntCast(A0, Int64Ty, true), in InjectTraceForCmp() 505 IRB.CreateIntCast(A1, Int64Ty, true)}); in InjectTraceForCmp()
|
D | MemorySanitizer.cpp | 675 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false); in originToIntptr() 1401 setShadow(&I, IRB.CreateIntCast(getShadow(&I, 0), getShadowTy(&I), false, in visitPtrToIntInst() 1408 setShadow(&I, IRB.CreateIntCast(getShadow(&I, 0), getShadowTy(&I), false, in visitIntToPtrInst() 1437 V1 = IRB.CreateIntCast(V1, S1->getType(), false); in visitAnd() 1438 V2 = IRB.CreateIntCast(V2, S2->getType(), false); in visitAnd() 1459 V1 = IRB.CreateIntCast(V1, S1->getType(), false); in visitOr() 1460 V2 = IRB.CreateIntCast(V2, S2->getType(), false); in visitOr() 1574 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast() 1577 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast() 1582 IRB.CreateIntCast(V1, Type::getIntNTy(*MS.C, dstSizeInBits), Signed); in CreateShadowCast() [all …]
|
D | EfficiencySanitizer.cpp | 716 IRB.CreateIntCast(MI->getArgOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic() 717 IRB.CreateIntCast(MI->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 725 IRB.CreateIntCast(MI->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 475 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 486 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 498 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 503 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1), in LowerIntrinsicCall()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 466 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 477 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 488 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 493 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1), in LowerIntrinsicCall()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 479 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 490 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 502 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 507 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1), in LowerIntrinsicCall()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | kernel_tiling.cc | 165 b_->CreateIntCast(block_id, index_ty, /*isSigned=*/true, "block.id.x"); in EmitBlockIndex() 225 b_->CreateIntCast(thread_id_raw, index_ty, in EmitThreadYXCoordinate()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 661 Cond = IRB.CreateIntCast(Cond, Int64Ty, false); in InjectTraceForSwitch() 699 {IRB.CreateIntCast(A1, Ty, true)}); in InjectTraceForDiv() 710 {IRB.CreateIntCast(*I, IntptrTy, true)}); in InjectTraceForGep() 743 IRB.CreateCall(CallbackFunc, {IRB.CreateIntCast(A0, Ty, true), in InjectTraceForCmp() 744 IRB.CreateIntCast(A1, Ty, true)}); in InjectTraceForCmp()
|
D | ThreadSanitizer.cpp | 575 IRB.CreateIntCast(M->getArgOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic() 576 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 583 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 641 IRB.CreateIntCast(RMWI->getValOperand(), Ty, false), in instrumentAtomic()
|
D | MemorySanitizer.cpp | 829 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false); in originToIntptr() 1587 setShadow(&I, IRB.CreateIntCast(getShadow(&I, 0), getShadowTy(&I), false, in visitPtrToIntInst() 1594 setShadow(&I, IRB.CreateIntCast(getShadow(&I, 0), getShadowTy(&I), false, in visitIntToPtrInst() 1623 V1 = IRB.CreateIntCast(V1, S1->getType(), false); in visitAnd() 1624 V2 = IRB.CreateIntCast(V2, S2->getType(), false); in visitAnd() 1645 V1 = IRB.CreateIntCast(V1, S1->getType(), false); in visitOr() 1646 V2 = IRB.CreateIntCast(V2, S2->getType(), false); in visitOr() 1765 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast() 1768 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast() 1771 IRB.CreateIntCast(V1, Type::getIntNTy(*MS.C, dstSizeInBits), Signed); in CreateShadowCast() [all …]
|
D | EfficiencySanitizer.cpp | 730 IRB.CreateIntCast(MI->getArgOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic() 731 IRB.CreateIntCast(MI->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 739 IRB.CreateIntCast(MI->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | TruncInstCombine.cpp | 326 Res = Builder.CreateIntCast(I->getOperand(0), Ty, in ReduceExpressionDag() 368 Res = Builder.CreateIntCast(Res, DstTy, false); in ReduceExpressionDag()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/Utils/ |
D | Local.h | 76 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 243 B.CreateIntCast(Char, in EmitPutChar() 291 Char = B.CreateIntCast(Char, B.getInt32Ty(), /*isSigned*/true, in EmitFPutC() 419 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), in fold()
|
/external/bcc/src/cc/frontends/b/ |
D | codegen_llvm.cc | 227 Value *cond = B.CreateIntCast(pop_expr(), cur_switch_->getCondition()->getType(), false); in visit_case_stmt_node() 341 rhs = B.CreateIntCast(rhs, cast<PointerType>(lhs->getType())->getElementType(), false); in visit_assign_expr_node() 379 expr_ = B.CreateIntCast(skb_hdr_offset, B.getInt64Ty(), false); in visit_packet_expr_node() 388 Value *rhs = B.CreateIntCast(pop_expr(), B.getInt64Ty(), false); in visit_packet_expr_node() 418 expr_ = B.CreateIntCast(expr_, B.getIntNTy(n->bits_), false); in visit_integer_expr_node() 501 Value *rhs = B.CreateIntCast(pop_expr(), lhs->getType(), false); in visit_binop_expr_node() 567 Value *cast_1 = B.CreateIntCast(pop_expr(), parent->getReturnType(), true); in visit_return_expr_node() 717 is_pseudo = B.CreateIntCast(B.CreateIsNotNull(pop_expr()), B.getInt64Ty(), false); in emit_incr_cksum()
|
/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 141 Args[1] = CGF.Builder.CreateIntCast( in emitDeviceStubBody() 144 Args[2] = CGF.Builder.CreateIntCast( in emitDeviceStubBody()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 234 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 833 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false); in CallOptimizer() 1005 V = B.CreateIntCast(V, B.getInt32Ty(), false); in CallOptimizer() 1117 return B.CreateIntCast(Res, CI->getType(), true); in OptimizeFixedFormatString() 1141 return B.CreateIntCast(Res, CI->getType(), true); in OptimizeFixedFormatString() 1242 return B.CreateIntCast(Len, CI->getType(), false); in OptimizeFixedFormatString() 1433 return B.CreateIntCast(Res, CI->getType(), true); in CallOptimizer()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ConstantFolder.h | 162 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
|
D | TargetFolder.h | 173 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 169 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 195 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 442 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c"); in EmitGEPOffset() 525 return Builder->CreateIntCast(Result, Ty, true); in OptimizePointerDifference()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 173 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
|