search for: target_data

Displaying 2 results from an estimated 2 matches for "target_data".

Did you mean: target_date
2013 Aug 09
1
a fast table() for the 1D case
...t to 'x' class(ans) <- "table" ans } table1D() also fixes some issues with base::table() that can be exposed by running the tests below. test_table <- function(FUN_NAME) { FUN <- match.fun(FUN_NAME) .make_target <- function(target_names, target_data) { ans <- array(target_data) dimnames(ans) <- list(as.character(target_names)) names(dimnames(ans)) <- "x" class(ans) <- "table" ans } .check_identical <- function(target, current, varname, extra_args)...
2009 Feb 19
6
[LLVMdev] Improving performance with optimization passes
...oca a struct, store a struct into it and read only one field without using the rest of the struct) and this does not appear to be optimized away. I simply copied the use of PassManager from the Kaleidoscope tutorial: let pm = PassManager.create_function mp in TargetData.add (ExecutionEngine.target_data ee) pm; add_constant_propagation pm; (* Do simple "peephole" optimizations and bit-twiddling optzn. *) add_instruction_combining pm; (* reassociate expressions. *) add_reassociation pm; (* Eliminate Common SubExpressions. *) add_gvn pm; (* Simplify the control flow gr...