LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TargetSchedInfo.cpp File Reference

#include "llvm/Config/alloca.h"
#include "llvm/Target/TargetSchedInfo.h"
#include "llvm/Target/TargetMachine.h"
#include <algorithm>
#include <iostream>

Include dependency graph for TargetSchedInfo.cpp:

Go to the source code of this file.

Functions

static bool RUConflict (const std::vector< resourceId_t > &fromRVec, const std::vector< resourceId_t > &toRVec)
static cycles_t ComputeMinGap (const InstrRUsage &fromRU, const InstrRUsage &toRU)

Variables

static std::vector< CPUResource * > * CPUResourceMap = 0


Function Documentation

static cycles_t ComputeMinGap const InstrRUsage fromRU,
const InstrRUsage toRU
[static]
 

Definition at line 65 of file TargetSchedInfo.cpp.

References llvm::InstrRUsage::numBubbles, llvm::InstrRUsage::numCycles, llvm::InstrRUsage::resourcesByCycle, and RUConflict().

static bool RUConflict const std::vector< resourceId_t > &  fromRVec,
const std::vector< resourceId_t > &  toRVec
[inline, static]
 

Definition at line 45 of file TargetSchedInfo.cpp.

Referenced by ComputeMinGap().


Variable Documentation

std::vector<CPUResource*>* CPUResourceMap = 0 [static]
 

Definition at line 23 of file TargetSchedInfo.cpp.

Referenced by llvm::CPUResource::CPUResource(), and llvm::CPUResource::getCPUResource().