LLVM 20.0.0git
|
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
#define | INLINE_COST_FEATURE_ITERATOR(M) |
#define | POPULATE_INDICES(DTYPE, SHAPE, NAME, DOC) NAME, |
#define | INLINE_FEATURE_ITERATOR(M) |
#define | POPULATE_INDICES(DTYPE, SHAPE, NAME, COMMENT) NAME, |
Typedefs | |
using | llvm::InlineCostFeatures = std::array< int, static_cast< size_t >(InlineCostFeatureIndex::NumberOfFeatures)> |
using | llvm::InlineFeatures = std::vector< int64_t > |
Enumerations | |
enum class | llvm::InlineCostFeatureIndex : size_t { llvm::POPULATE_INDICES , llvm::NumberOfFeatures } |
enum class | llvm::FeatureIndex : size_t { llvm::POPULATE_INDICES , llvm::NumberOfFeatures } |
Functions | |
constexpr bool | llvm::isHeuristicInlineCostFeature (InlineCostFeatureIndex Feature) |
constexpr FeatureIndex | llvm::inlineCostFeatureToMlFeature (InlineCostFeatureIndex Feature) |
Variables | |
constexpr size_t | llvm::NumberOfFeatures |
const std::vector< TensorSpec > | llvm::FeatureMap |
const char *const | llvm::DecisionName = "inlining_decision" |
const TensorSpec | llvm::InlineDecisionSpec |
const char *const | llvm::DefaultDecisionName = "inlining_default" |
const TensorSpec | llvm::DefaultDecisionSpec |
const char *const | llvm::RewardName = "delta_size" |
#define INLINE_COST_FEATURE_ITERATOR | ( | M | ) |
Definition at line 23 of file InlineModelFeatureMaps.h.
#define INLINE_FEATURE_ITERATOR | ( | M | ) |
Definition at line 101 of file InlineModelFeatureMaps.h.
#define POPULATE_INDICES | ( | DTYPE, | |
SHAPE, | |||
NAME, | |||
COMMENT | |||
) | NAME, |
Definition at line 136 of file InlineModelFeatureMaps.h.
#define POPULATE_INDICES | ( | DTYPE, | |
SHAPE, | |||
NAME, | |||
DOC | |||
) | NAME, |
Definition at line 136 of file InlineModelFeatureMaps.h.