Lines Matching refs:Relocation

1 //===- bolt/Core/Relocation.cpp - Object file relocations -----------------===//
9 // This file implements the Relocation class.
13 #include "bolt/Core/Relocation.h"
30 Triple::ArchType Relocation::Arch;
413 if (Relocation::isPCRelative(Type))
414 return SignExtend64(Contents, 8 * Relocation::getSizeForType(Type));
784 bool Relocation::isSupported(uint64_t Type) {
797 size_t Relocation::getSizeForType(uint64_t Type) {
810 bool Relocation::skipRelocationType(uint64_t Type) {
823 bool Relocation::skipRelocationProcess(uint64_t &Type, uint64_t Contents) {
836 uint64_t Relocation::encodeValue(uint64_t Type, uint64_t Value, uint64_t PC) {
849 uint64_t Relocation::extractValue(uint64_t Type, uint64_t Contents,
863 bool Relocation::isGOT(uint64_t Type) {
876 bool Relocation::isX86GOTPCRELX(uint64_t Type) {
882 bool Relocation::isX86GOTPC64(uint64_t Type) {
888 bool Relocation::isNone(uint64_t Type) { return Type == getNone(); }
890 bool Relocation::isRelative(uint64_t Type) {
903 bool Relocation::isIRelative(uint64_t Type) {
916 bool Relocation::isTLS(uint64_t Type) {
929 bool Relocation::isInstructionReference(uint64_t Type) {
942 uint64_t Relocation::getNone() {
955 uint64_t Relocation::getPC32() {
968 uint64_t Relocation::getPC64() {
981 bool Relocation::isPCRelative(uint64_t Type) {
994 uint64_t Relocation::getAbs64() {
1007 uint64_t Relocation::getRelative() {
1020 size_t Relocation::emit(MCStreamer *Streamer) const {
1027 const MCExpr *Relocation::createExpr(MCStreamer *Streamer) const {
1050 const MCExpr *Relocation::createExpr(MCStreamer *Streamer,
1062 MCBinaryExpr::Opcode Relocation::getComposeOpcodeFor(uint64_t Type) {
1075 void Relocation::print(raw_ostream &OS) const {