My Project
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
llvm::memoir::AccessInst Struct Referenceabstract
Inheritance diagram for llvm::memoir::AccessInst:
llvm::memoir::MemOIRInst llvm::memoir::CopyInst llvm::memoir::FoldInst llvm::memoir::GetInst llvm::memoir::HasInst llvm::memoir::KeysInst llvm::memoir::MutInst llvm::memoir::ReadInst llvm::memoir::SizeInst llvm::memoir::UpdateInst

Public Types

using index_iterator = llvm::User::value_op_iterator
 
using const_index_iterator = llvm::User::const_value_op_iterator
 
using index_op_iterator = llvm::User::op_iterator
 
using const_index_op_iterator = llvm::User::const_op_iterator
 

Public Member Functions

TypegetObjectType () const
 
TypegetElementType () const
 
virtual llvm::Value & getObject () const =0
 
virtual llvm::Use & getObjectAsUse () const =0
 
llvm::iterator_range< index_iterator > indices ()
 
index_iterator indices_begin ()
 
index_iterator indices_end ()
 
llvm::iterator_range< const_index_iterator > indices () const
 
const_index_iterator indices_begin () const
 
const_index_iterator indices_end () const
 
llvm::iterator_range< index_op_iterator > index_operands ()
 
index_op_iterator index_operands_begin ()
 
index_op_iterator index_operands_end ()
 
llvm::iterator_range< const_index_op_iterator > index_operands () const
 
const_index_op_iterator index_operands_begin () const
 
const_index_op_iterator index_operands_end () const
 
Option< size_t > match_offsets (llvm::ArrayRef< unsigned > offsets) const
 
- Public Member Functions inherited from llvm::memoir::MemOIRInst
llvm::Function & getCalledFunction () const
 
llvm::Module * getModule () const
 
llvm::Function * getFunction () const
 
llvm::BasicBlock * getParent () const
 
llvm::CallInst & getCallInst () const
 
llvm::Value & asValue () const
 
MemOIR_Func getKind () const
 
bool has_keywords () const
 
template<typename KeywordTy >
std::optional< KeywordTy > get_keyword () const
 
llvm::iterator_range< keyword_iteratorkeywords () const
 
keyword_iterator kw_begin () const
 
keyword_iterator kw_end () const
 
 operator llvm::Value * ()
 
 operator llvm::Value & ()
 
 operator llvm::Instruction * ()
 
 operator llvm::Instruction & ()
 
virtual std::string toString () const =0
 

Static Public Member Functions

static bool classof (const MemOIRInst *I)
 
- Static Public Member Functions inherited from llvm::memoir::MemOIRInst
static MemOIRInstget (llvm::Instruction &I)
 
static bool is_mutator (MemOIRInst &I)
 
static void invalidate ()
 

Protected Member Functions

 AccessInst (llvm::CallInst &call_inst)
 
- Protected Member Functions inherited from llvm::memoir::MemOIRInst
 MemOIRInst (llvm::CallInst &call_inst)
 

Friends

struct MemOIRInst
 

Additional Inherited Members

- Protected Attributes inherited from llvm::memoir::MemOIRInst
llvm::CallInst & call_inst
 
- Static Protected Attributes inherited from llvm::memoir::MemOIRInst
static Map< llvm::Instruction *, MemOIRInst * > * llvm_to_memoir = nullptr
 

Member Function Documentation

◆ match_offsets()

Option< size_t > llvm::memoir::AccessInst::match_offsets ( llvm::ArrayRef< unsigned >  offsets) const

Determine if the given offsets match this access's indices.

Parameters
offsetsthe offsets to match
Returns
the number of indices matched, or NONE if failed to match.

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