- Sep 24, 2008
-
-
Devang Patel authored
Do not check isDeclaration() in hasNote(). It is clients' responsibility. llvm-svn: 56524
-
Devang Patel authored
llvm-svn: 56513
-
Devang Patel authored
Function Notes also. Function notes are stored at index ~0. llvm-svn: 56511
-
- Sep 23, 2008
-
-
Devang Patel authored
llvm-svn: 56477
-
- Sep 22, 2008
-
-
Oscar Fuentes authored
llvm-svn: 56419
-
- Sep 20, 2008
-
-
Duncan Sands authored
of mayReadFromMemory and mayWriteToMemory. llvm-svn: 56387
-
- Sep 19, 2008
-
-
Duncan Sands authored
can get the readnone/readonly attributes, and gives them it. The plan is to remove markmodref (which did the same thing by querying GlobalsModRef) and delete the analogous functionality from GlobalsModRef. llvm-svn: 56341
-
- Sep 09, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 56005
-
Anton Korobeynikov authored
llvm-svn: 56001
-
- Sep 08, 2008
-
-
Duncan Sands authored
llvm-svn: 55896
-
Duncan Sands authored
llvm-svn: 55895
-
Duncan Sands authored
long as the callgraph is correct. It checks for wrong callgraphs more strictly. llvm-svn: 55894
-
- Sep 07, 2008
-
-
Duncan Sands authored
llvm-svn: 55883
-
- Sep 06, 2008
-
-
Nuno Lopes authored
this pass doesnt seem to be used, but still it's now a little more correct llvm-svn: 55873
-
Duncan Sands authored
call (thus changing the call site) it didn't inform the callgraph about this. But the call site does matter - as shown by the testcase, the callgraph become invalid after the inliner ran (with an edge between two functions simply missing), resulting in wrong deductions by GlobalsModRef. llvm-svn: 55872
-
Owen Anderson authored
llvm-svn: 55865
-
- Sep 05, 2008
-
-
Duncan Sands authored
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
-
Duncan Sands authored
edges one by one by hand. llvm-svn: 55836
-
Duncan Sands authored
it modifies a functions attributes. llvm-svn: 55831
-
- Sep 04, 2008
-
-
Andrew Lenharth authored
llvm-svn: 55785
-
Dan Gohman authored
llvm-svn: 55779
-
Andrew Lenharth authored
llvm-svn: 55766
-
Devang Patel authored
llvm-svn: 55745
-
- Sep 03, 2008
-
-
Andrew Lenharth authored
Initial version of a Partial Specialization IPO pass. It triggers a couple hundred times on 176.gcc. I don't know the performance impact yet, the heuristic is quite simple still. llvm-svn: 55734
-
Devang Patel authored
llvm-svn: 55720
-
Devang Patel authored
llvm-svn: 55717
-
Devang Patel authored
llvm-svn: 55716
-
Devang Patel authored
llvm-svn: 55713
-
Devang Patel authored
llvm-svn: 55712
-
Devang Patel authored
llvm-svn: 55711
-
Devang Patel authored
llvm-svn: 55708
-
Devang Patel authored
llvm-svn: 55676
-
Devang Patel authored
llvm-svn: 55673
-
- Aug 14, 2008
-
-
Dan Gohman authored
llvm-svn: 54780
-
Matthijs Kooijman authored
invalidating the iterator by deleting the current use. This fixes a segfault on 64 bit linux reported in PR2675. Also remove an unneeded if. llvm-svn: 54778
-
- Aug 13, 2008
-
-
Bill Wendling authored
llvm-svn: 54707
-
- Aug 07, 2008
-
-
Matthijs Kooijman authored
postfixing it with a number. llvm-svn: 54468
-
Matthijs Kooijman authored
r53941 (but this was not noticed due to the lack of a basic test for SRETPromotion). llvm-svn: 54467
-
Matthijs Kooijman authored
llvm-svn: 54464
-
- Jul 29, 2008
-
-
Matthijs Kooijman authored
that says "unconditional loads from this argument are safe", we now keep track of the safety per set of indices from which loads happen. This prevents ArgPromotion from promoting loads that aren't really valid. As an added effect, this will now disregard the the type of the indices passed to a GEP, so "load GEP %A, i32 1" and "load GEP %A, i64 1" will result in a single argument, not two. This fixes PR2598, for which a testcase has been added as well. llvm-svn: 54159
-