| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix pointer heuristic. Check whether predicator is ICMP_NE instead of if it is | Jakub Staszak | 2011-07-15 | 1 | -2/+2 |
| | | | | | | | not isEquality(). llvm-svn: 135296 | ||||
| * | Remove VMOVDneon and VMOVQ, which are just aliases for VORR. This continues ↵ | Owen Anderson | 2011-07-15 | 5 | -19/+14 |
| | | | | | | | to simplify the path towards an auto-generated disassembler. llvm-svn: 135290 | ||||
| * | ObjectFile: Add a method to check whether a section contains a symbol. | Benjamin Kramer | 2011-07-15 | 3 | -0/+37 |
| | | | | | | | | - No ELF or COFF implementation yet, I don't have a way to test that. Should be straightforward to add though. llvm-svn: 135288 | ||||
| * | Disable loop idiom recognition of memset/memcpy if the function being compiled | Chad Rosier | 2011-07-15 | 1 | -0/+5 |
| | | | | | | | | | | is named after a common idiom (i.e., memset/memcpy). Otherwise, we can run into infinite recursion. Ideally, the user should use the correct -fno-builtin flag, but in case they don't we should play nicely. rdar://9763412 llvm-svn: 135286 | ||||
| * | Remove unnecessary duplicate instruction definitions that simply overloaded ↵ | Owen Anderson | 2011-07-15 | 1 | -9/+8 |
| | | | | | | | the type of VEXT. This can be achieved with a Pat definition, and is much more disassembler friendly. llvm-svn: 135283 | ||||
| * | MachOObjectFile: Get symbol functions ready for 64 bit. | Benjamin Kramer | 2011-07-15 | 1 | -13/+58 |
| | | | | | llvm-svn: 135282 | ||||
| * | No need to explicitly invoke the ArrayRef constructor here. | Frits van Bommel | 2011-07-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 135281 | ||||
| * | Eliminate redundant map. | Devang Patel | 2011-07-15 | 2 | -12/+3 |
| | | | | | llvm-svn: 135278 | ||||
| * | Eliminate "const" from extern const to fix breakeage since r135184 on msvc. | NAKAMURA Takumi | 2011-07-15 | 2 | -2/+2 |
| | | | | | | | MSVC decorates (and distinguishes) "const" in mangler. It brought linkage error between "extern const" declarations and definitions. llvm-svn: 135269 | ||||
| * | In Twine::str(), if the Twine stores only a std::string, just return a ↵ | Frits van Bommel | 2011-07-15 | 1 | -3/+8 |
| | | | | | | | direct copy of that instead of first copying to a SmallString and converting that to a std::string. Also fix some indentation. llvm-svn: 135267 | ||||
| * | Convert CallInst and InvokeInst APIs to use ArrayRef. | Jay Foad | 2011-07-15 | 26 | -158/+85 |
| | | | | | llvm-svn: 135265 | ||||
| * | Explicitly cast the second argument to unsigned in order to select the | Chandler Carruth | 2011-07-15 | 1 | -1/+1 |
| | | | | | | | | | | desired overload. This is a bit of a hackish workaround to fix the compile after r135259. Let me know if there is a better approach. llvm-svn: 135261 | ||||
| * | Add an APFloat::convertToInt(APSInt) function that automatically manages the | Jeffrey Yasskin | 2011-07-15 | 1 | -0/+18 |
| | | | | | | | memory for the result. llvm-svn: 135259 | ||||
| * | Reverting r135232. It's causing infinite looping in DbgScope::openInsnRange. | Evan Cheng | 2011-07-15 | 1 | -13/+5 |
| | | | | | llvm-svn: 135254 | ||||
| * | remove the old and dangerous uncheckedReplaceAllUsesWith method, | Chris Lattner | 2011-07-15 | 2 | -28/+14 |
| | | | | | | | | which was just replaceAllUsesWith without some assertions. It was needed back when type refinement was alive. llvm-svn: 135253 | ||||
| * | devirtualize Constant::isNullValue: | Chris Lattner | 2011-07-15 | 1 | -5/+14 |
| | | | | | | | 4 files changed, 15 insertions(+), 60 deletions(-) llvm-svn: 135252 | ||||
| * | start using the new helper methods a bit. | Chris Lattner | 2011-07-15 | 4 | -23/+21 |
| | | | | | llvm-svn: 135251 | ||||
| * | add CFP::isNegative() and ConstnatInt::isNegative() methods. | Chris Lattner | 2011-07-15 | 1 | -0/+9 |
| | | | | | | | Devirtualize the isNegativeZeroValue method. llvm-svn: 135249 | ||||
| * | bump pointer allocate LLVM IR types, since they are never deallocated. | Chris Lattner | 2011-07-15 | 3 | -38/+23 |
| | | | | | llvm-svn: 135248 | ||||
| * | remove the InvalidateStructLayoutInfo API, which is dead and unnecessary now | Chris Lattner | 2011-07-15 | 2 | -23/+0 |
| | | | | | | | that type refinement is toast. llvm-svn: 135245 | ||||
| * | Remove an unnecessary header from this file. I don't think this header | Chandler Carruth | 2011-07-15 | 1 | -1/+0 |
| | | | | | | | | | | | was really intended, and it may have been required prior to some of the recent refactors. Including it however causes LLVMX86Desc to need symbols from LLVMX86CodeGen, forming a dependency cycle. This was masked in almost all builds: Clang, and GCC w/ optimizations didn't actually emit the symbols! llvm-svn: 135242 | ||||
| * | Move some parts of TargetAsmInfo down to MCAsmInfo. This is not the greatest | Evan Cheng | 2011-07-15 | 19 | -67/+98 |
| | | | | | | | | solution but it is a small step towards removing the horror that is TargetAsmInfo. llvm-svn: 135237 | ||||
| * | Remove setting the bit for personality function. It should be set by the linker. | Bill Wendling | 2011-07-15 | 1 | -3/+0 |
| | | | | | llvm-svn: 135236 | ||||
| * | Major update to CMake build to reflect changes in r135219 in the | Chandler Carruth | 2011-07-15 | 10 | -10/+26 |
| | | | | | | | | | | | | | backend. Moved some MCAsmInfo files down into the MCTargetDesc sublibraries, removed some (i suspect long) dead files from other parts of the CMake build, etc. Also copied the include directory hack from the Makefile. Finally, updated the lib deps. I spot checked this, and think its correct, but review appreciated there. llvm-svn: 135234 | ||||
| * | Do not get confused by multiple empty lexical scopes inlined at one location. | Devang Patel | 2011-07-15 | 1 | -5/+13 |
| | | | | | llvm-svn: 135232 | ||||
| * | Output MachO section names in the form SEGMENT,section. | Benjamin Kramer | 2011-07-15 | 1 | -2/+2 |
| | | | | | llvm-svn: 135231 | ||||
| * | Add support for 64 bit objects to MachOObjectFile. | Benjamin Kramer | 2011-07-15 | 1 | -21/+77 |
| | | | | | | | - I don't see a better way than duplicating all the code. llvm-svn: 135229 | ||||
| * | MachOObjectFile: Change isSectionText to return true for sections named ↵ | Benjamin Kramer | 2011-07-15 | 1 | -4/+3 |
| | | | | | | | text, not for load commands name __TEXT (which isn't the case in actual object files) llvm-svn: 135228 | ||||
| * | Encode that we have a personality function. | Bill Wendling | 2011-07-15 | 1 | -0/+3 |
| | | | | | llvm-svn: 135227 | ||||
| * | Rename createAsmInfo to createMCAsmInfo and move registration code to ↵ | Evan Cheng | 2011-07-14 | 76 | -175/+229 |
| | | | | | | | MCTargetDesc to prepare for next round of changes. llvm-svn: 135219 | ||||
| * | * If we have an LSDA, we need to mark it in the encoding. | Bill Wendling | 2011-07-14 | 1 | -1/+5 |
| | | | | | | | * The personality function should be encoded as an absolute pointer to the function. llvm-svn: 135215 | ||||
| * | Refactor. | Devang Patel | 2011-07-14 | 2 | -19/+9 |
| | | | | | llvm-svn: 135212 | ||||
| * | Eliminate redundant LLVMContext argument. | Devang Patel | 2011-07-14 | 2 | -9/+11 |
| | | | | | | | Improve DbgScope->dump() output. llvm-svn: 135207 | ||||
| * | Undo r135191 (i.e. reapply Chris's patch. Now linker maps NamedMDNodes ↵ | Devang Patel | 2011-07-14 | 1 | -2/+3 |
| | | | | | | | first, so there is not any need to map DebugLoc). llvm-svn: 135205 | ||||
| * | Link NamedMDNode before linking function bodies. | Devang Patel | 2011-07-14 | 1 | -5/+5 |
| | | | | | llvm-svn: 135204 | ||||
| * | ARM diagnostic when 's' suffix on mnemonic that can't set flags. | Jim Grosbach | 2011-07-14 | 1 | -7/+9 |
| | | | | | | | | | For example, "mlss r0, r1, r2, r3". The MLS instruction does not have a flag-setting variant. llvm-svn: 135203 | ||||
| * | * Redo the permutation encoding for frameless stacks to be more like what the | Bill Wendling | 2011-07-14 | 1 | -44/+73 |
| | | | | | | | | unwind library expects. * Comment the permutation encoding for frameless stacks. llvm-svn: 135202 | ||||
| * | Add dump() | Devang Patel | 2011-07-14 | 1 | -0/+16 |
| | | | | | llvm-svn: 135200 | ||||
| * | Add OperandTypes for Thumb branch targets. | Benjamin Kramer | 2011-07-14 | 1 | -0/+3 |
| | | | | | llvm-svn: 135199 | ||||
| * | Port operand types for ARM and X86 over from EDIS to the .td files. | Benjamin Kramer | 2011-07-14 | 3 | -1/+18 |
| | | | | | llvm-svn: 135198 | ||||
| * | ARM MCRR/MCRR2 immediate operand range checking. | Jim Grosbach | 2011-07-14 | 2 | -3/+3 |
| | | | | | llvm-svn: 135192 | ||||
| * | revert r135172 until Devang and I figure out the right answer. | Chris Lattner | 2011-07-14 | 1 | -3/+2 |
| | | | | | llvm-svn: 135191 | ||||
| * | ARM MCR/MCR2 assembly parsing operand constraints. | Jim Grosbach | 2011-07-14 | 2 | -8/+8 |
| | | | | | | | | The immediate operands are restricted to 0-7. Enforce that when parsing assembly. llvm-svn: 135189 | ||||
| * | After type-system-rewrite branch update the Cpp backend to not use OpaqueType. | Nicolas Geoffray | 2011-07-14 | 1 | -103/+46 |
| | | | | | llvm-svn: 135186 | ||||
| * | Next round of MC refactoring. This patch factor MC table instantiations, MC | Evan Cheng | 2011-07-14 | 131 | -469/+1244 |
| | | | | | | | registeration and creation code into XXXMCDesc libraries. llvm-svn: 135184 | ||||
| * | simplify this logic now that GlobalAlias::isDeclaration is fixed. | Chris Lattner | 2011-07-14 | 1 | -4/+2 |
| | | | | | llvm-svn: 135183 | ||||
| * | Fix GlobalValue::isDeclaration() to always consider aliases to be definitions. | Chris Lattner | 2011-07-14 | 1 | -3/+2 |
| | | | | | llvm-svn: 135182 | ||||
| * | Check register class matching instead of width of type matching | Eric Christopher | 2011-07-14 | 3 | -10/+15 |
| | | | | | | | | | | when determining validity of matching constraint. Allow i1 types access to the GR8 reg class for x86. Fixes PR10352 and rdar://9777108 llvm-svn: 135180 | ||||
| * | Reorganize ARM assembler aliases. | Jim Grosbach | 2011-07-14 | 1 | -14/+19 |
| | | | | | | | | | Consolidate the individual declarations together for ease of reference. This mirrors the organization in X86, as well, so is good for consistency. No functional change. llvm-svn: 135179 | ||||
| * | Add LLVMConstNamedStruct to the C api to let its users create constants | Rafael Espindola | 2011-07-14 | 1 | -0/+10 |
| | | | | | | | of named struct types. llvm-svn: 135178 | ||||

