Go to the documentation of this file.
9 #ifndef LLVM_EXECUTIONENGINE_OBJECTCACHE_H
10 #define LLVM_EXECUTIONENGINE_OBJECTCACHE_H
17 class MemoryBufferRef;
24 virtual void anchor();
42 #endif // LLVM_EXECUTIONENGINE_OBJECTCACHE_H
This is an optimization pass for GlobalISel generic memory operations.
We currently emits eax Perhaps this is what we really should generate is Is imull three or four cycles eax eax The current instruction priority is based on pattern complexity The former is more complex because it folds a load so the latter will not be emitted Perhaps we should use AddedComplexity to give LEA32r a higher priority We should always try to match LEA first since the LEA matching code does some estimate to determine whether the match is profitable if we care more about code then imull is better It s two bytes shorter than movl leal On a Pentium M
virtual void notifyObjectCompiled(const Module *M, MemoryBufferRef Obj)=0
notifyObjectCompiled - Provides a pointer to compiled code for Module M.
virtual ~ObjectCache()=default
This is the base ObjectCache type which can be provided to an ExecutionEngine for the purpose of avoi...
virtual std::unique_ptr< MemoryBuffer > getObject(const Module *M)=0
Returns a pointer to a newly allocated MemoryBuffer that contains the object which corresponds with M...
A Module instance is used to store all the information related to an LLVM module.
Machine Check Debug Module