Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp660 IntptrTy = Type::getIntNTy(*C, LongSize); in AddressSanitizer()
752 Type *IntptrTy; member
807 IntptrTy = Type::getIntNTy(*C, LongSize); in ModuleAddressSanitizer()
863 Type *IntptrTy; member in __anon7e186d870211::ModuleAddressSanitizer
894 Type *IntptrTy; member
930 C(ASan.C), IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner()
931 IntptrPtrTy(PointerType::get(IntptrTy, 0)), Mapping(ASan.Mapping), in FunctionStackPoisoner()
998 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst()
1006 {IntptrTy}); in unpoisonDynamicAllocasBeforeInst()
1010 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst()
[all …]
H A DMemProfiler.cpp169 IntptrTy = Type::getIntNTy(*C, LongSize); in MemProfiler()
196 Type *IntptrTy; member in __anon7d27396a0111::MemProfiler
259 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
265 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
373 auto *Zero = ConstantInt::get(IntptrTy, 0); in instrumentMaskedLoadOrStore()
395 IRB.CreateGEP(VTy, Addr, {Zero, ConstantInt::get(IntptrTy, Idx)}); in instrumentMaskedLoadOrStore()
432 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
496 SmallVector<Type *, 3> Args2 = {IntptrTy, IntptrTy}; in initializeCallbacks()
497 SmallVector<Type *, 2> Args1{1, IntptrTy}; in initializeCallbacks()
508 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
[all …]
H A DHWAddressSanitizer.cpp375 Type *IntptrTy; member in __anon159c36660111::HWAddressSanitizer
570 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule()
620 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule()
621 auto *GV = new GlobalVariable(M, IntptrTy, /*isConstant=*/false, in initializeModule()
640 FunctionType::get(IRB.getVoidTy(), {IntptrTy, IntptrTy}, false)); in initializeCallbacks()
648 FunctionType::get(IRB.getVoidTy(), {IntptrTy}, false)); in initializeCallbacks()
653 "__hwasan_tag_memory", IRB.getVoidTy(), Int8PtrTy, Int8Ty, IntptrTy); in initializeCallbacks()
669 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
672 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
675 IRB.getInt32Ty(), IntptrTy); in initializeCallbacks()
[all …]
H A DSanitizerCoverage.cpp270 Type *Int128PtrTy, *IntptrTy, *IntptrPtrTy, *Int64Ty, *Int64PtrTy, *Int32Ty, member in __anon9268006d0111::ModuleSanitizerCoverage
342 ConstantInt::get(IntptrTy, sizeof(uint64_t))); in CreateSecStartEnd()
399 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in instrumentModule()
400 IntptrPtrTy = PointerType::getUnqual(IntptrTy); in instrumentModule()
416 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy); in instrumentModule()
477 M.getOrInsertFunction(SanCovTraceGep, VoidTy, IntptrTy); in instrumentModule()
482 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule()
484 if (!SanCovLowestStack || SanCovLowestStack->getValueType() != IntptrTy) { in instrumentModule()
492 SanCovLowestStack->setInitializer(Constant::getAllOnesValue(IntptrTy)); in instrumentModule()
517 auto SecStartEnd = CreateSecStartEnd(M, SanCovPCsSectionName, IntptrTy); in instrumentModule()
[all …]
H A DMemorySanitizer.cpp554 Type *IntptrTy; member in __anon6efd8b1a0211::MemorySanitizer
785 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy()); in createKernelApi()
787 "__msan_unpoison_alloca", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy); in createKernelApi()
860 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy(), IRB.getInt8PtrTy()); in createUserspaceApi()
863 IntptrTy, IRB.getInt8PtrTy()); in createUserspaceApi()
865 "__msan_poison_stack", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
883 IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, IRB.getInt32Ty()); in initializeCallbacks()
886 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
889 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
892 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy); in initializeCallbacks()
[all …]
H A DDataFlowSanitizer.cpp450 IntegerType *IntptrTy; member in __anondac588f30211::DataFlowSanitizer
1142 IntptrTy = DL.getIntPtrType(*Ctx); in initializeModule()
1146 Type *DFSanUnionLoadArgs[2] = {PrimitiveShadowPtrTy, IntptrTy}; in initializeModule()
1149 Type *DFSanLoadLabelAndOriginArgs[2] = {Int8Ptr, IntptrTy}; in initializeModule()
1160 Type::getInt8PtrTy(*Ctx), IntptrTy}; in initializeModule()
1193 Int8Ptr, IntptrTy, OriginTy}; in initializeModule()
1196 Type *DFSanMemOriginTransferArgs[3] = {Int8Ptr, Int8Ptr, IntptrTy}; in initializeModule()
1199 Type *DFSanMemShadowOriginTransferArgs[3] = {Int8Ptr, Int8Ptr, IntptrTy}; in initializeModule()
1204 IntegerType::get(*Ctx, 8), Int8Ptr, Int8Ptr, Int8Ptr, IntptrTy}; in initializeModule()
1212 Type *DFSanMemTransferCallbackArgs[2] = {PrimitiveShadowPtrTy, IntptrTy}; in initializeModule()
[all …]
H A DThreadSanitizer.cpp146 Type *IntptrTy; member
201 IntptrTy = DL.getIntPtrType(Ctx); in initialize()
336 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize()
339 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize()
343 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy); in initialize()
698 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
705 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()