struct ConstantUser

Declaration

struct ConstantUser { /* full declaration omitted */ };

Description

Keeps track of the user of a constant and the operand index where the constant is used.

Declared at: llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h:70

Member Variables

public llvm::Instruction* Inst
public unsigned int OpndIdx

Method Overview

  • public ConstantUser(llvm::Instruction * Inst, unsigned int Idx)

Methods

ΒΆConstantUser(llvm::Instruction* Inst,
             unsigned int Idx)

Declared at: llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h:74

Parameters

llvm::Instruction* Inst
unsigned int Idx