/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 479 IRB.CreateIntCast(M->getArgOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic() 480 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)); in instrumentMemIntrinsic() 486 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)); in instrumentMemIntrinsic() 526 IRB.CreateIntCast(SI->getValueOperand(), Ty, false), in instrumentAtomic() 543 IRB.CreateIntCast(RMWI->getValOperand(), Ty, false), in instrumentAtomic() 557 IRB.CreateIntCast(CASI->getCompareOperand(), Ty, false), in instrumentAtomic() 558 IRB.CreateIntCast(CASI->getNewValOperand(), Ty, false), in instrumentAtomic()
|
D | MemorySanitizer.cpp | 606 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false); in originToIntptr() 1325 setShadow(&I, IRB.CreateIntCast(getShadow(&I, 0), getShadowTy(&I), false, in visitPtrToIntInst() 1332 setShadow(&I, IRB.CreateIntCast(getShadow(&I, 0), getShadowTy(&I), false, in visitIntToPtrInst() 1361 V1 = IRB.CreateIntCast(V1, S1->getType(), false); in visitAnd() 1362 V2 = IRB.CreateIntCast(V2, S2->getType(), false); in visitAnd() 1383 V1 = IRB.CreateIntCast(V1, S1->getType(), false); in visitOr() 1384 V2 = IRB.CreateIntCast(V2, S2->getType(), false); in visitOr() 1498 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast() 1501 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast() 1506 IRB.CreateIntCast(V1, Type::getIntNTy(*MS.C, dstSizeInBits), Signed); in CreateShadowCast() [all …]
|
D | SanitizerCoverage.cpp | 336 IRB.CreateIntCast(A0, Int64Ty, true), in InjectTraceForCmp() 337 IRB.CreateIntCast(A1, Int64Ty, true)); in InjectTraceForCmp()
|
D | AddressSanitizer.cpp | 796 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)); in instrumentMemIntrinsic() 801 IRB.CreateIntCast(MI->getOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic() 802 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)); in instrumentMemIntrinsic() 1015 IRB.CreateIntCast(LastAccessedByte, ShadowValue->getType(), false); in createSlowPathCmp() 1987 PartialSize = IRB.CreateIntCast(PartialSize, IRB.getInt32Ty(), false); in computePartialRzMagic()
|
/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 101 Args[1] = CGF.Builder.CreateIntCast( in EmitDeviceStubBody() 104 Args[2] = CGF.Builder.CreateIntCast( in EmitDeviceStubBody()
|
D | CGExprScalar.cpp | 797 Builder.CreateIntCast(Src, MiddleTy, InputSigned, "conv"); in EmitScalarConversion() 853 Res = Builder.CreateIntCast(Src, DstTy, InputSigned, "conv"); in EmitScalarConversion() 1103 Res = Builder.CreateIntCast(Src, DstTy, InputSigned, "conv"); in VisitConvertVectorExpr() 1537 Builder.CreateIntCast(Src, MiddleTy, InputSigned, "conv"); in VisitCastExpr() 1938 Idx = Builder.CreateIntCast(Idx, ResultType, IdxSigned, "conv"); in VisitOffsetOfExpr() 2441 index = CGF.Builder.CreateIntCast(index, CGF.PtrDiffTy, isSigned, in emitPointerArithmetic() 2714 RHS = Builder.CreateIntCast(RHS, Ops.LHS->getType(), false, "sh_prom"); in EmitShl() 2778 RHS = Builder.CreateIntCast(RHS, Ops.LHS->getType(), false, "sh_prom"); in EmitShr()
|
D | CGExpr.cpp | 712 llvm::Value *IndexVal = Builder.CreateIntCast(Index, SizeTy, IndexSigned); in EmitBoundsCheck() 713 llvm::Value *BoundVal = Builder.CreateIntCast(Bound, SizeTy, false); in EmitBoundsCheck() 1382 Val = Builder.CreateIntCast(Val, ResLTy, Info.IsSigned, "bf.cast"); in EmitLoadOfBitfieldLValue() 1568 SrcVal = Builder.CreateIntCast(SrcVal, in EmitStoreThroughBitfieldLValue() 1623 ResultVal = Builder.CreateIntCast(ResultVal, ResLTy, Info.IsSigned, in EmitStoreThroughBitfieldLValue() 2455 Idx = Builder.CreateIntCast(Idx, IntPtrTy, IdxSigned, "idxprom"); in EmitArraySubscriptExpr()
|
D | CGBuiltin.cpp | 338 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true, in EmitBuiltinExpr() 355 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true, in EmitBuiltinExpr() 376 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true, in EmitBuiltinExpr() 393 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true, in EmitBuiltinExpr() 408 Result = Builder.CreateIntCast(Result, ResultType, /*isSigned*/true, in EmitBuiltinExpr() 815 Depth = Builder.CreateIntCast(Depth, Int32Ty, false); in EmitBuiltinExpr() 821 Depth = Builder.CreateIntCast(Depth, Int32Ty, false); in EmitBuiltinExpr() 1230 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false); in EmitBuiltinExpr() 1296 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false); in EmitBuiltinExpr() 1356 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false); in EmitBuiltinExpr()
|
D | CGAtomic.cpp | 998 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false); in EmitAtomicExpr() 1451 intValue = Builder.CreateIntCast( in EmitAtomicStore()
|
D | CGException.cpp | 1517 R = Builder.CreateIntCast(R, CGM.IntTy, in GenerateSEHFilterFunction()
|
D | CGStmtOpenMP.cpp | 1551 UpdateVal = CGF.Builder.CreateIntCast( in emitOMPAtomicRMW()
|
D | CodeGenFunction.cpp | 1590 entry = Builder.CreateIntCast(Size, SizeTy, /*signed*/ false); in EmitVariablyModifiedType()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 468 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 479 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 491 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall() 496 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1), in LowerIntrinsicCall()
|
D | CodeGenPrepare.cpp | 3320 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr"); in OptimizeMemoryInst() 3395 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr"); in OptimizeMemoryInst()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 238 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 917 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false); in optimizeMemSet() 1441 V = B.CreateIntCast(V, B.getInt32Ty(), false); in optimizeFFS() 1576 return B.CreateIntCast(Res, CI->getType(), true); in optimizePrintFString() 1600 return B.CreateIntCast(Res, CI->getType(), true); in optimizePrintFString() 1693 return B.CreateIntCast(Len, CI->getType(), false); in optimizeSPrintFString() 1877 return B.CreateIntCast(Res, CI->getType(), true); in optimizePuts() 2256 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false); in optimizeMemSetChk()
|
D | BuildLibCalls.cpp | 326 B.CreateIntCast(Char, in EmitPutChar() 385 Char = B.CreateIntCast(Char, B.getInt32Ty(), /*isSigned*/true, in EmitFPutC()
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 169 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
|
D | NoFolder.h | 222 Instruction *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
|
D | IRBuilder.h | 1302 Value *CreateIntCast(Value *V, Type *DestTy, bool isSigned, 1307 return Insert(Folder.CreateIntCast(VC, DestTy, isSigned), Name); 1326 Value *CreateIntCast(Value *, Type *, const char *) = delete; 1640 OffsetValue = CreateIntCast(OffsetValue, IntPtrTy, /*isSigned*/ true,
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 174 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 527 In = Builder->CreateIntCast(In, CI.getType(), false/*ZExt*/); in transformZExtICmp() 911 In = Builder->CreateIntCast(In, CI.getType(), true/*SExt*/); in transformSExtICmp()
|
D | InstCombineLoadStoreAlloca.cpp | 215 Value *V = IC.Builder->CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize()
|
D | InstCombineAddSub.cpp | 1502 return Builder->CreateIntCast(Result, Ty, true); in OptimizePointerDifference()
|
D | InstCombineCompares.cpp | 489 Value *V = Builder->CreateIntCast(Idx, Ty, false); in FoldCmpLoadFromIndexedGlobal() 599 VariableIdx = IC.Builder->CreateIntCast(VariableIdx, IntPtrTy, in EvaluateGEPOffsetExpression()
|