/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 532 Type *IntptrTy; member 578 Type *IntptrTy; member in __anone3a95e720111::AddressSanitizerModule 604 Type *IntptrTy; member 645 IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner() 646 IntptrPtrTy(PointerType::get(IntptrTy, 0)), in FunctionStackPoisoner() 682 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst() 690 {IntptrTy}); in unpoisonDynamicAllocasBeforeInst() 694 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst() 756 !ConstantInt::isValueValidForType(IntptrTy, SizeValue)) in visitIntrinsicInst() 889 return IRB.CreateOr(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow() [all …]
|
D | SanitizerCoverage.cpp | 194 Type *IntptrTy, *Int64Ty, *Int64PtrTy; member in __anonaa170eb80111::SanitizerCoverageModule 213 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in runOnModule() 226 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy, nullptr)); in runOnModule() 229 SanCovIndirCallName, VoidTy, IntptrTy, IntptrTy, nullptr)); in runOnModule() 304 {Int32PtrTy, IntptrTy, Int8PtrTy, Int8PtrTy}, in runOnModule() 306 ConstantInt::get(IntptrTy, N), in runOnModule() 431 Type *Ty = ArrayType::get(IntptrTy, CacheSize); in InjectCoverageForIndirectCalls() 444 IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls() 447 {IRB.CreatePointerCast(Callee, IntptrTy), in InjectCoverageForIndirectCalls() 448 IRB.CreatePointerCast(CalleeCache, IntptrTy)}); in InjectCoverageForIndirectCalls() [all …]
|
D | MemorySanitizer.cpp | 334 Type *IntptrTy; member in __anone66e8aa50111::MemorySanitizer 443 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in initializeCallbacks() 444 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks() 447 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks() 452 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks() 455 IntptrTy, nullptr); in initializeCallbacks() 458 IntptrTy, nullptr); in initializeCallbacks() 546 IntptrTy = IRB.getIntPtrTy(DL); in doInitialization() 672 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in originToIntptr() 675 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false); in originToIntptr() [all …]
|
D | EfficiencySanitizer.cpp | 206 Type *IntptrTy; member in __anon08fcb4e10111::EfficiencySanitizer 274 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks() 277 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks() 280 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks() 283 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks() 286 IRB.getInt32Ty(), IntptrTy, nullptr)); in initializeCallbacks() 536 IntptrTy = DL.getIntPtrType(M.getContext()); in initOnModule() 562 Shadow = IRB.CreateAnd(Shadow, ConstantInt::get(IntptrTy, ShadowMask)); in appToShadow() 569 Shadow = IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Offs)); in appToShadow() 689 ConstantInt::get(IntptrTy, TypeSizeBytes)}); in instrumentLoadOrStore() [all …]
|
D | DataFlowSanitizer.cpp | 230 IntegerType *IntptrTy; member in __anonf274973e0111::DataFlowSanitizer 440 IntptrTy = DL.getIntPtrType(*Ctx); in doInitialization() 442 ShadowPtrMul = ConstantInt::getSigned(IntptrTy, ShadowWidth / 8); in doInitialization() 444 ShadowPtrMask = ConstantInt::getSigned(IntptrTy, ~0x700000000000LL); in doInitialization() 446 ShadowPtrMask = ConstantInt::getSigned(IntptrTy, ~0xF000000000LL); in doInitialization() 456 Type *DFSanUnionLoadArgs[2] = { ShadowPtrTy, IntptrTy }; in doInitialization() 461 Type *DFSanSetLabelArgs[3] = { ShadowTy, Type::getInt8PtrTy(*Ctx), IntptrTy }; in doInitialization() 473 ConstantInt::get(IntptrTy, uintptr_t(GetArgTLSPtr)), in doInitialization() 481 ConstantInt::get(IntptrTy, uintptr_t(GetRetvalTLSPtr)), in doInitialization() 621 Mod->getOrInsertGlobal(kDFSanExternShadowPtrMask, IntptrTy); in runOnModule() [all …]
|
D | ThreadSanitizer.cpp | 103 Type *IntptrTy; member 233 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks() 236 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks() 239 IRB.getInt32Ty(), IntptrTy, nullptr)); in initializeCallbacks() 244 IntptrTy = DL.getIntPtrType(M.getContext()); in doInitialization() 540 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 547 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
|