LLVM API Documentation
#include "ARM.h"#include "ARMAddressingModes.h"#include "ARMConstantPoolValue.h"#include "ARMInstrInfo.h"#include "ARMRelocations.h"#include "ARMSubtarget.h"#include "ARMTargetMachine.h"#include "llvm/Constants.h"#include "llvm/DerivedTypes.h"#include "llvm/Function.h"#include "llvm/PassManager.h"#include "llvm/CodeGen/MachineCodeEmitter.h"#include "llvm/CodeGen/MachineConstantPool.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineJumpTableInfo.h"#include "llvm/CodeGen/Passes.h"#include "llvm/ADT/Statistic.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/Debug.h"#include <iomanip>#include "ARMGenCodeEmitter.inc"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "jit" |
Functions | |
| STATISTIC (NumEmitted,"Number of machine instructions emitted") | |
| FunctionPass * | llvm::createARMCodeEmitterPass (ARMTargetMachine &TM, MachineCodeEmitter &MCE) |
| static unsigned | getAddrModeUPBits (unsigned Mode) |
| static unsigned | encodeVFPRd (const MachineInstr &MI, unsigned OpIdx) |
| static unsigned | encodeVFPRn (const MachineInstr &MI, unsigned OpIdx) |
| static unsigned | encodeVFPRm (const MachineInstr &MI, unsigned OpIdx) |
| #define DEBUG_TYPE "jit" |
Definition at line 15 of file ARMCodeEmitter.cpp.
| static unsigned encodeVFPRd | ( | const MachineInstr & | MI, | |
| unsigned | OpIdx | |||
| ) | [static] |
Definition at line 1136 of file ARMCodeEmitter.cpp.
References llvm::ARMII::D_BitShift, llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), and llvm::ARMII::RegRdShift.
| static unsigned encodeVFPRm | ( | const MachineInstr & | MI, | |
| unsigned | OpIdx | |||
| ) | [static] |
Definition at line 1164 of file ARMCodeEmitter.cpp.
References llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), and llvm::ARMII::M_BitShift.
| static unsigned encodeVFPRn | ( | const MachineInstr & | MI, | |
| unsigned | OpIdx | |||
| ) | [static] |
Definition at line 1150 of file ARMCodeEmitter.cpp.
References llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::ARMII::N_BitShift, and llvm::ARMII::RegRnShift.
Definition at line 898 of file ARMCodeEmitter.cpp.
References llvm::ARM_AM::da, llvm::ARM_AM::db, llvm::ARM_AM::ia, llvm::ARM_AM::ib, llvm::ARMII::P_BitShift, and llvm::ARMII::U_BitShift.
| STATISTIC | ( | NumEmitted | , | |
| "Number of machine instructions emitted" | ||||
| ) |
char ID [static] |
Definition at line 55 of file ARMCodeEmitter.cpp.
| const ARMInstrInfo* II |
Definition at line 46 of file ARMCodeEmitter.cpp.
| bool IsPIC |
Definition at line 52 of file ARMCodeEmitter.cpp.
Referenced by llvm::X86InstrInfo::GetInstSizeInBytes().
Definition at line 45 of file ARMCodeEmitter.cpp.
Referenced by llvm::JumpTableSDNode::getIndex(), llvm::ARMInstrInfo::GetInstSizeInBytes(), and LowerJumpTable().
Definition at line 49 of file ARMCodeEmitter.cpp.
| const std::vector<MachineConstantPoolEntry>* MCPEs |
Definition at line 50 of file ARMCodeEmitter.cpp.
| const std::vector<MachineJumpTableEntry>* MJTEs |
Definition at line 51 of file ARMCodeEmitter.cpp.
| const TargetData* TD |
Definition at line 47 of file ARMCodeEmitter.cpp.
Referenced by llvm::SelectionDAG::CreateStackTemporary(), llvm::X86IntelAsmPrinter::doFinalization(), llvm::X86RegisterInfo::emitFrameMoves(), EmitGEPOffset(), llvm::AsmPrinter::EmitSpecialLLVMGlobal(), EvaluateGEPOffsetExpression(), llvm::Interpreter::executeGEPOperation(), llvm::MachineConstantPool::getConstantPoolIndex(), llvm::ExecutionEngine::getConstantValue(), llvm::MachineFunction::MachineFunction(), llvm::XCoreTargetAsmInfo::MergeableConstSection(), llvm::ELFTargetAsmInfo::MergeableConstSection(), llvm::DarwinTargetAsmInfo::MergeableConstSection(), llvm::ELFTargetAsmInfo::MergeableStringSection(), llvm::DarwinTargetAsmInfo::MergeableStringSection(), llvm::X86ATTAsmPrinter::printModuleLevelGV(), llvm::MipsTargetAsmInfo::SectionKindForGlobal(), llvm::MachOCodeEmitter::startFunction(), and llvm::Interpreter::visitAllocationInst().
Definition at line 48 of file ARMCodeEmitter.cpp.