LLVM  3.7.0
Functions
MipsELFObjectWriter.cpp File Reference
#include "MCTargetDesc/MipsBaseInfo.h"
#include "MCTargetDesc/MipsFixupKinds.h"
#include "MCTargetDesc/MipsMCTargetDesc.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCELFObjectWriter.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/ErrorHandling.h"
#include <list>
Include dependency graph for MipsELFObjectWriter.cpp:

Go to the source code of this file.

Functions

static int cmpRelMips (const MipsRelocationEntry *AP, const MipsRelocationEntry *BP)
 
static unsigned getMatchingLoType (const MCAssembler &Asm, const ELFRelocationEntry &Reloc)
 
static bool areMatchingHiAndLo (const MCAssembler &Asm, const ELFRelocationEntry &First, const ELFRelocationEntry &Second)
 
static bool isPrecededByMatchingHi (const MCAssembler &Asm, uint32_t Index, std::vector< MipsRelocationEntry > &MipsRelocs)
 
static bool isFreeLo (const MCAssembler &Asm, uint32_t Index, std::vector< MipsRelocationEntry > &MipsRelocs)
 
static void setMatch (MipsRelocationEntry &Hi, MipsRelocationEntry &Lo)
 

Function Documentation

static bool areMatchingHiAndLo ( const MCAssembler Asm,
const ELFRelocationEntry First,
const ELFRelocationEntry Second 
)
static
static int cmpRelMips ( const MipsRelocationEntry *  AP,
const MipsRelocationEntry *  BP 
)
static

Definition at line 215 of file MipsELFObjectWriter.cpp.

References llvm::ARM_PROC::A.

static unsigned getMatchingLoType ( const MCAssembler Asm,
const ELFRelocationEntry Reloc 
)
static
static bool isFreeLo ( const MCAssembler Asm,
uint32_t  Index,
std::vector< MipsRelocationEntry > &  MipsRelocs 
)
static

Definition at line 274 of file MipsELFObjectWriter.cpp.

References isPrecededByMatchingHi().

static bool isPrecededByMatchingHi ( const MCAssembler Asm,
uint32_t  Index,
std::vector< MipsRelocationEntry > &  MipsRelocs 
)
static

Definition at line 266 of file MipsELFObjectWriter.cpp.

References areMatchingHiAndLo().

Referenced by isFreeLo().

static void setMatch ( MipsRelocationEntry &  Hi,
MipsRelocationEntry &  Lo 
)
static

Definition at line 284 of file MipsELFObjectWriter.cpp.