The code structure conversion section has inline deployment means for inputting the original code having a plurality of function calls and converting the original code into a flat code that is a single-layer flat code; and communication volume optimizing means for optimizing a data communication volume of a parameter for the flat code to produce the optimal communication volume code. C言語などで記述されたコードであるオリジナルコードに対し、コード構造変換部によりコードの構造を変換して最適通信量コードを生成するプログラムコード構造変換装置であって、コード構造変換部は、複数の関数コールを有するオリジナルコードを入力し、1階層のフラットなコードであるフラット・コードに変換するインライン展開手段と、フラット・コードに対し、変数のデータ通信量を最適化し、最適通信量コードを生成する通信量最適化手段とを有する。 - 特許庁