Home
last modified time | relevance | path

Searched refs:getTensor (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp389 *ModelRunner->getTensor<int64_t>(FeatureIndex::callee_basic_block_count) = in getAdviceImpl()
391 *ModelRunner->getTensor<int64_t>(FeatureIndex::callsite_height) = in getAdviceImpl()
393 *ModelRunner->getTensor<int64_t>(FeatureIndex::node_count) = NodeCount; in getAdviceImpl()
394 *ModelRunner->getTensor<int64_t>(FeatureIndex::nr_ctant_params) = in getAdviceImpl()
396 *ModelRunner->getTensor<int64_t>(FeatureIndex::edge_count) = EdgeCount; in getAdviceImpl()
397 *ModelRunner->getTensor<int64_t>(FeatureIndex::caller_users) = in getAdviceImpl()
399 *ModelRunner->getTensor<int64_t>( in getAdviceImpl()
404 *ModelRunner->getTensor<int64_t>( in getAdviceImpl()
407 *ModelRunner->getTensor<int64_t>(FeatureIndex::callee_users) = in getAdviceImpl()
414 *ModelRunner->getTensor<int64_t>(inlineCostFeatureToMlFeature( in getAdviceImpl()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMLModelRunner.h37 template <typename T, typename I> T *getTensor(I FeatureID) { in getTensor() function
42 template <typename T, typename I> const T *getTensor(I FeatureID) const { in getTensor() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMLRegAllocPriorityAdvisor.cpp299 *Runner->getTensor<int64_t>(0) = static_cast<int64_t>(Size); in getPriorityImpl()
300 *Runner->getTensor<int64_t>(1) = static_cast<int64_t>(Stage); in getPriorityImpl()
301 *Runner->getTensor<float>(2) = static_cast<float>(LI.weight()); in getPriorityImpl()
H A DMLRegAllocEvictAdvisor.cpp770 Runner->getTensor<float>(FeatureIndex)[Pos] /= Largest[FeatureIndex]; in tryFindEvictionCandidate()
773 *Runner->getTensor<float>(FeatureIDs::progress) = in tryFindEvictionCandidate()
915 Runner->getTensor<TYPE>(FeatureIDs::ID)[Pos] = static_cast<TYPE>(VAL); \ in extractFeatures()
1008 RegallocRunner->getTensor<int64_t>(InstructionsIndex)[InstructionIndex] = in extractInstructionFeatures()
1012 RegallocRunner->getTensor<int64_t>( in extractInstructionFeatures()
1030 RegallocRunner->getTensor<int64_t>( in extractInstructionFeatures()
1070 RegallocRunner->getTensor<float>(MBBFreqIndex)[CurrentMBBIndex] = in extractMBBFrequency()
1072 RegallocRunner->getTensor<int64_t>( in extractMBBFrequency()