Lib/SourceTranslate.cpp
/**
 * Used by both v3d and vc4
 *
 * Compare with RECV handling in:
 *   - loadStorePass()
 *   - gather/receive
 */
Used by both v3d and vc4
Compare with RECV handling in:
- loadStorePass()
- gather/receive
Used by both v3d and vc4 Compare with RECV handling in : - loadStorePass () - gather / receive
Instr::List ISourceTranslate::load_var(Var &in_dst, Expr &e) {
  using namespace V3DLib::Target::instr;
  Instr::List ret;
  Reg src(e.deref_ptr()->var());
  Reg dst(in_dst);
  ret << mov(TMU0_S, src)
      << recv(dst);
  return ret;
}
Instr :: List ISourceTranslate :: load_var ( Var & in_dst , Expr & e ) { using namespace V3DLib :: Target :: instr ; Instr :: List ret ; Reg src ( e . deref_ptr ( ) -> var ( ) ) ; Reg dst ( in_dst ) ; ret << mov ( TMU0_S , src ) << recv ( dst ) ; return ret ; }
Used by both v3d and vc4
 Compare with RECV handling in:
   - loadStorePass()
   - gather/receive
Used by both v3d and vc4 Compare with RECV handling in : - loadStorePass () - gather / receive