Djordje Todorovic
c58fec45e3
Add ImplicitModelCastPass
...
We introduce a new LLVM Pass that should detect implicit
casts, by marking the 3rd argument of ModelCast as `true`.
The backend will omit printing a cast expression if the
ModelCast is implicit one.
2024-05-16 17:57:22 +02:00
Djordje Todorovic
39f513f9b5
MakeModelCast: replace SExt ZExt Trunc
2024-05-16 17:57:22 +02:00
Djordje Todorovic
c4eda86471
MakeModelCast: Change OpaqueFunctionsPool
...
Introduce new key: use TypePair instead of Type *.
2024-05-16 17:57:22 +02:00
Djordje Todorovic
dd68f7d810
Move casts to MakeModelCastPass
...
Production of casts in backend should be indicated by
call to ModelCast only. This patch implements that.
2024-05-16 17:57:22 +02:00
Ivan Krysak
a88b03aef8
Backend: fix an assertion on a lost typedef
2024-03-15 19:05:10 +01:00
Alessandro Di Federico
0c212b66d9
Relicense to MIT
2024-02-29 17:03:36 +01:00
Alessandro Di Federico
7a2e315e29
s/IRCanonicalization/Canonicalize/g
2024-02-09 09:03:34 +01:00