6547fa9749d0e32cc367d64f8cc6b3d65bf43a5d |
|
06-Aug-2013 |
Dragos Sbirlea <dragoss@google.com> |
SEA IR type handling complete for fibonacci. types.h: Encapsulated types map into separate class. code_gen.*, visitor.h: Added visitor function for unnamed constants to enable correct .dot display and type handling. type_inference_visitor.cc: Propagated types through phi functions, invoke, add-int instructions. Added SEA IR type merging functions. Change-Id: I0fb1c4d40e3af43dc295133a826ce125a787cc33
|
7b89bc0d1e73ae5a4265f93bb5497019b1a9bf17 |
|
06-Aug-2013 |
Dragos Sbirlea <dragoss@google.com> |
Fixed SEA IR bugs. Bug 1: The type inference visitor did not clear type between visits, so all instructions had types attached because of this. Bug 2: The .dot file genration was missing phi ssa edges because the GetSSAProducers map hasn't got the same semantics. (Phi Nodes use a single register which has multiple definitions, not multiple registers with a single definition each) Bug 3: Added the SE IR id in the textual representation of nodes in the .dot representation to ease debugging. Change-Id: Iccbce6f7a3ffba044677c2d548d26af62223be15
|
147c00cd39840e6ec3fd940c14ac75a59f205297 |
|
05-Aug-2013 |
Dragos Sbirlea <dragoss@google.com> |
Replaced .dot generation lock with ScopedObjectAccess. Change-Id: I70013a488a82d78a2cdfcbb77d3c582d6b97aedc
|
6447919b5ee8d34c4767f908c7cd7223c224544c |
|
02-Aug-2013 |
Dragos Sbirlea <dragoss@google.com> |
Generation of dot files through visitor.Added type info to .dot. visitor.h: Fixed formatting. type_inference.cc: Changed GetSSAConsumers() to return pointer. sea_node.h, sea.cc: Removed ToDot classes functions. instruction_nodes.h: Added acessor for SSA producers. Marked GetUses() as const. sea.h: Marked fields as const. frontend.cc: Changed .dot generation code. code_gen.h: Fixed include to have full path. Change-Id: Ia84371c171c4537d9cf2f56644baa075f1706df1
|