search for: allocinstruct

Displaying 1 result from an estimated 1 matches for "allocinstruct".

2012 Apr 21
1
[LLVMdev] Little Problem about Variable memory allocating way in function
As I want to generate code for the varaible declaration, at first, I thought AllocInstruction()could implement this. However, the name "alloc" seems to allocate memory from heap memory.and the local variable in function should stay at stack memory. In which way did llvm allocate memeory to AllocInstruction() ? Would the memory allocated by AllocInstruction() be recycled back?...