Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1331 Type *ShadowTy = Shadow->getType(); in materializeStores() local
1335 getShadowOriginPtr(Addr, IRB, ShadowTy, Alignment, /*isStore*/ true); in materializeStores()
1683 Type *getPtrToShadowPtrType(Type *IntPtrTy, Type *ShadowTy) const { in getPtrToShadowPtrType()
1686 getPtrToShadowPtrType(VectTy->getElementType(), ShadowTy), in getPtrToShadowPtrType()
1730 getShadowOriginPtrUserspace(Value *Addr, IRBuilder<> &IRB, Type *ShadowTy, in getShadowOriginPtrUserspace()
1746 ShadowLong, getPtrToShadowPtrType(IntptrTy, ShadowTy)); in getShadowOriginPtrUserspace()
1779 Type *ShadowTy, in getShadowOriginPtrKernelNoVec()
1783 TypeSize Size = DL.getTypeStoreSize(ShadowTy); in getShadowOriginPtrKernelNoVec()
1798 ShadowPtr = IRB.CreatePointerCast(ShadowPtr, PointerType::get(ShadowTy, 0)); in getShadowOriginPtrKernelNoVec()
1809 Type *ShadowTy, in getShadowOriginPtrKernel()
[all …]
H A DDataFlowSanitizer.cpp940 Type *ShadowTy = getShadowTy(OrigTy); in getZeroShadow() local
941 return ConstantAggregateZero::get(ShadowTy); in getZeroShadow()
983 Type *ShadowTy = DFS.getShadowTy(T); in expandFromPrimitiveShadow() local
985 if (!isa<ArrayType>(ShadowTy) && !isa<StructType>(ShadowTy)) in expandFromPrimitiveShadow()
989 return DFS.getZeroShadow(ShadowTy); in expandFromPrimitiveShadow()
993 Value *Shadow = UndefValue::get(ShadowTy); in expandFromPrimitiveShadow()
994 Shadow = expandFromPrimitiveShadowRecursive(Shadow, Indices, ShadowTy, in expandFromPrimitiveShadow()
1021 Type *ShadowTy = Shadow->getType(); in collapseToPrimitiveShadow() local
1022 if (!isa<ArrayType>(ShadowTy) && !isa<StructType>(ShadowTy)) in collapseToPrimitiveShadow()
1024 if (ArrayType *AT = dyn_cast<ArrayType>(ShadowTy)) in collapseToPrimitiveShadow()
[all …]
H A DMemProfiler.cpp494 Type *ShadowTy = Type::getInt64Ty(*C); in instrumentAddress() local
495 Type *ShadowPtrTy = PointerType::get(ShadowTy, 0); in instrumentAddress()
498 Value *ShadowValue = IRB.CreateLoad(ShadowTy, ShadowAddr); in instrumentAddress()
H A DNumericalStabilitySanitizer.cpp626 Type *ShadowTy = ShadowConfig.getType(Context); in NumericalStabilitySanitizer() local
630 Attr, Int32Ty, VTTy, ShadowTy, Int32Ty, IntptrTy); in NumericalStabilitySanitizer()
634 Attr, VoidTy, VTTy, VTTy, ShadowTy, ShadowTy, Int32Ty, Int1Ty, Int1Ty); in NumericalStabilitySanitizer()
H A DAddressSanitizer.cpp1874 Type *ShadowTy = in instrumentAddress() local
1876 Type *ShadowPtrTy = PointerType::get(ShadowTy, 0); in instrumentAddress()
1881 ShadowTy, IRB.CreateIntToPtr(ShadowPtr, ShadowPtrTy), Align(ShadowAlign)); in instrumentAddress()