Home
last modified time | relevance | path

Searched refs:MIA (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCInstPrinter.h52 const MCInstrAnalysis *MIA = nullptr; variable
131 void setMCInstrAnalysis(const MCInstrAnalysis *Value) { MIA = Value; } in setMCInstrAnalysis()
/llvm-project-15.0.7/llvm/tools/llvm-cfi-verify/lib/
H A DFileAnalysis.cpp179 if (!MIA->evaluateBranch(InstrMeta.Instruction, InstrMeta.VMAddress, in willTrapOnCFIViolation()
214 if (!MIA->evaluateBranch(InstrMeta.Instruction, InstrMeta.VMAddress, in getDefiniteNextInstruction()
270 return MIA.get(); in getMCInstrAnalysis()
420 MIA.reset(ObjectTarget->createMCInstrAnalysis(MII.get())); in initialiseDisassemblyMembers()
508 if (MIA->evaluateBranch(Instruction, VMAddress, InstructionSize, Target)) { in parseSectionContents()
H A DFileAnalysis.h212 std::unique_ptr<const MCInstrAnalysis> MIA; variable
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DMCPlusBuilder.h620 virtual bool match(const MCRegisterInfo &MRI, MCPlusBuilder &MIA, in match()
641 const MCInstrDesc &InstrDesc = MIA.Info->get(CurInst->getOpcode()); in match()
653 virtual void annotate(MCPlusBuilder &MIA, StringRef Annotation) {} in annotate()
671 bool match(const MCRegisterInfo &MRI, MCPlusBuilder &MIA, in match()
690 bool match(const MCRegisterInfo &MRI, MCPlusBuilder &MIA, in match()
692 if (!MCInstMatcher::match(MRI, MIA, InInstrWindow, OpNum)) in match()
710 bool match(const MCRegisterInfo &MRI, MCPlusBuilder &MIA, in match()
712 if (!MCInstMatcher::match(MRI, MIA, InInstrWindow, OpNum)) in match()
717 Sym = MIA.getTargetSymbol(*CurInst, OpNum); in match()
727 bool match(const MCRegisterInfo &MRI, MCPlusBuilder &MIA, in match()
H A DBinaryContext.h572 std::unique_ptr<const MCInstrAnalysis> MIA; variable
678 std::unique_ptr<const MCInstrAnalysis> MIA,
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp394 MCInstrAnalysis &MIA) { in addFunctionPointerRelocationsToCurrentSymbol() argument
439 MIA.evaluateMemoryOperandAddress(Instr, &STI, InstrStart, InstrSize); in addFunctionPointerRelocationsToCurrentSymbol()
444 MIA.getMemoryOperandRelocationOffset(Instr, InstrSize); in addFunctionPointerRelocationsToCurrentSymbol()
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86IntelInstPrinter.cpp376 if (SymbolizeOperands && MIA) { in printMemReference()
378 if (MIA->evaluateBranch(*MI, 0, 0, Target)) in printMemReference()
380 if (MIA->evaluateMemoryOperandAddress(*MI, /*STI=*/nullptr, 0, 0)) in printMemReference()
H A DX86ATTInstPrinter.cpp418 if (SymbolizeOperands && MIA) { in printMemReference()
420 if (MIA->evaluateBranch(*MI, 0, 0, Target)) in printMemReference()
422 if (MIA->evaluateMemoryOperandAddress(*MI, /*STI=*/nullptr, 0, 0)) in printMemReference()
/llvm-project-15.0.7/llvm/lib/Object/
H A DELFObjectFile.cpp623 std::unique_ptr<const MCInstrAnalysis> MIA( in getPltAddresses() local
625 if (!MIA) in getPltAddresses()
650 auto PltEntries = MIA->findPltEntries(Plt->getAddress(), in getPltAddresses()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp1111 ArrayRef<uint8_t> Bytes, const MCInstrAnalysis *MIA, MCDisassembler *DisAsm, in collectLocalBranchTargets() argument
1134 if (Disassembled && MIA) { in collectLocalBranchTargets()
1136 bool TargetKnown = MIA->evaluateBranch(Inst, Index, Size, Target); in collectLocalBranchTargets()
1256 const MCInstrAnalysis *MIA, MCInstPrinter *IP, in disassembleObject() argument
1585 collectLocalBranchTargets(Bytes, MIA, DisAsm, IP, PrimarySTI, in disassembleObject()
1671 if (Disassembled && MIA) { in disassembleObject()
1676 MIA->evaluateBranch(Inst, SectionAddr + Index, Size, Target); in disassembleObject()
1679 MIA->evaluateMemoryOperandAddress( in disassembleObject()
1891 std::unique_ptr<const MCInstrAnalysis> MIA( in disassembleObject() local
1903 IP->setMCInstrAnalysis(MIA.get()); in disassembleObject()
[all …]
/llvm-project-15.0.7/bolt/unittests/Core/
H A DMCPlusBuilder.cpp56 GetParam(), BC->MIA.get(), BC->MII.get(), BC->MRI.get()))); in initializeBolt()
/llvm-project-15.0.7/llvm/tools/sancov/
H A Dsancov.cpp763 std::unique_ptr<const MCInstrAnalysis> MIA( in getObjectCoveragePoints() local
765 failIfEmpty(MIA, "no instruction analysis info for target " + TripleName); in getObjectCoveragePoints()
799 if (MIA->isCall(Inst) && in getObjectCoveragePoints()
800 MIA->evaluateBranch(Inst, SectionAddr + Index, Size, Target) && in getObjectCoveragePoints()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryContext.cpp88 std::unique_ptr<const MCInstrAnalysis> MIA, in BinaryContext() argument
96 InstPrinter(std::move(InstPrinter)), MIA(std::move(MIA)), in BinaryContext()
205 std::unique_ptr<const MCInstrAnalysis> MIA( in createBinaryContext() local
207 if (!MIA) in createBinaryContext()
235 std::move(InstructionPrinter), std::move(MIA), nullptr, std::move(MRI), in createBinaryContext()
/llvm-project-15.0.7/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp1804 std::unique_ptr<MCInstrAnalysis> MIA; member
1856 std::unique_ptr<MCInstrAnalysis> MIA( in getTargetInfo() local
1858 if (!MIA) in getTargetInfo()
1871 std::move(MII), std::move(MIA), std::move(InstPrinter)}; in getTargetInfo()
1925 *Sym, G, *TI.Disassembler, *TI.MIA)) in addSelfRelocations()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfiledBinary.h212 std::unique_ptr<const MCInstrAnalysis> MIA; variable
H A DProfiledBinary.cpp557 MIA.reset(TheTarget->createMCInstrAnalysis(MII.get())); in setUpDisassembler()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DIndirectionUtils.h592 MCInstrAnalysis &MIA);
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DMachORewriteInstance.cpp109 BC->TheTriple->getArch(), BC->MIA.get(), BC->MII.get(), BC->MRI.get()))); in MachORewriteInstance()
H A DRewriteInstance.cpp363 BC->TheTriple->getArch(), BC->MIA.get(), BC->MII.get(), BC->MRI.get()))); in RewriteInstance()