LLVM: lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "mccodeemitter"
#define _ fixup_Invalid
#define P(x)
Functions
STATISTIC (MCNumEmitted, "Number of MC instructions emitted")
static void addFixup (SmallVectorImpl< MCFixup > &Fixups, uint32_t Offset, const MCExpr *Value, uint16_t Kind)
static bool RegisterMatches (MCRegister Consumer, MCRegister Producer, MCRegister Producer2)
static void raise_relocation_error (unsigned Width, unsigned Kind)
static bool isPCRel (unsigned Kind)

_

Definition at line 46 of file HexagonMCCodeEmitter.cpp.

Referenced by llvm::DebugCounter::activateAllCounters(), canFoldStoreIntoLibCallOutputPointers(), llvm::CloneAndPruneIntoFromInst(), llvm::CtxProfAnalysis::collectIndirectCallPromotionList(), llvm::VPRecipeBuilder::collectScaledReductions(), llvm::RISCVInstrInfo::copyPhysRegVector(), llvm::raw_socket_stream::createConnectedUnix(), llvm::ListeningSocket::createUnix(), llvm::orc::ELFDebugObjectPlugin::ELFDebugObjectPlugin(), llvm::MCExpr::evaluateAsRelocatableImpl(), llvm::ModuleSummaryIndex::exportToDot(), llvm::MachO::RecordsSlice::findObjCIVar(), llvm::PGOContextualProfile::flatten(), llvm::PGOContextualProfile::flattenVirtCalls(), llvm::orc::LibraryManager::forEachLibrary(), llvm::orc::LibraryResolver::SymbolQuery::getAllResults(), llvm::orc::LibraryScanHelper::getAllUnits(), llvm::PGOCtxProfContext::getContainedGuids(), llvm::AArch64TTIImpl::getIntrinsicInstrCost(), llvm::orc::LibraryManager::getLibraries(), llvm::BasicAAResult::getModRefInfoMask(), llvm::dwarf::RegisterLocations::getRegisters(), llvm::orc::LibraryScanHelper::getSearchPaths(), llvm::VPlanTransforms::handleMaxMinNumReductions(), inferInitializes(), llvm::PGOCtxProfContext::ingestAllContexts(), INITIALIZE_PASS(), llvm::MCAssembler::layout(), llvm::orc::LLJIT::LLJIT(), LLTToBId(), LLTToId(), llvm::orc::ExecutionSession::lookup(), LookupNearestOption(), llvm::RISCVRegisterInfo::lowerSegmentSpillReload(), llvm::CombinerHelper::matchConstantFoldFMA(), matchUniformityAndLLT(), llvm::operator<<(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), preorderVisit(), preorderVisitOneRoot(), llvm::promoteCallWithIfThenElse(), llvm::orc::LibraryScanHelper::resetToScan(), llvm::CtxProfAnalysis::run(), llvm::GCNDPPCombinePass::run(), llvm::LiveDebugVariablesAnalysis::run(), llvm::MachineCopyPropagationPass::run(), llvm::MachineCSEPass::run(), llvm::MachineLateInstrsCleanupPass::run(), llvm::PatchableFunctionPass::run(), llvm::PeepholeOptimizerPass::run(), llvm::PostRAMachineSinkingPass::run(), llvm::PostRASchedulerPass::run(), llvm::ReachingDefPrinterPass::run(), llvm::RegAllocFastPass::run(), llvm::RegisterCoalescerPass::run(), llvm::RemoveLoadsIntoFakeUsesPass::run(), llvm::ShrinkWrapPass::run(), llvm::SIFoldOperandsPass::run(), llvm::SILoadStoreOptimizerPass::run(), llvm::SILowerSGPRSpillsPass::run(), llvm::SIOptimizeVGPRLiveRangePass::run(), llvm::SIWholeQuadModePass::run(), llvm::TailDuplicatePassBase< DerivedT, PreRegAlloc >::run(), llvm::TwoAddressInstructionPass::run(), llvm::VirtRegRewriterPass::run(), RAGreedyPass::run(), llvm::simplifyLoopIVs(), SRAGlobal(), llvm::RISCVISAInfo::toFeatures(), llvm::orc::StaticLibraryDefinitionGenerator::tryToGenerate(), llvm::VPRecipeBuilder::updateBlockMaskCache(), llvm::VirtRegAuxInfo::weightCalcHelper(), llvm::memprof::RawMemProfReader::~RawMemProfReader(), and llvm::orc::SimpleLazyReexportsSpeculator::~SimpleLazyReexportsSpeculator().

