/external/llvm-project/llvm/include/llvm/IR/ |
D | FixedPointBuilder.h | 68 Result = B.CreateIntCast(Result, DstIntTy, SrcIsSigned, "resize"); in Convert() 79 Result = B.CreateIntCast(Result, UpscaledTy, SrcIsSigned, "resize"); in Convert() 105 Result = B.CreateIntCast(Result, DstIntTy, SrcIsSigned, "resize"); in Convert() 285 RHS = B.CreateIntCast(RHS, LHS->getType(), /*IsSigned=*/false); in CreateShl() 304 RHS = B.CreateIntCast(RHS, LHS->getType(), false); in CreateShr()
|
D | IRBuilderFolder.h | 103 virtual Value *CreateIntCast(Constant *C, Type *DestTy,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 340 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 351 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 363 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 368 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1), in LowerIntrinsicCall()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 337 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 348 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 360 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 365 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1), in LowerIntrinsicCall()
|
/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-10.0/llvm/include/llvm/Analysis/Utils/ |
D | Local.h | 83 Op = Builder->CreateIntCast(Op, IntIdxTy, true, Op->getName()+".c");
|
/external/llvm-project/llvm/include/llvm/Analysis/Utils/ |
D | Local.h | 82 Op = Builder->CreateIntCast(Op, IntIdxTy, true, Op->getName().str()+".c");
|
/external/llvm-project/polly/lib/CodeGen/ |
D | RuntimeDebugBuilder.cpp | 72 Id = Builder.CreateIntCast(Id, Builder.getInt64Ty(), false); in getGPUThreadIdentifiers() 88 Id = Builder.CreateIntCast(Id, Builder.getInt64Ty(), false); in getGPUThreadIdentifiers()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | TruncInstCombine.cpp | 325 Res = Builder.CreateIntCast(I->getOperand(0), Ty, in ReduceExpressionDag() 367 Res = Builder.CreateIntCast(Res, DstTy, false); in ReduceExpressionDag()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 607 IRB.CreateIntCast(M->getArgOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic() 608 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 615 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 673 IRB.CreateIntCast(RMWI->getValOperand(), Ty, false), in instrumentAtomic()
|
D | SanitizerCoverage.cpp | 760 Cond = IRB.CreateIntCast(Cond, Int64Ty, false); in InjectTraceForSwitch() 798 {IRB.CreateIntCast(A1, Ty, true)}); in InjectTraceForDiv() 809 {IRB.CreateIntCast(*I, IntptrTy, true)}); in InjectTraceForGep() 842 IRB.CreateCall(CallbackFunc, {IRB.CreateIntCast(A0, Ty, true), in InjectTraceForCmp() 843 IRB.CreateIntCast(A1, Ty, true)}); in InjectTraceForCmp()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | MemProfiler.cpp | 313 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 318 IRB.CreateIntCast(MI->getOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic() 319 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
|
D | SanitizerCoverage.cpp | 790 Cond = IRB.CreateIntCast(Cond, Int64Ty, false); in InjectTraceForSwitch() 828 {IRB.CreateIntCast(A1, Ty, true)}); in InjectTraceForDiv() 839 {IRB.CreateIntCast(*I, IntptrTy, true)}); in InjectTraceForGep() 872 IRB.CreateCall(CallbackFunc, {IRB.CreateIntCast(A0, Ty, true), in InjectTraceForCmp() 873 IRB.CreateIntCast(A1, Ty, true)}); in InjectTraceForCmp()
|
D | ThreadSanitizer.cpp | 719 IRB.CreateIntCast(M->getArgOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic() 720 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 727 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 785 IRB.CreateIntCast(RMWI->getValOperand(), Ty, false), in instrumentAtomic()
|
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
D | TruncInstCombine.cpp | 340 Res = Builder.CreateIntCast(I->getOperand(0), Ty, in ReduceExpressionDag() 389 Res = Builder.CreateIntCast(Res, DstTy, false); in ReduceExpressionDag()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAtomicOptimizer.cpp | 475 Mbcnt = B.CreateIntCast(Mbcnt, Ty, false); in optimizeAtomic() 529 Value *const Ctpop = B.CreateIntCast( in optimizeAtomic() 549 Value *const Ctpop = B.CreateIntCast( in optimizeAtomic()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAtomicOptimizer.cpp | 471 Mbcnt = B.CreateIntCast(Mbcnt, Ty, false); in optimizeAtomic() 525 Value *const Ctpop = B.CreateIntCast( in optimizeAtomic() 545 Value *const Ctpop = B.CreateIntCast( in optimizeAtomic()
|
/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-project/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 2002 CGF.Builder.CreateIntCast(CGF.getTypeSize(VarType), CGM.SizeTy, in getAddrOfArtificialThreadPrivate() 2220 EnterArgs.push_back(CGF.Builder.CreateIntCast( in emitCriticalRegion() 2856 CGF.Builder.CreateIntCast(NumThreads, CGF.Int32Ty, /*isSigned*/ true)}; in emitNumThreadsClause() 4289 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTaskInit() 4315 Tid = CGF.Builder.CreateIntCast(Tid, CGF.IntTy, /*isSigned=*/false); in emitTaskInit() 4337 Sz = CGF.Builder.CreateIntCast(Sz, CGF.SizeTy, /*isSigned=*/false); in emitTaskInit() 4367 NumOfElements = CGF.Builder.CreateIntCast(NumOfElements, CGF.Int32Ty, in emitTaskInit() 4771 CGF.Builder.CreateIntCast(NumDeps, CGF.SizeTy, /*isSigned=*/false)); in emitDepobjElements() 4827 Sz = CGF.Builder.CreateIntCast(Sz, CGF.IntPtrTy, /*isSigned=*/false); in emitDependClause() 4862 NumOfElements = CGF.Builder.CreateIntCast(NumOfElements, CGF.Int32Ty, in emitDependClause() [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 234 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
|