Home
last modified time | relevance | path

Searched refs:AddrLong (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsanInstrumentation.cpp80 Value *AddrLong, Value *ShadowValue, in createSlowPathCmp() argument
85 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp()
165 Value *AddrLong = IRB.CreatePtrToInt(Addr, IntptrTy); in instrumentAddressImpl() local
167 memToShadow(M, IRB, IntptrTy, AddrLong, AsanScale, AsanOffset); in instrumentAddressImpl()
173 auto *Cmp2 = createSlowPathCmp(M, IRB, IntptrTy, AddrLong, ShadowValue, in instrumentAddressImpl()
178 generateCrashCode(M, IRB, IntptrTy, CrashTerm, AddrLong, IsWrite, in instrumentAddressImpl()
210 Value *AddrLong = IRB.CreatePtrToInt(Addr, IntptrTy); in instrumentAddress() local
213 IRB.CreateIntToPtr(IRB.CreateAdd(AddrLong, SizeMinusOne), AddrTy); in instrumentAddress()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfInstrumentation.cpp447 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() local
450 IRB.CreateCall(MemProfMemoryAccessCallback[IsWrite], AddrLong); in instrumentAddress()
457 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress()
H A DHWAddressSanitizer.cpp319 Value *AddrLong = nullptr; member
925 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in untagPointerOperand() local
927 IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType()); in untagPointerOperand()
960 R.AddrLong = untagPointer(IRB, R.PtrLong); in insertShadowTagCheck()
961 Value *Shadow = memToShadow(R.AddrLong, IRB); in insertShadowTagCheck()
1047 Value *InlineTagAddr = IRB.CreateOr(TCI.AddrLong, 15); in instrumentMemAccessInline()
1195 Value *AddrLong = untagPointer(IRB, IRB.CreatePointerCast(AI, IntptrTy)); in tagAlloca() local
1196 Value *ShadowPtr = memToShadow(AddrLong, IRB); in tagAlloca()
H A DAddressSanitizer.cpp837 Value *createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong,
1837 Value *AddressSanitizer::createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, in createSlowPathCmp() argument
1843 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp()
1926 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() local
1930 IRB, AsanMemoryAccessCallback[IsWrite][0][AccessSizeIndex], AddrLong); in instrumentAddress()
1934 {AddrLong, ConstantInt::get(IRB.getInt32Ty(), Exp)}); in instrumentAddress()
1941 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress()
1955 auto *Cmp2 = createSlowPathCmp(IRB, AddrLong, ShadowValue, TypeStoreSize); in instrumentAddress()
1967 Value *Cmp2 = createSlowPathCmp(IRB, AddrLong, ShadowValue, TypeStoreSize); in instrumentAddress()
1982 CrashTerm, AddrLong, IsWrite, AccessSizeIndex, SizeArgument, Exp, RTCI); in instrumentAddress()
[all …]