25 #ifndef _JIT_COMPILER2_CODEGENPASS
26 #define _JIT_COMPILER2_CODEGENPASS
80 template<
class ForwardIt>
81 void resolve_replacement_points(ForwardIt first, ForwardIt last,
JITData &JD);
97 BasicBlockMap::const_iterator
begin()
const {
return bbmap.begin(); }
98 BasicBlockMap::const_iterator
end()
const {
return bbmap.end(); }
Pass superclass All compiler passes should inheritate this class.
alloc::map< MachineInstruction *, std::size_t >::type InstructionSizeMap
InstructionSizeMap instruction_sizes
Map a MachineInstruction to its size in the code memory (number of emitted bytes) ...
alloc::map< MachineInstruction *, std::size_t >::type InstructionPositionMap
alloc::map< MachineBasicBlock *, std::size_t, MBBCompare >::type BasicBlockMap
Custom new/delete handler mixin.
A basic block of (scheduled) machine instructions.
MBBIterator self_iterator() const
get self iterator
CodeGenPass TODO: more info.
bool operator()(MachineBasicBlock *lhs, MachineBasicBlock *rhs) const
std::vector< MachineInstruction * > MInstListTy
BasicBlockMap::const_iterator begin() const
Stores the interdependencies of a pass.
InstructionPositionMap instruction_positions
Map a MachineInstruction to a offset in the current CodeMemory.
This file contains the command line option parsing library.
BasicBlockMap::const_iterator end() const