Displaying 1 result from an estimated 1 matches for "numerrictype".
Did you mean:
numerictype
2014 Sep 01
2
[LLVMdev] Instrumenting Various Types Using Single Instrumentation Function
...trumentation
https://github.com/liuml07/giri
union NumericType
{
int iValue;
long lValue;
double dValue;
...
};
Now, I would like to convert all the llvm Values, required by
recordVarInputValues function, to be of NumericType. So that a variable
length list of NumerricType values can be passed to my instrumentation
function. This way I will not have to create different instrumentation
functions for different data types.
Can I cast say i32 value to NumericType value in my instrumentation code,
without inserting additional instructions in my benchmark code. I tried
in...