Artifact 4677647f458c04d7f6afd77ee37a842e6f1f8bb83271c02b169f3cae6696d768:
- File bs/llr/helpers.cpp — part of check-in [8a8e76084e] at 2019-03-02 21:01:51 on branch trunk — Function calls are now eagerly evaluated during parsing. (user: achavasse size: 403) [more...]
#include "llr/llr.h" namespace empathy::llr { bool IsValueConstantOrExecutable( const ir::Value& val ) { if( val.isConstant() ) return true; return val.llr()->canBeExecuted(); } bool CanValueBeEagerlyEvaluated( const ir::Value& val ) { if( val.isConstant() ) return true; return val.llr()->canBeEagerlyEvaluated(); } }