Home
last modified time | relevance | path

Searched refs:IntptrTy (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp486 Type *IntptrTy; member
531 Type *IntptrTy; member in __anone3a95e720111::AddressSanitizerModule
555 Type *IntptrTy; member
596 IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner()
597 IntptrPtrTy(PointerType::get(IntptrTy, 0)), in FunctionStackPoisoner()
633 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst()
641 {IntptrTy}); in unpoisonDynamicAllocasBeforeInst()
645 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst()
706 !ConstantInt::isValueValidForType(IntptrTy, SizeValue)) in visitIntrinsicInst()
827 return IRB.CreateOr(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow()
[all …]
DSanitizerCoverage.cpp170 Type *IntptrTy, *Int64Ty, *Int64PtrTy; member in __anonaa170eb80111::SanitizerCoverageModule
189 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in runOnModule()
203 kSanCovIndirCallName, VoidTy, IntptrTy, IntptrTy, nullptr)); in runOnModule()
277 {Int32PtrTy, IntptrTy, Int8PtrTy, Int8PtrTy}, in runOnModule()
279 ConstantInt::get(IntptrTy, N), in runOnModule()
358 Type *Ty = ArrayType::get(IntptrTy, kCacheSize); in InjectCoverageForIndirectCalls()
369 {IRB.CreatePointerCast(Callee, IntptrTy), in InjectCoverageForIndirectCalls()
370 IRB.CreatePointerCast(CalleeCache, IntptrTy)}); in InjectCoverageForIndirectCalls()
464 IRB.CreatePointerCast(GuardArray, IntptrTy), in InjectCoverageAtBlock()
465 ConstantInt::get(IntptrTy, (1 + NumberOfInstrumentedBlocks()) * 4)); in InjectCoverageAtBlock()
[all …]
DMemorySanitizer.cpp326 Type *IntptrTy; member in __anone66e8aa50111::MemorySanitizer
430 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in initializeCallbacks()
431 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks()
434 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks()
439 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks()
442 IntptrTy, nullptr); in initializeCallbacks()
445 IntptrTy, nullptr); in initializeCallbacks()
533 IntptrTy = IRB.getIntPtrTy(DL); in doInitialization()
651 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in originToIntptr()
654 Origin = IRB.CreateIntCast(Origin, MS.IntptrTy, /* isSigned */ false); in originToIntptr()
[all …]
DThreadSanitizer.cpp99 Type *IntptrTy; member
219 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks()
222 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks()
225 IRB.getInt32Ty(), IntptrTy, nullptr)); in initializeCallbacks()
230 IntptrTy = DL.getIntPtrType(M.getContext()); in doInitialization()
486 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
493 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
DDataFlowSanitizer.cpp230 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 …]