Home
last modified time | relevance | path

Searched refs:ShadowTy (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1390 Type *ShadowTy = Shadow->getType(); in materializeStores() local
1394 getShadowOriginPtr(Addr, IRB, ShadowTy, Alignment, /*isStore*/ true); in materializeStores()
1756 Type *getPtrToShadowPtrType(Type *IntPtrTy, Type *ShadowTy) const { in getPtrToShadowPtrType()
1759 getPtrToShadowPtrType(VectTy->getElementType(), ShadowTy), in getPtrToShadowPtrType()
1806 getShadowOriginPtrUserspace(Value *Addr, IRBuilder<> &IRB, Type *ShadowTy, in getShadowOriginPtrUserspace()
1822 ShadowLong, getPtrToShadowPtrType(IntptrTy, ShadowTy)); in getShadowOriginPtrUserspace()
1855 Type *ShadowTy, in getShadowOriginPtrKernelNoVec()
1859 TypeSize Size = DL.getTypeStoreSize(ShadowTy); in getShadowOriginPtrKernelNoVec()
1884 Type *ShadowTy, in getShadowOriginPtrKernel()
1889 return getShadowOriginPtrKernelNoVec(Addr, IRB, ShadowTy, isStore); in getShadowOriginPtrKernel()
[all …]
H A DDataFlowSanitizer.cpp939 Type *ShadowTy = getShadowTy(OrigTy); in getZeroShadow() local
940 return ConstantAggregateZero::get(ShadowTy); in getZeroShadow()
982 Type *ShadowTy = DFS.getShadowTy(T); in expandFromPrimitiveShadow() local
984 if (!isa<ArrayType>(ShadowTy) && !isa<StructType>(ShadowTy)) in expandFromPrimitiveShadow()
988 return DFS.getZeroShadow(ShadowTy); in expandFromPrimitiveShadow()
992 Value *Shadow = UndefValue::get(ShadowTy); in expandFromPrimitiveShadow()
993 Shadow = expandFromPrimitiveShadowRecursive(Shadow, Indices, ShadowTy, in expandFromPrimitiveShadow()
1020 Type *ShadowTy = Shadow->getType(); in collapseToPrimitiveShadow() local
1021 if (!isa<ArrayType>(ShadowTy) && !isa<StructType>(ShadowTy)) in collapseToPrimitiveShadow()
1023 if (ArrayType *AT = dyn_cast<ArrayType>(ShadowTy)) in collapseToPrimitiveShadow()
[all …]
H A DMemProfInstrumentation.cpp454 Type *ShadowTy = ClHistogram ? Type::getInt8Ty(*C) : Type::getInt64Ty(*C); in instrumentAddress() local
459 Value *ShadowValue = IRB.CreateLoad(ShadowTy, ShadowAddr); in instrumentAddress()
468 Value *Inc = ConstantInt::get(ShadowTy, 1); in instrumentAddress()
H A DNumericalStabilitySanitizer.cpp685 Type *ShadowTy = ShadowConfig.getType(Context); local
689 Attr, Int32Ty, VTTy, ShadowTy, Int32Ty, IntptrTy);
693 Attr, VoidTy, VTTy, VTTy, ShadowTy, ShadowTy, Int32Ty, Int1Ty, Int1Ty);
H A DAddressSanitizer.cpp1938 Type *ShadowTy = in instrumentAddress() local
1945 ShadowTy, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy), Align(ShadowAlign)); in instrumentAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsanInstrumentation.cpp162 Type *ShadowTy = IntegerType::get(M.getContext(), in instrumentAddressImpl() local
171 ShadowTy, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy), Align(ShadowAlign)); in instrumentAddressImpl()