LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
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"

Collaboration diagram for llvm::SCEVOperand:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 48 of file ScalarEvolutionExpander.h.

Constructor & Destructor Documentation

◆ SCEVOperand()

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

Definition at line 49 of file ScalarEvolutionExpander.h.

Member Data Documentation

◆ OperandIdx

int llvm::SCEVOperand::OperandIdx

The use index of an expanded instruction.

Definition at line 54 of file ScalarEvolutionExpander.h.

◆ ParentOpcode

unsigned llvm::SCEVOperand::ParentOpcode

LLVM instruction opcode that uses the operand.

Definition at line 52 of file ScalarEvolutionExpander.h.

◆ S

const SCEV* llvm::SCEVOperand::S

The SCEV operand to be costed.

Definition at line 56 of file ScalarEvolutionExpander.h.

Referenced by costAndCollectOperands().


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