LLVM  mainline
llvm::InstCombineWorklist Class Reference

InstCombineWorklist - This is the worklist management logic for InstCombine. More...

#include <InstCombineWorklist.h>

List of all members.

## Public Member Functions

InstCombineWorklist ()
InstCombineWorklist (InstCombineWorklist &&Arg)
InstCombineWorklistoperator= (InstCombineWorklist &&RHS)
bool isEmpty () const
void AddInitialGroup (ArrayRef< Instruction * > List)
void Remove (Instruction *I)
InstructionRemoveOne ()
AddUsersToWorkList - When an instruction is simplified, add all users of the instruction to the work lists because they might get more simplified now.
void Zap ()
Zap - check that the worklist is empty and nuke the backing store for the map if it is large.

## Detailed Description

InstCombineWorklist - This is the worklist management logic for InstCombine.

Definition at line 26 of file InstCombineWorklist.h.

## Constructor & Destructor Documentation

 llvm::InstCombineWorklist::InstCombineWorklist ( )  [inline]

Definition at line 33 of file InstCombineWorklist.h.

 llvm::InstCombineWorklist::InstCombineWorklist ( InstCombineWorklist && Arg )  [inline]

Definition at line 35 of file InstCombineWorklist.h.

## Member Function Documentation

 void llvm::InstCombineWorklist::Add ( Instruction * I )  [inline]

Definition at line 48 of file InstCombineWorklist.h.

 void llvm::InstCombineWorklist::AddInitialGroup ( ArrayRef< Instruction * > List )  [inline]

which should only be done when the worklist is empty and when the group has no duplicates.

Definition at line 63 of file InstCombineWorklist.h.

 void llvm::InstCombineWorklist::AddUsersToWorkList ( Instruction & I )  [inline]

AddUsersToWorkList - When an instruction is simplified, add all users of the instruction to the work lists because they might get more simplified now.

Definition at line 96 of file InstCombineWorklist.h.

 void llvm::InstCombineWorklist::AddValue ( Value * V )  [inline]

Definition at line 55 of file InstCombineWorklist.h.

 bool llvm::InstCombineWorklist::isEmpty ( ) const [inline]

Definition at line 44 of file InstCombineWorklist.h.

References llvm::SmallVectorBase::empty().

 InstCombineWorklist& llvm::InstCombineWorklist::operator= ( InstCombineWorklist && RHS )  [inline]

Definition at line 38 of file InstCombineWorklist.h.

 void llvm::InstCombineWorklist::Remove ( Instruction * I )  [inline]
 Instruction* llvm::InstCombineWorklist::RemoveOne ( )  [inline]

Definition at line 86 of file InstCombineWorklist.h.

 void llvm::InstCombineWorklist::Zap ( )  [inline]

Zap - check that the worklist is empty and nuke the backing store for the map if it is large.

Definition at line 104 of file InstCombineWorklist.h.

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