Lines Matching refs:ShadowTy

1323       Type *ShadowTy = Shadow->getType();  in materializeStores()  local
1327 getShadowOriginPtr(Addr, IRB, ShadowTy, Alignment, /*isStore*/ true); in materializeStores()
1666 Type *getPtrToShadowPtrType(Type *IntPtrTy, Type *ShadowTy) const { in getPtrToShadowPtrType()
1669 getPtrToShadowPtrType(VectTy->getElementType(), ShadowTy), in getPtrToShadowPtrType()
1713 getShadowOriginPtrUserspace(Value *Addr, IRBuilder<> &IRB, Type *ShadowTy, in getShadowOriginPtrUserspace()
1729 ShadowLong, getPtrToShadowPtrType(IntptrTy, ShadowTy)); in getShadowOriginPtrUserspace()
1762 Type *ShadowTy, in getShadowOriginPtrKernelNoVec()
1766 TypeSize Size = DL.getTypeStoreSize(ShadowTy); in getShadowOriginPtrKernelNoVec()
1781 ShadowPtr = IRB.CreatePointerCast(ShadowPtr, PointerType::get(ShadowTy, 0)); in getShadowOriginPtrKernelNoVec()
1792 Type *ShadowTy, in getShadowOriginPtrKernel()
1797 return getShadowOriginPtrKernelNoVec(Addr, IRB, ShadowTy, isStore); in getShadowOriginPtrKernel()
1812 getShadowOriginPtrKernelNoVec(OneAddr, IRB, ShadowTy, isStore); in getShadowOriginPtrKernel()
1824 Type *ShadowTy, in getShadowOriginPtr()
1828 return getShadowOriginPtrKernel(Addr, IRB, ShadowTy, isStore); in getShadowOriginPtr()
1829 return getShadowOriginPtrUserspace(Addr, IRB, ShadowTy, Alignment); in getShadowOriginPtr()
1879 Type *ShadowTy = getShadowTy(OrigTy); in getCleanShadow() local
1880 if (!ShadowTy) in getCleanShadow()
1882 return Constant::getNullValue(ShadowTy); in getCleanShadow()
1892 Constant *getPoisonedShadow(Type *ShadowTy) { in getPoisonedShadow()
1893 assert(ShadowTy); in getPoisonedShadow()
1894 if (isa<IntegerType>(ShadowTy) || isa<VectorType>(ShadowTy)) in getPoisonedShadow()
1895 return Constant::getAllOnesValue(ShadowTy); in getPoisonedShadow()
1896 if (ArrayType *AT = dyn_cast<ArrayType>(ShadowTy)) { in getPoisonedShadow()
1901 if (StructType *ST = dyn_cast<StructType>(ShadowTy)) { in getPoisonedShadow()
1912 Type *ShadowTy = getShadowTy(V); in getPoisonedShadow() local
1913 if (!ShadowTy) in getPoisonedShadow()
1915 return getPoisonedShadow(ShadowTy); in getPoisonedShadow()
2075 Type *ShadowTy = Shadow->getType(); in insertShadowCheck() local
2076 assert((isa<IntegerType>(ShadowTy) || isa<VectorType>(ShadowTy) || in insertShadowCheck()
2077 isa<StructType>(ShadowTy) || isa<ArrayType>(ShadowTy)) && in insertShadowCheck()
2195 Type *ShadowTy = getShadowTy(&I); in visitLoadInst() local
2201 getShadowOriginPtr(Addr, IRB, ShadowTy, Alignment, /*isStore*/ false); in visitLoadInst()
2203 IRB.CreateAlignedLoad(ShadowTy, ShadowPtr, Alignment, "_msld")); in visitLoadInst()
2521 Type *ShadowTy = getShadowTy(V); in CreateAppToShadowCast() local
2522 if (V->getType() == ShadowTy) in CreateAppToShadowCast()
2525 return IRB.CreatePtrToInt(V, ShadowTy); in CreateAppToShadowCast()
2527 return IRB.CreateBitCast(V, ShadowTy); in CreateAppToShadowCast()
2915 Type *ShadowTy = getShadowTy(&I); in handleVectorLoadIntrinsic() local
2922 getShadowOriginPtr(Addr, IRB, ShadowTy, Alignment, /*isStore*/ false); in handleVectorLoadIntrinsic()
2924 IRB.CreateAlignedLoad(ShadowTy, ShadowPtr, Alignment, "_msld")); in handleVectorLoadIntrinsic()
3425 Type *ShadowTy = getShadowTy(&I); in handleMaskedExpandLoad() local
3426 Type *ElementShadowTy = cast<VectorType>(ShadowTy)->getElementType(); in handleMaskedExpandLoad()
3431 ShadowTy, ShadowPtr, Mask, getShadow(PassThru), "_msmaskedexpload"); in handleMaskedExpandLoad()
3484 Type *ShadowTy = getShadowTy(&I); in handleMaskedGather() local
3485 Type *ElementShadowTy = cast<VectorType>(ShadowTy)->getElementType(); in handleMaskedGather()
3490 IRB.CreateMaskedGather(ShadowTy, ShadowPtrs, Alignment, Mask, in handleMaskedGather()
3576 Type *ShadowTy = getShadowTy(&I); in handleMaskedLoad() local
3579 getShadowOriginPtr(Ptr, IRB, ShadowTy, Alignment, /*isStore*/ false); in handleMaskedLoad()
3580 setShadow(&I, IRB.CreateMaskedLoad(ShadowTy, ShadowPtr, Alignment, Mask, in handleMaskedLoad()
3588 getShadow(PassThru), IRB.CreateSExt(IRB.CreateNeg(Mask), ShadowTy)); in handleMaskedLoad()
3605 Type *ShadowTy = getShadowTy(&I); in handleBmiIntrinsic() local
3609 SMask = IRB.CreateSExt(IRB.CreateICmpNE(SMask, getCleanShadow(ShadowTy)), in handleBmiIntrinsic()
3610 ShadowTy); in handleBmiIntrinsic()