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

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

Collaboration diagram for llvm::InterestingMemoryOperand:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

UsePtrUse
 
bool IsWrite
 
uint64_t TypeSize
 
MaybeAlign Alignment
 
ValueMaybeMask
 

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 
)
inline

Definition at line 34 of file AddressSanitizerCommon.h.

References DL, I, and PtrUse.

Member Function Documentation

◆ getInsn()

Instruction* llvm::InterestingMemoryOperand::getInsn ( )
inline

Definition at line 43 of file AddressSanitizerCommon.h.

References PtrUse.

◆ getPtr()

Value* llvm::InterestingMemoryOperand::getPtr ( )
inline

Definition at line 45 of file AddressSanitizerCommon.h.

References PtrUse.

Member Data Documentation

◆ Alignment

MaybeAlign llvm::InterestingMemoryOperand::Alignment

Definition at line 30 of file AddressSanitizerCommon.h.

◆ IsWrite

bool llvm::InterestingMemoryOperand::IsWrite

Definition at line 28 of file AddressSanitizerCommon.h.

◆ MaybeMask

Value* llvm::InterestingMemoryOperand::MaybeMask

Definition at line 32 of file AddressSanitizerCommon.h.

◆ PtrUse

Use* llvm::InterestingMemoryOperand::PtrUse

Definition at line 27 of file AddressSanitizerCommon.h.

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

◆ TypeSize

uint64_t llvm::InterestingMemoryOperand::TypeSize

Definition at line 29 of file AddressSanitizerCommon.h.


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