aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm-c/TargetMachine.h
AgeCommit message (Collapse)AuthorFilesLines
2014-01-23Add target analysis passes to the codegen pipeline for MCJIT.Juergen Ributzka1-0/+3
This patch adds the target analysis passes (usually TargetTransformInfo) to the codgen pipeline. We also expose now the AddAnalysisPasses method through the C API, because the optimizer passes would also benefit from better target-specific cost models. Reviewed by Andrew Kaylor llvm-svn: 199926
2014-01-10Whitespace.NAKAMURA Takumi1-1/+1
llvm-svn: 198934
2013-11-15[llvm-c] Add missing const qualifiers to LLVMCreateTargetMachinePeter Zotov1-3/+3
llvm-svn: 194770
2013-11-15[llvm-c] Simplify signature of LLVMGetTargetFromNamePeter Zotov1-1/+1
LLVMGetTargetFromName was not yet present in an LLVM release, so this does not break compatibility. llvm-svn: 194769
2013-11-06[llvm-c] Improve TargetMachine bindingsPeter Zotov1-0/+20
Original patch by Chris Wailes llvm-svn: 194143
2013-09-19llvm-c: Make LLVMGetFirstTarget a proper prototypeAnders Waldenborg1-1/+1
This avoids warnings when included in a application that uses -Wstrict-prototypes. Differential Revision: http://llvm-reviews.chandlerc.com/D1713 llvm-svn: 191029
2013-05-01Rename 'struct LLVMTargetMachine' to 'struct LLVMOpaqueTargetMachine'. Filip Pizlo1-1/+1
This avoids namespace collisions with llvm::LLVMTargetMachine. llvm-svn: 180891
2013-04-22Move C++ code out of the C headers and into either C++ headersEric Christopher1-22/+0
or the C++ files themselves. This enables people to use just a C compiler to interoperate with LLVM. llvm-svn: 180063
2013-04-16C API: Add LLVMTargetMachineEmitToMemoryBuffer()Tom Stellard1-0/+3
llvm-svn: 179648
2013-04-04Revert r178713Evan Cheng1-3/+1
llvm-svn: 178769
2013-04-03Make it possible to include llvm-c without including C++ headers. Patch by ↵Evan Cheng1-1/+3
Filip Pizlo. llvm-svn: 178713
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-0/+1
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
2012-10-08Move TargetData to DataLayout.Micah Villmow1-1/+1
llvm-svn: 165402
2012-04-11Add a C binding to the Target and TargetMachine classes to allow for emittingDuncan Sands1-0/+142
binary and assembly. Patch by Carlo Kok. Emitting was inspired by but not based on the D llvm bindings. llvm-svn: 154493