|
OpenASIP 2.2
|
#include <TCEStubTargetTransformInfo.hh>


Public Member Functions | |
| TCEStubTTIImpl (const TCEStubTargetMachine *TM, const Function &F) | |
| unsigned | getNumberOfRegisters (bool vector) |
| unsigned | getRegisterBitWidth (bool vector) const |
| unsigned | getMaxInterleaveFactor (unsigned VF) |
| unsigned | getCastInstrCost (unsigned Opcode, Type *Dst, Type *Src, const Instruction *=nullptr) |
Private Types | |
| typedef BasicTTIImplBase< TCEStubTTIImpl > | BaseT |
| typedef TargetTransformInfo | TTI |
Private Member Functions | |
| const TCEStubSubTarget * | getST () const |
| const TargetLowering * | getTLI () const |
Private Attributes | |
| friend | BaseT |
| const TCEStubTargetMachine * | TM |
| const TCEStubSubTarget * | ST |
| const TargetLowering * | TLI |
Definition at line 43 of file TCEStubTargetTransformInfo.hh.
|
private |
Definition at line 44 of file TCEStubTargetTransformInfo.hh.
|
private |
Definition at line 45 of file TCEStubTargetTransformInfo.hh.
|
inlineexplicit |
Definition at line 57 of file TCEStubTargetTransformInfo.hh.
| unsigned TCEStubTTIImpl::getCastInstrCost | ( | unsigned | Opcode, |
| Type * | Dst, | ||
| Type * | Src, | ||
| const Instruction * | = nullptr |
||
| ) |
Definition at line 92 of file TCEStubTargetTransformInfo.cc.
| unsigned TCEStubTTIImpl::getMaxInterleaveFactor | ( | unsigned | VF | ) |
Definition at line 84 of file TCEStubTargetTransformInfo.cc.
| unsigned TCEStubTTIImpl::getNumberOfRegisters | ( | bool | vector | ) |
Definition at line 59 of file TCEStubTargetTransformInfo.cc.
References MachineInfo::findWidestOperand(), MachineInfo::numberOfRegisters(), TM, and llvm::TCEBaseTargetMachine::ttaMach_.

| unsigned TCEStubTTIImpl::getRegisterBitWidth | ( | bool | vector | ) | const |
Definition at line 72 of file TCEStubTargetTransformInfo.cc.
References MachineInfo::findWidestOperand(), TM, and llvm::TCEBaseTargetMachine::ttaMach_.

|
inlineprivate |
|
inlineprivate |
Definition at line 52 of file TCEStubTargetTransformInfo.hh.
References llvm::TCEStubSubTarget::getTargetLowering(), and ST.

|
private |
Definition at line 46 of file TCEStubTargetTransformInfo.hh.
|
private |
Definition at line 49 of file TCEStubTargetTransformInfo.hh.
|
private |
Definition at line 50 of file TCEStubTargetTransformInfo.hh.
|
private |
Definition at line 48 of file TCEStubTargetTransformInfo.hh.
Referenced by getNumberOfRegisters(), and getRegisterBitWidth().