Home
last modified time | relevance | path

Searched refs:CreateIntCast (Results 1 – 25 of 81) sorted by relevance

1234

/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp539 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()
DSanitizerCoverage.cpp471 Cond = IRB.CreateIntCast(Cond, Int64Ty, false); in InjectTraceForSwitch()
504 IRB.CreateIntCast(A0, Int64Ty, true), in InjectTraceForCmp()
505 IRB.CreateIntCast(A1, Int64Ty, true)}); in InjectTraceForCmp()
DMemorySanitizer.cpp675 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 …]
DEfficiencySanitizer.cpp716 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/
DIntrinsicLowering.cpp475 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/
DIntrinsicLowering.cpp466 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/
DIntrinsicLowering.cpp479 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/
Dkernel_tiling.cc165 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/
DSanitizerCoverage.cpp661 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()
DThreadSanitizer.cpp575 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()
DMemorySanitizer.cpp829 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 …]
DEfficiencySanitizer.cpp730 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/
DTruncInstCombine.cpp326 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/
DLocal.h76 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp243 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/
Dcodegen_llvm.cc227 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/
DCGCUDANV.cpp141 Args[1] = CGF.Builder.CreateIntCast( in emitDeviceStubBody()
144 Args[2] = CGF.Builder.CreateIntCast( in emitDeviceStubBody()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h234 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp833 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/
DConstantFolder.h162 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
DTargetFolder.h173 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
/external/llvm/include/llvm/IR/
DConstantFolder.h169 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantFolder.h195 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp442 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/
DTargetFolder.h173 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function

1234