[llvm-dev] Custom Alloca implementation
Udit agarwal via llvm-dev
llvm-dev at lists.llvm.org
Mon Jan 27 04:09:10 PST 2020
In my project, I need to allocate an extra 4 Bytes in every Alloca
instruction. These additional bytes will be used to store the 'allocation
info'(like size and structure of the allocated object etc). Instead of
adding 4 bytes to the Alloca 'size' operand at every Alloca Instruction, I
was thinking to make this change at the level where Alloca gets converted
to machine IR.
Can anyone please point me towards the code which actually handles this
conversion(lowering of Alloca Inst)?
Udit kumar agarwal
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev