LLVM 22.0.0git
llvm::SCEVOperand Struct Reference

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

#include "llvm/Transforms/Utils/ScalarEvolutionExpander.h"

Public Member Functions

 SCEVOperand (unsigned Opc, int Idx, const SCEV *S)

Public Attributes

unsigned ParentOpcode
 LLVM instruction opcode that uses the operand.
int OperandIdx
 The use index of an expanded instruction.
const SCEVS
 The SCEV operand to be costed.

Detailed Description

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

Definition at line 34 of file ScalarEvolutionExpander.h.

Constructor & Destructor Documentation

◆ SCEVOperand()

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

Definition at line 35 of file ScalarEvolutionExpander.h.

References Opc, OperandIdx, ParentOpcode, and S.

Member Data Documentation

◆ OperandIdx

int llvm::SCEVOperand::OperandIdx

The use index of an expanded instruction.

Definition at line 40 of file ScalarEvolutionExpander.h.

Referenced by SCEVOperand().

◆ ParentOpcode

unsigned llvm::SCEVOperand::ParentOpcode

LLVM instruction opcode that uses the operand.

Definition at line 38 of file ScalarEvolutionExpander.h.

Referenced by SCEVOperand().

◆ S

const SCEV* llvm::SCEVOperand::S

The SCEV operand to be costed.

Definition at line 42 of file ScalarEvolutionExpander.h.

Referenced by SCEVOperand().


The documentation for this struct was generated from the following file: