Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp154 IntegerType *ShadowTy; member in __anona708a9fc0111::DataFlowSanitizer
285 ArgTypes.push_back(ShadowTy); in getArgsFunctionType()
290 RetType = StructType::get(RetType, ShadowTy, (Type *)0); in getArgsFunctionType()
300 ArgTypes.push_back(ShadowTy); in getTrampolineFunctionType()
322 ArgTypes.push_back(ShadowTy); in getCustomFunctionType()
336 ShadowTy = IntegerType::get(*Ctx, ShadowWidth); in doInitialization()
337 ShadowPtrTy = PointerType::getUnqual(ShadowTy); in doInitialization()
339 ZeroShadow = ConstantInt::getSigned(ShadowTy, 0); in doInitialization()
343 Type *DFSanUnionArgs[2] = { ShadowTy, ShadowTy }; in doInitialization()
345 FunctionType::get(ShadowTy, DFSanUnionArgs, /*isVarArg=*/ false); in doInitialization()
[all …]
DMemorySanitizer.cpp750 Value *getShadowPtr(Value *Addr, Type *ShadowTy, in getShadowPtr()
755 return IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowPtr()
827 Type *ShadowTy = getShadowTy(V); in getCleanShadow() local
828 if (!ShadowTy) in getCleanShadow()
830 return Constant::getNullValue(ShadowTy); in getCleanShadow()
834 Constant *getPoisonedShadow(Type *ShadowTy) { in getPoisonedShadow()
835 assert(ShadowTy); in getPoisonedShadow()
836 if (isa<IntegerType>(ShadowTy) || isa<VectorType>(ShadowTy)) in getPoisonedShadow()
837 return Constant::getAllOnesValue(ShadowTy); in getPoisonedShadow()
838 StructType *ST = cast<StructType>(ShadowTy); in getPoisonedShadow()
[all …]
DAddressSanitizer.cpp786 Type *ShadowTy = IntegerType::get( in instrumentAddress() local
788 Type *ShadowPtrTy = PointerType::get(ShadowTy, 0); in instrumentAddress()
790 Value *CmpVal = Constant::getNullValue(ShadowTy); in instrumentAddress()