LLVM  16.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 358 of file SelectionDAG.h.

Constructor & Destructor Documentation

◆ FlagInserter() [1/3]

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

Definition at line 364 of file SelectionDAG.h.

References SDAG.

◆ FlagInserter() [2/3]

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

Definition at line 369 of file SelectionDAG.h.

◆ FlagInserter() [3/3]

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

◆ ~FlagInserter()

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

Definition at line 374 of file SelectionDAG.h.

References llvm::SelectionDAG::setFlagInserter().

Member Function Documentation

◆ getFlags()

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

◆ operator=()

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

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