llvm-6502/lib
Chandler Carruth 1e05bd9e71 Introduce a generic interface for querying an operation's expected
lowered cost.

Currently, this is a direct port of the logic implementing
isInstructionFree in CodeMetrics. The hope is that the interface can be
improved (f.ex. supporting un-formed instruction queries) and the
implementation abstracted so that as we have test cases and target
knowledge we can expose increasingly accurate heuristics to clients.

I'll start switching existing consumers over and kill off the routine in
CodeMetrics in subsequent commits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172998 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-21 01:27:39 +00:00
..
Analysis Introduce a generic interface for querying an operation's expected 2013-01-21 01:27:39 +00:00
Archive
AsmParser Use hexDigitValue in LLLexer. 2013-01-18 23:05:41 +00:00
Bitcode trivial micro-optimization: lazily call the virtual method instead of eagerly calling it. 2013-01-20 02:54:05 +00:00
CodeGen Revert 172708. 2013-01-20 08:35:56 +00:00
DebugInfo
ExecutionEngine
IR Fix a latent bug exposed by recent static member debug info changes. 2013-01-19 23:00:25 +00:00
Linker
MC
Object
Option
Support Add llvm::hexDigitValue to convert single characters to hex. 2013-01-18 21:45:30 +00:00
TableGen
Target Convert more EVT's to MVT's in the lowering methods. 2013-01-20 21:50:27 +00:00
Transforms LoopVectorize: Fix a C++11 incompatibility. 2013-01-20 20:29:52 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile