1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/include/llvm
Pete Cooper f005037967 Avoid dsymutil calls to getFileNameByIndex.
This change adds a hasFileAtIndex method. getChildDeclContext can first call this method, and if it returns true it knows it can then lookup the resolved path cache for the given file index. If we hit that cache then we don't even have to call getFileNameByIndex.

Running dsymutil against the swift executable built from github gives a 20% performance improvement without any change in the binary.

Differential Revision: https://reviews.llvm.org/D22655

Reviewed by friss.

llvm-svn: 276380
2016-07-22 01:41:32 +00:00
..
ADT Weaken ThreadSafeRefCountedBase atomics. 2016-07-21 15:06:50 +00:00
Analysis [OptDiag] Missed these when making the IR Value a const pointer 2016-07-21 01:11:12 +00:00
AsmParser [AsmParser] Expose an API to parse a string starting with a type. 2016-03-08 00:37:07 +00:00
Bitcode Update doxygen description for WriteBitcodeToFile() API (NFC) 2016-07-18 21:29:24 +00:00
CodeGen GlobalISel: implement Legalization querying framework. 2016-07-20 21:13:29 +00:00
Config Use posix_fallocate instead of ftruncate. 2016-07-19 20:19:56 +00:00
DebugInfo Avoid dsymutil calls to getFileNameByIndex. 2016-07-22 01:41:32 +00:00
ExecutionEngine Delete MCCodeGenInfo. 2016-06-30 18:25:11 +00:00
IR Revert "Invariant start/end intrinsics overloaded for address space" 2016-07-21 19:06:28 +00:00
IRReader [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LibDriver [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LineEditor Apply clang-tidy's misc-move-constructor-init throughout LLVM. 2016-05-27 14:27:24 +00:00
Linker Linker: teach the IR mover to return llvm::Error. 2016-05-27 05:21:35 +00:00
LTO Move legacy LTO interface headers to legacy/ directory. 2016-07-14 21:21:16 +00:00
MC Fix branch relaxation in 16-bit mode. 2016-07-11 14:23:53 +00:00
Object AMDGPU/SI: Add support for R_AMDGPU_ABS32 2016-07-21 15:29:19 +00:00
ObjectYAML [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes Reword comment to be more clear. 2016-07-16 01:55:45 +00:00
ProfileData [Profile] deprecate __llvm_profile_override_default_filename 2016-07-21 23:19:10 +00:00
Support Add AIX support to Path.inc, Host.h, and CMake. 2016-07-19 22:46:39 +00:00
TableGen [TableGen] Autobrief-ize Record. NFC. 2016-07-14 14:53:14 +00:00
Target [IRTranslator] Add G_SUB opcode. 2016-07-21 17:26:50 +00:00
Transforms [PM] Port NaryReassociate to the new PM 2016-07-21 22:28:52 +00:00
CMakeLists.txt
InitializePasses.h [PM] Port NaryReassociate to the new PM 2016-07-21 22:28:52 +00:00
LinkAllIR.h Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
LinkAllPasses.h code hoisting pass based on GVN 2016-07-15 13:45:20 +00:00
module.modulemap Fix modules buildbot after r275633. 2016-07-16 01:05:39 +00:00
module.modulemap.build
Pass.h Remove unused header. 2016-05-25 22:56:58 +00:00
PassAnalysisSupport.h Apply clang-tidy's modernize-loop-convert to most of lib/Transforms. 2016-06-26 12:28:59 +00:00
PassInfo.h Reformat partially. 2015-10-05 04:46:30 +00:00
PassRegistry.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
PassSupport.h [LPM] Reinstate r271781 which reinstated r271652 to replace the 2016-06-04 19:57:55 +00:00