Displaying 17 results from an estimated 17 matches for "_function".
Did you mean:
function
2011 Mar 10
2
[LLVMdev] Alternative to Adding New Intrinsics for Code-Generation?
...ntrinsics" internal linkage when you
declare them.
John.
</pre>
</blockquote>
<br>
That makes sense, but it's not working for me. All the functions are
defined as ExternalLinkage, this is (a simplified version of) the
pre-optimised ir:<br>
<br>
declare i32 @_function(i32, i32, i32)<br>
<br>
define i32 @Test() {<br>
entry:<br>
%value = call i32 @_function(i32 0, i32 0, i32 0)<br>
}<br>
<br>
Which generates this error in the verifying stage:<br>
<br>
Referencing function in another module!<br>
%value...
2011 Mar 10
0
[LLVMdev] Alternative to Adding New Intrinsics for Code-Generation?
...quot;intrinsics" internal linkage when you
>> declare them.
>>
>> John.
>>
>
> That makes sense, but it's not working for me. All the functions are defined as ExternalLinkage, this is (a simplified version of) the pre-optimised ir:
>
> declare i32 @_function(i32, i32, i32)
>
> define i32 @Test() {
> entry:
> %value = call i32 @_function(i32 0, i32 0, i32 0)
> }
>
> Which generates this error in the verifying stage:
>
> Referencing function in another module!
> %value = call i32 @_function(i32 0, i32 0, i32 0)
That&...
2011 Mar 10
0
[LLVMdev] Alternative to Adding New Intrinsics for Code-Generation?
On Mar 10, 2011, at 10:43 AM, Dan Bailey wrote:
> I've written an IR->IR translation as part of a high-level language I've
> designed. It replaces my own specific functions in LLVM passes with
> custom logic.
>
> As part of the process, it needs to perform constant propagation and
> inlining prior to doing any translation. Initially I just used simple
>
2011 Mar 10
2
[LLVMdev] Alternative to Adding New Intrinsics for Code-Generation?
Hi,
I've written an IR->IR translation as part of a high-level language I've
designed. It replaces my own specific functions in LLVM passes with
custom logic.
As part of the process, it needs to perform constant propagation and
inlining prior to doing any translation. Initially I just used simple
function declarations to define these specific functions, but the
verification pass
2004 Aug 06
0
status report on the Windows CE (PocketPC) ACM codec
...ompatible
with the function name decorations that the VisualC++ embedded linker expects.
I keep getting unresolved external symbol messages.
A __stdcall function for example would have to look like this (the number
obviously indicating the number of bytes passed as arguments on the stack)
_function@4
However gcc will not emit these function names. I tried to force this to
__cdecl type functions which would have names like _function, but so far
without success.
* Loading resource strings from the codec DLL seems to fail. The codec
name turns out blank on the PocketPC, however that is...
2004 Aug 06
3
smapleenc.c and sampledec.c (from manual)
Hello,
I had tried to run smapleenc.c and sampledec.c
from the manual (don't confuse it with the encoder and decoter command line
utils ; the code ther is different).
the final decoded audio file is with a very poor quality audio
when using it with 16 bit PCM raw audio input .
Did anybody tried these samples with success ?
Or should I add something ?
regards
JOHN Z.
Creating a file with reusable functions accessible throughout a computational biology cancer project
2011 Jun 07
1
Creating a file with reusable functions accessible throughout a computational biology cancer project
Hi,
My project is set up the following way:
root directory contains the following folders:
folders: "Breast_Cancer" AND "Colorectal_Cancer" AND "Lung_Cancer" AND
"Prostate_Cancer"
I want to create a file, call it: "repeating_functions.R" and place it in
the root directory such that I can call these functions from within the
sub-folders in each type of cancer. My confusion is that I'm not sure of
the syntax to make this happen. For example:
Within the "Prostate_Cancer" folder, I have the following folders:...
1998 Apr 07
0
R-beta: spline problems(?)
...n))
depending on which orientation you want.
> Finally, a certain READ.MAT function, that reads in a single-column file,
> taking the first two entries as the dimension of a matrix and storing the
> remaining values in such a matrix, wouldn't work; anybody can see why?
> READ.MAT _function(file, nrow = 0) {
> if(nrow > 0) {
> n <- scan(file, n = 2)[2] * nrow
> tmp <- scan(file, n = n + 2)
> }
>
> ## first point of action: simply read in the file in vector 'tmp'
> else {
> tmp <- scan(file)
> }
>
> if(length(tmp)&...
2003 Dec 31
1
programming with C++Builder 5
Hi there,
I am using C++ Builder 5 to develop windows GUI interface for a R library package. I have to pass R objects to and from C functions and also evaluate them within C functions. But I always got linking error message of "unresolved external functions" with those internal functions or macros defined in Rinternals.h file. I can not find the reason.
I have included R.h and
2003 Dec 31
1
programming with C++Builder 5
Hi there,
I am using C++ Builder 5 to develop windows GUI interface for a R library package. I have to pass R objects to and from C functions and also evaluate them within C functions. But I always got linking error message of "unresolved external functions" with those internal functions or macros defined in Rinternals.h file. I can not find the reason.
I have included R.h and
2019 Feb 04
2
Variable names rule
...ou maybe thinking that if the identifiers were tagged to specify scope, people would still be trying to use acronyms or single letters? So that, what in future code might be F, would instead be _f and that would be worse than f_ or s_f? I was thinking instead F would be (for new or modified code) _function or _fnctn or _func (as an object of type Function). Again, sorry -- I don't see how prepended underscore is worse than an appended one. Could you supply some examples, please?
-----Original Message-----
From: Tim Northover [mailto:t.p.northover at gmail.com]
Sent: Monday, February 4, 2019 1:...
2019 Feb 04
2
Variable names rule
I so agree. I have found scope based coding conventions very useful. My favorite was:
* Static data member: s_<lowerCaseLetterThenCamelCase>
* Non-static data members: _<lowerCaseLetterThenCamelCase> (This was allowed by the C++ standard I last read. It’s _<UpperCase> that is reserved)
* Function argments:
2017 Aug 23
1
How to benchmark speed of load/readRDS correctly
Hi there
Thanks for your answers. I didn't expect that this would be so complex. Honestly, I don't understand everything you wrote since I'm not an IT specialist. But I read something that reading *.rds files is faster than loading *.Rdata and I wanted to proof that for my system and R version. But thanks anyway for your time.
Cheers Raphael
> -----Urspr?ngliche Nachricht-----
2010 Jul 05
3
selection of optim parameters
Hi all,
I am trying to rebuild the results of a study using a different data
set. I'm using about 450 observations. The code I've written seems to
work well, but I have some troubles minimizing the negative of the
LogLikelyhood function using 5 free parameters.
As starting values I am using the result of the paper I am rebuiling.
The system.time of the calculation of the function is
2013 Nov 14
0
[LLVMdev] Android JIT patch
...even harder to comprehend for someone who didn't know what it was supposed to be doing.
I wouldn't be opposed to a single macro that wrapped the 'if (Name == "foo") return (uint64_t)&foo;' pattern, which is quite ugly.
What do you think of this?
#define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return (uint64_t)&fn;
And then inside getSymbolAddress:
#if ... conditions ...
EXPOSE_STATIC_FUNCTION(__aeabi_d2f);
EXPOSE_STATIC_FUNCTION(__aeabi_d2iz);
EXPOSE_STATIC_FUNCTION(__aeabi_d2lz);
etc.
#endif
-Andy
-----Original Message-----
From: James Lyon [mailt...
2013 Nov 14
3
[LLVMdev] Android JIT patch
Well, is the attached version better? I've extended the
RTDyldMemoryManager hooks instead to pick up the ARM math functions
statically, and left JITMemoryManager alone except for changing the
conditional so that it will build with non-glibc libraries.
I've also split the original patch up into two parts, to separate the
math function fixes from setLastModificationAndAccessTime. The
2013 Apr 19
8
[PATCH 0 of 8] blktap3/libvhd: Introduce VHD library.
This patch series introduces the VHD library. It is based on the blktap2 one,
with changes coming from the blktap2.5 one.
Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>