OpenASIP  2.0
Functions
OperationPimpl.cc File Reference
#include "OperationPimpl.hh"
#include "Operation.hh"
#include "OperationBehavior.hh"
#include "OperationDAG.hh"
#include "OperationDAGConverter.hh"
#include "SequenceTools.hh"
#include "ContainerTools.hh"
#include "StringTools.hh"
#include "Application.hh"
#include "OperationPool.hh"
#include "TCEString.hh"
#include "ObjectState.hh"
#include "boost/assign.hpp"
Include dependency graph for OperationPimpl.cc:

Go to the source code of this file.

Functions

std::string llvmOperandType (Operand::OperandType type)
 

Detailed Description

Definition of OperationPimpl (private implementation) class.

Author
Viljami Korhonen 2008 (viljami.korhonen-no.spam-tut.fi)
Note
rating: red

Definition in file OperationPimpl.cc.

Function Documentation

◆ llvmOperandType()

std::string llvmOperandType ( Operand::OperandType  type)

Definition at line 792 of file OperationPimpl.cc.

792  {
793  switch (type) {
794  case Operand::SINT_WORD:
795  return "i32";
796  case Operand::UINT_WORD:
797  return "i32";
799  return "f16";
800  case Operand::FLOAT_WORD:
801  return "f32";
803  return "f64";
804  case Operand::SLONG_WORD:
805  case Operand::ULONG_WORD:
806  return "i64";
807  default:
808  return "Unknown";
809  }
810 }

References Operand::DOUBLE_WORD, Operand::FLOAT_WORD, Operand::HALF_FLOAT_WORD, Operand::SINT_WORD, Operand::SLONG_WORD, Operand::UINT_WORD, and Operand::ULONG_WORD.

Referenced by OperationPimpl::emulationFunctionName().

Operand::HALF_FLOAT_WORD
@ HALF_FLOAT_WORD
Definition: Operand.hh:63
Operand::UINT_WORD
@ UINT_WORD
Definition: Operand.hh:60
Operand::SLONG_WORD
@ SLONG_WORD
Definition: Operand.hh:66
Operand::FLOAT_WORD
@ FLOAT_WORD
Definition: Operand.hh:61
Operand::SINT_WORD
@ SINT_WORD
Definition: Operand.hh:59
Operand::ULONG_WORD
@ ULONG_WORD
Definition: Operand.hh:67
Operand::DOUBLE_WORD
@ DOUBLE_WORD
Definition: Operand.hh:62