llvm::GVNExpression::CallExpression

MemoryExpression representing a call instruction.

Synopsis

Declared in <llvm/Transforms/Scalar/GVNExpression.h>

class CallExpression final
    : public MemoryExpression

Base Classes

NameDescription
MemoryExpressionBasicExpression that also tracks a MemorySSA memory leader.

Type Aliases

NameDescription
const_op_iterator Iterator over const operand Value pointers.
op_iterator Iterator over mutable operand Value pointers.

Member Functions

NameDescription
CallExpression [constructor]Constructors
~CallExpression [destructor] [virtual]Destroy this call expression.
operator= Deleted copy assignment.
allocateOperands Allocate storage for operands from Recycler using Allocator.
deallocateOperands Return the operand storage to Recycler.
dump Dump this expression to stderr for debugging.
equals [virtual]Return true if this call expression equals Other for value numbering.
exactlyEquals [virtual]Return true if this call expression is exactly equal to Other, including the call instruction pointer.
getComputedHash Return the cached hash, computing it if it has not been stored yet.
getExpressionType Return the ExpressionType discriminator for this expression.
getHashValue [virtual]Return a hash combining the basic hash and the memory leader.
getMemoryLeader Return the MemorySSA access that leads this expression.
getNumOperands Return the number of operands currently stored.
getOpcode Return the instruction opcode associated with this expression.
getOperand Return the operand at index N.
getType Return the result type of this expression.
op_begin op_begin overloads
op_empty Return true if this expression has no operands.
op_end op_end overloads
op_push_back Append Arg as the next operand.
operands operands overloads
print Print this expression to OS.
printInternal [virtual]Print call-expression fields to OS.
setMemoryLeader Set the MemorySSA access that leads this expression.
setOpcode Set the instruction opcode associated with this expression.
setOperand Set the operand at index N to V.
setType Set the result type of this expression to T.
swapOperands Swap two operands. Used during GVN to put commutative operands in order.
operator== Return true if this expression equals Other for value numbering.
operator!= Return true if this expression is not equal to Other.

Static Member Functions

NameDescription
classof Return true if EB is a CallExpression.