LLVM  13.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::rdf::TargetOperandInfo Struct Reference

#include "llvm/CodeGen/RDFGraph.h"

Collaboration diagram for llvm::rdf::TargetOperandInfo:
Collaboration graph
[legend]

Public Member Functions

 TargetOperandInfo (const TargetInstrInfo &tii)
 
virtual ~TargetOperandInfo ()=default
 
virtual bool isPreserving (const MachineInstr &In, unsigned OpNum) const
 
virtual bool isClobbering (const MachineInstr &In, unsigned OpNum) const
 
virtual bool isFixedReg (const MachineInstr &In, unsigned OpNum) const
 

Public Attributes

const TargetInstrInfoTII
 

Detailed Description

Definition at line 414 of file RDFGraph.h.

Constructor & Destructor Documentation

◆ TargetOperandInfo()

llvm::rdf::TargetOperandInfo::TargetOperandInfo ( const TargetInstrInfo tii)
inline

Definition at line 415 of file RDFGraph.h.

◆ ~TargetOperandInfo()

virtual llvm::rdf::TargetOperandInfo::~TargetOperandInfo ( )
virtualdefault

Member Function Documentation

◆ isClobbering()

bool TargetOperandInfo::isClobbering ( const MachineInstr In,
unsigned  OpNum 
) const
virtual

Definition at line 604 of file RDFGraph.cpp.

References assert(), and llvm::tgtok::In.

◆ isFixedReg()

bool TargetOperandInfo::isFixedReg ( const MachineInstr In,
unsigned  OpNum 
) const
virtual

Definition at line 617 of file RDFGraph.cpp.

References D, llvm::tgtok::In, llvm::RISCVFenceField::O, and Reg.

◆ isPreserving()

bool TargetOperandInfo::isPreserving ( const MachineInstr In,
unsigned  OpNum 
) const
virtual

Definition at line 598 of file RDFGraph.cpp.

References llvm::tgtok::In, llvm::TargetInstrInfo::isPredicated(), and TII.

Member Data Documentation

◆ TII

const TargetInstrInfo& llvm::rdf::TargetOperandInfo::TII

Definition at line 422 of file RDFGraph.h.

Referenced by isPreserving().


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