|
using | iterator = llvm::User::value_op_iterator |
|
using | operand_iterator = llvm::User::op_iterator |
|
using | const_iterator = llvm::User::const_value_op_iterator |
|
using | const_operand_iterator = llvm::User::const_op_iterator |
|
|
llvm::Use & | getAsUse () const |
|
llvm::iterator_range< iterator > | values () |
|
iterator | begin () |
|
iterator | end () |
|
llvm::iterator_range< operand_iterator > | operands () |
|
operand_iterator | op_begin () |
|
operand_iterator | op_end () |
|
llvm::iterator_range< const_iterator > | values () const |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
llvm::iterator_range< const_operand_iterator > | operands () const |
|
const_operand_iterator | op_begin () const |
|
const_operand_iterator | op_end () const |
|
| Keyword (llvm::Use &use) |
|
|
static bool | is_keyword (llvm::Value &V) |
|
static bool | is_keyword (llvm::Value *V) |
|
template<typename KeywordTy , std::enable_if_t< std::is_base_of_v< Keyword, KeywordTy >, bool > = true> |
static llvm::ConstantDataArray & | get_llvm (llvm::LLVMContext &C) |
|
|
static const char * | PREFIX = "memoir." |
|
◆ get_llvm()
template<typename KeywordTy , std::enable_if_t< std::is_base_of_v< Keyword, KeywordTy >, bool > = true>
static llvm::ConstantDataArray& llvm::memoir::Keyword::get_llvm |
( |
llvm::LLVMContext & |
C | ) |
|
|
inlinestatic |
Get the LLVM constant for the given keyword.
◆ getAsUse()
llvm::Use & Keyword::getAsUse |
( |
| ) |
const |
Get the operand use of this keyword.
◆ is_keyword()
bool Keyword::is_keyword |
( |
llvm::Value & |
V | ) |
|
|
static |
Check if the given value is a keyword string.
The documentation for this struct was generated from the following files:
- /tank/tommy/memoir/upstream/compiler/memoir/ir/Keywords.hpp
- /tank/tommy/memoir/upstream/compiler/memoir/ir/src/Keywords.cpp