<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Futura Hv BT";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:CastleTUlt;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal>Using C++ code, I would like to generate code at run-time (the
same way .NET code can use dynamic methods or compiled expressions) in order to
obtain very high performance code (to read binary data records whose formats
are only known at run-time.) I need to target x86 (Win32) and ARM (WinCE).<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Can LLVM be used for this purpose, or would something else work
better? Are there any open-source projects that have done this, that I could
look to as an example?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='page-break-after:avoid;text-autospace:none'><b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>David Piepgrass,
E.I.T.<o:p></o:p></span></b></p>
<p class=MsoNormal style='page-break-after:avoid;text-autospace:none'><span
style='font-size:8.0pt;font-family:"Verdana","sans-serif"'>Software Developer<br>
</span><span style='font-size:10.0pt;font-family:CastleTUlt'>__________________________________________<o:p></o:p></span></p>
<p class=MsoNormal style='line-height:50%;text-autospace:none'><span
style='font-size:4.0pt;line-height:50%;font-family:"Futura Hv BT"'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><b><span style='font-size:8.5pt;
font-family:"Verdana","sans-serif"'><a href="http://www.mentoreng.com/"><span
style='color:blue'>Mentor Engineering Inc.</span></a><span style='color:red'><o:p></o:p></span></span></b></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Verdana","sans-serif"'>10, 2175 - 29th Street NE<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Verdana","sans-serif"'>Calgary, AB, Canada T1Y 7H8<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:4.0pt;
font-family:"Verdana","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Verdana","sans-serif"'>Ph: (403) 777-3760 ext. 490 Fax:
(403) 777-3769<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:.25in;line-height:120%;text-autospace:
none'><b><span style='font-size:10.0pt;line-height:120%;font-family:"Verdana","sans-serif";
color:#314963'>What are the costs of speeding & idling in your fleet?</span></b><b><span
style='font-size:9.0pt;line-height:120%;font-family:"Verdana","sans-serif";
color:#314963'> </span></b><b><span style='font-size:9.0pt;line-height:120%;
font-family:"Verdana","sans-serif";color:#A1AD27'><br>
</span></b><b><u><span style='font-size:8.0pt;line-height:120%;font-family:
"Verdana","sans-serif";color:#8DB3E2'><a
href="http://www.mentoreng.com/speed-idle/speed-idle-demo.html"><span
style='line-height:120%;color:#8DB3E2'>Watch this short demo to find out</span></a></span></u></b><span
style='font-size:9.0pt;line-height:120%;font-family:"Verdana","sans-serif";
color:#A1AD27'><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Verdana","sans-serif";color:blue'><img border=0 width=180
height=87 id="Picture_x0020_1" src="cid:image001.jpg@01CB24CB.E805DB10"
alt=SpeedandIdleDemo2><u><o:p></o:p></u></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>