LLVM API Documentation
#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 CycleCount_t | ComputeMinGap (const InstrRUsage &fromRU, const InstrRUsage &toRU) |
Variables | |
static std::vector< CPUResource * > * | CPUResourceMap = 0 |
static CycleCount_t ComputeMinGap | ( | const InstrRUsage & | fromRU, | |
const InstrRUsage & | toRU | |||
) | [static] |
Definition at line 65 of file TargetSchedInfo.cpp.
References c, 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] |
std::vector<CPUResource*>* CPUResourceMap = 0 [static] |
Definition at line 23 of file TargetSchedInfo.cpp.
Referenced by llvm::CPUResource::CPUResource(), and llvm::CPUResource::getCPUResource().