search for: fibt

Displaying 6 results from an estimated 6 matches for "fibt".

Did you mean: fbit
2004 Aug 17
0
[LLVMdev] JIT API example (fibonacci)
...to your HowToUseJIT example and use them to simplify this example too? For example, instead of code like this: // the type is 'int ()' std::vector<const Type*> ArgT(1); ArgT[0] = Type::IntTy; // now create full type of the "fib" function: FunctionType *FibT = FunctionType::get(Type::IntTy, // type of result ArgT, /*not vararg*/false); // Now create the fib function entry and // insert this entry into module M // (By passing a module as the last parameter...
2004 Aug 17
4
[LLVMdev] JIT API example (fibonacci)
Hi LLVMers, the example attached I have used to prove that JIT and some visible optimizations are really invoked. Proved OK. I got 30% speed-up in comparison to gcc 3.3.3 on my Athlon XP 1500. Nice. P.S. guys, no fears, I don't plan to flood the cvs repository with my "brilliant" examples ;) --- Valery A.Khamenya -------------- next part -------------- An
2004 Aug 17
5
[LLVMdev] JIT API example (fibonacci)
...create type for the single argument of fib function: > > // the type is 'int ()' > > std::vector<const Type*> ArgT(1); > > ArgT[0] = Type::IntTy; > > > > // now create full type of the "fib" function: > > FunctionType *FibT = FunctionType::get(Type::IntTy, // type of result > > ArgT, > > /*not vararg*/false); > > > > // Now create the fib function entry and > > // insert this entry into module M > > // (By passing a module as the last parameter to the Fun...
2004 Aug 17
0
[LLVMdev] JIT API example (fibonacci)
...> { > // first create type for the single argument of fib function: > // the type is 'int ()' > std::vector<const Type*> ArgT(1); > ArgT[0] = Type::IntTy; > > // now create full type of the "fib" function: > FunctionType *FibT = FunctionType::get(Type::IntTy, // type of result > ArgT, > /*not vararg*/false); > > // Now create the fib function entry and > // insert this entry into module M > // (By passing a module as the last parameter to the Function constructor, >...
2004 Aug 17
0
[LLVMdev] JIT API example (fibonacci)
...for the single argument of fib function: >>> // the type is 'int ()' >>> std::vector<const Type*> ArgT(1); >>> ArgT[0] = Type::IntTy; >>> >>> // now create full type of the "fib" function: >>> FunctionType *FibT = FunctionType::get(Type::IntTy, // type of result >>> ArgT, >>> /*not vararg*/false); >>> >>> // Now create the fib function entry and >>> // insert this entry into module M >>> // (By passing a module as the last paramet...
2004 Aug 18
1
[LLVMdev] JIT API example (fibonacci)
...function: > >>> // the type is 'int ()' > >>> std::vector<const Type*> ArgT(1); > >>> ArgT[0] = Type::IntTy; > >>> > >>> // now create full type of the "fib" function: > >>> FunctionType *FibT = FunctionType::get(Type::IntTy, // type of result > >>> ArgT, > >>> /*not vararg*/false); > >>> > >>> // Now create the fib function entry and > >>> // insert this entry into module M > >>> // (By passin...