LLVM  15.0.0git
Namespaces | Functions
CodeLayout.h File Reference
#include "llvm/ADT/DenseMap.h"
#include <vector>
Include dependency graph for CodeLayout.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

std::vector< uint64_tllvm::applyExtTspLayout (const std::vector< uint64_t > &NodeSizes, const std::vector< uint64_t > &NodeCounts, const DenseMap< std::pair< uint64_t, uint64_t >, uint64_t > &EdgeCounts)
 Find a layout of nodes (basic blocks) of a given CFG optimizing jump locality and thus processor I-cache utilization. More...
 
double llvm::calcExtTspScore (const std::vector< uint64_t > &Order, const std::vector< uint64_t > &NodeSizes, const std::vector< uint64_t > &NodeCounts, const DenseMap< std::pair< uint64_t, uint64_t >, uint64_t > &EdgeCounts)
 Estimate the "quality" of a given node order in CFG. More...
 
double llvm::calcExtTspScore (const std::vector< uint64_t > &NodeSizes, const std::vector< uint64_t > &NodeCounts, const DenseMap< std::pair< uint64_t, uint64_t >, uint64_t > &EdgeCounts)
 Estimate the "quality" of the current node order in CFG. More...
 

Detailed Description

Declares methods and data structures for code layout algorithms.

Definition in file CodeLayout.h.