| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 621 IntptrTy = Type::getIntNTy(*C, LongSize); in AddressSanitizer() 708 Type *IntptrTy; member 793 IntptrTy = Type::getIntNTy(*C, LongSize); in ModuleAddressSanitizer() 849 Type *IntptrTy; member in __anonac73263b0211::ModuleAddressSanitizer 918 Type *IntptrTy; member 955 C(ASan.C), IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner() 956 IntptrPtrTy(PointerType::get(IntptrTy, 0)), Mapping(ASan.Mapping), in FunctionStackPoisoner() 1024 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst() 1032 {IntptrTy}); in unpoisonDynamicAllocasBeforeInst() 1036 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst() [all …]
|
| H A D | HWAddressSanitizer.cpp | 279 Type *IntptrTy; member in __anon4587ec1a0111::HWAddressSanitizer 498 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule() 548 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule() 549 auto *GV = new GlobalVariable(M, IntptrTy, /*isConstant=*/false, in initializeModule() 568 FunctionType::get(IRB.getVoidTy(), {IntptrTy, IntptrTy}, false)); in initializeCallbacks() 576 FunctionType::get(IRB.getVoidTy(), {IntptrTy}, false)); in initializeCallbacks() 581 "__hwasan_tag_memory", IRB.getVoidTy(), Int8PtrTy, Int8Ty, IntptrTy); in initializeCallbacks() 592 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks() 595 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks() 598 IRB.getInt32Ty(), IntptrTy); in initializeCallbacks() [all …]
|
| H A D | MemProfiler.cpp | 162 IntptrTy = Type::getIntNTy(*C, LongSize); in MemProfiler() 190 Type *IntptrTy; member in __anon394ab19e0111::MemProfiler 313 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 319 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 421 auto *Zero = ConstantInt::get(IntptrTy, 0); in instrumentMaskedLoadOrStore() 443 IRB.CreateGEP(VTy, Addr, {Zero, ConstantInt::get(IntptrTy, Idx)}); in instrumentMaskedLoadOrStore() 472 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() 536 SmallVector<Type *, 3> Args2 = {IntptrTy, IntptrTy}; in initializeCallbacks() 537 SmallVector<Type *, 2> Args1{1, IntptrTy}; in initializeCallbacks() 548 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks() [all …]
|
| H A D | SanitizerCoverage.cpp | 243 Type *IntptrTy, *IntptrPtrTy, *Int64Ty, *Int64PtrTy, *Int32Ty, *Int32PtrTy, member in __anon8c19cfa10111::ModuleSanitizerCoverage 354 ConstantInt::get(IntptrTy, sizeof(uint64_t))); in CreateSecStartEnd() 409 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in instrumentModule() 410 IntptrPtrTy = PointerType::getUnqual(IntptrTy); in instrumentModule() 424 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy); in instrumentModule() 463 M.getOrInsertFunction(SanCovTraceGep, VoidTy, IntptrTy); in instrumentModule() 468 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule() 478 SanCovLowestStack->setInitializer(Constant::getAllOnesValue(IntptrTy)); in instrumentModule() 718 ConstantInt::get(IntptrTy, 1), IntptrPtrTy)); in CreatePCArray() 723 ConstantInt::get(IntptrTy, 0), IntptrPtrTy)); in CreatePCArray() [all …]
|
| H A D | MemorySanitizer.cpp | 522 Type *IntptrTy; member in __anon03c9fd4e0211::MemorySanitizer 762 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy()); in createKernelApi() 764 "__msan_unpoison_alloca", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy); in createKernelApi() 839 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in createUserspaceApi() 840 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi() 843 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi() 859 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt32Ty()); in initializeCallbacks() 862 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks() 865 IntptrTy); in initializeCallbacks() 868 IntptrTy); in initializeCallbacks() [all …]
|
| H A D | DataFlowSanitizer.cpp | 436 IntegerType *IntptrTy; member in __anond47758270111::DataFlowSanitizer 1092 IntptrTy = DL.getIntPtrType(*Ctx); in init() 1094 ShadowPtrMul = ConstantInt::getSigned(IntptrTy, ShadowWidthBytes); in init() 1095 OriginBase = ConstantInt::get(IntptrTy, 0x200000000000LL); in init() 1101 ? ConstantInt::getSigned(IntptrTy, ~0x600000000000LL) in init() 1102 : ConstantInt::getSigned(IntptrTy, ~0x700000000000LL); in init() 1107 ? ConstantInt::getSigned(IntptrTy, ~0xE000000000LL) in init() 1108 : ConstantInt::getSigned(IntptrTy, ~0xF000000000LL); in init() 1122 Type *DFSanUnionLoadArgs[2] = {PrimitiveShadowPtrTy, IntptrTy}; in init() 1125 Type *DFSanLoadLabelAndOriginArgs[2] = {Int8Ptr, IntptrTy}; in init() [all …]
|
| H A D | ThreadSanitizer.cpp | 147 Type *IntptrTy; member 247 IntptrTy = DL.getIntPtrType(M.getContext()); in initialize() 363 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize() 366 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize() 369 IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy); in initialize() 720 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 727 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
|