- Sep 01, 2009
-
-
Devang Patel authored
llvm-svn: 80637
-
Devang Patel authored
llvm-svn: 80633
-
- Aug 31, 2009
-
-
Dan Gohman authored
llvm-svn: 80632
-
Bob Wilson authored
llvm-svn: 80631
-
Bob Wilson authored
them. Move the code to make that change inside the conditional. llvm-svn: 80630
-
Richard Osborne authored
llvm-svn: 80629
-
Devang Patel authored
llvm-svn: 80627
-
Caroline Tice authored
modify the type and location debug information for these variables to match the programmer's expectations. llvm-svn: 80625
-
Dan Gohman authored
SCEVUnknowns, as the non-SCEVUnknown cases in the getSCEVAtScope code can also end up repeatedly climing through the same expression trees, which can be unusably slow when the trees are very tall. Also, add a quick check for SCEV pointer equality to the main SCEV comparison routine, as the full comparison code can be expensive in the case of large expression trees. These fix compile-time problems in some pathlogical cases. llvm-svn: 80623
-
Gabor Greif authored
llvm-svn: 80622
-
David Goodwin authored
llvm-svn: 80621
-
Devang Patel authored
llvm-svn: 80620
-
Devang Patel authored
llvm-svn: 80618
-
Evan Cheng authored
llvm-svn: 80615
-
Daniel Dunbar authored
- Down to 7 failures on 403.gcc. llvm-svn: 80605
-
Daniel Dunbar authored
Stop printing old asm printing code inline with -experimental-asm-printer (this allows diffing and assembling the .s) llvm-svn: 80604
-
Daniel Dunbar authored
llvm-svn: 80603
-
Devang Patel authored
llvm-svn: 80602
-
Bill Wendling authored
llvm-svn: 80601
-
Dale Johannesen authored
llvm-svn: 80598
-
Dale Johannesen authored
although I don't think anyone cares about this feature except Darwin. PR 4825. llvm-svn: 80596
-
Chris Lattner authored
llvm-svn: 80595
-
Duncan Sands authored
handling on x86-32 linux. llvm-svn: 80592
-
Torok Edwin authored
This fixes leaks from LLVMContext in multithreaded apps. Since constants are only deleted if they have no uses, it is safe to not delete a Module on shutdown, as many single-threaded tools do. Multithreaded apps should however delete the Module before destroying the Context to ensure that there are no leaks (assuming they use a different context for each thread). llvm-svn: 80590
-
Torok Edwin authored
llvm-svn: 80589
-
Benjamin Kramer authored
llvm-svn: 80584
-
Daniel Dunbar authored
llvm-svn: 80578
-
Daniel Dunbar authored
llvm-svn: 80577
-
Daniel Dunbar authored
llvm-svn: 80576
-
Daniel Dunbar authored
Also, use MCInst::print instead of custom code in MCAsmPrinter. llvm-svn: 80575
-
Daniel Dunbar authored
llvm-svn: 80574
-
Daniel Dunbar authored
llvm-svn: 80573
-
Daniel Dunbar authored
llvm-svn: 80572
-
Daniel Dunbar authored
llvm-svn: 80571
-
Daniel Dunbar authored
llvm-svn: 80570
-
Daniel Dunbar authored
llvm-mc: Switch MCExpr construction to using static member functions, and taking the MCContext (which now owns all MCExprs). llvm-svn: 80569
-
Daniel Dunbar authored
llvm-svn: 80568
-
Daniel Dunbar authored
llvm-svn: 80567
-
Chris Lattner authored
stem from the fact that we have two types of passes that need to update it: 1. callgraphscc and module passes that are explicitly aware of it 2. Functionpasses (and loop passes etc) that are interlaced with CGSCC passes by the CGSCC Passmgr. In the case of #1, we can reasonably expect the passes to update the call graph just like any analysis. However, functionpasses are not and generally should not be CG aware. This has caused us no end of problems, so this takes a new approach. Logically, the CGSCC Pass manager can rescan every function after it runs a function pass over it to see if the functionpass made any updates to the IR that affect the callgraph. This allows it to catch new calls introduced by the functionpass. In practice, doing this would be slow. This implementation keeps track of whether or not the current scc is dirtied by a function pass, and, if so, delays updating the callgraph until it is actually needed again. This was we avoid extraneous rescans, but we still have good invariants when the callgraph is needed. Step #2 of the "give Callgraph some sane invariants" is to change CallGraphNode to use a CallBackVH for the callsite entry of the CallGraphNode. This way we can immediately remove entries from the callgraph when a FunctionPass is active instead of having dangling pointers. The current pass tries to tolerate these dangling pointers, but it is just an evil hack. This is related to PR3601/4835/4029. This also reverts r80541, a hack working around the sad lack of invariants. llvm-svn: 80566
-
Chris Lattner authored
from runOnFunction llvm-svn: 80562
-