Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert 101465, it broke internal OpenGL testing. | Eric Christopher | 2010-04-16 | 1 | -22/+22 |
| | | | | | | | Probably the best way to know that all getOperand() calls have been handled is to replace that API instead of updating. llvm-svn: 101579 | ||||
* | reapply r101434 | Gabor Greif | 2010-04-16 | 1 | -22/+22 |
| | | | | | | | | | | | | | with a fix for self-hosting rotate CallInst operands, i.e. move callee to the back of the operand array the motivation for this patch are laid out in my mail to llvm-commits: more efficient access to operands and callee, faster callgraph-construction, smaller compiler binary llvm-svn: 101465 | ||||
* | back out r101423 and r101397, they break llvm-gcc self-host on darwin10 | Gabor Greif | 2010-04-16 | 1 | -22/+22 |
| | | | | llvm-svn: 101434 | ||||
* | reapply r101364, which has been backed out in r101368 | Gabor Greif | 2010-04-15 | 1 | -22/+22 |
| | | | | | | | | | | | | | with a fix rotate CallInst operands, i.e. move callee to the back of the operand array the motivation for this patch are laid out in my mail to llvm-commits: more efficient access to operands and callee, faster callgraph-construction, smaller compiler binary llvm-svn: 101397 | ||||
* | back out r101364, as it trips the linux nightlybot on some clang C++ tests | Gabor Greif | 2010-04-15 | 1 | -22/+22 |
| | | | | llvm-svn: 101368 | ||||
* | rotate CallInst operands, i.e. move callee to the back | Gabor Greif | 2010-04-15 | 1 | -22/+22 |
| | | | | | | | | | | of the operand array the motivation for this patch are laid out in my mail to llvm-commits: more efficient access to operands and callee, faster callgraph-construction, smaller compiler binary llvm-svn: 101364 | ||||
* | Implement support for varargs functions without any fixed | Chris Lattner | 2010-04-10 | 1 | -16/+23 |
| | | | | | | | | parameters in the CBE by implicitly adding a fixed argument. This allows eliminating a work-around from DAE. Patch by Sylvere Teissier! llvm-svn: 100944 | ||||
* | use abstract interface in two more places | Gabor Greif | 2010-04-08 | 1 | -2/+2 |
| | | | | llvm-svn: 100762 | ||||
* | fix compile | Gabor Greif | 2010-04-08 | 1 | -2/+2 |
| | | | | llvm-svn: 100760 | ||||
* | use abstract interface | Gabor Greif | 2010-04-08 | 1 | -1/+1 |
| | | | | llvm-svn: 100758 | ||||
* | rename llvm::llvm_report_error -> llvm::report_fatal_error | Chris Lattner | 2010-04-07 | 1 | -2/+2 |
| | | | | llvm-svn: 100709 | ||||
* | Remove a memory leak from the CBackend. | Jeffrey Yasskin | 2010-03-19 | 1 | -1/+4 |
| | | | | llvm-svn: 98941 | ||||
* | give Mangler access to TargetData. | Chris Lattner | 2010-03-12 | 1 | -1/+1 |
| | | | | llvm-svn: 98378 | ||||
* | make the mangler take an MCContext instead of an MAI. | Chris Lattner | 2010-03-12 | 1 | -1/+4 |
| | | | | | | No functionality change. llvm-svn: 98363 | ||||
* | Add a flag to addPassesToEmit* to disable the Verifier pass run | Dan Gohman | 2010-02-28 | 1 | -1/+2 |
| | | | | | | after LSR, so that clients can opt in. llvm-svn: 97357 | ||||
* | Remove a bunch of duplicated code, where there was one version taking a ↵ | Duncan Sands | 2010-02-21 | 1 | -177/+15 |
| | | | | | | | | std::ostream and another taking a raw_ostream, but otherwise identical. Use raw_ostream everywhere. llvm-svn: 96746 | ||||
* | Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some | Duncan Sands | 2010-02-16 | 1 | -3/+3 |
| | | | | | | methods to try to have the type predicates be more logically positioned. llvm-svn: 96349 | ||||
* | There are two ways of checking for a given type, for example isa<PointerType>(T) | Duncan Sands | 2010-02-16 | 1 | -30/+30 |
| | | | | | | | and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344 | ||||
* | Uniformize the names of type predicates: rather than having isFloatTy and | Duncan Sands | 2010-02-15 | 1 | -9/+10 |
| | | | | | | isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! llvm-svn: 96223 | ||||
* | Fix "the the" and similar typos. | Dan Gohman | 2010-02-10 | 1 | -2/+2 |
| | | | | llvm-svn: 95781 | ||||
* | eliminate FileModel::Model, just use CodeGenFileType. The client | Chris Lattner | 2010-02-02 | 1 | -1/+1 |
| | | | | | | | of the code generator shouldn't care what object format a target uses. llvm-svn: 95124 | ||||
* | use both the Mangler and the CBE's mangler for identifiers, | Chris Lattner | 2010-01-22 | 1 | -4/+4 |
| | | | | | | this should fix a problem duncan saw handling symbols with '.' in them. llvm-svn: 94192 | ||||
* | revert 93934, removing the MCAsmInfo endianness bit. I can't | Chris Lattner | 2010-01-20 | 1 | -2/+2 |
| | | | | | | | stomache MCAsmInfo having this, and I found a better solution to this layering issue. llvm-svn: 93985 | ||||
* | give MCAsmInfo a 'has little endian' bit. This is unfortunate, but | Chris Lattner | 2010-01-19 | 1 | -2/+2 |
| | | | | | | | | | I really want clients of the streamer to be able to say "emit this 64-bit integer" and have it get broken down right by the streamer. I may change this in the future, we'll see how it works out. llvm-svn: 93934 | ||||
* | stop the CBE from using Mangler::appendMangledName, which is a private ↵ | Chris Lattner | 2010-01-17 | 1 | -6/+15 |
| | | | | | | function, it is mangling types, which don't matter how they are done. llvm-svn: 93692 | ||||
* | Get MCSymbol out of the mangling business, and move all the logic | Chris Lattner | 2010-01-17 | 1 | -5/+4 |
| | | | | | | | | | | | to Mangler. Now MCSymbol just decides whether to slap quotes around a symbol when printing it. This also fixes some weirdness where two MCSymbols could be created for the same symbol, if one needed to be mangled and got mangled to the other one. llvm-svn: 93690 | ||||
* | now that mangler is in libtarget, it can use MCAsmInfo instead of clients | Chris Lattner | 2010-01-17 | 1 | -17/+34 |
| | | | | | | having to pass various fields from it in. Simplify. llvm-svn: 93686 | ||||
* | move the mangler into libtarget from vmcore. | Chris Lattner | 2010-01-16 | 1 | -1/+1 |
| | | | | llvm-svn: 93664 | ||||
* | reduce duplicate mangling logic by using MCSymbol::printMangledName. | Chris Lattner | 2010-01-13 | 1 | -23/+4 |
| | | | | llvm-svn: 93351 | ||||
* | stop the CBE from using deprecated Mangler stuff. | Chris Lattner | 2010-01-13 | 1 | -17/+39 |
| | | | | llvm-svn: 93341 | ||||
* | change Mangler::makeNameProper to return its result in a SmallVector | Chris Lattner | 2010-01-13 | 1 | -5/+15 |
| | | | | | | | | | | | | instead of returning it in an std::string. Based on this change: 1. Change TargetLoweringObjectFileCOFF::getCOFFSection to take a StringRef 2. Change a bunch of targets to call makeNameProper with a smallstring, making several of them *much* more efficient. 3. Rewrite Mangler::makeNameProper to not build names and then prepend prefixes, not use temporary std::strings, and to avoid other crimes. llvm-svn: 93298 | ||||
* | Remove dead debug info intrinsics. | Devang Patel | 2010-01-05 | 1 | -15/+0 |
| | | | | | | | | | | Intrinsic::dbg_stoppoint Intrinsic::dbg_region_start Intrinsic::dbg_region_end Intrinsic::dbg_func_start AutoUpgrade simply ignores these intrinsics now. llvm-svn: 92557 | ||||
* | Remove dead variable. | Bill Wendling | 2009-12-28 | 1 | -1/+0 |
| | | | | llvm-svn: 92195 | ||||
* | improve portability to avoid conflicting with std::next in c++'0x. | Chris Lattner | 2009-12-03 | 1 | -2/+2 |
| | | | | | | Patch by Howard Hinnant! llvm-svn: 90365 | ||||
* | rename indbr -> indirectbr to appease the residents of #llvm. | Chris Lattner | 2009-10-28 | 1 | -2/+2 |
| | | | | llvm-svn: 85351 | ||||
* | CBE support for indbr. | Chris Lattner | 2009-10-27 | 1 | -0/+7 |
| | | | | llvm-svn: 85311 | ||||
* | Remove FreeInst. | Victor Hernandez | 2009-10-26 | 1 | -6/+0 |
| | | | | | | | Remove LowerAllocations pass. Update some more passes to treate free calls just like they were treating FreeInst. llvm-svn: 85176 | ||||
* | Remove ICmpInst::isSignedPredicate which was a reimplementation | Nick Lewycky | 2009-10-25 | 1 | -1/+1 |
| | | | | | | CmpInst::isSigned. llvm-svn: 85037 | ||||
* | Remove MallocInst from LLVM Instructions. | Victor Hernandez | 2009-10-17 | 1 | -6/+1 |
| | | | | llvm-svn: 84299 | ||||
* | Retype from unsigned to CallingConv::ID accordingly. Approved by Bob Wilson. | Sandeep Patel | 2009-09-02 | 1 | -0/+2 |
| | | | | llvm-svn: 80773 | ||||
* | Unbreak FP128 stuff in cbe | Anton Korobeynikov | 2009-08-26 | 1 | -1/+2 |
| | | | | llvm-svn: 80115 | ||||
* | eliminate the "Value" printing methods that print to a std::ostream. | Chris Lattner | 2009-08-23 | 1 | -7/+7 |
| | | | | | | This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819 | ||||
* | Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. | Chris Lattner | 2009-08-22 | 1 | -3/+3 |
| | | | | llvm-svn: 79763 | ||||
* | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 1 | -32/+45 |
| | | | | llvm-svn: 78948 | ||||
* | change CBE to just get TAI now, instead of TM to get TAI. | Chris Lattner | 2009-08-12 | 1 | -7/+2 |
| | | | | llvm-svn: 78813 | ||||
* | Cleanup in dbg_stoppoint handling in CBE. Patch by Sandeep Patel. | Anton Korobeynikov | 2009-08-05 | 1 | -7/+6 |
| | | | | llvm-svn: 78182 | ||||
* | Minor arm CBE fixes. Patch by Sandeep. | Anton Korobeynikov | 2009-08-05 | 1 | -2/+2 |
| | | | | llvm-svn: 78181 | ||||
* | Emit module-level inline asm for CBE. | Anton Korobeynikov | 2009-08-05 | 1 | -0/+48 |
| | | | | | | Patch by Sandeep Patel llvm-svn: 78180 | ||||
* | No really, it's unused. | Daniel Dunbar | 2009-08-04 | 1 | -2/+1 |
| | | | | llvm-svn: 78047 | ||||
* | Remove now unused Module argument to createTargetMachine. | Daniel Dunbar | 2009-08-04 | 1 | -1/+1 |
| | | | | llvm-svn: 78043 |