|
LLVM
4.0.0
|
#include "X86.h"#include "X86InstrInfo.h"#include "llvm/ADT/DepthFirstIterator.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallPtrSet.h"#include "llvm/ADT/SmallSet.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/Statistic.h"#include "llvm/CodeGen/EdgeBundles.h"#include "llvm/CodeGen/LivePhysRegs.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/Passes.h"#include "llvm/IR/InlineAsm.h"#include "llvm/Support/Debug.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetSubtargetInfo.h"#include <algorithm>#include <bitset>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "x86-codegen" |
| #define | ASSERT_SORTED(TABLE) |
Functions | |
| STATISTIC (NumFXCH,"Number of fxch instructions inserted") | |
| STATISTIC (NumFP,"Number of floating point instructions") | |
| static unsigned | getFPReg (const MachineOperand &MO) |
| getFPReg - Return the X86::FPx register number for the specified operand. More... | |
| static int | Lookup (ArrayRef< TableEntry > Table, unsigned Opcode) |
| static unsigned | getConcreteOpcode (unsigned Opcode) |
Variables | |
| static const TableEntry | OpcodeTable [] |
| static const TableEntry | PopTable [] |
| static const TableEntry | ForwardST0Table [] |
| static const TableEntry | ReverseST0Table [] |
| static const TableEntry | ForwardSTiTable [] |
| static const TableEntry | ReverseSTiTable [] |
| #define ASSERT_SORTED | ( | TABLE | ) |
Definition at line 592 of file X86FloatingPoint.cpp.
Referenced by getConcreteOpcode().
| #define DEBUG_TYPE "x86-codegen" |
Definition at line 51 of file X86FloatingPoint.cpp.
Definition at line 772 of file X86FloatingPoint.cpp.
References assert(), ASSERT_SORTED, Lookup(), and OpcodeTable.
|
static |
getFPReg - Return the X86::FPx register number for the specified operand.
For example, this returns 3 for X86::FP3.
Definition at line 300 of file X86FloatingPoint.cpp.
References assert(), llvm::MachineOperand::getReg(), and llvm::MachineOperand::isReg().
Definition at line 582 of file X86FloatingPoint.cpp.
References llvm::ArrayRef< T >::begin(), and llvm::ArrayRef< T >::end().
Referenced by getConcreteOpcode(), llvm::ConstantUniqueMap< llvm::ConstantExpr >::getOrCreate(), llvm::pdb::operator<<(), and llvm::ConstantUniqueMap< llvm::ConstantExpr >::replaceOperandsInPlace().
| STATISTIC | ( | NumFXCH | , |
| "Number of fxch instructions inserted" | |||
| ) |
| STATISTIC | ( | NumFP | , |
| "Number of floating point instructions" | |||
| ) |
|
static |
Definition at line 1188 of file X86FloatingPoint.cpp.
|
static |
Definition at line 1220 of file X86FloatingPoint.cpp.
|
static |
Definition at line 610 of file X86FloatingPoint.cpp.
Referenced by getConcreteOpcode().
|
static |
Definition at line 786 of file X86FloatingPoint.cpp.
|
static |
Definition at line 1204 of file X86FloatingPoint.cpp.
|
static |
Definition at line 1236 of file X86FloatingPoint.cpp.
1.8.6