search for: foo5

Displaying 8 results from an estimated 8 matches for "foo5".

Did you mean: foo
2016 Mar 24
4
attribute of intrinsic function
...perty is set, the worst case is assumed (it may read and write any memory it can get access to and it may have other side effects)". But when I define the intrinsic function with different attributes, there is no difference when I dump the IR. For example, two intrinsic functions are def int_foo5 : Intrinsic<[], [llvm_ptr_ty], [IntrReadWriteArgMem]>; def int_foo6 : Intrinsic<[], [llvm_ptr_ty], []>; Then I write a very simple module, in each module the intrinsic function is called twice as shown below: /******the intrinsic function foo5 is used******/ ; Function Attrs: nounwind...
2016 Mar 24
0
attribute of intrinsic function
...t case is assumed (it may read and write any memory it can get access to and it may have other side effects)". > > But when I define the intrinsic function with different attributes, there is no difference when I dump the IR. For example, two intrinsic functions are > > def int_foo5 : Intrinsic<[], [llvm_ptr_ty], [IntrReadWriteArgMem]>; > def int_foo6 : Intrinsic<[], [llvm_ptr_ty], []>; > > Then I write a very simple module, in each module the intrinsic function is called twice as shown below: > > /******the intrinsic function foo5 is used******/ &...
2016 Mar 24
0
attribute of intrinsic function
...gt; (it may read and write any memory it can get access to and it may have > other side effects)". > > But when I define the intrinsic function with different attributes, > there is no difference when I dump the IR. For example, two intrinsic > functions are > > def int_foo5 : Intrinsic<[], [llvm_ptr_ty], [IntrReadWriteArgMem]>; > def int_foo6 : Intrinsic<[], [llvm_ptr_ty], []>; > > Then I write a very simple module, in each module the intrinsic > function is called twice as shown below: > > /******the intrinsic function foo5 is used*****...
2016 Mar 25
1
attribute of intrinsic function
...ssumed (it may read and write > any memory it can get access to and it may have other side effects)". > > But when I define the intrinsic function with different attributes, there > is no difference when I dump the IR. For example, two intrinsic functions > are > > def int_foo5 : Intrinsic<[], [llvm_ptr_ty], [IntrReadWriteArgMem]>; > def int_foo6 : Intrinsic<[], [llvm_ptr_ty], []>; > > Then I write a very simple module, in each module the intrinsic function > is called twice as shown below: > > /******the intrinsic function foo5 is used******...
2010 Nov 10
3
create a pairwise coocurrence matrix
Hi all, I am trying to construct a pairwise coocurrence matrix for certain terms appearing in a number of documents. For example I have the following table with binary values showing the presence or absence of a certain term in a document: term1 term2 term3 term4 term5 doc1 1 1 0 0 1 doc2 1 1 0 1 1 doc3 1 0 0 0 1 And I want to have a matrix with the number of the pairwise coocurrencies. So,
2007 Jun 07
2
[LLVMdev] How to call native functions from bytecode run in JIT?
...register the native function "get5" using addGlobalMapping in the execution engine. I then try to call it using runFunction. This works under OS X, but fails in Linux giving something like "tried to call unknown function int* () get5". Calling module->getFunction("foo5") does not return NULL, though. Some relevant code snippets: // the native function int get5() { return 5; } // registering it std::vector<const Type*> emptyArgList; FunctionType* get5Type = FunctionType::get(Type::Int32Ty, emptyArgList, false); Function* get5Function = new Funct...
2007 Jul 30
1
filenames
Dear all, I want to create filename from a loop, say, i=(1:10), and the final names will be file1.csv, file2.csv, file3.csv in Python, it seems easer as - "file"+str(i) +'.csv , but how can i do in R > list = as.character(1:10) > list [1] "1" "2" "3" "4" "5" "6" "7" "8" "9"
2007 Jun 10
0
[LLVMdev] How to call native functions from bytecode run in JIT?
...unction "get5" using addGlobalMapping in the > execution engine. I then try to call it using runFunction. This > works under OS X, but fails in Linux giving something like "tried > to call unknown function int* () get5". Calling module->getFunction > ("foo5") does not return NULL, though. Some relevant code snippets: > > // the native function > > int get5() { return 5; } > > // registering it > > std::vector<const Type*> emptyArgList; > FunctionType* get5Type = FunctionType::get(Type::Int32Ty, > emptyArgList...