Benjamin Kramer
|
eb9a85f09e
Change Intrinsic::getDeclaration and friends to take an ArrayRef.
|
14 年之前 |
Jay Foad
|
5fdd6c8793
Second attempt at de-constifying LLVM Types in FunctionType::get(),
|
14 年之前 |
Bill Wendling
|
2280ebd614
Revert r134893 and r134888 (and related patches in other trees). It was causing
|
14 年之前 |
Jay Foad
|
f362affa3a
De-constify Types in FunctionType::get().
|
14 年之前 |
Devang Patel
|
2cf158ec4b
Refactor. It is inliner's responsibility to update line number information.
|
14 年之前 |
Jay Foad
|
95c3e48f95
Reinstate r133513 (reverted in r133700) with an additional fix for a
|
14 年之前 |
Eric Christopher
|
e59fbc04ad
Revert r133513:
|
14 年之前 |
Jay Foad
|
cd35e09a4a
Reinstate r133435 and r133449 (reverted in r133499) now that the clang
|
14 年之前 |
Chad Rosier
|
a88a0ca808
Revert r133435 and r133449 to appease buildbots.
|
14 年之前 |
Jay Foad
|
72f5f313d8
Change how PHINodes store their operands.
|
14 年之前 |
John McCall
|
c975a51ac0
Use IRBuilder to make our intrinsic calls in the inliner so that we pick up
|
14 年之前 |
Nick Lewycky
|
708c1ac077
Use Value::stripPointerCasts instead of reinventing part of the wheel.
|
14 年之前 |
Nick Lewycky
|
9a488a8317
It's possible that an all-zero GEP may be used as the argument to lifetime
|
14 年之前 |
John McCall
|
1dd94bbfa1
SplitCriticalEdge can sometimes split the edge from an invoke to a landing
|
14 年之前 |
John McCall
|
e669d83a21
Teach the CallGraph to ignore calls to intrinsics.
|
14 年之前 |
John McCall
|
1edbd6f3f0
First, do no harm -- even if we can't find a selector for an enclosing
|
14 年之前 |
John McCall
|
a6d7345ec9
Fix this to work correctly with phis; test case to follow if this successfully
|
14 年之前 |
John McCall
|
d7c1086201
Implement and document the llvm.eh.resume intrinsic, which is
|
14 年之前 |
John McCall
|
a3de16bc8f
Fix the inliner to maintain the current de facto invoke semantics:
|
14 年之前 |
Nick Lewycky
|
6d55f2269e
Teach the inliner to emit llvm.lifetime.start/end, to scope the local variables
|
14 年之前 |
Chris Lattner
|
7a2bdde0a0
Fix a ton of comment typos found by codespell. Patch by
|
14 年之前 |
Jay Foad
|
3ecfc861b4
Remove PHINode::reserveOperandSpace(). Instead, add a parameter to
|
14 年之前 |
Jay Foad
|
d8b4fb4aab
(Almost) always call reserveOperandSpace() on newly created PHINodes.
|
14 年之前 |
Chris Lattner
|
7569d79de1
switch the inliner alignment enforcement stuff to use the
|
14 年之前 |
Chris Lattner
|
0b66f63a26
when eliding a byval copy due to inlining a readonly function, we have
|
14 年之前 |
Chris Lattner
|
e7ae705c32
pull byval processing out to its own helper function.
|
14 年之前 |
Chris Lattner
|
018fb767b9
fix PR8769, a miscompilation by inliner when inlining a function with a byval
|
14 年之前 |
Chris Lattner
|
39add23dc5
improve comment
|
14 年之前 |
Benjamin Kramer
|
f601d6df6f
Simplify code. No change in functionality.
|
14 年之前 |
Duncan Sands
|
6fb881c036
Have InlineFunction use SimplifyInstruction rather than
|
14 年之前 |