search for: exprf

Displaying 2 results from an estimated 2 matches for "exprf".

Did you mean: expr
2010 Jan 05
5
[LLVMdev] [Help] How can we call an object's virtual function inside IR?
Dear experts, I am learning llvm by reading documents and have a question to ask. The following is the example of code generation that I created. [[a [10.00]] > [3.00]] ; ModuleID = 'ExprF' define i1 @expr(double* %record) { entry: %0 = getelementptr double* %record, i32 0 ; <double*> [#uses=1] %1 = load double* %0 ; <double> [#uses=1] %2 = frem double %1, 1.000000e+01 ; <double> [#uses=1] %...
2010 Jan 06
0
[LLVMdev] [Help] How can we call an object's virtual function inside IR?
...->funca () can > be created as funcb(&ClassA ) -a C style function. Then we need to > call funcb from inside LLVM IR. > > Will that be possible? > I tried to search web and documents, but really couldn't find it. > > [[a [10.00]] > [3.00]] > ; ModuleID = 'ExprF' > > define i1 @expr(double* %record) { > entry: > %0 = getelementptr double* %record, i32 0 ; > <double*> [#uses=1] > %1 = load double* %0 ; <double> [#uses=1] > %2 = frem double %1, 1.000000e+01 ; &l...