|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/tools/clang/include/clang/Basic/arm_mve_builtin_cg.inc 30 Value *Val4 = Builder.CreateIntCast(Val3, Int32Ty, false);
160 Value *Val1 = Builder.CreateIntCast(Val0, Int32Ty, false);
163 return Builder.CreateIntCast(Val3, Param2, Param3);
209 return Builder.CreateIntCast(Val2, Int32Ty, Param1);
221 Value *Val8 = Builder.CreateIntCast(Val7, Int32Ty, false);
239 Value *Val5 = Builder.CreateIntCast(Val4, Int32Ty, false);
281 Value *Val4 = Builder.CreateIntCast(Val3, Int32Ty, false);
337 Value *Val3 = Builder.CreateIntCast(Val2, Int32Ty, false);
338 Value *Val4 = Builder.CreateIntCast(Val0, Int32Ty, false);
342 Value *Val8 = Builder.CreateIntCast(Val7, Int64Ty, false);
346 Value *Val12 = Builder.CreateIntCast(Val11, Int64Ty, false);
453 Value *Val3 = Builder.CreateIntCast(Val2, Int32Ty, false);
include/llvm/Analysis/Utils/Local.h 82 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
include/llvm/IR/IRBuilder.h 2614 OffsetValue = CreateIntCast(OffsetValue, IntPtrTy, /*isSigned*/ true,
2676 Alignment = CreateIntCast(Alignment, IntPtrTy, /*isSigned*/ false,
lib/CodeGen/CodeGenPrepare.cpp 4856 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
4944 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr");
lib/CodeGen/IntrinsicLowering.cpp 376 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
387 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
399 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
404 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1),
lib/CodeGen/SafeStack.cpp 649 ArraySize = IRB.CreateIntCast(ArraySize, IntPtrTy, false);
lib/IR/AutoUpgrade.cpp 1123 Amt = Builder.CreateIntCast(Amt, Ty->getScalarType(), false);
1193 Amt = Builder.CreateIntCast(Amt, Ty->getScalarType(), false);
lib/IR/Core.cpp 3802 unwrap(B)->CreateIntCast(unwrap(Val), unwrap(DestTy), IsSigned, Name));
3807 return wrap(unwrap(B)->CreateIntCast(unwrap(Val), unwrap(DestTy),
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp 470 Mbcnt = B.CreateIntCast(Mbcnt, Ty, false);
524 Value *const Ctpop = B.CreateIntCast(
544 Value *const Ctpop = B.CreateIntCast(
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 1386 Value *CV = IRB.CreateIntCast(V, Ty, false);
1558 R = B.CreateXor(R, B.CreateIntCast(P0, R->getType(), false));
1900 PM = IRBuilder<>(&*At).CreateIntCast(PM, PV.Res->getType(), false);
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp 325 Res = Builder.CreateIntCast(I->getOperand(0), Ty,
367 Res = Builder.CreateIntCast(Res, DstTy, false);
lib/Transforms/Coroutines/Coroutines.cpp 507 Size = Builder.CreateIntCast(Size,
lib/Transforms/InstCombine/InstCombineAddSub.cpp 1669 return Builder.CreateIntCast(Result, Ty, true);
lib/Transforms/InstCombine/InstCombineCasts.cpp 865 In = Builder.CreateIntCast(In, CI.getType(), false /*ZExt*/);
918 Value *IntCast = Builder.CreateIntCast(In, CI.getType(), false);
1240 In = Builder.CreateIntCast(In, CI.getType(), true /*SExt*/);
lib/Transforms/InstCombine/InstCombineCompares.cpp 405 Value *V = Builder.CreateIntCast(Idx, Ty, false);
510 VariableIdx = IC.Builder.CreateIntCast(VariableIdx, IntPtrTy,
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 232 Value *V = IC.Builder.CreateIntCast(AI.getArraySize(), IntPtrTy, false);
lib/Transforms/InstCombine/InstructionCombining.cpp 1679 *I = Builder.CreateIntCast(*I, NewIndexType, true);
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1308 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)});
1313 IRB.CreateIntCast(MI->getOperand(1), IRB.getInt32Ty(), false),
1314 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)});
1651 IRB.CreateIntCast(LastAccessedByte, ShadowValue->getType(), false);
3277 IRB.CreateMul(IRB.CreateIntCast(AI->getArraySize(), IntptrTy, false),
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 708 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)});
713 IRB.CreateIntCast(MI->getOperand(1), IRB.getInt32Ty(), false),
714 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)});
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1083 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false);
1915 setShadow(&I, IRB.CreateIntCast(getShadow(&I, 0), getShadowTy(&I), false,
1922 setShadow(&I, IRB.CreateIntCast(getShadow(&I, 0), getShadowTy(&I), false,
1951 V1 = IRB.CreateIntCast(V1, S1->getType(), false);
1952 V2 = IRB.CreateIntCast(V2, S2->getType(), false);
1973 V1 = IRB.CreateIntCast(V1, S1->getType(), false);
1974 V2 = IRB.CreateIntCast(V2, S2->getType(), false);
2093 return IRB.CreateIntCast(V, dstTy, Signed);
2096 return IRB.CreateIntCast(V, dstTy, Signed);
2099 IRB.CreateIntCast(V1, Type::getIntNTy(*MS.C, dstSizeInBits), Signed);
2411 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
2425 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
2435 IRB.CreateIntCast(I.getArgOperand(1), IRB.getInt32Ty(), false),
2436 IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 759 Cond = IRB.CreateIntCast(Cond, Int64Ty, false);
797 {IRB.CreateIntCast(A1, Ty, true)});
808 {IRB.CreateIntCast(*I, IntptrTy, true)});
841 IRB.CreateCall(CallbackFunc, {IRB.CreateIntCast(A0, Ty, true),
842 IRB.CreateIntCast(A1, Ty, true)});
lib/Transforms/Instrumentation/ThreadSanitizer.cpp 606 IRB.CreateIntCast(M->getArgOperand(1), IRB.getInt32Ty(), false),
607 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)});
614 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)});
672 IRB.CreateIntCast(RMWI->getValOperand(), Ty, false),
lib/Transforms/Utils/BuildLibCalls.cpp 1140 B.CreateIntCast(Char,
1180 Char = B.CreateIntCast(Char, B.getInt32Ty(), /*isSigned*/true,
1201 Char = B.CreateIntCast(Char, B.getInt32Ty(), /*isSigned*/ true, "chari");
lib/Transforms/Utils/SimplifyCFG.cpp 5098 Value *Result = Builder.CreateIntCast(Index, LinearMultiplier->getType(),
lib/Transforms/Utils/SimplifyLibCalls.cpp 1198 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false);
2208 V = B.CreateIntCast(V, B.getInt32Ty(), false);
2223 return B.CreateIntCast(V, CI->getType(), false);
2469 return B.CreateIntCast(Len, CI->getType(), false);
3250 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false);
tools/clang/lib/CodeGen/CGAtomic.cpp 698 auto *SC = Builder.CreateIntCast(Scope, Builder.getInt32Ty(), false);
1277 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false);
1959 intValue = Builder.CreateIntCast(
tools/clang/lib/CodeGen/CGBuiltin.cpp 944 ZeroCount = Builder.CreateIntCast(ZeroCount, IndexType, false);
952 ZeroCount = Builder.CreateIntCast(ZeroCount, IndexType, false);
1523 ShiftAmt = Builder.CreateIntCast(ShiftAmt, Ty, false);
1911 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true,
1928 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true,
1945 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true,
1966 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true,
1983 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true,
1998 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true,
2016 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true,
2130 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/false);
2292 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true,
2951 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false);
3016 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false);
3075 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false);
3269 Left = Builder.CreateIntCast(Left, EncompassingLLVMTy, LeftInfo.Signed);
3270 Right = Builder.CreateIntCast(Right, EncompassingLLVMTy, RightInfo.Signed);
3283 llvm::Value *ResultTruncExt = Builder.CreateIntCast(
9606 Amt = CGF.Builder.CreateIntCast(Amt, Ty->getScalarType(), false);
12174 Value *LHS = Builder.CreateIntCast(Ops[0], Int64Ty, isSigned);
12175 Value *RHS = Builder.CreateIntCast(Ops[1], Int64Ty, isSigned);
12186 Value *LHS = Builder.CreateIntCast(Ops[0], Int128Ty, IsSigned);
12187 Value *RHS = Builder.CreateIntCast(Ops[1], Int128Ty, IsSigned);
12197 HigherBits = Builder.CreateIntCast(HigherBits, ResType, IsSigned);
12204 return Builder.CreateIntCast(MulResult, ResType, IsSigned);
tools/clang/lib/CodeGen/CGCall.cpp 1199 Val = CGF.Builder.CreateIntCast(Val, DestIntTy, false, "coerce.val.ii");
tools/clang/lib/CodeGen/CGException.cpp 1902 R = Builder.CreateIntCast(R, ConvertType(getContext().LongTy),
tools/clang/lib/CodeGen/CGExpr.cpp 972 llvm::Value *IndexVal = Builder.CreateIntCast(Index, SizeTy, IndexSigned);
973 llvm::Value *BoundVal = Builder.CreateIntCast(Bound, SizeTy, false);
1845 Val = Builder.CreateIntCast(Val, ResLTy, Info.IsSigned, "bf.cast");
2034 SrcVal = Builder.CreateIntCast(SrcVal, Ptr.getElementType(),
2085 ResultVal = Builder.CreateIntCast(ResultVal, ResLTy, Info.IsSigned,
3472 Idx = Builder.CreateIntCast(Idx, IntPtrTy, IdxSigned, "idxprom");
3660 Idx = Builder.CreateIntCast(
3692 ? Builder.CreateIntCast(
3698 ? Builder.CreateIntCast(
3726 auto *LengthVal = Builder.CreateIntCast(
tools/clang/lib/CodeGen/CGExprScalar.cpp 972 Check = Builder.CreateIntCast(Dst, SrcTy, DstSigned, "anyext");
1270 Builder.CreateIntCast(Src, MiddleTy, InputSigned, "conv");
1321 return Builder.CreateIntCast(Src, DstTy, false, "conv");
1366 Res = Builder.CreateIntCast(Src, DstTy, InputSigned, "conv");
1459 Result = Builder.CreateIntCast(Result, DstIntTy, SrcIsSigned, "resize");
1470 Result = Builder.CreateIntCast(Result, UpscaledTy, SrcIsSigned, "resize");
1496 Result = Builder.CreateIntCast(Result, DstIntTy, SrcIsSigned, "resize");
1696 Res = Builder.CreateIntCast(Src, DstTy, InputSigned, "conv");
2168 Builder.CreateIntCast(Src, MiddleTy, InputSigned, "conv");
2657 Idx = Builder.CreateIntCast(Idx, ResultType, IdxSigned, "conv");
3207 index = CGF.Builder.CreateIntCast(index, DL.getIntPtrType(PtrTy), isSigned,
3595 RHS = Builder.CreateIntCast(RHS, Ops.LHS->getType(), false, "sh_prom");
3663 RHS = Builder.CreateIntCast(RHS, Ops.LHS->getType(), false, "sh_prom");
4636 auto *IndexS = Builder.CreateIntCast(Index, IntPtrTy, /*isSigned=*/true);
tools/clang/lib/CodeGen/CGObjCMac.cpp 7084 IvarOffsetValue = CGF.Builder.CreateIntCast(
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 2999 CGF.Builder.CreateIntCast(CGF.getTypeSize(VarType), CGM.SizeTy,
3213 EnterArgs.push_back(CGF.Builder.CreateIntCast(
3804 CGF.Builder.CreateIntCast(NumThreads, CGF.Int32Ty, /*isSigned*/ true)};
5101 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device),
5395 IfVal = CGF.Builder.CreateIntCast(CGF.EvaluateExprAsBool(IfCond), CGF.IntTy,
5448 ? CGF.Builder.CreateIntCast(Data.Schedule.getPointer(), CGF.Int64Ty,
5760 llvm::Value *Size = CGF.Builder.CreateIntCast(
6247 SizeValInChars = CGF.Builder.CreateIntCast(SizeValInChars, CGM.SizeTy,
6282 CGF.Builder.CreateIntCast(getThreadID(CGF, Loc), CGM.IntTy,
6299 llvm::Value *SizeVal = CGF.Builder.CreateIntCast(Sizes.second, CGM.SizeTy,
6325 CGF.Builder.CreateIntCast(getThreadID(CGF, Loc), CGM.IntTy,
6629 return Bld.CreateIntCast(NumTeamsVal, CGF.Int32Ty,
6653 return Bld.CreateIntCast(NumTeamsVal, CGF.Int32Ty,
6785 NumThreads = CGF.Builder.CreateIntCast(NumThreads, CGF.Int32Ty,
6860 Bld.CreateIntCast(ThreadLimit, CGF.Int32Ty, /*isSigned=*/false);
6887 Bld.CreateIntCast(ThreadLimit, CGF.Int32Ty, /*isSigned=*/false);
6910 Bld.CreateIntCast(ThreadLimit, CGF.Int32Ty, /*isSigned=*/false);
6948 Bld.CreateIntCast(ThreadLimit, CGF.Int32Ty, /*isSigned=*/false);
6956 Bld.CreateIntCast(NumThreads, CGF.Int32Ty, /*isSigned=*/false);
7667 Sizes.push_back(CGF.Builder.CreateIntCast(Size, CGF.Int64Ty,
7679 CGF.Builder.CreateIntCast(Size, CGF.Int64Ty, /*isSigned=*/true));
7688 CGF.Builder.CreateIntCast(Size, CGF.Int64Ty, /*isSigned=*/true));
7894 llvm::Value *Size = CGF.Builder.CreateIntCast(Diff, CGF.Int64Ty,
8188 CGF.Builder.CreateIntCast(CGF.getTypeSize(CGF.getContext().VoidPtrTy),
8207 Sizes.push_back(CGF.Builder.CreateIntCast(
8275 CGF.Builder.CreateIntCast(CGF.getTypeSize(CGF.getContext().VoidPtrTy),
8479 CGF.Builder.CreateIntCast(CGF.getTypeSize(PtrTy->getPointeeType()),
8490 CurSizes.push_back(CGF.Builder.CreateIntCast(
8506 CurSizes.push_back(CGF.Builder.CreateIntCast(
8662 CGF.Builder.CreateIntCast(Sizes[I], CGM.Int64Ty, /*isSigned=*/true),
9201 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device),
9342 CurSizes.push_back(CGF.Builder.CreateIntCast(
9930 ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(NumTeams),
9936 ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(ThreadLimit),
9985 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device),
10021 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device),
10093 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device),
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 2824 return CGF.Builder.CreateIntCast(Val, LLVMCastTy,
2858 Bld.CreateIntCast(getNVPTXWarpSize(CGF), CGM.Int16Ty, /*isSigned=*/true);
3793 llvm::Value *Size = CGF.Builder.CreateIntCast(
3993 llvm::Value *Size = CGF.Builder.CreateIntCast(
4315 llvm::Value *Size = CGF.Builder.CreateIntCast(
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 2207 llvm::Value *LBCast = CGF.Builder.CreateIntCast(
2213 llvm::Value *UBCast = CGF.Builder.CreateIntCast(
3832 UpdateVal = CGF.Builder.CreateIntCast(
4183 NumIterations = CGF.Builder.CreateIntCast(NumIterations, CGF.Int64Ty,
tools/clang/lib/CodeGen/CodeGenFunction.cpp 1954 entry = Builder.CreateIntCast(Size, SizeTy, /*signed*/ false);
tools/polly/lib/CodeGen/IslExprBuilder.cpp 302 NextIndex = Builder.CreateIntCast(NextIndex, Ty, true);
304 IndexOp = Builder.CreateIntCast(IndexOp, Ty, true);
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp 72 Id = Builder.CreateIntCast(Id, Builder.getInt64Ty(), false);
88 Id = Builder.CreateIntCast(Id, Builder.getInt64Ty(), false);