22 Commits

Author SHA1 Message Date
Artur K
ba110a64cb removed most of clang warnings / errors 2012-03-29 22:02:25 +02:00
Artur K
61392772e1 More work on LLOperand,
Adding accessors for src operand to LLIns
2012-03-17 23:09:35 +01:00
Artur K
26b9ab1e00 Added setters/creation methods to LLOperand
Moved PROG global into Project instance. Still need to refactor all
usages of prog.
Split fseek offset calculation in frontend.cpp to allow for easier
debugging.
Added alreadyDecoded method to CIcodeRec
LONGID_TYPE now has a method matching srcDstRegMatch icode's src a dst
regs
2012-03-17 22:57:54 +01:00
Artur K
dc8e7156a8 LLOperand no longer inherits from llvm::MCOperand, it contains one
instead.
Added BB accessors to ICODE and typedef'd BB to MachineBasicBlock
Removed an unused method in ICODE, and a parameter in isLong23
2012-03-17 22:38:54 +01:00
Artur K
4dd97b0709 Using boost now 2012-03-15 18:55:27 +01:00
Artur K
a740690e04 Replaced memory tags #defines with eAreaType enum
Added replaceExpr, which replaces expression, and deletes the old one.
Moved subReg* family to Machine_X86, also moved there a few float op
decoding parts.
A few more usages of cCode global replaced with ostreams
Refactored compoundCond().
2012-03-13 22:10:07 +01:00
Artur K
3bcbb7a2cf Removed lints 2012-03-10 22:46:15 +01:00
Artur K
eb6c1ac939 more fixes 2012-03-08 21:47:59 +01:00
Artur K
e0740f5ff7 Moved most of register definitions to use eReg enum 2012-03-07 21:52:46 +01:00
Artur K
0ad46c3986 renamed flag methods in LLInst 2012-02-29 22:26:23 +01:00
Artur K
6b7d3f6209 Started separation between Low level and higher level instructions 2012-02-29 18:13:43 +01:00
Artur K
a0a6f7cc0e lots of small things 2012-02-29 00:59:19 +01:00
Artur K
fbf8cc3a7a ICODE::DU1 idx[][] is now an array of structures containing vectors<iICODE>, seems that while changing that some dataflow issues were fixed 2012-02-28 16:38:36 +01:00
Artur K
3cb26d99d2 CIcodeRec is no longer an Array, it's now a list, will help with iterator stability 2012-02-28 03:06:34 +01:00
Artur K
bf2d099cd9 Refactoring idioms into objects with match/action methods 2012-02-26 23:57:33 +01:00
Artur K
9a6788fd2d removed ip dword from findIdioms, it's using iterators now, also switched to using iterators in IDX_ARRAY 2012-02-25 22:38:22 +01:00
Artur K
a51c5af87f llvm+ 2012-02-23 22:14:56 +01:00
Artur K
2b2eaeabe5 cruft removal wip 2012-02-22 21:48:58 +01:00
Artur K
8cb5449591 mooing on 2012-02-22 20:56:27 +01:00
Artur K
b3fa570792 slowly replacing ICODE * with iterators 2011-12-13 21:03:35 +01:00
Artur K
900438c453 from work 2011-12-12 15:44:52 +01:00
Artur K
4c249fe5c4 init 2011-11-24 20:19:41 +01:00