Searched refs:ShadowTy (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 222 IntegerType *ShadowTy; member in __anonf274973e0111::DataFlowSanitizer 374 ArgTypes.append(T->getNumParams(), ShadowTy); in getArgsFunctionType() 379 RetType = StructType::get(RetType, ShadowTy, (Type *)nullptr); in getArgsFunctionType() 388 ArgTypes.append(T->getNumParams(), ShadowTy); in getTrampolineFunctionType() 409 ArgTypes.push_back(ShadowTy); in getCustomFunctionType() 428 ShadowTy = IntegerType::get(*Ctx, ShadowWidth); in doInitialization() 429 ShadowPtrTy = PointerType::getUnqual(ShadowTy); in doInitialization() 431 ZeroShadow = ConstantInt::getSigned(ShadowTy, 0); in doInitialization() 440 Type *DFSanUnionArgs[2] = { ShadowTy, ShadowTy }; in doInitialization() 442 FunctionType::get(ShadowTy, DFSanUnionArgs, /*isVarArg=*/ false); in doInitialization() [all …]
|
D | MemorySanitizer.cpp | 889 Value *getShadowPtr(Value *Addr, Type *ShadowTy, in getShadowPtr() 897 return IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowPtr() 973 Type *ShadowTy = getShadowTy(V); in getCleanShadow() local 974 if (!ShadowTy) in getCleanShadow() 976 return Constant::getNullValue(ShadowTy); in getCleanShadow() 980 Constant *getPoisonedShadow(Type *ShadowTy) { in getPoisonedShadow() 981 assert(ShadowTy); in getPoisonedShadow() 982 if (isa<IntegerType>(ShadowTy) || isa<VectorType>(ShadowTy)) in getPoisonedShadow() 983 return Constant::getAllOnesValue(ShadowTy); in getPoisonedShadow() 984 if (ArrayType *AT = dyn_cast<ArrayType>(ShadowTy)) { in getPoisonedShadow() [all …]
|
D | AddressSanitizer.cpp | 1039 Type *ShadowTy = in instrumentAddress() local 1041 Type *ShadowPtrTy = PointerType::get(ShadowTy, 0); in instrumentAddress() 1043 Value *CmpVal = Constant::getNullValue(ShadowTy); in instrumentAddress()
|