search for: singletonset

Displaying 5 results from an estimated 5 matches for "singletonset".

Did you mean: singletons
2016 May 17
3
External function resolution: MCJIT vs ORC JIT
...ude <llvm/Target/TargetMachine.h> #include <llvm/Transforms/IPO.h> #include <llvm/Transforms/IPO/PassManagerBuilder.h> #include <llvm/Transforms/Scalar.h> #include <llvm/Transforms/Utils/UnifyFunctionExitNodes.h> template <typename T> inline std::vector<T> singletonSet (T t) { std::vector<T> Vec; Vec.push_back(std::move(t)); return Vec; } /// /// THIS is the function I want my IR to call /// extern "C" { float sqr (float x) { return x*x; } } void simple () { llvm::InitializeAllTargets(); llvm::InitializeAllTargetMCs();...
2016 May 19
2
External function resolution: MCJIT vs ORC JIT
...> > #include <llvm/Transforms/IPO.h> > #include <llvm/Transforms/IPO/PassManagerBuilder.h> > #include <llvm/Transforms/Scalar.h> > #include <llvm/Transforms/Utils/UnifyFunctionExitNodes.h> > > template <typename T> > inline std::vector<T> singletonSet (T t) > { > std::vector<T> Vec; > Vec.push_back(std::move(t)); > return Vec; > } > > > /// > /// THIS is the function I want my IR to call > /// > extern "C" { > float sqr (float x) { return x*x; } > } > > > void > s...
2016 May 20
0
External function resolution: MCJIT vs ORC JIT
...llvm/Transforms/IPO.h> >> #include <llvm/Transforms/IPO/PassManagerBuilder.h> >> #include <llvm/Transforms/Scalar.h> >> #include <llvm/Transforms/Utils/UnifyFunctionExitNodes.h> >> >> template <typename T> >> inline std::vector<T> singletonSet (T t) >> { >> std::vector<T> Vec; >> Vec.push_back(std::move(t)); >> return Vec; >> } >> >> >> /// >> /// THIS is the function I want my IR to call >> /// >> extern "C" { >> float sqr (float x) { ret...
2016 May 22
1
External function resolution: MCJIT vs ORC JIT
...lvm/Transforms/IPO.h> >> #include <llvm/Transforms/IPO/PassManagerBuilder.h> >> #include <llvm/Transforms/Scalar.h> >> #include <llvm/Transforms/Utils/UnifyFunctionExitNodes.h> >> >> template <typename T> >> inline std::vector<T> singletonSet (T t) >> { >> std::vector<T> Vec; >> Vec.push_back(std::move(t)); >> return Vec; >> } >> >> >> /// >> /// THIS is the function I want my IR to call >> /// >> extern "C" { >> float sqr (float x) { r...
2015 Mar 13
4
[LLVMdev] Thoughts about ExecutionEngine/MCJIT interface
Hi, I think ExecutionEngine as a common interface for both Interpreter and MCJIT is almost useless in the current form. There are separated methods in ExecutionEngine for similar or the same features provided by Interpreter and MCJIT, i.e. to get a pointer to function you should call getPointerToFunction() for Interpreter or getFunctionAddress() for MCJIT. Personally, I'm using MCJIT and