summaryrefslogtreecommitdiffstats
path: root/llvm/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo in comment.Jay Foad2011-07-261-1/+1
| | | | llvm-svn: 136068
* Rename createCodeEmitter to createMCCodeEmitter; createObjectStreamer to ↵Evan Cheng2011-07-261-54/+56
| | | | | | createMCObjectStreamer. llvm-svn: 136031
* Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to ↵Evan Cheng2011-07-265-79/+80
| | | | | | MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. llvm-svn: 136027
* Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to ↵Evan Cheng2011-07-255-55/+53
| | | | | | createMCAsmBackend. llvm-svn: 136010
* Initial implementation of 'fence' instruction, the new C++0x-style ↵Eli Friedman2011-07-255-32/+149
| | | | | | | | replacement for llvm.memory.barrier. This is just a LangRef entry and reading/writing/memory representation; optimizer+codegen support coming soon. llvm-svn: 136009
* Fix include guards.Evan Cheng2011-07-253-6/+6
| | | | llvm-svn: 135998
* BranchProbability::print returns void now.Jakub Staszak2011-07-251-1/+1
| | | | llvm-svn: 135994
* Add BlockFrequency class.Jakub Staszak2011-07-251-0/+64
| | | | llvm-svn: 135992
* Add LLVMAddTargetLibraryInfo to the C API.Rafael Espindola2011-07-251-0/+16
| | | | llvm-svn: 135975
* Add LLVMAddLowerExpectIntrinsicPass to the C API.Rafael Espindola2011-07-251-0/+3
| | | | llvm-svn: 135966
* Fix last bits of MC layer issues. llvm-mc doesn't need to initialize ↵Evan Cheng2011-07-251-4/+7
| | | | | | TargetMachine's anymore. llvm-svn: 135963
* Fix class description.Jakub Staszak2011-07-251-2/+2
| | | | llvm-svn: 135948
* Fix #include guard directive.Jakub Staszak2011-07-251-2/+2
| | | | llvm-svn: 135947
* Rename BlockFrequency to BlockFrequencyInfo and MachineBlockFrequency toJakub Staszak2011-07-254-18/+18
| | | | | | MachineBlockFrequencyInfo. llvm-svn: 135937
* Remove uses of std::vector from TypeBuilder.Jay Foad2011-07-251-51/+50
| | | | llvm-svn: 135906
* Use ArrayRef in the (protected) constructors of ConstantArray, ↵Jay Foad2011-07-251-3/+3
| | | | | | ConstantStruct and ConstantVector. llvm-svn: 135905
* Convert GetElementPtrInst to use ArrayRef.Jay Foad2011-07-253-159/+33
| | | | llvm-svn: 135904
* switch Triple to take twines instead of stringrefs.Chris Lattner2011-07-241-20/+9
| | | | llvm-svn: 135889
* Add Twine support for characters, and switch twine to use a union internallyChris Lattner2011-07-241-25/+83
| | | | | | to eliminate some casting. llvm-svn: 135888
* Omit explicit length here, now that I've had a chance to test this with gcc.Frits van Bommel2011-07-241-1/+1
| | | | llvm-svn: 135867
* Fix a silly off by one.Benjamin Kramer2011-07-231-1/+1
| | | | llvm-svn: 135842
* Add more constness.Benjamin Kramer2011-07-231-2/+2
| | | | llvm-svn: 135838
* Turn the DenseSet in MCRegisterClass into a tblgenerated bit field. This ↵Benjamin Kramer2011-07-232-17/+15
| | | | | | | | should be faster and smaller. Goodbye static ctors and dtors! llvm-svn: 135836
* Give TargetRegisterClass a pointer to the MCRegisterClass and use it to ↵Benjamin Kramer2011-07-231-10/+59
| | | | | | | | | access its data. This makes TargetRegisterClass slightly slower. Next step will be making contains faster. Eventually TargetRegisterClass will be killed entirely. llvm-svn: 135835
* Move TargetAsmParser.h TargetAsmBackend.h and TargetAsmLexer.h to MC where ↵Evan Cheng2011-07-233-1/+1
| | | | | | they belong. llvm-svn: 135833
* CMake: Fix LLVM_NATIVE_TARGETMC in config.h.cmake.NAKAMURA Takumi2011-07-232-2/+2
| | | | llvm-svn: 135832
* config.h.cmake: Reorder along config.h.in.NAKAMURA Takumi2011-07-231-21/+21
| | | | llvm-svn: 135831
* Move trip count discovery outside of the generic LoopUnroll helper. ThisAndrew Trick2011-07-231-1/+2
| | | | | | removes its dependence on canonical induction variables. llvm-svn: 135829
* Teach cmake configured headers about LLVM_NATIVE_TARGETMCOscar Fuentes2011-07-222-10/+4
| | | | llvm-svn: 135820
* Combine all MC initialization routines into one. e.g. InitializeX86MCAsmInfo,Evan Cheng2011-07-224-86/+14
| | | | | | InitializeX86MCInstrInfo, etc. are combined into InitializeX86TargetMC. llvm-svn: 135812
* Add a method to set the compact unwind info.Bill Wendling2011-07-221-0/+4
| | | | llvm-svn: 135806
* Add a method to get the list of FrameInfos.Bill Wendling2011-07-221-1/+6
| | | | llvm-svn: 135805
* Convert IRBuilder::CreateGEP and IRBuilder::CreateInBoundsGEP to useJay Foad2011-07-221-29/+22
| | | | | | ArrayRef. llvm-svn: 135761
* Move the logic for printing the registered targets into a staticChandler Carruth2011-07-221-0/+4
| | | | | | | function on the TargetRegistry. Also clean it up and use the modern LLVM utility libraries available instead of rolling a few things manually. llvm-svn: 135756
* Add an extension point to the CommandLine library where clients canChandler Carruth2011-07-221-0/+9
| | | | | | | | | | | | register extra version information to be printed. This is designed to allow those tools which link in various targets to also print those registered targets under --version. Currently this printing logic is embedded into the Support library directly; a huge layering violation. This is the first step to hoisting it out into the tools without adding lots of duplicated code. llvm-svn: 135755
* Allow getBlockFreq to return 0.Jakub Staszak2011-07-223-12/+11
| | | | llvm-svn: 135742
* Teach tblgen to emit MCRegisterClasses.Benjamin Kramer2011-07-222-6/+37
| | | | | | - This currently introduces more instances of the static DenseSet dtor, but that should be fixable. llvm-svn: 135735
* Initialize DenseSets lazily.Benjamin Kramer2011-07-211-1/+1
| | | | llvm-svn: 135717
* Sink parts of TargetRegisterClass into MCRegisterClass.Benjamin Kramer2011-07-212-73/+83
| | | | llvm-svn: 135683
* Convert ConstantExpr::getGetElementPtr andJay Foad2011-07-214-30/+38
| | | | | | ConstantExpr::getInBoundsGetElementPtr to use ArrayRef. llvm-svn: 135673
* Update llvm-gcc-4.2 and dragonegg after converting ConstantFolder APIsJay Foad2011-07-211-0/+6
| | | | | | to use ArrayRef. llvm-svn: 135672
* Convert ConstantFolder APIs to use ArrayRef.Jay Foad2011-07-214-59/+84
| | | | llvm-svn: 135671
* move tier out of an anonymous namespace, it doesn't make senseChris Lattner2011-07-211-19/+15
| | | | | | | | to for it to be an an anon namespace and be in a header. Eliminate some extraenous uses of tie. llvm-svn: 135669
* Remove the now defunct getCompactUnwindEncoding method from the frame ↵Bill Wendling2011-07-201-8/+0
| | | | | | lowering code. llvm-svn: 135634
* There are two ways to map a variable to its lexical scope. Lexical scope ↵Devang Patel2011-07-201-0/+2
| | | | | | information is embedded in MDNode describing the variable. It is also available as a part of DebugLoc attached with DBG_VALUE instruction. DebugLoc attached with an instruction is less reliable in optimized code so use information embedded in the MDNode. llvm-svn: 135629
* Goodbye TargetAsmInfo. This eliminate last bit of CodeGen and Target in llvm-mc.Evan Cheng2011-07-206-54/+19
| | | | | | | There is still a bit more refactoring left to do in Targets. But we are now very close to fixing all the layering issues in MC. llvm-svn: 135611
* Regenerate configure and friends for Chad.Eric Christopher2011-07-201-1/+4
| | | | llvm-svn: 135592
* - Move CodeModel from a TargetMachine global option to MCCodeGenInfo.Evan Cheng2011-07-204-34/+38
| | | | | | | | - Introduce JITDefault code model. This tells targets to set different default code model for JIT. This eliminates the ugly hack in TargetMachine where code model is changed after construction. llvm-svn: 135580
* Add MCObjectFileInfo and sink the MCSections initialization code fromEvan Cheng2011-07-206-254/+294
| | | | | | | | TargetLoweringObjectFileImpl down to MCObjectFileInfo. TargetAsmInfo is done to one last method. It's *almost* gone! llvm-svn: 135569
* Distinguish between two copies of one inlined variable.Devang Patel2011-07-191-0/+3
| | | | llvm-svn: 135528
OpenPOWER on IntegriCloud