summaryrefslogtreecommitdiffstats
path: root/llvm/include
Commit message (Collapse)AuthorAgeFilesLines
...
* PTX: Set PTX 2.0 as the minimum supported versionJustin Holewinski2011-03-151-12/+15
| | | | | | | | - Remove PTX 1.4 code generation - Change type of intrinsics to .v4.i32 instead of .v4.i16 - Add and/or/xor integer instructions llvm-svn: 127677
* - Add "Bitcast" target instruction property for instructions which performEvan Cheng2011-03-152-0/+8
| | | | | | | nothing more than a bitcast. - Teach tablegen to automatically infer "Bitcast" property. llvm-svn: 127667
* Version N of the llvm_unreachable patch: VC++ doesn't recognize that abort()John McCall2011-03-142-10/+11
| | | | | | | | doesn't return, so just go back to using the old runtime function instead of trying to use abort() when __builtin_unreachable (or an equivalent) isn't supported. llvm-svn: 127629
* Trailing whitespace.Jim Grosbach2011-03-141-26/+26
| | | | llvm-svn: 127620
* Place context in member variables instead of passing around pointers.Jakob Stoklund Olesen2011-03-141-2/+8
| | | | | | Use the opportunity to get rid of the trailing underscore variable names. llvm-svn: 127618
* Okay, some compilers complain if you provide the exception-specificationJohn McCall2011-03-141-5/+0
| | | | | | | where none was before. Just don't declare it and hope it's declared in every translation unit that needs it. llvm-svn: 127612
* Fix the exception-specification of abort() when declaring it in C++.John McCall2011-03-141-1/+1
| | | | llvm-svn: 127610
* Make llvm_unreachable evaluate to __builtin_unreachable() in -AssertsJohn McCall2011-03-142-1/+16
| | | | | | builds, which was the apparent consensus of PR8973 and llvmdev. llvm-svn: 127608
* Added SCEV::NoWrapFlags to manage unsigned, signed, and self wrapAndrew Trick2011-03-142-33/+73
| | | | | | | | | properties. Added the self-wrap flag for SCEV::AddRecExpr. A slew of temporary FIXMEs indicate the intention of the no-self-wrap flag without changing behavior in this revision. llvm-svn: 127590
* Emacs mode string.Mikhail Glushenkov2011-03-141-1/+1
| | | | llvm-svn: 127576
* Speculatively revert commit 127478 (jsjodin) in an attempt to fix theDuncan Sands2011-03-122-0/+14
| | | | | | | | | | llvm-gcc-i386-linux-selfhost and llvm-x86_64-linux-checks buildbots. The original log entry: Remove optimization emitting a reference insted of label difference, since it can create more relocations. Removed isBaseAddressKnownZero method, because it is no longer used. llvm-svn: 127540
* Teach FastISel to support register-immediate-immediate instructions.Owen Anderson2011-03-111-9/+17
| | | | llvm-svn: 127496
* 80 columns.Jim Grosbach2011-03-111-2/+2
| | | | llvm-svn: 127495
* Trailing whitespace.Jim Grosbach2011-03-111-13/+13
| | | | llvm-svn: 127493
* Remove optimization emitting a reference insted of label difference, since ↵Jan Sjödin2011-03-112-14/+0
| | | | | | it can create more relocations. Removed isBaseAddressKnownZero method, because it is no longer used. llvm-svn: 127478
* Add r127409 back now that the windows file was updated.Rafael Espindola2011-03-102-4/+9
| | | | llvm-svn: 127417
* Revert r127409 which broke all the Windows bots.Jakob Stoklund Olesen2011-03-102-9/+4
| | | | llvm-svn: 127413
* Add support for MemoryBuffers that are not null terminated and addRafael Espindola2011-03-102-4/+9
| | | | | | support for creating buffers that cover only a part of a file. llvm-svn: 127409
* ptx: add the rest of special registers of ISA version 2.0Che-Liang Chiou2011-03-101-15/+38
| | | | llvm-svn: 127397
* Make SpillIs an optional pointer. Avoid creating a bunch of temporary ↵Jakob Stoklund Olesen2011-03-101-3/+3
| | | | | | SmallVectors. llvm-svn: 127388
* Introduce DebugInfoProbe. This is used to monitor how llvm optimizer is ↵Devang Patel2011-03-101-0/+67
| | | | | | | | | | | | treating debugging information. It generates output that lools like 8 times line number info lost by Scalar Replacement of Aggregates (SSAUp) 1 times line number info lost by Simplify well-known library calls 12 times variable info lost by Jump Threading llvm-svn: 127381
* Re-commit 127368 and 127371. They are exonerated.Evan Cheng2011-03-101-3/+5
| | | | llvm-svn: 127380
* Revert 127368 and 127371 for now.Evan Cheng2011-03-091-5/+3
| | | | llvm-svn: 127376
* Restore the default implementation of getCrossCopyRegClass: no need for ↵Evan Cheng2011-03-091-1/+1
| | | | | | cross-regclass copies. llvm-svn: 127371
* Change the definition of TargetRegisterInfo::getCrossCopyRegClass to be moreEvan Cheng2011-03-091-2/+4
| | | | | | | | | | | | | flexible. If it returns a register class that's different from the input, then that's the register class used for cross-register class copies. If it returns a register class that's the same as the input, then no cross- register class copies are needed (normal copies would do). If it returns null, then it's not at all possible to copy registers of the specified register class. llvm-svn: 127368
* Add createELFObjectTargetWriter method to TargetAsmBackend, which enables ↵Jan Sjödin2011-03-091-0/+8
| | | | | | construction of non-standard ELFObjectWriters that can be used in MCJIT. llvm-svn: 127346
* Add constructors to MCElfStreamer and MCObjectStreamer to take an extra ↵Jan Sjödin2011-03-091-0/+3
| | | | | | MCAssembler * argument. llvm-svn: 127343
* Add InitializeNativeAsmParser function.Jan Sjödin2011-03-094-0/+22
| | | | llvm-svn: 127341
* Typo. Patch by arrowdodger.John McCall2011-03-081-1/+1
| | | | llvm-svn: 127256
* fix incorrect comment.Chris Lattner2011-03-081-2/+2
| | | | llvm-svn: 127252
* PTX: Add intrinsic support for ntid, ctaid, and nctaid registersJustin Holewinski2011-03-081-2/+8
| | | | llvm-svn: 127246
* Let shrinkToUses optionally return a list of now dead machine instructions.Jakob Stoklund Olesen2011-03-071-1/+3
| | | | llvm-svn: 127192
* Typos.Eric Christopher2011-03-071-2/+2
| | | | llvm-svn: 127186
* Move getRegPressureLimit() from TargetLoweringInfo to TargetRegisterInfo.Cameron Zwarich2011-03-072-8/+8
| | | | llvm-svn: 127175
* Often GCC can see that NumBuckets is zero here, resulting in a warningDuncan Sands2011-03-071-1/+2
| | | | | | about possibly swapped memset parameters. Avoid the warning. llvm-svn: 127170
* Tidy up.Jim Grosbach2011-03-071-1/+0
| | | | llvm-svn: 127169
* Use the correct LHS type when determining the legalization of a shift's RHS ↵Owen Anderson2011-03-071-13/+13
| | | | | | type. llvm-svn: 127163
* Try fixing mingw build.Argyrios Kyrtzidis2011-03-071-27/+15
| | | | llvm-svn: 127153
* Do a compiler check that we use one of the types from PointerUnion[N], ↵Argyrios Kyrtzidis2011-03-071-32/+106
| | | | | | instead of a runtime check. llvm-svn: 127145
* ConstantInt has some getters which return ConstantInt's or ConstantVector's ofNick Lewycky2011-03-061-0/+2
| | | | | | | | the value splatted into every element. Extend this to getTrue and getFalse which by providing new overloads that take Types that are either i1 or <N x i1>. Use it in InstCombine to add vector support to some code, fixing PR8469! llvm-svn: 127116
* Avoid zero-sized allocations when copying a fresh DenseMap.Benjamin Kramer2011-03-051-5/+11
| | | | llvm-svn: 127110
* Preliminary support for ARM frame save directives emission via MI flags.Anton Korobeynikov2011-03-052-0/+7
| | | | | | | This is just very first approximation how the stuff should be done (e.g. ARM-only for now). More to follow. llvm-svn: 127101
* Provide hooks to set MI flags in MachineInstrBuilderAnton Korobeynikov2011-03-051-0/+10
| | | | llvm-svn: 127100
* Some first rudimentary support for ARM EHABI: print exception table in "text ↵Anton Korobeynikov2011-03-052-2/+12
| | | | | | mode". llvm-svn: 127099
* Add FrameSetup MI flagsAnton Korobeynikov2011-03-051-3/+31
| | | | llvm-svn: 127098
* Shorten AsmPrinterFlags filed to accomodate for future Flags fieldAnton Korobeynikov2011-03-051-3/+3
| | | | llvm-svn: 127097
* Lazily allocate DenseMaps.Benjamin Kramer2011-03-051-3/+20
| | | | | | | | | | This makes lookup slightly more expensive but it's worth it, unused DenseMaps are common in LLVM code apparently. 1% speedup on clang -O3 bzip2.c 4% speedup on clang -O3 oggenc.c (Release build of clang on i386/linux) llvm-svn: 127088
* ptx: add basic intrinsic supportChe-Liang Chiou2011-03-053-2/+35
| | | | llvm-svn: 127084
* Missing "virtual" keyword. Jakob's review.Andrew Trick2011-03-051-1/+1
| | | | llvm-svn: 127070
* Increased the register pressure limit on x86_64 from 8 to 12Andrew Trick2011-03-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | regs. This is the only change in this checkin that may affects the default scheduler. With better register tracking and heuristics, it doesn't make sense to artificially lower the register limit so much. Added -sched-high-latency-cycles and X86InstrInfo::isHighLatencyDef to give the scheduler a way to account for div and sqrt on targets that don't have an itinerary. It is currently defaults to 10 (the actual number doesn't matter much), but only takes effect on non-default schedulers: list-hybrid and list-ilp. Added several heuristics that can be individually disabled for the non-default sched=list-ilp mode. This helps us determine how much better we can do on a given benchmark than the default scheduler. Certain compute intensive loops run much faster in this mode with the right set of heuristics, and it doesn't seem to have much negative impact elsewhere. Not all of the heuristics are needed, but we still need to experiment to decide which should be disabled by default for sched=list-ilp. llvm-svn: 127067
OpenPOWER on IntegriCloud