LLVM 17.0.0git
Public Member Functions | List of all members
llvm::SelectionDAG::FlagInserter Class Reference

Help to insert SDNodeFlags automatically in transforming. More...

#include "llvm/CodeGen/SelectionDAG.h"

Public Member Functions

 FlagInserter (SelectionDAG &SDAG, SDNodeFlags Flags)
 FlagInserter (SelectionDAG &SDAG, SDNode *N)
 FlagInserter (const FlagInserter &)=delete
FlagInserteroperator= (const FlagInserter &)=delete
 ~FlagInserter ()
SDNodeFlags getFlags () const

Detailed Description

Help to insert SDNodeFlags automatically in transforming.

Use RAII to save and resume flags in current scope.

Definition at line 361 of file SelectionDAG.h.

Constructor & Destructor Documentation

◆ FlagInserter() [1/3]

llvm::SelectionDAG::FlagInserter::FlagInserter ( SelectionDAG SDAG,
SDNodeFlags  Flags 

Definition at line 367 of file SelectionDAG.h.

References Flags, and llvm::SelectionDAG::setFlagInserter().

◆ FlagInserter() [2/3]

llvm::SelectionDAG::FlagInserter::FlagInserter ( SelectionDAG SDAG,
SDNode N 

Definition at line 372 of file SelectionDAG.h.

◆ FlagInserter() [3/3]

llvm::SelectionDAG::FlagInserter::FlagInserter ( const FlagInserter )

◆ ~FlagInserter()

llvm::SelectionDAG::FlagInserter::~FlagInserter ( )

Definition at line 377 of file SelectionDAG.h.

References llvm::SelectionDAG::setFlagInserter().

Member Function Documentation

◆ getFlags()

SDNodeFlags llvm::SelectionDAG::FlagInserter::getFlags ( ) const

Definition at line 379 of file SelectionDAG.h.

References Flags.

Referenced by llvm::SelectionDAG::getNode(), and llvm::SelectionDAG::getNodeIfExists().

◆ operator=()

FlagInserter & llvm::SelectionDAG::FlagInserter::operator= ( const FlagInserter )

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