llvm-6502/lib/VMCore
Benjamin Kramer 4da7f90b17 Add a little heuristic to Value::isUsedInBasicBlock to speed it up for small basic blocks.
- Calling getUser in a loop is much more expensive than iterating over a few instructions.
- Use it instead of the open-coded loop in AddrModeMatcher.
- 5% speedup on ARMDisassembler.cpp Release builds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145810 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-05 17:23:27 +00:00
..
AsmWriter.cpp
Attributes.cpp
AutoUpgrade.cpp Eli managed to kill off llvm.membarrier in llvm 3.0 also, this means 2011-11-27 08:42:07 +00:00
BasicBlock.cpp
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
ConstantFold.cpp
ConstantFold.h
Constants.cpp Add support for vectors of pointers. 2011-12-05 06:29:09 +00:00
ConstantsContext.h
Core.cpp
DebugInfoProbe.cpp
DebugLoc.cpp
Dominators.cpp
Function.cpp
GCOV.cpp
Globals.cpp
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp
Instructions.cpp Add support for vectors of pointers. 2011-12-05 06:29:09 +00:00
IntrinsicInst.cpp
IRBuilder.cpp
LeakDetector.cpp
LeaksContext.h
LLVMBuild.txt
LLVMContext.cpp
LLVMContextImpl.cpp
LLVMContextImpl.h
Makefile
Metadata.cpp
Module.cpp
Pass.cpp Devirtualize Pass::getPassID, overriding it isn't useful and it gets called a lot. 2011-11-24 21:14:11 +00:00
PassManager.cpp
PassRegistry.cpp
PrintModulePass.cpp
SymbolTableListTraitsImpl.h
Type.cpp Add support for vectors of pointers. 2011-12-05 06:29:09 +00:00
Use.cpp
User.cpp Add some missing anchors. 2011-12-01 08:00:17 +00:00
Value.cpp Add a little heuristic to Value::isUsedInBasicBlock to speed it up for small basic blocks. 2011-12-05 17:23:27 +00:00
ValueSymbolTable.cpp
ValueTypes.cpp Rename MVT::untyped to MVT::Untyped to match similar nomenclature. 2011-11-16 01:02:57 +00:00
Verifier.cpp Add support for vectors of pointers. 2011-12-05 06:29:09 +00:00