Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp883 IntptrTy(ASan.IntptrTy), in FunctionStackPoisoner()
1812 IntptrTy, IntptrTy)); in initializeCallbacks()
1829 IntptrTy, IntptrTy, IntptrTy)); in initializeCallbacks()
1834 IntptrTy, IntptrTy, IntptrTy)); in initializeCallbacks()
2102 StructType::get(IntptrTy, IntptrTy, IntptrTy, IntptrTy, IntptrTy, in InstrumentGlobals()
2103 IntptrTy, IntptrTy, IntptrTy); in InstrumentGlobals()
2342 SmallVector<Type *, 3> Args2 = {IntptrTy, IntptrTy}; in initializeCallbacks()
2391 kAsanPtrCmp, IRB.getVoidTy(), IntptrTy, IntptrTy)); in initializeCallbacks()
2393 kAsanPtrSub, IRB.getVoidTy(), IntptrTy, IntptrTy)); in initializeCallbacks()
2656 IntptrTy, IntptrTy)); in initializeCallbacks()
[all …]
H A DHWAddressSanitizer.cpp253 Type *IntptrTy; member in __anone01f24340111::HWAddressSanitizer
308 IntptrTy = IRB.getIntPtrTy(DL); in doInitialization()
363 FunctionType::get(IRB.getVoidTy(), {IntptrTy, IntptrTy}, false))); in initializeCallbacks()
388 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
394 IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy)); in initializeCallbacks()
655 ConstantInt::get(IntptrTy, Size)}); in tagAlloca()
719 return ConstantInt::get(IntptrTy, 0); in getUARTag()
844 auto PC = IRB.CreatePtrToInt(F, IntptrTy); in emitPrologue()
850 IntptrTy); in emitPrologue()
873 ConstantInt::get(IntptrTy, (uint64_t)-1)); in emitPrologue()
[all …]
H A DSanitizerCoverage.cpp320 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in runOnModule()
321 IntptrPtrTy = PointerType::getUnqual(IntptrTy); in runOnModule()
333 M.getOrInsertFunction(SanCovTracePCIndirName, VoidTy, IntptrTy)); in runOnModule()
368 SanCovTraceGep, VoidTy, IntptrTy)); in runOnModule()
374 M.getOrInsertGlobal(SanCovLowestStackName, IntptrTy); in runOnModule()
597 ConstantInt::get(IntptrTy, 1), IntptrPtrTy)); in CreatePCArray()
602 ConstantInt::get(IntptrTy, 0), IntptrPtrTy)); in CreatePCArray()
728 {IRB.CreateIntCast(*I, IntptrTy, true)}); in InjectTraceForGep()
793 ConstantInt::get(IntptrTy, Idx * 4)), in InjectCoverageAtBlock()
801 {ConstantInt::get(IntptrTy, 0), ConstantInt::get(IntptrTy, Idx)}); in InjectCoverageAtBlock()
[all …]
H A DMemorySanitizer.cpp499 Type *IntptrTy; member in __anon0ecc9ba80211::MemorySanitizer
784 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
787 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
803 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
806 IntptrTy); in initializeCallbacks()
809 IntptrTy); in initializeCallbacks()
914 IntptrTy = IRB.getIntPtrTy(DL); in initializeModule()
1066 unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy); in originToIntptr()
3393 Value *Len = ConstantInt::get(MS.IntptrTy, TypeSize); in visitAllocaInst()
3543 Value *SizeVal = ConstantInt::get(MS.IntptrTy, Size); in instrumentAsmArgument()
[all …]
H A DEfficiencySanitizer.cpp202 Type *IntptrTy; member in __anon64318f640111::EfficiencySanitizer
271 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
274 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
277 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
280 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
283 IRB.getInt32Ty(), IntptrTy)); in initializeCallbacks()
535 IntptrTy = DL.getIntPtrType(M.getContext()); in initOnModule()
568 Shadow = IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Offs)); in appToShadow()
688 ConstantInt::get(IntptrTy, TypeSizeBytes)}); in instrumentLoadOrStore()
716 IRB.CreateIntCast(MI->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
[all …]
H A DDataFlowSanitizer.cpp328 IntegerType *IntptrTy; member in __anonaa9af5010111::DataFlowSanitizer
552 IntptrTy = DL.getIntPtrType(*Ctx); in doInitialization()
554 ShadowPtrMul = ConstantInt::getSigned(IntptrTy, ShadowWidth / 8); in doInitialization()
558 ShadowPtrMask = ConstantInt::getSigned(IntptrTy, ~0xF000000000LL); in doInitialization()
568 Type *DFSanUnionLoadArgs[2] = { ShadowPtrTy, IntptrTy }; in doInitialization()
585 ConstantInt::get(IntptrTy, uintptr_t(GetArgTLSPtr)), in doInitialization()
592 ConstantInt::get(IntptrTy, uintptr_t(GetRetvalTLSPtr)), in doInitialization()
727 Mod->getOrInsertGlobal(kDFSanExternShadowPtrMask, IntptrTy); in runOnModule()
1050 ShadowPtrMaskValue = IRB.CreateLoad(IntptrTy, ExternalShadowMask); in getShadowAddress()
1055 IRB.CreateAnd(IRB.CreatePtrToInt(Addr, IntptrTy), in getShadowAddress()
[all …]
H A DThreadSanitizer.cpp111 Type *IntptrTy; member
276 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
279 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
282 IRB.getInt32Ty(), IntptrTy)); in initializeCallbacks()
287 IntptrTy = DL.getIntPtrType(M.getContext()); in ThreadSanitizer()
605 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()
612 IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)}); in instrumentMemIntrinsic()