class SrcValueSDNode

Declaration

class SrcValueSDNode : public SDNode { /* full declaration omitted */ };

Description

An SDNode that holds an arbitrary LLVM IR Value. This is used when the SelectionDAG needs to make a simple reference to something in the LLVM IR representation.

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:2106

Inherits from: SDNode

Member Variables

private const llvm::Value* V

Inherited from SDNode:

protected
public PersistentId

Method Overview

Inherited from SDNode:

Inherited from FoldingSetBase::Node:

Methods

SrcValueSDNode(const llvm::Value* v)

Description

Create a SrcValue for a general value.

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:2112

Parameters

const llvm::Value* v

static bool classof(const llvm::SDNode* N)

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:2119

Parameters

const llvm::SDNode* N

const llvm::Value* getValue() const

Description

Return the contained Value.

Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:2117