Home
last modified time | relevance | path

Searched refs:MCValue (Results 1 – 25 of 93) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
HDMCValue.h39 class MCValue {
45 MCValue() = default;
62 static MCValue get(const MCSymbolRefExpr *SymA,
65 MCValue R;
73 static MCValue get(int64_t Val) { in get()
74 MCValue R; in get()
HDMCAsmBackend.h34 class MCValue; variable
91 const MCValue &Target) { in shouldForceRelocation()
114 const MCValue &Target, uint64_t &Value, in evaluateTargetFixup()
126 const MCValue &Target, MutableArrayRef<char> Data,
HDMCWasmObjectWriter.h18 class MCValue; variable
36 virtual unsigned getRelocType(const MCValue &Target,
HDMCMachObjectWriter.h77 const MCFixup &Fixup, MCValue Target,
238 const MCFixup &Fixup, MCValue Target,
243 MCValue Target, uint64_t &FixedValue);
247 MCValue Target, uint64_t &FixedValue) override;
HDMCWinCOFFObjectWriter.h20 class MCValue; variable
40 virtual unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
HDMCObjectWriter.h29 class MCValue; variable
70 const MCFixup &Fixup, MCValue Target,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
HDMCExpr.cpp493 MCValue Value; in evaluateAsAbsolute()
616 const SectionAddrMap *Addrs, bool InSet, const MCValue &LHS, in EvaluateSymbolicAdd()
618 int64_t RHS_Cst, MCValue &Res) { in EvaluateSymbolicAdd()
665 Res = MCValue::get(A, B, Result_Cst); in EvaluateSymbolicAdd()
669 bool MCExpr::evaluateAsRelocatable(MCValue &Res, in evaluateAsRelocatable()
677 bool MCExpr::evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const { in evaluateAsValue()
696 bool MCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
709 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue()); in evaluateAsRelocatableImpl()
742 Res = MCValue::get(SRE, nullptr, 0); in evaluateAsRelocatableImpl()
748 MCValue Value; in evaluateAsRelocatableImpl()
[all …]
HDMCValue.cpp18 void MCValue::print(raw_ostream &OS) const { in print()
41 LLVM_DUMP_METHOD void MCValue::dump() const { in dump()
46 MCSymbolRefExpr::VariantKind MCValue::getAccessVariant() const { in getAccessVariant()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
HDPPCMCExpr.cpp58 MCValue Value; in evaluateAsConstant()
98 PPCMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
101 MCValue Value; in evaluateAsRelocatableImpl()
111 Res = MCValue::get(Result); in evaluateAsRelocatableImpl()
153 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in evaluateAsRelocatableImpl()
HDPPCMachObjectWriter.cpp30 const MCFixup &Fixup, MCValue Target,
36 MCValue Target, uint64_t &FixedValue);
44 const MCFixup &Fixup, MCValue Target, in recordRelocation()
82 static unsigned getRelocType(const MCValue &Target, in getRelocType()
192 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, in recordScatteredRelocation()
302 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, in RecordPPCRelocation()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
HDAVRMCExpr.cpp55 MCValue Value; in evaluateAsConstant()
71 bool AVRMCExpr::evaluateAsRelocatableImpl(MCValue &Result, in evaluateAsRelocatableImpl()
74 MCValue Value; in evaluateAsRelocatableImpl()
81 Result = MCValue::get(evaluateAsInt64(Value.getConstant())); in evaluateAsRelocatableImpl()
92 Result = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in evaluateAsRelocatableImpl()
HDAVRAsmBackend.h36 void adjustFixupValue(const MCFixup &Fixup, const MCValue &Target,
43 const MCValue &Target, MutableArrayRef<char> Data,
71 const MCValue &Target) override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
HDARMAsmBackend.h45 const MCValue &Target) override;
48 const MCValue &Target, uint64_t Value,
53 const MCValue &Target, MutableArrayRef<char> Data,
HDARMELFObjectWriter.cpp30 unsigned GetRelocTypeInner(const MCValue &Target, const MCFixup &Fixup,
38 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
72 unsigned ARMELFObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target, in getRelocType()
78 unsigned ARMELFObjectWriter::GetRelocTypeInner(const MCValue &Target, in GetRelocTypeInner()
HDARMMachObjectWriter.cpp35 MCValue Target,
43 const MCFixup &Fixup, MCValue Target,
57 const MCFixup &Fixup, MCValue Target,
145 MCValue Target, in RecordARMScatteredHalfRelocation()
258 MCValue Target, in RecordARMScatteredRelocation()
379 const MCFixup &Fixup, MCValue Target, in recordRelocation()
HDARMWinCOFFObjectWriter.cpp36 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
46 const MCValue &Target, in getRelocType()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
HDX86MachObjectWriter.cpp32 MCValue Target,
40 MCValue Target,
48 MCValue Target,
53 MCValue Target, uint64_t &FixedValue);
61 const MCFixup &Fixup, MCValue Target, in recordRelocation()
104 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, in RecordX86_64Relocation()
368 MCValue Target, in recordScatteredRelocation()
468 MCValue Target, in recordTLVPRelocation()
508 MCValue Target, in RecordX86Relocation()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
HDRISCVAsmBackend.cpp31 const MCValue &Target) { in shouldForceRelocation()
257 const MCFragment *DF, const MCValue &Target, uint64_t &Value, in evaluateTargetFixup()
261 MCValue AUIPCTarget; in evaluateTargetFixup()
317 const MCValue &Target, in applyFixup()
389 MCValue NopBytes = MCValue::get(Count); in shouldInsertFixupForCodeAlign()
HDRISCVAsmBackend.h70 const MCValue &Target, uint64_t &Value,
74 const MCValue &Target, MutableArrayRef<char> Data,
82 const MCValue &Target) override;
HDRISCVMCExpr.cpp51 MCValue AUIPCLoc; in getPCRelHiFixup()
93 bool RISCVMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
210 MCValue Value; in evaluateAsConstant()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
HDMipsMCExpr.cpp133 MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
144 Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), in evaluateAsRelocatableImpl()
204 Res = MCValue::get(AbsVal); in evaluateAsRelocatableImpl()
215 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
HDLanaiMCExpr.cpp49 bool LanaiMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
56 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
HDLanaiELFObjectWriter.cpp27 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
40 const MCValue & /*Target*/, in getRelocType() argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
HDBPFELFObjectWriter.cpp28 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
38 unsigned BPFELFObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target, in getRelocType()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
HDAMDGPUELFObjectWriter.cpp29 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
44 const MCValue &Target, in getRelocType()

1234