Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | start refactoring pic16 section selection logic. | Chris Lattner | 2009-07-24 | 2 | -16/+13 | |
| | | | | llvm-svn: 76977 | |||||
* | move ELF-specific code into ELFTargetAsmInfo. | Chris Lattner | 2009-07-24 | 4 | -26/+40 | |
| | | | | llvm-svn: 76976 | |||||
* | tidy up | Chris Lattner | 2009-07-24 | 1 | -3/+4 | |
| | | | | llvm-svn: 76975 | |||||
* | split the ELF-specific section flag inference-from-name code out | Chris Lattner | 2009-07-24 | 1 | -25/+32 | |
| | | | | | | into its own helper function. llvm-svn: 76974 | |||||
* | make SectionFlagsForGlobal a private static function instead of a public | Chris Lattner | 2009-07-24 | 2 | -13/+6 | |
| | | | | | | virtual one. llvm-svn: 76973 | |||||
* | move a method up in the file, GV is always non-null, so remove a check. | Chris Lattner | 2009-07-24 | 1 | -61/+62 | |
| | | | | llvm-svn: 76972 | |||||
* | There is no need to pass the name into lib/Target/TargetAsmInfo.cpp | Chris Lattner | 2009-07-24 | 1 | -1/+1 | |
| | | | | | | when we have a global with no section explicitly specified. llvm-svn: 76971 | |||||
* | remove a use of SectionFlagsForGlobal. | Chris Lattner | 2009-07-24 | 1 | -3/+4 | |
| | | | | llvm-svn: 76970 | |||||
* | Check in a half finished new constant struct builder (Obviously not used yet). | Anders Carlsson | 2009-07-24 | 2 | -2/+148 | |
| | | | | llvm-svn: 76969 | |||||
* | Another getName -> getNameStr | Daniel Dunbar | 2009-07-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 76967 | |||||
* | More move to raw_ostream. | Daniel Dunbar | 2009-07-24 | 1 | -4/+3 | |
| | | | | llvm-svn: 76966 | |||||
* | Move more to raw_ostream, provide support for writing MachineBasicBlock, | Daniel Dunbar | 2009-07-24 | 8 | -8/+67 | |
| | | | | | | LiveInterval, etc to raw_ostream. llvm-svn: 76965 | |||||
* | Move more to raw_ostream. | Daniel Dunbar | 2009-07-24 | 2 | -7/+8 | |
| | | | | llvm-svn: 76964 | |||||
* | Move to raw_ostream. | Daniel Dunbar | 2009-07-24 | 4 | -74/+77 | |
| | | | | llvm-svn: 76963 | |||||
* | Switch to getNameStr(). | Daniel Dunbar | 2009-07-24 | 12 | -36/+36 | |
| | | | | llvm-svn: 76962 | |||||
* | Allow llvm_report_error to accept a Twine. | Daniel Dunbar | 2009-07-24 | 2 | -3/+16 | |
| | | | | llvm-svn: 76961 | |||||
* | Remove unused member functions. | Eli Friedman | 2009-07-24 | 17 | -496/+0 | |
| | | | | llvm-svn: 76960 | |||||
* | Fix declaration of obc_enumerationMutation function, for GNU runtime. | Daniel Dunbar | 2009-07-24 | 2 | -8/+11 | |
| | | | | llvm-svn: 76959 | |||||
* | Fix constructor types | Daniel Dunbar | 2009-07-24 | 1 | -2/+2 | |
| | | | | llvm-svn: 76958 | |||||
* | Update CMake | Daniel Dunbar | 2009-07-24 | 1 | -0/+1 | |
| | | | | llvm-svn: 76957 | |||||
* | Add Twine ADT. | Daniel Dunbar | 2009-07-24 | 3 | -0/+501 | |
| | | | | | | - Not currently used. llvm-svn: 76956 | |||||
* | Add doxygen comments and simplify expression. | Ted Kremenek | 2009-07-24 | 1 | -1/+6 | |
| | | | | llvm-svn: 76955 | |||||
* | Convert a test to FileCheck. | Evan Cheng | 2009-07-24 | 1 | -4/+3 | |
| | | | | llvm-svn: 76954 | |||||
* | hoist section name uniquing logic up to the top-level SectionForGlobal | Chris Lattner | 2009-07-24 | 3 | -28/+26 | |
| | | | | | | implementation, eliminating a dupe. llvm-svn: 76953 | |||||
* | Implement getSectionPrefixForUniqueGlobal to return null, indicating that | Chris Lattner | 2009-07-24 | 1 | -0/+6 | |
| | | | | | | darwin does it's own unique and special and wonderful thing. llvm-svn: 76952 | |||||
* | reduce indentation | Chris Lattner | 2009-07-24 | 1 | -35/+37 | |
| | | | | llvm-svn: 76951 | |||||
* | simplify code by making special case more obvious | Chris Lattner | 2009-07-24 | 1 | -9/+5 | |
| | | | | llvm-svn: 76950 | |||||
* | the 'isWeakForLinker' code is common between functions and globals, hoist it | Chris Lattner | 2009-07-24 | 1 | -55/+44 | |
| | | | | | | and simplify some other code. llvm-svn: 76949 | |||||
* | Replace UniqueSectionForGlobal with getSectionPrefixForUniqueGlobal. | Chris Lattner | 2009-07-24 | 7 | -67/+49 | |
| | | | | | | | | The later doesn't depend on any crazy LLVM IR stuff, and this pulls the concatenation of prefix with GV name (the root problem behind PR4584) out one level. llvm-svn: 76948 | |||||
* | Introduce a new variant type 'TryResult' to represent the result of | Ted Kremenek | 2009-07-24 | 1 | -106/+61 | |
| | | | | | | | | | | | TryEvaluateBool instead of using a raw 'int'. This avoids any confusion of how 'int' converts to bool, and makes the resultant code easier to read. Condense a bunch of 'addSuccessor()' calls in 'if ... else' to use the ternary operator instead. llvm-svn: 76947 | |||||
* | document SectionFlags::Named better and make it more easily greppable by | Chris Lattner | 2009-07-24 | 2 | -4/+6 | |
| | | | | | | eliminating isNamed. llvm-svn: 76946 | |||||
* | fix indentation. | Chris Lattner | 2009-07-24 | 1 | -14/+14 | |
| | | | | llvm-svn: 76945 | |||||
* | use section flags more correctly. | Chris Lattner | 2009-07-24 | 4 | -7/+8 | |
| | | | | llvm-svn: 76944 | |||||
* | Switch to raw_ostream. | Daniel Dunbar | 2009-07-24 | 1 | -9/+9 | |
| | | | | llvm-svn: 76943 | |||||
* | fix a mysterious and scary failure on test/CodeGen/X86/cstring.ll | Chris Lattner | 2009-07-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 76942 | |||||
* | reduce api exposure: clients shouldn't call SectionKindForGlobal directly. | Chris Lattner | 2009-07-24 | 4 | -31/+32 | |
| | | | | llvm-svn: 76941 | |||||
* | Add getDecl() to CallGraph and CallGraphNode. | Zhongxing Xu | 2009-07-24 | 2 | -0/+11 | |
| | | | | llvm-svn: 76940 | |||||
* | Constify methods. | Zhongxing Xu | 2009-07-24 | 2 | -2/+2 | |
| | | | | llvm-svn: 76939 | |||||
* | make Constant::getRelocationInfo return an enum, as suggested by Duncan. | Chris Lattner | 2009-07-24 | 4 | -28/+29 | |
| | | | | llvm-svn: 76938 | |||||
* | remove more bits of small section support. | Chris Lattner | 2009-07-24 | 3 | -36/+4 | |
| | | | | llvm-svn: 76937 | |||||
* | remove more remnants of small section support. | Chris Lattner | 2009-07-24 | 4 | -53/+1 | |
| | | | | llvm-svn: 76936 | |||||
* | Remove SectionKind::Small*. This was only used on mips, and is apparently | Chris Lattner | 2009-07-24 | 6 | -114/+4 | |
| | | | | | | a sad mistake that is regretted. :) llvm-svn: 76935 | |||||
* | Test commit: make a little stub routine for semantic checking of main(). | John McCall | 2009-07-24 | 2 | -0/+7 | |
| | | | | llvm-svn: 76934 | |||||
* | Enable the '-warn-security-syntactic' checker option by default. | Ted Kremenek | 2009-07-24 | 1 | -0/+1 | |
| | | | | llvm-svn: 76933 | |||||
* | Implement new warning for functions declared 'noreturn' when they fall off ↵ | Mike Stump | 2009-07-24 | 4 | -18/+45 | |
| | | | | | | the end. llvm-svn: 76932 | |||||
* | Get rid of the size parameter to AppendField. No functionality change. | Anders Carlsson | 2009-07-24 | 2 | -10/+8 | |
| | | | | llvm-svn: 76931 | |||||
* | Thumb2 should use the register scavenger. | Evan Cheng | 2009-07-24 | 1 | -2/+1 | |
| | | | | llvm-svn: 76930 | |||||
* | Fix whitespace. | Dan Gohman | 2009-07-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 76929 | |||||
* | Give SCEVAddRecExpr no-signed-overflow and no-unsigned-overflow flags. | Dan Gohman | 2009-07-24 | 1 | -0/+9 | |
| | | | | llvm-svn: 76928 | |||||
* | Give the SCEV class a SubclassData field. | Dan Gohman | 2009-07-24 | 1 | -2/+9 | |
| | | | | llvm-svn: 76927 |