Searched refs:ShadowTy (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 228 IntegerType *ShadowTy; member in __anon267cbafd0111::DataFlowSanitizer 382 ArgTypes.append(T->getNumParams(), ShadowTy); in getArgsFunctionType() 387 RetType = StructType::get(RetType, ShadowTy, (Type *)nullptr); in getArgsFunctionType() 396 ArgTypes.append(T->getNumParams(), ShadowTy); in getTrampolineFunctionType() 417 ArgTypes.push_back(ShadowTy); in getCustomFunctionType() 438 ShadowTy = IntegerType::get(*Ctx, ShadowWidth); in doInitialization() 439 ShadowPtrTy = PointerType::getUnqual(ShadowTy); in doInitialization() 441 ZeroShadow = ConstantInt::getSigned(ShadowTy, 0); in doInitialization() 453 Type *DFSanUnionArgs[2] = { ShadowTy, ShadowTy }; in doInitialization() 455 FunctionType::get(ShadowTy, DFSanUnionArgs, /*isVarArg=*/ false); in doInitialization() [all …]
|
D | MemorySanitizer.cpp | 959 Value *getShadowPtr(Value *Addr, Type *ShadowTy, in getShadowPtr() 967 return IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowPtr() 1043 Type *ShadowTy = getShadowTy(V); in getCleanShadow() local 1044 if (!ShadowTy) in getCleanShadow() 1046 return Constant::getNullValue(ShadowTy); in getCleanShadow() 1050 Constant *getPoisonedShadow(Type *ShadowTy) { in getPoisonedShadow() 1051 assert(ShadowTy); in getPoisonedShadow() 1052 if (isa<IntegerType>(ShadowTy) || isa<VectorType>(ShadowTy)) in getPoisonedShadow() 1053 return Constant::getAllOnesValue(ShadowTy); in getPoisonedShadow() 1054 if (ArrayType *AT = dyn_cast<ArrayType>(ShadowTy)) { in getPoisonedShadow() [all …]
|
D | EfficiencySanitizer.cpp | 881 Type *ShadowTy = IntegerType::get(*Ctx, 8U); in instrumentFastpathWorkingSet() local 882 Type *ShadowPtrTy = PointerType::get(ShadowTy, 0); in instrumentFastpathWorkingSet() 886 Value *ValueMask = ConstantInt::get(ShadowTy, 0x81); // 10000001B in instrumentFastpathWorkingSet()
|
D | AddressSanitizer.cpp | 1155 Type *ShadowTy = in instrumentAddress() local 1157 Type *ShadowPtrTy = PointerType::get(ShadowTy, 0); in instrumentAddress() 1159 Value *CmpVal = Constant::getNullValue(ShadowTy); in instrumentAddress()
|