search for: machineframe

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

Did you mean: machine_name
2013 Sep 05
0
[LLVMdev] Stack usage analysis using LLVM
...locatoed memory using the DataLayout pass. If you want something that includes stack-spill slots and the like, then you'd need to write a MachineFunction Pass and examine the generated machine instructions. Alternatively, there might be a way in a MachineFunctionPass to get a pointer to a MachineFrame object and to query its size. -- John T. > > In short, with fstack-usage, gcc prints out the maximum stack usage > per function (in bytes) which it can determine as a) static (no calls > to alloca in source) b) bounded (calls to alloca with constants) c) > unbounded (calls to a...
2013 Sep 03
2
[LLVMdev] Stack usage analysis using LLVM
Hi I was wondering if someone knows about any effort within the LLVM community to perform stack usage analysis per function similar to GCC's "-fstack-usage<http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Static-Stack-Usage-Analysis.html>" option? In short, with fstack-usage, gcc prints out the maximum stack usage per function (in bytes) which it can determine as a) static (no