Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp715 Type *IntptrTy; member
859 Type *IntptrTy; member in __anonf69996040211::ModuleAddressSanitizer
928 Type *IntptrTy; member
964 C(ASan.C), IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner()
2074 IntptrTy, IntptrTy, IntptrTy); in initializeCallbacks()
2077 IntptrTy, IntptrTy, IntptrTy); in initializeCallbacks()
2380 StructType::get(IntptrTy, IntptrTy, IntptrTy, IntptrTy, IntptrTy, in InstrumentGlobals()
2381 IntptrTy, IntptrTy, IntptrTy); in InstrumentGlobals()
2633 SmallVector<Type *, 3> Args2 = {IntptrTy, IntptrTy}; in initializeCallbacks()
2935 MallocNameTemplate + Suffix, IntptrTy, IntptrTy); in initializeCallbacks()
[all …]
H A DMemProfiler.cpp162 IntptrTy = Type::getIntNTy(*C, LongSize); in MemProfiler()
190 Type *IntptrTy; member in __anon3cc0dfc70111::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()
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()
554 IRB.getInt32Ty(), IntptrTy); in initializeCallbacks()
[all …]
H A DHWAddressSanitizer.cpp321 Type *IntptrTy; member in __anonb30972230111::HWAddressSanitizer
576 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule()
647 FunctionType::get(IRB.getVoidTy(), {IntptrTy, IntptrTy}, false)); in initializeCallbacks()
836 Value *PtrLong = IRB.CreatePointerCast(Ptr, IntptrTy); in instrumentMemAccessInline()
1075 return ConstantInt::get(IntptrTy, 0); in getUARTag()
1149 Value *ThreadLong = IRB.CreateLoad(IntptrTy, SlotPtr); in emitPrologue()
1163 PC = IRB.CreatePtrToInt(F, IntptrTy); in emitPrologue()
1171 IntptrTy); in emitPrologue()
1194 ConstantInt::get(IntptrTy, (uint64_t)-1)); in emitPrologue()
1208 ConstantInt::get(IntptrTy, 1), "hwasan.shadow"); in emitPrologue()
[all …]
H A DSanitizerCoverage.cpp410 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in instrumentModule()
411 IntptrPtrTy = PointerType::getUnqual(IntptrTy); in instrumentModule()
464 M.getOrInsertFunction(SanCovTraceGep, VoidTy, IntptrTy); in instrumentModule()
469 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule()
721 ConstantInt::get(IntptrTy, 1), IntptrPtrTy)); in CreatePCArray()
726 ConstantInt::get(IntptrTy, 0), IntptrPtrTy)); in CreatePCArray()
856 {IRB.CreateIntCast(Idx, IntptrTy, true)}); in InjectTraceForGep()
924 ConstantInt::get(IntptrTy, Idx * 4)), in InjectCoverageAtBlock()
931 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock()
941 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock()
[all …]
H A DMemorySanitizer.cpp522 Type *IntptrTy; member in __anon158d17f70211::MemorySanitizer
840 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
843 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
862 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
865 IntptrTy); in initializeCallbacks()
868 IntptrTy); in initializeCallbacks()
973 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule()
3903 Value *Len = ConstantInt::get(MS.IntptrTy, TypeSize); in instrumentAlloca()
4692 return IRB.CreateSExt(SaveArea32, MS.IntptrTy); in getVAField32()
5216 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyRegSaveArea()
[all …]
H A DDataFlowSanitizer.cpp420 IntegerType *IntptrTy; member in __anon636bc1100211::DataFlowSanitizer
1052 IntptrTy = DL.getIntPtrType(*Ctx); in initializeModule()
1056 Type *DFSanUnionLoadArgs[2] = {PrimitiveShadowPtrTy, IntptrTy}; in initializeModule()
1059 Type *DFSanLoadLabelAndOriginArgs[2] = {Int8Ptr, IntptrTy}; in initializeModule()
1624 Value *Base = IRB.CreatePointerCast(DFS.ArgTLS, DFS.IntptrTy); in getArgTLS()
1759 Value *OffsetLong = IRB.CreatePointerCast(Addr, IntptrTy); in getShadowOffset()
2058 ConstantInt::get(DFS.IntptrTy, 1)); in loadShadowFast()
2126 ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadowOriginSansLoadTracking()
2282 unsigned IntptrSize = DL.getTypeStoreSize(DFS.IntptrTy); in originToIntptr()
2296 unsigned IntptrSize = DL.getTypeStoreSize(DFS.IntptrTy); in paintOrigin()
[all …]
H A DThreadSanitizer.cpp148 Type *IntptrTy; member
248 IntptrTy = DL.getIntPtrType(M.getContext()); in initialize()
393 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize()
396 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize()
399 IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy); in initialize()
750 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
757 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()