LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::InterestingMemoryOperand Class Reference

#include "llvm/Transforms/Instrumentation/AddressSanitizerCommon.h"

Public Member Functions

 InterestingMemoryOperand (Instruction *I, unsigned OperandNo, bool IsWrite, class Type *OpType, MaybeAlign Alignment, Value *MaybeMask=nullptr, Value *MaybeEVL=nullptr, Value *MaybeStride=nullptr)
InstructiongetInsn ()
ValuegetPtr ()

Public Attributes

bool IsWrite
TypeSize TypeStoreSize = TypeSize::getFixed(0)
MaybeAlign Alignment

Detailed Description

Definition at line 25 of file AddressSanitizerCommon.h.

Constructor & Destructor Documentation

◆ InterestingMemoryOperand()

llvm::InterestingMemoryOperand::InterestingMemoryOperand ( Instruction I,
unsigned  OperandNo,
bool  IsWrite,
class Type OpType,
MaybeAlign  Alignment,
Value MaybeMask = nullptr,
Value MaybeEVL = nullptr,
Value MaybeStride = nullptr 

Definition at line 39 of file AddressSanitizerCommon.h.

References DL, I, OpType, PtrUse, and TypeStoreSize.

Member Function Documentation

◆ getInsn()

Instruction * llvm::InterestingMemoryOperand::getInsn ( )

Definition at line 51 of file AddressSanitizerCommon.h.

References PtrUse.

◆ getPtr()

Value * llvm::InterestingMemoryOperand::getPtr ( )

Definition at line 53 of file AddressSanitizerCommon.h.

References PtrUse.

Member Data Documentation

◆ Alignment

MaybeAlign llvm::InterestingMemoryOperand::Alignment

Definition at line 31 of file AddressSanitizerCommon.h.

◆ IsWrite

bool llvm::InterestingMemoryOperand::IsWrite

Definition at line 28 of file AddressSanitizerCommon.h.

◆ MaybeEVL

Value* llvm::InterestingMemoryOperand::MaybeEVL

Definition at line 35 of file AddressSanitizerCommon.h.

◆ MaybeMask

Value* llvm::InterestingMemoryOperand::MaybeMask

Definition at line 33 of file AddressSanitizerCommon.h.

◆ MaybeStride

Value* llvm::InterestingMemoryOperand::MaybeStride

Definition at line 37 of file AddressSanitizerCommon.h.

◆ OpType

Type* llvm::InterestingMemoryOperand::OpType

Definition at line 29 of file AddressSanitizerCommon.h.

Referenced by InterestingMemoryOperand().

◆ PtrUse

Use* llvm::InterestingMemoryOperand::PtrUse

Definition at line 27 of file AddressSanitizerCommon.h.

Referenced by getInsn(), getPtr(), and InterestingMemoryOperand().

◆ TypeStoreSize

TypeSize llvm::InterestingMemoryOperand::TypeStoreSize = TypeSize::getFixed(0)

Definition at line 30 of file AddressSanitizerCommon.h.

Referenced by InterestingMemoryOperand().

The documentation for this class was generated from the following file: