History log of /llvm-project/llvm/lib/Transforms/Utils/InlineFunction.cpp (Results 526 – 550 of 636)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 36b9026f 08-May-2009 Eli Friedman <eli.friedman@gmail.com>

PR4123: don't crash when inlining a call which uses its own result.

llvm-svn: 71199


# 046bf624 15-Apr-2009 Devang Patel <dpatel@apple.com>

While inlining, clone llvm.dbg.func.start intrinsic and adjust
llvm.dbg.region.end instrinsic. This nested llvm.dbg.func.start/llvm.dbg.region.end pair now enables DW_TAG_inlined_subroutine support

While inlining, clone llvm.dbg.func.start intrinsic and adjust
llvm.dbg.region.end instrinsic. This nested llvm.dbg.func.start/llvm.dbg.region.end pair now enables DW_TAG_inlined_subroutine support in code generator.

llvm-svn: 69118

show more ...


# 4ce6e690 31-Mar-2009 Devang Patel <dpatel@apple.com>

Update call graph after inlining invoke.
Patch by Jay Foad.

llvm-svn: 68120


# 845e582c 04-Mar-2009 Dale Johannesen <dalej@apple.com>

Revert unintended commmit.

llvm-svn: 66001


# c8b5a6ef 04-Mar-2009 Dale Johannesen <dalej@apple.com>

Always skip ptr-to-ptr bitcasts when counting,
per Chris' suggestion. Slightly faster.

llvm-svn: 65999


Revision tags: llvmorg-2.5.0
# feb129e8 12-Feb-2009 Chris Lattner <sabre@nondot.org>

Fix a nasty bug (PR3550) where the inline pass could incorrectly mark
calls with the tail marker when inlining them through an invoke. Patch,
testcase, and perfect analysis by Jay Foad!

llvm-svn:

Fix a nasty bug (PR3550) where the inline pass could incorrectly mark
calls with the tail marker when inlining them through an invoke. Patch,
testcase, and perfect analysis by Jay Foad!

llvm-svn: 64364

show more ...


# 05daea5d 03-Feb-2009 Nick Lewycky <nicholas@mxc.ca>

Revert r63600. It didn't fix the bug, it just moved it a bit.

llvm-svn: 63618


# 12a130bd 03-Feb-2009 Nick Lewycky <nicholas@mxc.ca>

Update the callgraph when replacing InvokeInst with CallInst when inlining.

llvm-svn: 63600


# f1abfdcc 17-Jan-2009 Gabor Greif <ggreif@gmail.com>

introduce typedef for complicated vector, and use it too

llvm-svn: 62384


# 8c573f7e 16-Jan-2009 Gabor Greif <ggreif@gmail.com>

typo

llvm-svn: 62377


# 5aa19226 15-Jan-2009 Gabor Greif <ggreif@gmail.com>

avoid using iterators when they get invalidated potentially
this fixes PR3332

llvm-svn: 62271


# 0aeabdff 13-Jan-2009 Dale Johannesen <dalej@apple.com>

Fix testsuite regressions from recursive inlining.

llvm-svn: 62189


# dd708345 21-Nov-2008 Chris Lattner <sabre@nondot.org>

reapply Sanjiv's patch to genericize memcpy/memset/memmove to take an
arbitrary integer width for the count.

llvm-svn: 59823


# 4bce2bff 21-Nov-2008 Bill Wendling <isanbard@gmail.com>

Revert r59802. It was breaking the build of llvm-gcc:

g++ -m32 -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wmissing-format-attribute -fno-common -mdynamic-no-pic -DHAVE_CONFIG_H -Wno-unused -DTARGET_NA

Revert r59802. It was breaking the build of llvm-gcc:

g++ -m32 -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wmissing-format-attribute -fno-common -mdynamic-no-pic -DHAVE_CONFIG_H -Wno-unused -DTARGET_NAME=\"i386-apple-darwin9.5.0\" -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include -DENABLE_LLVM -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/../llvm.src/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include ../../llvm-gcc.src/gcc/llvm-types.cpp -o llvm-types.o
../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemCpy(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)':
../../llvm-gcc.src/gcc/llvm-convert.cpp:1496: error: 'memcpy_i32' is not a member of 'llvm::Intrinsic'
../../llvm-gcc.src/gcc/llvm-convert.cpp:1496: error: 'memcpy_i64' is not a member of 'llvm::Intrinsic'
../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemMove(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)':
../../llvm-gcc.src/gcc/llvm-convert.cpp:1512: error: 'memmove_i32' is not a member of 'llvm::Intrinsic'
../../llvm-gcc.src/gcc/llvm-convert.cpp:1512: error: 'memmove_i64' is not a member of 'llvm::Intrinsic'
../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemSet(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)':
../../llvm-gcc.src/gcc/llvm-convert.cpp:1528: error: 'memset_i32' is not a member of 'llvm::Intrinsic'
../../llvm-gcc.src/gcc/llvm-convert.cpp:1528: error: 'memset_i64' is not a member of 'llvm::Intrinsic'
make[3]: *** [llvm-convert.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

llvm-svn: 59809

show more ...


# 09a20376 21-Nov-2008 Sanjiv Gupta <sanjiv.gupta@microchip.com>

Make mem[cpy,move,set] intrinsics overloaded.

llvm-svn: 59802


Revision tags: llvmorg-2.4.0
# 4c758ea3 25-Sep-2008 Devang Patel <dpatel@apple.com>

Large mechanical patch.

s/ParamAttr/Attribute/g
s/PAList/AttrList/g
s/FnAttributeWithIndex/AttributeWithIndex/g
s/FnAttr/Attribute/g

This sets the stage
- to implement function notes as function a

Large mechanical patch.

s/ParamAttr/Attribute/g
s/PAList/AttrList/g
s/FnAttributeWithIndex/AttributeWithIndex/g
s/FnAttr/Attribute/g

This sets the stage
- to implement function notes as function attributes and
- to distinguish between function attributes and return value attributes.

This requires corresponding changes in llvm-gcc and clang.

llvm-svn: 56622

show more ...


# ba3fa6c6 23-Sep-2008 Devang Patel <dpatel@apple.com>

s/ParameterAttributes/Attributes/g

llvm-svn: 56513


# 46911f12 08-Sep-2008 Duncan Sands <baldrick@free.fr>

Reapply 55859. This doesn't change anything as
long as the callgraph is correct. It checks
for wrong callgraphs more strictly.

llvm-svn: 55894


# 1dd2e405 05-Sep-2008 Owen Anderson <resistor@mac.com>

Revert r55859. This is breaking the build in the abscence of its companion commit.

llvm-svn: 55865


# 9e236028 05-Sep-2008 Duncan Sands <baldrick@free.fr>

Delete the removeCallEdgeTo callgraph method,
because it does not maintain a correct list
of callsites. I discovered (see following
commit) that the inliner will create a wrong
callgraph if it is fe

Delete the removeCallEdgeTo callgraph method,
because it does not maintain a correct list
of callsites. I discovered (see following
commit) that the inliner will create a wrong
callgraph if it is fed a callgraph with
correct edges but incorrect callsites. These
were created by Prune-EH, and while it wasn't
done via removeCallEdgeTo, it could have been
done via removeCallEdgeTo, which is an accident
waiting to happen. Use removeCallEdgeFor
instead.

llvm-svn: 55859

show more ...


# 7c8fb1ad 05-Sep-2008 Duncan Sands <baldrick@free.fr>

Remove trailing whitespace.

llvm-svn: 55835


# d930f913 17-Aug-2008 Gordon Henriksen <gordonhenriksen@mac.com>

Rename some GC classes so that their roll will hopefully be clearer.

In particular, Collector was confusing to implementors. Several
thought that this compile-time class was the place to implement
t

Rename some GC classes so that their roll will hopefully be clearer.

In particular, Collector was confusing to implementors. Several
thought that this compile-time class was the place to implement
their runtime GC heap. Of course, it doesn't even exist at runtime.
Specifically, the renames are:

Collector -> GCStrategy
CollectorMetadata -> GCFunctionInfo
CollectorModuleMetadata -> GCModuleInfo
CollectorRegistry -> GCRegistry
Function::getCollector -> getGC (setGC, hasGC, clearGC)

Several accessors and nested types have also been renamed to be
consistent. These changes should be obvious.

llvm-svn: 54899

show more ...


# fa1211f6 23-Jul-2008 Dan Gohman <gohman@apple.com>

Enable first-class aggregates support.

Remove the GetResultInst instruction. It is still accepted in LLVM assembly
and bitcode, where it is now auto-upgraded to ExtractValueInst. Also, remove
suppor

Enable first-class aggregates support.

Remove the GetResultInst instruction. It is still accepted in LLVM assembly
and bitcode, where it is now auto-upgraded to ExtractValueInst. Also, remove
support for return instructions with multiple values. These are auto-upgraded
to use InsertValueInst instructions.

The IRBuilder still accepts multiple-value returns, and auto-upgrades them
to InsertValueInst instructions.

llvm-svn: 53941

show more ...


# 158ff2c4 21-Jun-2008 Dan Gohman <gohman@apple.com>

Use Instruction::eraseFromParent().

llvm-svn: 52606


# 3ada1e11 20-Jun-2008 Dan Gohman <gohman@apple.com>

Clean up a use of std::distance.

llvm-svn: 52544


1...<<212223242526