Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp340 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()
DSafeStack.cpp650 ArraySize = IRB.CreateIntCast(ArraySize, IntPtrTy, false); in moveDynamicAllocasToUnsafeStack()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
DLocal.h83 Op = Builder->CreateIntCast(Op, IntIdxTy, true, Op->getName()+".c");
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp607 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()
DSanitizerCoverage.cpp760 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()
DMemorySanitizer.cpp1085 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false); in originToIntptr()
1911 setShadow(&I, IRB.CreateIntCast(getShadow(&I, 0), getShadowTy(&I), false, in visitPtrToIntInst()
1918 setShadow(&I, IRB.CreateIntCast(getShadow(&I, 0), getShadowTy(&I), false, in visitIntToPtrInst()
1947 V1 = IRB.CreateIntCast(V1, S1->getType(), false); in visitAnd()
1948 V2 = IRB.CreateIntCast(V2, S2->getType(), false); in visitAnd()
1969 V1 = IRB.CreateIntCast(V1, S1->getType(), false); in visitOr()
1970 V2 = IRB.CreateIntCast(V2, S2->getType(), false); in visitOr()
2089 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast()
2092 return IRB.CreateIntCast(V, dstTy, Signed); in CreateShadowCast()
2095 IRB.CreateIntCast(V1, Type::getIntNTy(*MS.C, dstSizeInBits), Signed); in CreateShadowCast()
[all …]
DHWAddressSanitizer.cpp705 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
710 IRB.CreateIntCast(MI->getOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic()
711 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
DAddressSanitizer.cpp1309 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
1314 IRB.CreateIntCast(MI->getOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic()
1315 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
1652 IRB.CreateIntCast(LastAccessedByte, ShadowValue->getType(), false); in createSlowPathCmp()
3273 IRB.CreateMul(IRB.CreateIntCast(AI->getArraySize(), IntptrTy, false), in handleDynamicAllocaCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp325 Res = Builder.CreateIntCast(I->getOperand(0), Ty, in ReduceExpressionDag()
367 Res = Builder.CreateIntCast(Res, DstTy, false); in ReduceExpressionDag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAtomicOptimizer.cpp471 Mbcnt = B.CreateIntCast(Mbcnt, Ty, false); in optimizeAtomic()
525 Value *const Ctpop = B.CreateIntCast( in optimizeAtomic()
545 Value *const Ctpop = B.CreateIntCast( in optimizeAtomic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantFolder.h198 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
DNoFolder.h262 Instruction *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
DIRBuilder.h2170 Value *CreateIntCast(Value *V, Type *DestTy, bool isSigned,
2175 return Insert(Folder.CreateIntCast(VC, DestTy, isSigned), Name);
2240 Value *CreateIntCast(Value *, Type *, const char *) = delete;
2809 OffsetValue = CreateIntCast(OffsetValue, IntPtrTy, /*isSigned*/ true, in CreateAlignmentAssumptionHelper()
2871 Alignment = CreateIntCast(Alignment, IntPtrTy, /*isSigned*/ false,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h176 Constant *CreateIntCast(Constant *C, Type *DestTy, in CreateIntCast() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp1140 B.CreateIntCast(Char, in emitPutChar()
1180 Char = B.CreateIntCast(Char, B.getInt32Ty(), /*isSigned*/true, in emitFPutC()
1201 Char = B.CreateIntCast(Char, B.getInt32Ty(), /*isSigned*/ true, "chari"); in emitFPutCUnlocked()
DSimplifyLibCalls.cpp1242 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false); in optimizeMemSet()
2258 V = B.CreateIntCast(V, B.getInt32Ty(), false); in optimizeFFS()
2273 return B.CreateIntCast(V, CI->getType(), false); in optimizeFls()
2522 return B.CreateIntCast(Len, CI->getType(), false); in optimizeSPrintFString()
3311 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false); in optimizeMemSetChk()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp319 Builder.CreateIntCast(NumThreads, Int32, /*isSigned*/ false)}; in CreateParallel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp508 Size = Builder.CreateIntCast(Size, in emitAlloc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1388 Value *CV = IRB.CreateIntCast(V, Ty, false); in convertShiftsToLeft()
1560 R = B.CreateXor(R, B.CreateIntCast(P0, R->getType(), false)); in generate()
1902 PM = IRBuilder<>(&*At).CreateIntCast(PM, PV.Res->getType(), false); in recognize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp866 In = Builder.CreateIntCast(In, Zext.getType(), false /*ZExt*/); in transformZExtICmp()
919 Value *IntCast = Builder.CreateIntCast(In, Zext.getType(), false); in transformZExtICmp()
1243 In = Builder.CreateIntCast(In, CI.getType(), true /*SExt*/); in transformSExtICmp()
DInstCombineLoadStoreAlloca.cpp232 Value *V = IC.Builder.CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize()
DInstCombineAddSub.cpp1676 return Builder.CreateIntCast(Result, Ty, true); in OptimizePointerDifference()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactor.cpp1087 …auto i8Mask = jit->builder->CreateIntCast(V(mask), llvm::VectorType::get(i1Ty, numEls, false), fal… in createMaskedLoad()
1107 …auto i1Mask = jit->builder->CreateIntCast(V(mask), llvm::VectorType::get(i1Ty, numEls, false), fal… in createMaskedStore()
1160 …auto i1Mask = jit->builder->CreateIntCast(mask, llvm::VectorType::get(i1Ty, numEls, false), false)… in createGather()
1228 …auto i1Mask = jit->builder->CreateIntCast(mask, llvm::VectorType::get(i1Ty, numEls, false), false)… in createScatter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp3803 unwrap(B)->CreateIntCast(unwrap(Val), unwrap(DestTy), IsSigned, Name)); in LLVMBuildIntCast2()
3808 return wrap(unwrap(B)->CreateIntCast(unwrap(Val), unwrap(DestTy), in LLVMBuildIntCast()
DAutoUpgrade.cpp1145 Amt = Builder.CreateIntCast(Amt, Ty->getScalarType(), false); in upgradeX86Rotate()
1215 Amt = Builder.CreateIntCast(Amt, Ty->getScalarType(), false); in upgradeX86ConcatShift()

12