|
LLVM 22.0.0git
|
#include "llvm/Analysis/TensorSpec.h"#include "llvm/Support/Compiler.h"#include <array>#include <vector>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) |
| #define | INLINE_FEATURE_ITERATOR(M) |
| #define | POPULATE_INDICES(DTYPE, SHAPE, NAME, COMMENT) |
Typedefs | |
| using | llvm::InlineCostFeatures |
| using | llvm::InlineFeatures = std::vector<int64_t> |
Enumerations | |
| enum class | llvm::InlineCostFeatureIndex : size_t { llvm::NumberOfFeatures } |
| enum class | llvm::FeatureIndex : size_t { llvm::callee_embedding , llvm::caller_embedding } |
Functions | |
| constexpr bool | llvm::isHeuristicInlineCostFeature (InlineCostFeatureIndex Feature) |
| constexpr FeatureIndex | llvm::inlineCostFeatureToMlFeature (InlineCostFeatureIndex Feature) |
Variables | |
| LLVM_ABI const char *const | llvm::DecisionName = "inlining_decision" |
| LLVM_ABI const TensorSpec | llvm::InlineDecisionSpec |
| LLVM_ABI const char *const | llvm::DefaultDecisionName = "inlining_default" |
| LLVM_ABI const TensorSpec | llvm::DefaultDecisionSpec |
| LLVM_ABI const char *const | llvm::RewardName = "delta_size" |
| #define INLINE_COST_FEATURE_ITERATOR | ( | M | ) |
Definition at line 24 of file InlineModelFeatureMaps.h.
Referenced by llvm::MLInlineAdvisor::getInitialFeatureMap().
| #define INLINE_FEATURE_ITERATOR | ( | M | ) |
Definition at line 102 of file InlineModelFeatureMaps.h.
Referenced by llvm::MLInlineAdvisor::getInitialFeatureMap().
| #define POPULATE_INDICES | ( | DTYPE, | |
| SHAPE, | |||
| NAME, | |||
| COMMENT ) |
Definition at line 71 of file InlineModelFeatureMaps.h.
| #define POPULATE_INDICES | ( | DTYPE, | |
| SHAPE, | |||
| NAME, | |||
| DOC ) |
Definition at line 71 of file InlineModelFeatureMaps.h.