llvm-project/llvm/unittests/Analysis
Aiden Grossman ec83c7e358 [MLGO] Make TFLiteUtils throw an error if some features haven't been passed to the model
In the Tensorflow C lib utilities, an error gets thrown if some features
haven't gotten passed into the model (due to differences in ordering
which now don't exist with the transition to TFLite). However, this is
not currently the case when using TFLiteUtils. This patch makes some
minor changes to throw an error when not all inputs of the model have
been passed, which when not handled will result in a seg fault within
TFLite.

Reviewed By: mtrofin

Differential Revision: https://reviews.llvm.org/D133451
2022-09-10 22:59:03 +00:00
..
Inputs/ir2native_x86_64_model [mlgo] Use TFLite for 'development' mode. 2022-08-24 16:07:24 -07:00
AliasAnalysisTest.cpp Revert "Don't treat readnone call in presplit coroutine as not access memory" 2022-07-20 17:00:58 +08:00
AliasSetTrackerTest.cpp [AST] Fix unit test to use BatchAA (NFC) 2022-09-09 16:07:04 +02:00
AssumeBundleQueriesTest.cpp [llvm] Remove uses of `std::vector<bool>` 2022-01-18 18:20:45 +01:00
BasicAliasAnalysisTest.cpp [llvm] Don't use Optional::{hasValue,getValue} (NFC) 2022-06-25 11:24:23 -07:00
BlockFrequencyInfoTest.cpp [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
BranchProbabilityInfoTest.cpp
CFGTest.cpp [test] Fix old memory leak in a test 2022-07-15 16:56:20 -07:00
CGSCCPassManagerTest.cpp [NFC] Add #include for constants 2022-02-23 01:26:53 -08:00
CMakeLists.txt [nfc][mlgo] Separate logger and training-mode model evaluator 2022-08-03 16:20:28 -07:00
CallGraphTest.cpp
CaptureTrackingTest.cpp
ConstraintSystemTest.cpp
DDGTest.cpp
DivergenceAnalysisTest.cpp
DomTreeUpdaterTest.cpp
FunctionPropertiesAnalysisTest.cpp [FunctionPropertiesAnalysis] Generalize support for unreachable 2022-06-21 08:18:01 -07:00
GlobalsModRefTest.cpp
IRSimilarityIdentifierTest.cpp [llvm] Use has_value instead of hasValue (NFC) 2022-07-12 22:25:42 -07:00
IVDescriptorsTest.cpp Fix incorrect TypeSize->uint64_t cast in InductionDescriptor::isInductionPHI 2022-02-10 09:39:12 +00:00
InlineCostTest.cpp Cleanup includes: LLVMAnalysis 2022-03-01 18:01:54 +01:00
LazyCallGraphTest.cpp [LazyCallGraph] Skip blockaddresses 2021-11-01 13:10:24 -07:00
LoadsTest.cpp [NFC] Add #include for constants 2022-02-23 01:26:53 -08:00
LoopInfoTest.cpp [NFC] Introduce API to detect tokens penetrating LCSSA form 2022-07-19 13:52:30 +07:00
LoopNestTest.cpp [LoopNest] Add new utilites 2022-01-13 17:19:19 -05:00
MLModelRunnerTest.cpp Fix implicit double -> float truncation warnings. NFCI. 2022-05-13 19:07:00 +01:00
MemoryBuiltinsTest.cpp [MemoryBuiltins] Demote isMallocLikeFn to implementation routine since last use has been removed 2022-01-18 15:24:52 -08:00
MemoryProfileInfoTest.cpp [MemProf] Add memprof metadata related analysis utilities 2022-07-21 13:46:01 -07:00
MemorySSATest.cpp [NFC] Add tests for MemorySSA shouldn't contain debug instructions 2022-08-19 15:03:29 +08:00
PhiValuesTest.cpp [NFC] Add #include for constants 2022-02-23 01:26:53 -08:00
ProfileSummaryInfoTest.cpp
ScalarEvolutionTest.cpp [SCEV] Make SCEVUnionPredicate externally immutable [NFC] 2022-02-09 13:47:28 -08:00
SparsePropagation.cpp
TBAATest.cpp
TFUtilsTest.cpp [MLGO] Make TFLiteUtils throw an error if some features haven't been passed to the model 2022-09-10 22:59:03 +00:00
TargetLibraryInfoTest.cpp [InstCombine] Tighten up known library function signature tests (PR #56463) 2022-08-10 14:15:46 -06:00
TensorSpecTest.cpp [llvm] Don't use Optional::{hasValue,getValue} (NFC) 2022-06-25 11:24:23 -07:00
TrainingLoggerTest.cpp [nfc][mlgo] Separate logger and training-mode model evaluator 2022-08-03 16:20:28 -07:00
UnrollAnalyzerTest.cpp
ValueLatticeTest.cpp [llvm] Don't use Optional::{hasValue,getValue} (NFC) 2022-06-25 11:24:23 -07:00
ValueTrackingTest.cpp [ValueTracking][InstCombine] restrict FP min/max matching to avoid miscompile 2022-08-25 16:52:40 -04:00
VectorFunctionABITest.cpp [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
VectorUtilsTest.cpp