retdec
Public Member Functions | Public Attributes | List of all members
retdec::bin2llvmir::Use Class Reference

#include <reaching_definitions.h>

Collaboration diagram for retdec::bin2llvmir::Use:
Collaboration graph
[legend]

Public Member Functions

 Use (llvm::Instruction *u, llvm::Value *s, unsigned bbPos)
 
bool operator== (const Use &o) const
 
bool isUndef () const
 

Public Attributes

llvm::Instruction * use
 Use instruction – load or call. More...
 
llvm::Value * src
 Used value – load's pointer operand, call's argument operand. More...
 
DefSet defs
 
unsigned posInBb = 0
 

Constructor & Destructor Documentation

◆ Use()

retdec::bin2llvmir::Use::Use ( llvm::Instruction *  u,
llvm::Value *  s,
unsigned  bbPos 
)

Member Function Documentation

◆ isUndef()

bool retdec::bin2llvmir::Use::isUndef ( ) const

◆ operator==()

bool retdec::bin2llvmir::Use::operator== ( const Use o) const

Member Data Documentation

◆ defs

DefSet retdec::bin2llvmir::Use::defs

◆ posInBb

unsigned retdec::bin2llvmir::Use::posInBb = 0

Definition instruction position in its BB. Can be used to find out if def dominates its uses in the same BB.

◆ src

llvm::Value* retdec::bin2llvmir::Use::src

Used value – load's pointer operand, call's argument operand.

◆ use

llvm::Instruction* retdec::bin2llvmir::Use::use

Use instruction – load or call.


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