1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/include/llvm
Alexey Samsonov b8c3281140 [Object, MachO] Cache parsed MachO header in MachOObjectFile. NFC.
Summary:
Avoid parsing object file each time MachOObjectFile::getHeader() is
called. Instead, cache the header in MachOObjectFile constructor, where
it's parsed anyway. In future, we must avoid constructing the object
at all if the header can't be parsed.

Test Plan: regression test suite.

Reviewers: rafael

Subscribers: llvm-commits
llvm-svn: 239075
2015-06-04 19:22:03 +00:00
..
ADT [bpf] add big- and host- endian support 2015-06-04 19:15:05 +00:00
Analysis [PM/AA] Start refactoring AliasAnalysis to remove the analysis group and 2015-06-04 02:03:15 +00:00
AsmParser
Bitcode Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:43:39 +00:00
CodeGen make reciprocal estimate code generation more flexible by adding command-line options (3rd try) 2015-06-04 01:32:35 +00:00
Config [omp] Add a configuration variable for the default OpenMP runtime. 2015-05-28 01:47:22 +00:00
DebugInfo [DWARF] Fix a bug in line info handling 2015-05-31 23:37:04 +00:00
ExecutionEngine Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:43:39 +00:00
IR [Statepoints] Mark statepoint intrinsic with Throws attribute 2015-06-03 16:18:58 +00:00
IRReader
LineEditor
Linker
LTO Make the C++ LTO API easier to use from C++ clients. 2015-06-01 20:08:30 +00:00
MC Bring back r239006 with a fix. 2015-06-04 05:59:23 +00:00
Object [Object, MachO] Cache parsed MachO header in MachOObjectFile. NFC. 2015-06-04 19:22:03 +00:00
Option
Passes
ProfileData
Support Replace string GNU Triples with llvm::Triple in MCAsmInfo subclasses and create*AsmInfo(). NFC. 2015-06-04 13:12:25 +00:00
TableGen [TableGen] Replace a couple if/else chains with a switch. NFC 2015-06-04 07:40:16 +00:00
Target CodeGenPrepare: Provide address space to isLegalAddressingMode 2015-06-04 16:17:38 +00:00
Transforms [NFCI] Change RewriteStatepointsForGC to a ModulePass. 2015-06-02 22:33:34 +00:00
CMakeLists.txt
InitializePasses.h Resubmit r237954 (MIR Serialization: print and parse LLVM IR using MIR format). 2015-05-27 18:02:19 +00:00
LinkAllIR.h
LinkAllPasses.h Add a speculative execution pass 2015-05-15 17:54:48 +00:00
module.modulemap
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h