| #
f4786785 |
| 11-Feb-2016 |
Aidan Dodds <[email protected]> |
[Renderscript] Refactor target argument reading code.
This patch reworks the function argument reading code, allowing us to annotate arguments with their types. The type/size information is needed
[Renderscript] Refactor target argument reading code.
This patch reworks the function argument reading code, allowing us to annotate arguments with their types. The type/size information is needed to correctly parse arguments passed on the stack.
llvm-svn: 260525
show more ...
|
| #
ea0636b5 |
| 10-Feb-2016 |
Ewan Crawford <[email protected]> |
[RenderScript] Refactor allocation expressions
Patch refractors RS plugin code specifying how format strings are used to JIT the runtime.
Author: Dean De Leo <[email protected]> llvm-svn: 260372
|
| #
0a66e2f1 |
| 06-Feb-2016 |
Enrico Granata <[email protected]> |
Fix an issue where certain CommandObjects (or Options thereof) were being created once, bound to a specific CommandInterpreter (and hence a specific Debugger), and then cached for reuse across differ
Fix an issue where certain CommandObjects (or Options thereof) were being created once, bound to a specific CommandInterpreter (and hence a specific Debugger), and then cached for reuse across different Debugger instances
Obviously, if the original Debugger goes away, those commands are holding on to now stale memory, which has the potential to cause crashes
Fixes rdar://24460882
llvm-svn: 259964
show more ...
|
| #
0d2bfcfb |
| 04-Feb-2016 |
Ewan Crawford <[email protected]> |
[RenderScript] Add command for recalculating allocation details
Patch replaces the --refresh flag removed in r258800 with it's own command, 'language renderscript allocation refresh'. Since there is
[RenderScript] Add command for recalculating allocation details
Patch replaces the --refresh flag removed in r258800 with it's own command, 'language renderscript allocation refresh'. Since there is no reason this functionality should be tied to another command as an option. The command itself simply re-JITs all our cached information about allocations.
llvm-svn: 259773
show more ...
|
|
Revision tags: llvmorg-3.8.0-rc2 |
|
| #
36175cc0 |
| 29-Jan-2016 |
Ewan Crawford <[email protected]> |
[RenderScript] Remove unused RS command
Patch deletes the 'language renderscript module probe' command. This command was present in the initial commit to help debug the plugin. However we haven't us
[RenderScript] Remove unused RS command
Patch deletes the 'language renderscript module probe' command. This command was present in the initial commit to help debug the plugin. However we haven't used it recently and it's functionality is unclear, so can be removed entirely.
Also add back 'kernel coordinate' command, removed by accident in clang format patch r259056.
llvm-svn: 259181
show more ...
|
| #
b3f7f69d |
| 28-Jan-2016 |
Aidan Dodds <[email protected]> |
[Renderscript] Clang-format the renderscript plugin.
Run clang-format over the renderscript plugin and fix common formatting deviations.
llvm-svn: 259056
|
| #
b649b005 |
| 26-Jan-2016 |
Ewan Crawford <[email protected]> |
[RenderScript] Provide option to specify a single allocation to print
Patch replaces the 'renderscript allocation list' command flag --refresh, with a new option --id <ID>. This new option only prin
[RenderScript] Provide option to specify a single allocation to print
Patch replaces the 'renderscript allocation list' command flag --refresh, with a new option --id <ID>. This new option only prints the details of a single allocation with a given id, rather than printing all the allocations. Functionality from the removed '--refresh' flag will be moved into its own command in a subsequent commit.
llvm-svn: 258800
show more ...
|
| #
a9759599 |
| 20-Jan-2016 |
Pavel Labath <[email protected]> |
Fix clang warning in RenderScriptRuntime
std::array should have "the same semantics as a struct holding a C-style array T[N] as its only non-static data member", so the initialization should have on
Fix clang warning in RenderScriptRuntime
std::array should have "the same semantics as a struct holding a C-style array T[N] as its only non-static data member", so the initialization should have one more level of braces. Hopefully, no compiler will object to that.
llvm-svn: 258306
show more ...
|
| #
4f8817c2 |
| 20-Jan-2016 |
Ewan Crawford <[email protected]> |
[RenderScript] New command for viewing coordinate of current kernel invocation
Patch adds command 'language renderscript kernel coordinate' for printing the kernel index in (x,y,z) format. This is d
[RenderScript] New command for viewing coordinate of current kernel invocation
Patch adds command 'language renderscript kernel coordinate' for printing the kernel index in (x,y,z) format. This is done by walking the call stack and looking for a function with suffix '.expand', as well as the frame variables containing the coordinate data.
llvm-svn: 258303
show more ...
|
|
Revision tags: llvmorg-3.8.0-rc1 |
|
| #
836d9651 |
| 18-Jan-2016 |
Ewan Crawford <[email protected]> |
[RenderScript] Remove mips specific expressions
Reverts earlier commit r254910, which used function pointers for jitted expressions to avoid a Mips64 compiler bug. Bug has since been fixed, and comp
[RenderScript] Remove mips specific expressions
Reverts earlier commit r254910, which used function pointers for jitted expressions to avoid a Mips64 compiler bug. Bug has since been fixed, and compiler longer issues the problem instruction.
Author: Dean De Leo <[email protected]> llvm-svn: 258038
show more ...
|
| #
e09c44b6 |
| 14-Jan-2016 |
Aidan Dodds <[email protected]> |
[RenderScript] Hook kernel invocation.
This patch adds a hook to track kernel invocations and to track all script and allocation objects used.
llvm-svn: 257772
|
| #
26e52a70 |
| 07-Jan-2016 |
Ewan Crawford <[email protected]> |
[RenderScript] Improve file format for saving RS allocations
Updates the file format for storing RS allocations to a file, so that the format now supports struct element types.
The file header will
[RenderScript] Improve file format for saving RS allocations
Updates the file format for storing RS allocations to a file, so that the format now supports struct element types.
The file header will now contain a subheader for every RS element and it's descendants. Where an element subheader contains element type details and offsets to the subheaders of that elements fields.
Patch also improves robustness when loading incorrect files.
llvm-svn: 257045
show more ...
|
| #
35e7b1ad |
| 06-Jan-2016 |
Aidan Dodds <[email protected]> |
[Renderscript] Fix stack argument inspection.
Function arguments that were spilled and passed on the stack were incorrectly read. The value was written back into the output pointer rather then the m
[Renderscript] Fix stack argument inspection.
Function arguments that were spilled and passed on the stack were incorrectly read. The value was written back into the output pointer rather then the memory being pointed to.
llvm-svn: 256941
show more ...
|
| #
7093cccf |
| 05-Jan-2016 |
Ewan Crawford <[email protected]> |
Revert r256769
Reverts "Use correct format identifiers to print something meaningful."
Original format specifiers were correct. Instead use void* casts to remove warnings, since this is what the %p
Revert r256769
Reverts "Use correct format identifiers to print something meaningful."
Original format specifiers were correct. Instead use void* casts to remove warnings, since this is what the %p specifier expects.
llvm-svn: 256833
show more ...
|
| #
e8e7bfbf |
| 04-Jan-2016 |
Davide Italiano <[email protected]> |
Use correct format identifiers to print something meaningful.
llvm-svn: 256769
|
| #
2e920715 |
| 17-Dec-2015 |
Ewan Crawford <[email protected]> |
[RenderScript] Support all RS allocation types
Currently we can just inspect the details of the most common allocation types. This patch allows us to support all the types defined by the RS runtime
[RenderScript] Support all RS allocation types
Currently we can just inspect the details of the most common allocation types. This patch allows us to support all the types defined by the RS runtime in its `RsDataType` enum. Including handlers, matrices and packed graphical data.
llvm-svn: 255904
show more ...
|
| #
cdfb1485 |
| 11-Dec-2015 |
Ewan Crawford <[email protected]> |
[RenderScript] Support for amd64 RS hooks
Adds support for reading a maximum of six integer arguments from a renderscript hook on X86_64. Author: Luke Drummond <[email protected]>
llvm-svn
[RenderScript] Support for amd64 RS hooks
Adds support for reading a maximum of six integer arguments from a renderscript hook on X86_64. Author: Luke Drummond <[email protected]>
llvm-svn: 255338
show more ...
|
| #
8b59062a |
| 10-Dec-2015 |
Ewan Crawford <[email protected]> |
[RenderScript] Refactor condition deciding when to JIT RS runtime
Patch creates a member function that decides when to JIT all the details about an allocation. By checking for zero pointers we can a
[RenderScript] Refactor condition deciding when to JIT RS runtime
Patch creates a member function that decides when to JIT all the details about an allocation. By checking for zero pointers we can avoid the situation where we store uninitialised data from previously inspecting the allocation during creation.
llvm-svn: 255238
show more ...
|
| #
e69df382 |
| 09-Dec-2015 |
Ewan Crawford <[email protected]> |
[RenderScript] Add hook for destroyed allocations
New hook for rsdAllocationDestroy() which is called when allocations are deleted. LLDB should be aware of this so we can remove the allocation from
[RenderScript] Add hook for destroyed allocations
New hook for rsdAllocationDestroy() which is called when allocations are deleted. LLDB should be aware of this so we can remove the allocation from our internal list.
llvm-svn: 255121
show more ...
|
| #
b1651b8d |
| 07-Dec-2015 |
Ewan Crawford <[email protected]> |
[RenderScript] Mips64 allocations workaround
Workaround for Mips64 compiler bug by using function pointers to call functions for expression evaluation. This avoids the emission of the JAL instructi
[RenderScript] Mips64 allocations workaround
Workaround for Mips64 compiler bug by using function pointers to call functions for expression evaluation. This avoids the emission of the JAL instruction, which can only jump within a particular range of the PC.
Author: Dean De Leo, [email protected] llvm-svn: 254910
show more ...
|
|
Revision tags: llvmorg-3.7.1 |
|
| #
fe06b5ad |
| 30-Nov-2015 |
Adrian McCarthy <[email protected]> |
Fix hang in global static initialization
Differential Revision: http://reviews.llvm.org/D15092
llvm-svn: 254338
|
| #
8b244e21 |
| 30-Nov-2015 |
Ewan Crawford <[email protected]> |
[RS] Support RenderScript struct allocations
This patch adds functionality for dumping allocations of struct elements. This involves:
+ Jitting the runtime for details on all the struct fields.
[RS] Support RenderScript struct allocations
This patch adds functionality for dumping allocations of struct elements. This involves:
+ Jitting the runtime for details on all the struct fields.
+ Finding the name of the struct type by looking for a global variable of the same type, which will have been reflected back to the java host code.
+ Using this struct type name to pass into expression evaluation for pretty printing the data for the dump command.
llvm-svn: 254294
show more ...
|
|
Revision tags: llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1 |
|
| #
74b396d9 |
| 12-Nov-2015 |
Aidan Dodds <[email protected]> |
Allow renderscript runtime to read MIPS target arguments.
llvm-svn: 252914
|
| #
eba832be |
| 29-Oct-2015 |
Jason Molenda <[email protected]> |
Explicitly cast size_t var to (uint64_t) when printf format is PRIx64.
llvm-svn: 251585
|
| #
222b937c |
| 27-Oct-2015 |
Eugene Zelenko <[email protected]> |
Fix Clang-tidy modernize-use-override warnings in source/Plugins/LanguageRuntime and Platform; other minor fixes.
llvm-svn: 251374
|