Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp326 IntegerType *ShadowTy; member in __anon83c261760111::DataFlowSanitizer
485 ArgTypes.append(T->getNumParams(), ShadowTy); in getArgsFunctionType()
490 RetType = StructType::get(RetType, ShadowTy); in getArgsFunctionType()
499 ArgTypes.append(T->getNumParams(), ShadowTy); in getTrampolineFunctionType()
528 ArgTypes.push_back(ShadowTy); in getCustomFunctionType()
550 ShadowTy = IntegerType::get(*Ctx, ShadowWidth); in doInitialization()
551 ShadowPtrTy = PointerType::getUnqual(ShadowTy); in doInitialization()
553 ZeroShadow = ConstantInt::getSigned(ShadowTy, 0); in doInitialization()
565 Type *DFSanUnionArgs[2] = { ShadowTy, ShadowTy }; in doInitialization()
567 FunctionType::get(ShadowTy, DFSanUnionArgs, /*isVarArg=*/ false); in doInitialization()
[all …]
DMemorySanitizer.cpp912 Type *ShadowTy = Shadow->getType(); in materializeStores() local
916 getShadowOriginPtr(Addr, IRB, ShadowTy, Alignment, /*isStore*/ true); in materializeStores()
1112 Type *ShadowTy, in getShadowOriginPtrUserspace()
1123 IRB.CreateIntToPtr(ShadowLong, PointerType::get(ShadowTy, 0)); in getShadowOriginPtrUserspace()
1143 Type *ShadowTy, in getShadowOriginPtr()
1147 getShadowOriginPtrUserspace(Addr, IRB, ShadowTy, Alignment); in getShadowOriginPtr()
1202 Type *ShadowTy = getShadowTy(OrigTy); in getCleanShadow() local
1203 if (!ShadowTy) in getCleanShadow()
1205 return Constant::getNullValue(ShadowTy); in getCleanShadow()
1217 Constant *getPoisonedShadow(Type *ShadowTy) { in getPoisonedShadow()
[all …]
DEfficiencySanitizer.cpp895 Type *ShadowTy = IntegerType::get(*Ctx, 8U); in instrumentFastpathWorkingSet() local
896 Type *ShadowPtrTy = PointerType::get(ShadowTy, 0); in instrumentFastpathWorkingSet()
900 Value *ValueMask = ConstantInt::get(ShadowTy, 0x81); // 10000001B in instrumentFastpathWorkingSet()
DAddressSanitizer.cpp1542 Type *ShadowTy = in instrumentAddress() local
1544 Type *ShadowPtrTy = PointerType::get(ShadowTy, 0); in instrumentAddress()
1546 Value *CmpVal = Constant::getNullValue(ShadowTy); in instrumentAddress()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp228 IntegerType *ShadowTy; member in __anonf274973e0111::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 …]
DMemorySanitizer.cpp959 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 …]
DEfficiencySanitizer.cpp881 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()
DAddressSanitizer.cpp1155 Type *ShadowTy = in instrumentAddress() local
1157 Type *ShadowPtrTy = PointerType::get(ShadowTy, 0); in instrumentAddress()
1159 Value *CmpVal = Constant::getNullValue(ShadowTy); in instrumentAddress()