Lines Matching full:allocation
26 #define DEBUG_TYPE "flang-memory-allocation-opt"
31 /// Return `true` if this allocation is to remain on the stack (`fir.alloca`).
32 /// Otherwise the allocation should be moved to the heap (`fir.allocmem`).
50 // If the number of elements exceeds the threshold, move the allocation to
74 LLVM_DEBUG(llvm::dbgs() << "memory allocation opt: replaced " << alloca
82 LLVM_DEBUG(llvm::dbgs() << "memory allocation opt: add free " << free
90 /// Currently, implements two conversions from stack to heap allocation.
91 /// 1. If a stack allocation is an array larger than some threshold value
92 /// make it a heap allocation.
93 /// 2. If a stack allocation is an array with a runtime evaluated size make
94 /// it a heap allocation.
140 << "memory allocation opt: found " << alloca << '\n');