aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Add a new interface function to AutoUpgrade for simultaneously upgradingReid Spencer2006-01-191-1/+25
| | | | | | | | | the Function and the CallInst: UpgradeCallsToIntrinsic(Function*). Also, re-factor the AutoUpgrade implementation to eliminate some duplication of code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25432 91177308-0d34-0410-b5e6-96231b3b80d8
* Added minimum Dwarf aranges. Cleaned up some section headers. Line numberJim Laskey2006-01-181-6/+6
| | | | | | | support now works in gdb. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25417 91177308-0d34-0410-b5e6-96231b3b80d8
* Pastos.Jim Laskey2006-01-171-9/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25412 91177308-0d34-0410-b5e6-96231b3b80d8
* Add frame work for additional dwarf sections. Comments will improve as codeJim Laskey2006-01-171-0/+64
| | | | | | | is added. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25410 91177308-0d34-0410-b5e6-96231b3b80d8
* Support for the insertelement operation.Robert Bocchino2006-01-171-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25405 91177308-0d34-0410-b5e6-96231b3b80d8
* Instruction and constant expression definitions for the insertelementRobert Bocchino2006-01-173-7/+62
| | | | | | | operation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25402 91177308-0d34-0410-b5e6-96231b3b80d8
* Suppress "no newline at end of file" warnings.Evan Cheng2006-01-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25400 91177308-0d34-0410-b5e6-96231b3b80d8
* Misc. errors.Jim Laskey2006-01-171-7/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25399 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding basic support for Dwarf line number debug information.Jim Laskey2006-01-172-84/+506
| | | | | | | I promise to keep future commits smaller. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25396 91177308-0d34-0410-b5e6-96231b3b80d8
* Reduce memory consumption and force (somewhat) access to entries via ID.Jim Laskey2006-01-171-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25393 91177308-0d34-0410-b5e6-96231b3b80d8
* Yet another getTargetNode() variant. I promise one of these days I'll fixEvan Cheng2006-01-171-0/+12
| | | | | | | tblgen so this is unnecessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25380 91177308-0d34-0410-b5e6-96231b3b80d8
* Redundant inline keyword.Jim Laskey2006-01-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25377 91177308-0d34-0410-b5e6-96231b3b80d8
* UniqueVector template provides a means of enumerating objects uniquely.Jim Laskey2006-01-161-0/+70
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25376 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR411:Reid Spencer2006-01-161-5/+16
| | | | | | | | | | | | | | | | | This patch is an incremental step towards supporting a flat symbol table. It de-overloads the intrinsic functions by providing type-specific intrinsics and arranging for automatically upgrading from the old overloaded name to the new non-overloaded name. Specifically: llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64 llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64 llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64 llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64 llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64 New code should not use the overloaded intrinsic names. Warnings will be emitted if they are used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25366 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR411:Reid Spencer2006-01-161-0/+33
| | | | | | | | | This file makes the helper functions for auto-upgrade of llvm assembly and bytecode more accessible. This is part of de-overloading of intrinsic functions to support the flat symbol table (no type planes). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25365 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a never-working passChris Lattner2006-01-161-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25348 91177308-0d34-0410-b5e6-96231b3b80d8
* Initialize DFSnum's to -1, in case a node is not reachable.Chris Lattner2006-01-151-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25344 91177308-0d34-0410-b5e6-96231b3b80d8
* add an assert, patch by Daniel BerlinChris Lattner2006-01-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25343 91177308-0d34-0410-b5e6-96231b3b80d8
* Change ET-Forest to automatically recalculate its DFSnum's if too many slowChris Lattner2006-01-142-7/+17
| | | | | | | | | queries are made. Patch by Daniel Berlin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25323 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach inline function how to update the callgraph when it makes changes.Chris Lattner2006-01-141-9/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25318 91177308-0d34-0410-b5e6-96231b3b80d8
* Add CallGraph::getOrInsertFunction, to allow clients to update the callgraphChris Lattner2006-01-141-0/+5
| | | | | | | when they change the program git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25316 91177308-0d34-0410-b5e6-96231b3b80d8
* add a dump method to CallGraphChris Lattner2006-01-141-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25314 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix generous source of VC++ truncation warnings.Jeff Cohen2006-01-141-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25311 91177308-0d34-0410-b5e6-96231b3b80d8
* Add bswap intrinsics as documented in the Language ReferenceNate Begeman2006-01-142-9/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25309 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new InvalidateStructLayoutInfo method and some comments.Chris Lattner2006-01-141-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25303 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify the implementations of classof using the new IntrinsicInst classof.Chris Lattner2006-01-131-56/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25291 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some functionality to the IntrinsicInst class and some commentsChris Lattner2006-01-131-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25289 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the code cloning interfaces to capture some important info about theChris Lattner2006-01-131-6/+39
| | | | | | | code being cloned if the client wants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25281 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide an interface for Targets to specify their stack pointer registerChris Lattner2006-01-131-0/+19
| | | | | | | for llvm.stacksave/restore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25275 91177308-0d34-0410-b5e6-96231b3b80d8
* add stacksave/stackrestore nodesChris Lattner2006-01-131-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25270 91177308-0d34-0410-b5e6-96231b3b80d8
* add new llvm.stacksave/llvm.stackrestore intrinsicsChris Lattner2006-01-131-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25265 91177308-0d34-0410-b5e6-96231b3b80d8
* Add bswap, rotl, and rotr nodesNate Begeman2006-01-111-2/+4
| | | | | | | | | | Add dag combiner code to recognize rotl, rotr Add ppc code to match rotl Targets should add rotl/rotr patterns if they have them git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25222 91177308-0d34-0410-b5e6-96231b3b80d8
* Simple is good, CVS log is for history, not the silly credits blockChris Lattner2006-01-111-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25204 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch loopinfo to using ETForest instead of DominatorSet to compute ↵Chris Lattner2006-01-111-5/+3
| | | | | | itself.Patch by Daniel Berlin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25200 91177308-0d34-0410-b5e6-96231b3b80d8
* Added an instruction and constant expression for the extractelementRobert Bocchino2006-01-104-1/+55
| | | | | | | operation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25176 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR411:Reid Spencer2006-01-102-0/+290
| | | | | | | | First step in refactoring the SymbolTable is to split it into two classes, one for a symbol table of types and one for a symbol table of Values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25175 91177308-0d34-0410-b5e6-96231b3b80d8
* Make ValueSymbolTable (temporarily) a friend of Value so it can mod theReid Spencer2006-01-101-1/+2
| | | | | | | Name of Value instances. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25174 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR521:Reid Spencer2006-01-101-2/+4
| | | | | | | | | | With these patches we implement the ability for the Linker library to keep track of which libraries were actually bytecode files (not archives) and cause their users to remove such files from the list of libraries to pass to the native linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25169 91177308-0d34-0410-b5e6-96231b3b80d8
* New getNode() variants.Evan Cheng2006-01-091-4/+61
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25156 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some documentation.Reid Spencer2006-01-081-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25150 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the build on platforms where <cassert> doesn't define NULLChris Lattner2006-01-081-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25147 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial implementation of the ET-Forest data structure for dominators andChris Lattner2006-01-083-1/+447
| | | | | | | post-dominators. This code was written/adapted by Daniel Berlin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25144 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix out of date comments, patch by Marco Matthies.Chris Lattner2006-01-081-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25143 91177308-0d34-0410-b5e6-96231b3b80d8
* Grammer correction.Jim Laskey2006-01-051-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25106 91177308-0d34-0410-b5e6-96231b3b80d8
* Added initial support for DEBUG_LABEL allowing debug specific labels to beJim Laskey2006-01-053-6/+19
| | | | | | | inserted in the code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25104 91177308-0d34-0410-b5e6-96231b3b80d8
* Applied some recommend changes from sabre. The dominate one beginning "let theJim Laskey2006-01-044-112/+88
| | | | | | | | pass manager do it's thing." Fixes crash when compiling -g files and suppresses dwarf statements if no debug info is present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25100 91177308-0d34-0410-b5e6-96231b3b80d8
* Be consistent in using class vs struct to make VC++ happy. And as it containsJeff Cohen2006-01-041-1/+2
| | | | | | | methods, virtual method even, class wins. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25098 91177308-0d34-0410-b5e6-96231b3b80d8
* Add unique id to debug location for debug label use (work in progress.)Jim Laskey2006-01-041-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25096 91177308-0d34-0410-b5e6-96231b3b80d8
* Add flag for debug presence.Jim Laskey2006-01-041-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25094 91177308-0d34-0410-b5e6-96231b3b80d8
* Tie dwarf generation to darwin assembler.Jim Laskey2006-01-042-3/+180
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25093 91177308-0d34-0410-b5e6-96231b3b80d8