| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 765 Type *IntptrTy; member 885 Type *IntptrTy; member in __anon5057f5c60211::ModuleAddressSanitizer 917 Type *IntptrTy; member 953 C(ASan.C), IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner() 2129 IntptrTy, IntptrTy, IntptrTy); in initializeCallbacks() 2132 IntptrTy, IntptrTy, IntptrTy); in initializeCallbacks() 2433 StructType::get(IntptrTy, IntptrTy, IntptrTy, IntptrTy, IntptrTy, in instrumentGlobals() 2434 IntptrTy, IntptrTy, IntptrTy); in instrumentGlobals() 2703 SmallVector<Type *, 3> Args2 = {IntptrTy, IntptrTy}; in initializeCallbacks() 3018 MallocNameTemplate + Suffix, IntptrTy, IntptrTy); in initializeCallbacks() [all …]
|
| H A D | HWAddressSanitizer.cpp | 386 Type *IntptrTy; member in __anon75deca650111::HWAddressSanitizer 589 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule() 667 FunctionType::get(VoidTy, {IntptrTy, IntptrTy, Int8Ty}, false); in initializeCallbacks() 676 FunctionType::get(VoidTy, {IntptrTy, IntptrTy}, false); in initializeCallbacks() 678 FunctionType::get(VoidTy, {IntptrTy}, false); in initializeCallbacks() 885 R.PtrLong = IRB.CreatePointerCast(Ptr, IntptrTy); in insertShadowTagCheck() 1065 IRB.CreatePointerCast(Addr, IntptrTy), in instrumentMemAccess() 1246 IntptrTy); in getSP() 1281 SlotPtr = getHwasanThreadSlotPtr(IRB, IntptrTy); in emitPrologue() 1283 ThreadLong = IRB.CreateLoad(IntptrTy, SlotPtr); in emitPrologue() [all …]
|
| H A D | SanitizerCoverage.cpp | 388 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in instrumentModule() 460 M.getOrInsertFunction(SanCovTraceGep, VoidTy, IntptrTy); in instrumentModule() 465 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule() 738 ConstantInt::get(IntptrTy, 1), PtrTy)); in CreatePCArray() 870 {IRB.CreateIntCast(Idx, IntptrTy, true)}); in InjectTraceForGep() 963 ConstantInt::get(IntptrTy, Idx * 4)), in InjectCoverageAtBlock() 970 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock() 980 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock() 997 auto FrameAddrInt = IRB.CreatePtrToInt(FrameAddrPtr, IntptrTy); in InjectCoverageAtBlock() 998 auto LowestStack = IRB.CreateLoad(IntptrTy, SanCovLowestStack); in InjectCoverageAtBlock() [all …]
|
| H A D | MemProfiler.cpp | 184 IntptrTy = Type::getIntNTy(*C, LongSize); in MemProfiler() 212 Type *IntptrTy; member in __anon8af1de490111::MemProfiler 280 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 388 auto *Zero = ConstantInt::get(IntptrTy, 0); in instrumentMaskedLoadOrStore() 447 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() 511 SmallVector<Type *, 3> Args2 = {IntptrTy, IntptrTy}; in initializeCallbacks() 512 SmallVector<Type *, 2> Args1{1, IntptrTy}; in initializeCallbacks() 524 PtrTy, PtrTy, PtrTy, IntptrTy); in initializeCallbacks() 527 PtrTy, IRB.getInt32Ty(), IntptrTy); in initializeCallbacks() 551 MemProfShadowMemoryDynamicAddress, IntptrTy); in insertDynamicShadowAtFunctionEntry() [all …]
|
| H A D | MemorySanitizer.cpp | 923 IRB.getVoidTy(), PtrTy, IntptrTy, IRB.getInt32Ty()); in initializeCallbacks() 1042 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule() 1663 return MS.IntptrTy; in ptrToIntPtrType() 1672 assert(IntPtrTy == MS.IntptrTy); in getPtrToShadowPtrType() 1681 assert(IntPtrTy == MS.IntptrTy); in constToIntPtr() 1682 return ConstantInt::get(MS.IntptrTy, C); in constToIntPtr() 1693 Type *IntptrTy = ptrToIntPtrType(Addr->getType()); in getShadowPtrOffset() local 1721 Type *IntptrTy = ptrToIntPtrType(Addr->getType()); in getShadowOriginPtrUserspace() local 5187 return IRB.CreateSExt(SaveArea32, MS.IntptrTy); in getVAField32() 5645 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyRegSaveArea() [all …]
|
| H A D | DataFlowSanitizer.cpp | 458 IntegerType *IntptrTy; member in __anonf4f619120211::DataFlowSanitizer 1153 IntptrTy = DL.getIntPtrType(*Ctx); in initializeModule() 1157 Type *DFSanUnionLoadArgs[2] = {PrimitiveShadowPtrTy, IntptrTy}; in initializeModule() 1160 Type *DFSanLoadLabelAndOriginArgs[2] = {Int8Ptr, IntptrTy}; in initializeModule() 1787 Value *Base = IRB.CreatePointerCast(DFS.ArgTLS, DFS.IntptrTy); in getArgTLS() 1900 Value *OffsetLong = IRB.CreatePointerCast(Addr, IntptrTy); in getShadowOffset() 2206 ConstantInt::get(DFS.IntptrTy, 1)); in loadShadowFast() 2460 unsigned IntptrSize = DL.getTypeStoreSize(DFS.IntptrTy); in originToIntptr() 2473 const Align IntptrAlignment = DL.getABITypeAlign(DFS.IntptrTy); in paintOrigin() 2474 unsigned IntptrSize = DL.getTypeStoreSize(DFS.IntptrTy); in paintOrigin() [all …]
|
| H A D | ThreadSanitizer.cpp | 146 Type *IntptrTy; member 201 IntptrTy = DL.getIntPtrType(Ctx); in initialize() 336 IRB.getPtrTy(), IRB.getPtrTy(), IntptrTy); in initialize() 339 IRB.getPtrTy(), IRB.getPtrTy(), IntptrTy); in initialize() 343 IRB.getPtrTy(), IRB.getPtrTy(), IRB.getInt32Ty(), IntptrTy); in initialize() 690 Value *Cast2 = IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false); in instrumentMemIntrinsic() 702 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
|