Flutter Engine
The Flutter Engine
Classes | Public Member Functions | List of all members
dart::CSEInstructionSet Class Reference
Inheritance diagram for dart::CSEInstructionSet:
dart::ValueObject

Public Member Functions

 CSEInstructionSet ()
 
 CSEInstructionSet (const CSEInstructionSet &other)
 
InstructionLookup (Instruction *other) const
 
void Insert (Instruction *instr)
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 39 of file redundancy_elimination.cc.

Constructor & Destructor Documentation

◆ CSEInstructionSet() [1/2]

dart::CSEInstructionSet::CSEInstructionSet ( )
inline

Definition at line 41 of file redundancy_elimination.cc.

41: map_() {}

◆ CSEInstructionSet() [2/2]

dart::CSEInstructionSet::CSEInstructionSet ( const CSEInstructionSet other)
inlineexplicit

Definition at line 42 of file redundancy_elimination.cc.

43 : ValueObject(), map_(other.map_) {}

Member Function Documentation

◆ Insert()

void dart::CSEInstructionSet::Insert ( Instruction instr)
inline

Definition at line 50 of file redundancy_elimination.cc.

50 {
51 ASSERT(instr->AllowsCSE());
52 return map_.Insert(instr);
53 }
void Insert(typename KeyValueTrait::Pair kv)
Definition: hash_map.h:230
#define ASSERT(E)

◆ Lookup()

Instruction * dart::CSEInstructionSet::Lookup ( Instruction other) const
inline

Definition at line 45 of file redundancy_elimination.cc.

45 {
46 ASSERT(other->AllowsCSE());
47 return map_.LookupValue(other);
48 }
KeyValueTrait::Value LookupValue(typename KeyValueTrait::Key key) const
Definition: hash_map.h:159

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