search for: afun

Displaying 14 results from an estimated 14 matches for "afun".

2012 Dec 04
1
inconsistencies between ?class and ?UseMethod
Hi, The 2 man pages give inconsistent description of class(): Found in ?class: If the object does not have a class attribute, it has an implicit class, ?"matrix"?, ?"array"? or the result of ?mode(x)? (except that integer vectors have implicit class ?"integer"?). Found in ?UseMethod: Matrices and arrays have class ?"matrix"?
2017 Jun 02
10
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
...mp; cat t.o.ll ; ModuleID = '2.o' source_filename = "2.ll" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @X = constant i32 42, section "foo", align 4 @a = weak alias i32, i32* @X define void @afun() { %1 = load i32, i32* @a ret void } define void @testtest() { tail call void @boop() ret void } declare void @boop() ; Module summary: ; testtest (External linkage) ; Function (2 instructions) ; Calls: boop ; X (External linkage) ; Global Variable ; afun (External linkage)...
2017 Mar 31
2
How to write the same things as `opt` command in C++ API
...ctionInliningPass(); pm_builder.populateModulePassManager(pm); /// @brief Create function type (void) => i32 llvm::FunctionType *commonfuncType = llvm::FunctionType::get(llvm::Type::getInt32Ty(context), {}, false); /// @brief Create a function (define i32 a()) llvm::Function *aFun = llvm::Function::Create(commonfuncType, llvm::Function::PrivateLinkage, "a", module.get()); /// @brief Create a function (define i32 b()) llvm::Function *bFun = llvm::Function::Create(commonfuncType, llvm::Function::PrivateLinkage, "b", module.get()); /// @bri...
2017 Jun 02
2
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
...l" >> target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" >> target triple = "x86_64-unknown-linux-gnu" >> >> @X = constant i32 42, section "foo", align 4 >> >> @a = weak alias i32, i32* @X >> >> define void @afun() { >> %1 = load i32, i32* @a >> ret void >> } >> >> define void @testtest() { >> tail call void @boop() >> ret void >> } >> >> declare void @boop() >> >> ; Module summary: >> ; testtest (External linkage) >&g...
2017 Jun 02
2
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
...f80:128-n8:16:32:64-S128" >>>> target triple = "x86_64-unknown-linux-gnu" >>>> >>>> @X = constant i32 42, section "foo", align 4 >>>> >>>> @a = weak alias i32, i32* @X >>>> >>>> define void @afun() { >>>> %1 = load i32, i32* @a >>>> ret void >>>> } >>>> >>>> define void @testtest() { >>>> tail call void @boop() >>>> ret void >>>> } >>>> >>>> declare void @boop() &g...
1997 Jun 06
1
R-beta: nlm
I am trying to use the function "nlm" to find the mle. I want to use a generic function for the likelihood which would require me to use both the parameters and the data as arguments. But nlm requires the function to have only the parameters as arguments for this function (see example below). > testfun <- function(x,y) sum((x-y)^2) # x - parameters, y - data >
2017 Jun 03
2
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
...l" >> target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" >> target triple = "x86_64-unknown-linux-gnu" >> >> @X = constant i32 42, section "foo", align 4 >> >> @a = weak alias i32, i32* @X >> >> define void @afun() { >> %1 = load i32, i32* @a >> ret void >> } >> >> define void @testtest() { >> tail call void @boop() >> ret void >> } >> >> declare void @boop() >> >> ; Module summary: >> ; testtest (External linkage) >&g...
2017 Jun 06
2
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
...l" >> target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" >> target triple = "x86_64-unknown-linux-gnu" >> >> @X = constant i32 42, section "foo", align 4 >> >> @a = weak alias i32, i32* @X >> >> define void @afun() { >> %1 = load i32, i32* @a >> ret void >> } >> >> define void @testtest() { >> tail call void @boop() >> ret void >> } >> >> declare void @boop() >> >> ; Module summary: >> ; testtest (External linkage) >&g...
2017 Jun 07
2
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
...ternalLinkage > NotEligibleToImport: false > Live: false > a: > - Kind: Alias > Linkage: WeakAnyLinkage > NotEligibleToImport: false > Live: false > AliaseeGUID: 1881667236089500162 > afun: > - Kind: Function > Linkage: ExternalLinkage > NotEligibleToImport: false > Live: false > InstCount: 2 > testtest: > - Kind: Function > Linkage: ExternalLinkage > NotEli...
2017 Jun 08
2
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
...Live: false >>> a: >>> - Kind: Alias >>> Linkage: WeakAnyLinkage >>> NotEligibleToImport: false >>> Live: false >>> AliaseeGUID: 1881667236089500162 >>> afun: >>> - Kind: Function >>> Linkage: ExternalLinkage >>> NotEligibleToImport: false >>> Live: false >>> InstCount: 2 >>> testtest: >>> - Kind: Function >&...
2017 Jun 06
4
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
...f80:128-n8:16:32:64-S128" >>>> target triple = "x86_64-unknown-linux-gnu" >>>> >>>> @X = constant i32 42, section "foo", align 4 >>>> >>>> @a = weak alias i32, i32* @X >>>> >>>> define void @afun() { >>>> %1 = load i32, i32* @a >>>> ret void >>>> } >>>> >>>> define void @testtest() { >>>> tail call void @boop() >>>> ret void >>>> } >>>> >>>> declare void @boop() &g...
2010 Feb 10
2
Total least squares linear regression
Dear all, After a thorough research, I still find myself unable to find a function that does linear regression of 2 vectors of data using the "total least squares", also called "orthogonal regression" (see : http://en.wikipedia.org/wiki/Total_least_squares) instead of the "ordinary least squares" method. Indeed, the "lm" function has a
1998 May 27
3
dependencies in .so files
Thomas Lumley writes: > > > I've been trying to get Matt Calder's S compiler to work in R using R > COMPILE and R SHLIB so it will be fairly platform-independent. > > I'm sure someone has claimed in the past that it is possible/easy to > dyn.load() two dynamic libraries and have one call functions in the other. > I can't get it to work (Red Hat
2017 Jul 17
3
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
...Alias >>>>>>> Linkage: WeakAnyLinkage >>>>>>> NotEligibleToImport: false >>>>>>> Live: false >>>>>>> AliaseeGUID: 1881667236089500162 >>>>>>> afun: >>>>>>> - Kind: Function >>>>>>> Linkage: ExternalLinkage >>>>>>> NotEligibleToImport: false >>>>>>> Live: false >>>>>>> InstCount:...