/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 492 Value *createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, 1118 Value *AddressSanitizer::createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, in createSlowPathCmp() argument 1124 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp() 1142 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() local 1148 AddrLong); in instrumentAddress() 1151 {AddrLong, ConstantInt::get(IRB.getInt32Ty(), Exp)}); in instrumentAddress() 1158 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() 1175 Value *Cmp2 = createSlowPathCmp(IRB, AddrLong, ShadowValue, TypeSize); in instrumentAddress() 1189 Instruction *Crash = generateCrashCode(CrashTerm, AddrLong, IsWrite, in instrumentAddress() 1203 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentUnusualSizeOrAlignment() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 635 Value *createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, 1639 Value *AddressSanitizer::createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, in createSlowPathCmp() argument 1645 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp() 1665 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() local 1671 AddrLong); in instrumentAddress() 1674 {AddrLong, ConstantInt::get(IRB.getInt32Ty(), Exp)}); in instrumentAddress() 1681 AddrLong = IRB.CreateAnd(AddrLong, ~kMyriadCacheBitMask32); in instrumentAddress() 1683 Value *Tag = IRB.CreateLShr(AddrLong, kMyriadTagShift); in instrumentAddress() 1699 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() 1716 Value *Cmp2 = createSlowPathCmp(IRB, AddrLong, ShadowValue, TypeSize); in instrumentAddress() [all …]
|
D | HWAddressSanitizer.cpp | 585 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in untagPointerOperand() local 587 IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType()); in untagPointerOperand() 628 Value *AddrLong = untagPointer(IRB, PtrLong); in instrumentMemAccessInline() local 629 Value *Shadow = memToShadow(AddrLong, IRB); in instrumentMemAccessInline() 662 Value *InlineTagAddr = IRB.CreateOr(AddrLong, 15); in instrumentMemAccessInline()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 638 Value *createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, 1626 Value *AddressSanitizer::createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, in createSlowPathCmp() argument 1632 IRB.CreateAnd(AddrLong, ConstantInt::get(IntptrTy, Granularity - 1)); in createSlowPathCmp() 1652 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() local 1658 AddrLong); in instrumentAddress() 1661 {AddrLong, ConstantInt::get(IRB.getInt32Ty(), Exp)}); in instrumentAddress() 1668 AddrLong = IRB.CreateAnd(AddrLong, ~kMyriadCacheBitMask32); in instrumentAddress() 1670 Value *Tag = IRB.CreateLShr(AddrLong, kMyriadTagShift); in instrumentAddress() 1686 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress() 1703 Value *Cmp2 = createSlowPathCmp(IRB, AddrLong, ShadowValue, TypeSize); in instrumentAddress() [all …]
|
D | MemProfiler.cpp | 472 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() local 475 IRB.CreateCall(MemProfMemoryAccessCallback[IsWrite], AddrLong); in instrumentAddress() 483 Value *ShadowPtr = memToShadow(AddrLong, IRB); in instrumentAddress()
|
D | HWAddressSanitizer.cpp | 706 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in untagPointerOperand() local 708 IRB.CreateIntToPtr(untagPointer(IRB, AddrLong), Addr->getType()); in untagPointerOperand() 747 Value *AddrLong = untagPointer(IRB, PtrLong); in instrumentMemAccessInline() local 748 Value *Shadow = memToShadow(AddrLong, IRB); in instrumentMemAccessInline() 779 Value *InlineTagAddr = IRB.CreateOr(AddrLong, 15); in instrumentMemAccessInline()
|