| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 740 Type *IntptrTy; member 844 Type *IntptrTy; member in __anon187e16000211::ModuleAddressSanitizer 875 Type *IntptrTy; member 911 C(ASan.C), IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner() 1926 IntptrTy, IntptrTy, IntptrTy); in initializeCallbacks() 1929 IntptrTy, IntptrTy, IntptrTy); in initializeCallbacks() 2231 StructType::get(IntptrTy, IntptrTy, IntptrTy, IntptrTy, IntptrTy, in InstrumentGlobals() 2232 IntptrTy, IntptrTy, IntptrTy); in InstrumentGlobals() 2479 SmallVector<Type *, 3> Args2 = {IntptrTy, IntptrTy}; in initializeCallbacks() 2790 MallocNameTemplate + Suffix, IntptrTy, IntptrTy); in initializeCallbacks() [all …]
|
| H A D | HWAddressSanitizer.cpp | 373 Type *IntptrTy; member in __anone00de11f0111::HWAddressSanitizer 566 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule() 637 FunctionType::get(IRB.getVoidTy(), {IntptrTy, IntptrTy}, false)); in initializeCallbacks() 845 Value *PtrLong = IRB.CreatePointerCast(Ptr, IntptrTy); in instrumentMemAccessInline() 1074 return ConstantInt::get(IntptrTy, 0); in getUARTag() 1155 IntptrTy); in getSP() 1190 SlotPtr = getHwasanThreadSlotPtr(IRB, IntptrTy); in emitPrologue() 1192 ThreadLong = IRB.CreateLoad(IntptrTy, SlotPtr); in emitPrologue() 1228 ConstantInt::get(IntptrTy, (uint64_t)-1)); in emitPrologue() 1252 ConstantInt::get(IntptrTy, 1), "hwasan.shadow"); in emitPrologue() [all …]
|
| H A D | MemProfiler.cpp | 169 IntptrTy = Type::getIntNTy(*C, LongSize); in MemProfiler() 196 Type *IntptrTy; member in __anondc9a72430111::MemProfiler 317 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 323 IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 431 auto *Zero = ConstantInt::get(IntptrTy, 0); in instrumentMaskedLoadOrStore() 490 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() 554 SmallVector<Type *, 3> Args2 = {IntptrTy, IntptrTy}; in initializeCallbacks() 555 SmallVector<Type *, 2> Args1{1, IntptrTy}; in initializeCallbacks() 566 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks() 572 IRB.getInt32Ty(), IntptrTy); in initializeCallbacks() [all …]
|
| H A D | SanitizerCoverage.cpp | 381 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in instrumentModule() 382 IntptrPtrTy = PointerType::getUnqual(IntptrTy); in instrumentModule() 459 M.getOrInsertFunction(SanCovTraceGep, VoidTy, IntptrTy); in instrumentModule() 464 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in instrumentModule() 725 ConstantInt::get(IntptrTy, 1), IntptrPtrTy)); in CreatePCArray() 730 ConstantInt::get(IntptrTy, 0), IntptrPtrTy)); in CreatePCArray() 860 {IRB.CreateIntCast(Idx, IntptrTy, true)}); in InjectTraceForGep() 957 ConstantInt::get(IntptrTy, Idx * 4)), in InjectCoverageAtBlock() 964 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock() 974 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock() [all …]
|
| H A D | MemorySanitizer.cpp | 537 Type *IntptrTy; member in __anon54a388730211::MemorySanitizer 830 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi() 833 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi() 852 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks() 855 IntptrTy); in initializeCallbacks() 858 IntptrTy); in initializeCallbacks() 966 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule() 3923 Value *Len = ConstantInt::get(MS.IntptrTy, TypeSize); in instrumentAlloca() 4714 return IRB.CreateSExt(SaveArea32, MS.IntptrTy); in getVAField32() 5238 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyRegSaveArea() [all …]
|
| H A D | DataFlowSanitizer.cpp | 432 IntegerType *IntptrTy; member in __anonc1e0408c0211::DataFlowSanitizer 1034 IntptrTy = DL.getIntPtrType(*Ctx); in initializeModule() 1038 Type *DFSanUnionLoadArgs[2] = {PrimitiveShadowPtrTy, IntptrTy}; in initializeModule() 1041 Type *DFSanLoadLabelAndOriginArgs[2] = {Int8Ptr, IntptrTy}; in initializeModule() 1597 Value *Base = IRB.CreatePointerCast(DFS.ArgTLS, DFS.IntptrTy); in getArgTLS() 1710 Value *OffsetLong = IRB.CreatePointerCast(Addr, IntptrTy); in getShadowOffset() 2017 ConstantInt::get(DFS.IntptrTy, 1)); in loadShadowFast() 2085 ConstantInt::get(DFS.IntptrTy, Size)}); in loadShadowOriginSansLoadTracking() 2266 unsigned IntptrSize = DL.getTypeStoreSize(DFS.IntptrTy); in originToIntptr() 2280 unsigned IntptrSize = DL.getTypeStoreSize(DFS.IntptrTy); in paintOrigin() [all …]
|
| H A D | ThreadSanitizer.cpp | 147 Type *IntptrTy; member 201 IntptrTy = DL.getIntPtrType(M.getContext()); in initialize() 345 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize() 348 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize() 351 IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy); in initialize() 706 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic() 713 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
|