/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 326 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 …]
|
D | MemorySanitizer.cpp | 912 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 …]
|
D | EfficiencySanitizer.cpp | 895 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()
|
D | AddressSanitizer.cpp | 1542 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/ |
D | DataFlowSanitizer.cpp | 228 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 …]
|
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()
|