|
CGRAOmp
0.1
|
A derived class from InstMapEntry for BinaryOperation. More...
#include <CGRAInstMap.hpp>
Public Member Functions | |
| BinaryOpMapEntry (StringRef opcode, Instruction::BinaryOps ops) | |
| Construct a new BinaryOpMapEntry object. More... | |
| BinaryOpMapEntry (StringRef opcode, Instruction::BinaryOps ops, MapCondition *cond) | |
| Construct a new BinaryOpMapEntry object with an initial MapCondition instance. More... | |
| bool | match (Instruction *I) |
| Derived function from InstMapEntry::match specilized for binary operation. More... | |
Public Member Functions inherited from CGRAOmp::InstMapEntry | |
| InstMapEntry (StringRef opcode, InstMapKind Kind) | |
| Construct a new InstMapEntry object. More... | |
| InstMapEntry (StringRef opcode, InstMapKind Kind, MapCondition *cond) | |
| Construct a new InstMapEntry object with an initial MapCondition instance. More... | |
| ~InstMapEntry () | |
| void | addMapping (MapCondition *cond) |
| set a mapping condition More... | |
| virtual bool | match (StringRef opcode) |
| check this entry is for the specified instruction This will not check the mapping condition. More... | |
| virtual std::string | getMapName () |
| get the map name of this entry More... | |
| void | print (raw_ostream &OS) |
| void | dump () |
| InstMapKind | getKind () const |
Static Public Member Functions | |
| static bool | classof (const InstMapEntry *imap) |
Static Public Attributes | |
| static constexpr InstMapEntry::InstMapKind | BinaryOp |
Private Attributes | |
| Instruction::BinaryOps | ops |
Additional Inherited Members | |
Public Types inherited from CGRAOmp::InstMapEntry | |
| enum | InstMapKind { InstMapKind::BinaryOp, InstMapKind::CompOp, InstMapKind::MemOp, InstMapKind::CustomOp, InstMapKind::OtherOp } |
Protected Attributes inherited from CGRAOmp::InstMapEntry | |
| MapCondition * | map_cond |
| std::string | opcode_str |
A derived class from InstMapEntry for BinaryOperation.
|
inline |
Construct a new BinaryOpMapEntry object.
| opcode | string of the instruction opcode |
| ops | a type of binary operations |
|
inline |
Construct a new BinaryOpMapEntry object with an initial MapCondition instance.
| opcode | string of the instruction opcode |
| ops | a type of binary operations |
| cond | mapping condition |
|
inlinestatic |
|
virtual |
Derived function from InstMapEntry::match specilized for binary operation.
Implements CGRAOmp::InstMapEntry.
|
staticconstexpr |
|
private |
1.8.17