aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/TargetSelect.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-07-20- Move CodeModel from a TargetMachine global option to MCCodeGenInfo.Evan Cheng1-1/+3
- 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
2011-07-19Introduce MCCodeGenInfo, which keeps information that can affect codegenEvan Cheng1-2/+3
(including compilation, assembly). Move relocation model Reloc::Model from TargetMachine to MCCodeGenInfo so it's accessible even without TargetMachine. llvm-svn: 135468
2011-06-30Fix the ridiculous SubtargetFeatures API where it implicitly expects CPU name toEvan Cheng1-3/+2
be the first encoded as the first feature. It then uses the CPU name to look up features / scheduling itineray even though clients know full well the CPU name being used to query these properties. The fix is to just have the clients explictly pass the CPU name! llvm-svn: 134127
2011-06-29Sink SubtargetFeature and TargetInstrItineraries (renamed ↵Evan Cheng1-1/+1
MCInstrItineraries) into MC. llvm-svn: 134049
2011-05-13ExecutionEngine: fix JIT/MCJIT selectTarget() duplication (v2)Dylan Noblesmith1-0/+91
This prepares for making JITCtor/MCJITCtor take a TargetMachine* directly from clients like EngineBuilder. llvm-svn: 131316
2011-05-07Revert ExecutionEngine patches, they either failed to build or broke unit tests.Jakob Stoklund Olesen1-91/+0
Please ensure the build is clean and tests are passing when recommitting. llvm-svn: 131044
2011-05-06ExecutionEngine: add missing fileDylan Noblesmith1-0/+91
From revision 131025. llvm-svn: 131029