DEBUG_TYPE

#define DEBUG_TYPE "mccodeemitter"

P

addFixup()

Definition at line 339 of file HexagonMCCodeEmitter.cpp.

References llvm::MCFixup::create(), llvm::Hexagon::fixup_Hexagon_32_PCREL, llvm::Hexagon::fixup_Hexagon_6_PCREL_X, llvm::Hexagon::fixup_Hexagon_B13_PCREL, llvm::Hexagon::fixup_Hexagon_B13_PCREL_X, llvm::Hexagon::fixup_Hexagon_B15_PCREL, llvm::Hexagon::fixup_Hexagon_B15_PCREL_X, llvm::Hexagon::fixup_Hexagon_B22_PCREL, llvm::Hexagon::fixup_Hexagon_B22_PCREL_X, llvm::Hexagon::fixup_Hexagon_B32_PCREL_X, llvm::Hexagon::fixup_Hexagon_B7_PCREL, llvm::Hexagon::fixup_Hexagon_B7_PCREL_X, llvm::Hexagon::fixup_Hexagon_B9_PCREL, llvm::Hexagon::fixup_Hexagon_B9_PCREL_X, llvm::Hexagon::fixup_Hexagon_GD_PLT_B22_PCREL, llvm::Hexagon::fixup_Hexagon_GD_PLT_B22_PCREL_X, llvm::Hexagon::fixup_Hexagon_GD_PLT_B32_PCREL_X, llvm::Hexagon::fixup_Hexagon_LD_PLT_B22_PCREL, llvm::Hexagon::fixup_Hexagon_LD_PLT_B22_PCREL_X, llvm::Hexagon::fixup_Hexagon_LD_PLT_B32_PCREL_X, llvm::Hexagon::fixup_Hexagon_PLT_B22_PCREL, and llvm::Offset.

isPCRel()

Definition at line 579 of file HexagonMCCodeEmitter.cpp.

References llvm::Hexagon::fixup_Hexagon_32_PCREL, llvm::Hexagon::fixup_Hexagon_6_PCREL_X, llvm::Hexagon::fixup_Hexagon_B13_PCREL, llvm::Hexagon::fixup_Hexagon_B13_PCREL_X, llvm::Hexagon::fixup_Hexagon_B15_PCREL, llvm::Hexagon::fixup_Hexagon_B15_PCREL_X, llvm::Hexagon::fixup_Hexagon_B22_PCREL, llvm::Hexagon::fixup_Hexagon_B22_PCREL_X, llvm::Hexagon::fixup_Hexagon_B32_PCREL_X, llvm::Hexagon::fixup_Hexagon_B7_PCREL, llvm::Hexagon::fixup_Hexagon_B7_PCREL_X, llvm::Hexagon::fixup_Hexagon_B9_PCREL, llvm::Hexagon::fixup_Hexagon_B9_PCREL_X, llvm::Hexagon::fixup_Hexagon_GD_PLT_B22_PCREL, llvm::Hexagon::fixup_Hexagon_GD_PLT_B22_PCREL_X, llvm::Hexagon::fixup_Hexagon_LD_PLT_B22_PCREL, llvm::Hexagon::fixup_Hexagon_LD_PLT_B22_PCREL_X, and llvm::Hexagon::fixup_Hexagon_PLT_B22_PCREL.

raise_relocation_error()

RegisterMatches()

STATISTIC()

STATISTIC ( MCNumEmitted ,
"Number of MC instructions emitted" )

ExtFixups

fixup_Invalid

StdFixups