|
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 |
|
|
Type & | getObjectType () const |
|
Type & | getElementType () 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 |
|
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_iterator > | keywords () 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 bool | classof (const MemOIRInst *I) |
|
static MemOIRInst * | get (llvm::Instruction &I) |
|
static bool | is_mutator (MemOIRInst &I) |
|
static void | invalidate () |
|
|
| AccessInst (llvm::CallInst &call_inst) |
|
| MemOIRInst (llvm::CallInst &call_inst) |
|
|
llvm::CallInst & | call_inst |
|
static Map< llvm::Instruction *, MemOIRInst * > * | llvm_to_memoir = nullptr |
|
◆ 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
-
offsets | the 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:
- /tank/tommy/memoir/upstream/compiler/memoir/ir/Instructions.hpp
- /tank/tommy/memoir/upstream/compiler/memoir/ir/src/Instructions/AccessInsts.cpp