mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
finish a half formed thought :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -60,7 +60,10 @@ InlinedArrayAllocasTy;
|
|||||||
/// do so and update the CallGraph for this operation.
|
/// do so and update the CallGraph for this operation.
|
||||||
///
|
///
|
||||||
/// This function also does some basic book-keeping to update the IR. The
|
/// This function also does some basic book-keeping to update the IR. The
|
||||||
/// InlinedArrayAllocas map keeps track of any
|
/// InlinedArrayAllocas map keeps track of any allocas that are already
|
||||||
|
/// available from other functions inlined into the caller. If we are able to
|
||||||
|
/// inline this call site we attempt to reuse already available allocas or add
|
||||||
|
/// any new allocas to the set if not possible.
|
||||||
static bool InlineCallIfPossible(CallSite CS, CallGraph &CG,
|
static bool InlineCallIfPossible(CallSite CS, CallGraph &CG,
|
||||||
const TargetData *TD,
|
const TargetData *TD,
|
||||||
InlinedArrayAllocasTy &InlinedArrayAllocas) {
|
InlinedArrayAllocasTy &InlinedArrayAllocas) {
|
||||||
|
|||||||
Reference in New Issue
Block a user