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

Methods

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

llvm::Instruction* I

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)

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

llvm::Instruction& I

void AddValue(llvm::Value* V)

Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:50

Parameters

llvm::Value* V

InstCombineWorklist()

Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:31

InstCombineWorklist(llvm::InstCombineWorklist&&)

Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:33

Parameters

llvm::InstCombineWorklist&&

void Remove(llvm::Instruction* I)

Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:72

Parameters

llvm::Instruction* I

llvm::Instruction* RemoveOne()

Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:82

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

Declared at: llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:36