Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp479 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()
DMemorySanitizer.cpp606 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 …]
DSanitizerCoverage.cpp336 IRB.CreateIntCast(A0, Int64Ty, true), in InjectTraceForCmp()
337 IRB.CreateIntCast(A1, Int64Ty, true)); in InjectTraceForCmp()
DAddressSanitizer.cpp796 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/
DCGCUDANV.cpp101 Args[1] = CGF.Builder.CreateIntCast( in EmitDeviceStubBody()
104 Args[2] = CGF.Builder.CreateIntCast( in EmitDeviceStubBody()
DCGExprScalar.cpp797 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()
DCGExpr.cpp712 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()
DCGBuiltin.cpp338 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()
DCGAtomic.cpp998 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false); in EmitAtomicExpr()
1451 intValue = Builder.CreateIntCast( in EmitAtomicStore()
DCGException.cpp1517 R = Builder.CreateIntCast(R, CGM.IntTy, in GenerateSEHFilterFunction()
DCGStmtOpenMP.cpp1551 UpdateVal = CGF.Builder.CreateIntCast( in emitOMPAtomicRMW()
DCodeGenFunction.cpp1590 entry = Builder.CreateIntCast(Size, SizeTy, /*signed*/ false); in EmitVariablyModifiedType()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp468 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()
DCodeGenPrepare.cpp3320 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/
DLocal.h238 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp917 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()
DBuildLibCalls.cpp326 B.CreateIntCast(Char, in EmitPutChar()
385 Char = B.CreateIntCast(Char, B.getInt32Ty(), /*isSigned*/true, in EmitFPutC()
/external/llvm/include/llvm/IR/
DConstantFolder.h169 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
DNoFolder.h222 Instruction *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
DIRBuilder.h1302 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/
DTargetFolder.h174 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp527 In = Builder->CreateIntCast(In, CI.getType(), false/*ZExt*/); in transformZExtICmp()
911 In = Builder->CreateIntCast(In, CI.getType(), true/*SExt*/); in transformSExtICmp()
DInstCombineLoadStoreAlloca.cpp215 Value *V = IC.Builder->CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize()
DInstCombineAddSub.cpp1502 return Builder->CreateIntCast(Result, Ty, true); in OptimizePointerDifference()
DInstCombineCompares.cpp489 Value *V = Builder->CreateIntCast(Idx, Ty, false); in FoldCmpLoadFromIndexedGlobal()
599 VariableIdx = IC.Builder->CreateIntCast(VariableIdx, IntPtrTy, in EvaluateGEPOffsetExpression()

12