struct SCEVOperand

Declaration

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

Description

struct for holding enough information to help calculate the cost of the given SCEV when expanded into IR.

Declared at: llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h:33

Member Variables

public unsigned int ParentOpcode
LLVM instruction opcode that uses the operand.
public int OperandIdx
The use index of an expanded instruction.
public const llvm::SCEV* S
The SCEV operand to be costed.

Method Overview

  • public SCEVOperand(unsigned int Opc, int Idx, const llvm::SCEV * S)

Methods

ΒΆSCEVOperand(unsigned int Opc,
            int Idx,
            const llvm::SCEV* S)

Declared at: llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h:34

Parameters

unsigned int Opc
int Idx
const llvm::SCEV* S