• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/

Lines Matching defs:Addr

635                          Value *Addr, uint32_t TypeSize, bool IsWrite,
638 Instruction *InsertBefore, Value *Addr,
644 Instruction *generateCrashCode(Instruction *InsertBefore, Value *Addr,
662 bool isSafeAccess(ObjectSizeOffsetVisitor &ObjSizeVis, Value *Addr,
1488 Instruction *InsertBefore, Value *Addr,
1498 return Pass->instrumentAddress(I, InsertBefore, Addr, TypeSize, IsWrite,
1500 Pass->instrumentUnusualSizeOrAlignment(I, InsertBefore, Addr, TypeSize,
1507 Value *Addr, MaybeAlign Alignment,
1512 cast<PointerType>(Addr->getType())->getElementType());
1537 IRB.CreateGEP(VTy, Addr, {Zero, ConstantInt::get(IntptrTy, Idx)});
1547 Value *Addr = O.getPtr();
1565 GlobalVariable *G = dyn_cast<GlobalVariable>(GetUnderlyingObject(Addr, DL));
1567 isSafeAccess(ObjSizeVis, Addr, O.TypeSize)) {
1575 if (isa<AllocaInst>(GetUnderlyingObject(Addr, DL)) &&
1576 isSafeAccess(ObjSizeVis, Addr, O.TypeSize)) {
1590 Addr, O.Alignment, Granularity, O.TypeSize,
1593 doInstrumentAddress(this, O.getInsn(), O.getInsn(), Addr, O.Alignment,
1600 Value *Addr, bool IsWrite,
1610 {Addr, SizeArgument});
1613 {Addr, SizeArgument, ExpVal});
1617 IRB.CreateCall(AsanErrorCallback[IsWrite][0][AccessSizeIndex], Addr);
1620 {Addr, ExpVal});
1631 // Addr & (Granularity - 1)
1634 // (Addr & (Granularity - 1)) + size - 1
1638 // (uint8_t) ((Addr & (Granularity-1)) + size - 1)
1641 // ((uint8_t) ((Addr & (Granularity-1)) + size - 1)) >= ShadowValue
1646 Instruction *InsertBefore, Value *Addr,
1653 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy);
1728 Instruction *I, Instruction *InsertBefore, Value *Addr, uint32_t TypeSize,
1732 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy);
1743 Addr->getType());
1744 instrumentAddress(I, InsertBefore, Addr, 8, IsWrite, Size, false, Exp);
3462 // isSafeAccess returns true if Addr is always inbounds with respect to its
3466 Value *Addr, uint64_t TypeSize) const {
3467 SizeOffsetType SizeOffset = ObjSizeVis.compute(Addr);