class InstCombineWorklist
Declaration
class InstCombineWorklist { /* full declaration omitted */ };
Description
InstCombineWorklist - This is the worklist management logic for InstCombine.
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:26
Method Overview
- public void Add(llvm::Instruction * I)
- public void AddInitialGroup(ArrayRef<llvm::Instruction *> List)
- public void AddUsersToWorkList(llvm::Instruction & I)
- public void AddValue(llvm::Value * V)
- public InstCombineWorklist()
- public InstCombineWorklist(llvm::InstCombineWorklist &&)
- public void Remove(llvm::Instruction * I)
- public llvm::Instruction * RemoveOne()
- public void Zap()
- public bool isEmpty() const
Methods
¶void Add(llvm::Instruction* I)
void Add(llvm::Instruction* I)
Description
Add - Add the specified instruction to the worklist if it isn't already in it.
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:40
Parameters
¶void AddInitialGroup(
ArrayRef<llvm::Instruction*> List)
void AddInitialGroup(
ArrayRef<llvm::Instruction*> List)
Description
AddInitialGroup - Add the specified batch of stuff in reverse order. which should only be done when the worklist is empty and when the group has no duplicates.
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:58
Parameters
- ArrayRef<llvm::Instruction*> List
¶void AddUsersToWorkList(llvm::Instruction& I)
void AddUsersToWorkList(llvm::Instruction& I)
Description
AddUsersToWorkList - When an instruction is simplified, add all users of the instruction to the work lists because they might get more simplified now.
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:92
Parameters
¶void AddValue(llvm::Value* V)
void AddValue(llvm::Value* V)
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:50
Parameters
- llvm::Value* V
¶InstCombineWorklist()
InstCombineWorklist()
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:31
¶InstCombineWorklist(llvm::InstCombineWorklist&&)
InstCombineWorklist(llvm::InstCombineWorklist&&)
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:33
Parameters
¶void Remove(llvm::Instruction* I)
void Remove(llvm::Instruction* I)
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:72
Parameters
¶llvm::Instruction* RemoveOne()
llvm::Instruction* RemoveOne()
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:82
¶void Zap()
void Zap()
Description
Zap - check that the worklist is empty and nuke the backing store for the map if it is large.
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:100
¶bool isEmpty() const
bool isEmpty() const
Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:36