| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 400 Type *IntptrTy; member 441 Type *IntptrTy; member in __anona3fcfda30111::AddressSanitizerModule 466 Type *IntptrTy; member 513 C(ASan.C), IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner() 514 IntptrPtrTy(PointerType::get(IntptrTy, 0)), Mapping(ASan.Mapping), in FunctionStackPoisoner() 556 ConstantInt::get(IntptrTy, 4)); in unpoisonDynamicAlloca() 623 !ConstantInt::isValueValidForType(IntptrTy, SizeValue)) in visitIntrinsicInst() 750 return IRB.CreateOr(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow() 752 return IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow() 763 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)); in instrumentMemIntrinsic() [all …]
|
| H A D | SanitizerCoverage.cpp | 111 Type *IntptrTy; member in __anon74de94090111::SanitizerCoverageModule 135 IntptrTy = Type::getIntNTy(*C, DLP->getDataLayout().getPointerSizeInBits()); in runOnModule() 149 kSanCovIndirCallName, VoidTy, IntptrTy, IntptrTy, nullptr)); in runOnModule() 152 Int32PtrTy, IntptrTy, nullptr)); in runOnModule() 193 ConstantInt::get(IntptrTy, SanCovFunction->getNumUses())); in runOnModule() 247 Type *Ty = ArrayType::get(IntptrTy, kCacheSize); in InjectCoverageForIndirectCalls() 258 IRB.CreatePointerCast(Callee, IntptrTy), in InjectCoverageForIndirectCalls() 259 IRB.CreatePointerCast(CalleeCache, IntptrTy)); in InjectCoverageForIndirectCalls() 282 IRB.CreatePointerCast(GuardArray, IntptrTy), in InjectCoverageAtBlock() 283 ConstantInt::get(IntptrTy, (1 + SanCovFunction->getNumUses()) * 4)); in InjectCoverageAtBlock()
|
| H A D | MemorySanitizer.cpp | 278 Type *IntptrTy; member in __anonec4287b60111::MemorySanitizer 380 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in initializeCallbacks() 381 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks() 384 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks() 389 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks() 392 IntptrTy, nullptr); in initializeCallbacks() 395 IntptrTy, nullptr); in initializeCallbacks() 464 IntptrTy = IRB.getIntPtrTy(DL); in doInitialization() 790 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getShadowPtrOffset() 791 ConstantInt::get(MS.IntptrTy, ~AndMask)); in getShadowPtrOffset() [all …]
|
| H A D | ThreadSanitizer.cpp | 93 Type *IntptrTy; member 208 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks() 211 IntptrTy, nullptr)); in initializeCallbacks() 214 IntptrTy, nullptr)); in initializeCallbacks() 225 IntptrTy = IRB.getIntPtrTy(DL); in doInitialization() 451 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)); in instrumentMemIntrinsic() 457 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)); in instrumentMemIntrinsic()
|
| H A D | DataFlowSanitizer.cpp | 223 IntegerType *IntptrTy; member in __anonbd3c1c8f0111::DataFlowSanitizer 432 IntptrTy = DL->getIntPtrType(*Ctx); in doInitialization() 434 ShadowPtrMul = ConstantInt::getSigned(IntptrTy, ShadowWidth / 8); in doInitialization() 436 ShadowPtrMask = ConstantInt::getSigned(IntptrTy, ~0x700000000000LL); in doInitialization() 438 ShadowPtrMask = ConstantInt::getSigned(IntptrTy, ~0xF000000000LL); in doInitialization() 445 Type *DFSanUnionLoadArgs[2] = { ShadowPtrTy, IntptrTy }; in doInitialization() 450 Type *DFSanSetLabelArgs[3] = { ShadowTy, Type::getInt8PtrTy(*Ctx), IntptrTy }; in doInitialization() 462 ConstantInt::get(IntptrTy, uintptr_t(GetArgTLSPtr)), in doInitialization() 470 ConstantInt::get(IntptrTy, uintptr_t(GetRetvalTLSPtr)), in doInitialization() 938 IRB.CreateAnd(IRB.CreatePtrToInt(Addr, IntptrTy), ShadowPtrMask), in getShadowAddress() [all …]
|