LLVM
8.0.1
|
Struct that represents (part of) either a return value or a function argument. More...
#include "llvm/Transforms/IPO/DeadArgumentElimination.h"
Public Member Functions | |
RetOrArg (const Function *F, unsigned Idx, bool IsArg) | |
bool | operator< (const RetOrArg &O) const |
Make RetOrArg comparable, so we can put it into a map. More... | |
bool | operator== (const RetOrArg &O) const |
Make RetOrArg comparable, so we can easily iterate the multimap. More... | |
std::string | getDescription () const |
Public Attributes | |
const Function * | F |
unsigned | Idx |
bool | IsArg |
Struct that represents (part of) either a return value or a function argument.
Used so that arguments and return values can be used interchangeably.
Definition at line 45 of file DeadArgumentElimination.h.
|
inline |
Definition at line 50 of file DeadArgumentElimination.h.
Referenced by llvm::DeadArgumentEliminationPass::CreateArg(), and llvm::DeadArgumentEliminationPass::CreateRet().
|
inline |
Definition at line 63 of file DeadArgumentElimination.h.
References llvm::Value::getName().
Definition at line 46 of file DeadArgumentElimination.h.
Referenced by operator<(), and operator==().
unsigned llvm::DeadArgumentEliminationPass::RetOrArg::Idx |
Definition at line 47 of file DeadArgumentElimination.h.
Referenced by operator<(), and operator==().
bool llvm::DeadArgumentEliminationPass::RetOrArg::IsArg |
Definition at line 48 of file DeadArgumentElimination.h.
Referenced by operator<(), and operator==().