Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCValue.h40 class MCValue {
46 MCValue() = default;
63 static MCValue get(const MCSymbolRefExpr *SymA,
66 MCValue R;
74 static MCValue get(int64_t Val) { in get()
75 MCValue R; in get()
H A DMCAsmBackend.h38 class MCValue; variable
87 const MCValue &Target) { in shouldForceRelocation()
98 const MCValue &Target, MutableArrayRef<char> Data,
H A DMCWasmObjectWriter.h19 class MCValue; variable
36 virtual unsigned getRelocType(const MCValue &Target,
H A DMCWinCOFFObjectWriter.h21 class MCValue; variable
41 virtual unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
H A DMCMachObjectWriter.h76 const MCFixup &Fixup, MCValue Target,
237 const MCFixup &Fixup, MCValue Target,
242 MCValue Target, uint64_t &FixedValue);
246 MCValue Target, uint64_t &FixedValue) override;
H A DMCObjectWriter.h30 class MCValue; variable
71 const MCFixup &Fixup, MCValue Target,
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCExpr.cpp45 MCValue AUIPCLoc; in getPCRelHiFixup()
74 bool RISCVMCExpr::evaluatePCRelLo(MCValue &Res, const MCAsmLayout *Layout, in evaluatePCRelLo()
82 MCValue AUIPCLoc; in evaluatePCRelLo()
104 MCValue Target; in evaluatePCRelLo()
117 Res = MCValue::get(Target.getSymA(), nullptr, in evaluatePCRelLo()
122 bool RISCVMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
176 MCValue Value; in evaluateAsConstant()
H A DRISCVMCExpr.h42 bool evaluatePCRelLo(MCValue &Res, const MCAsmLayout *Layout,
64 bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout,
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp38 unsigned getRelocType(const MCValue &Target,
60 static bool IsFunctionType(const MCValue &Target) { in IsFunctionType()
84 static bool IsGlobalType(const MCValue &Target) { in IsGlobalType()
89 static bool IsEventType(const MCValue &Target) { in IsEventType()
94 unsigned WebAssemblyWasmObjectWriter::getRelocType(const MCValue &Target, in getRelocType()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCExpr.cpp488 MCValue Value; in evaluateAsAbsolute()
595 int64_t RHS_Cst, MCValue &Res) { in EvaluateSymbolicAdd()
643 Res = MCValue::get(A, B, Result_Cst); in EvaluateSymbolicAdd()
647 bool MCExpr::evaluateAsRelocatable(MCValue &Res, in evaluateAsRelocatable()
720 Res = MCValue::get(SRE, nullptr, 0); in evaluateAsRelocatableImpl()
726 MCValue Value; in evaluateAsRelocatableImpl()
736 Res = MCValue::get(!Value.getConstant()); in evaluateAsRelocatableImpl()
750 Res = MCValue::get(~Value.getConstant()); in evaluateAsRelocatableImpl()
762 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl()
847 Res = MCValue::get(Result); in evaluateAsRelocatableImpl()
[all …]
H A DMCValue.cpp19 void MCValue::print(raw_ostream &OS) const { in print()
42 LLVM_DUMP_METHOD void MCValue::dump() const { in dump()
47 MCSymbolRefExpr::VariantKind MCValue::getAccessVariant() const { in getAccessVariant()
H A DMCAssembler.cpp143 MCValue V; in isThumbFunc()
201 MCValue &Target, uint64_t &Value, in evaluateFixup()
339 MCValue Value; in computeFragmentSize()
714 std::tuple<MCValue, uint64_t, bool>
718 MCValue Target; in handleFixup()
735 MCValue TargetAdd = in handleFixup()
736 MCValue::get(Target.getSymA(), nullptr, Target.getConstant()); in handleFixup()
740 MCValue TargetSub = MCValue::get(Target.getSymB()); in handleFixup()
834 MCValue Target; in layout()
857 MCValue Target; in fixupNeedsRelaxation()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCExpr.cpp59 MCValue Value; in evaluateAsConstant()
99 PPCMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
102 MCValue Value; in evaluateAsRelocatableImpl()
112 Res = MCValue::get(Result); in evaluateAsRelocatableImpl()
154 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in evaluateAsRelocatableImpl()
H A DPPCMachObjectWriter.cpp31 const MCFixup &Fixup, MCValue Target,
37 MCValue Target, uint64_t &FixedValue);
45 const MCFixup &Fixup, MCValue Target, in recordRelocation()
83 static unsigned getRelocType(const MCValue &Target, in getRelocType()
193 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, in recordScatteredRelocation()
303 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, in RecordPPCRelocation()
/freebsd-12.1/contrib/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCExpr.cpp56 MCValue Value; in evaluateAsConstant()
72 bool AVRMCExpr::evaluateAsRelocatableImpl(MCValue &Result, in evaluateAsRelocatableImpl()
75 MCValue Value; in evaluateAsRelocatableImpl()
82 Result = MCValue::get(evaluateAsInt64(Value.getConstant())); in evaluateAsRelocatableImpl()
93 Result = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in evaluateAsRelocatableImpl()
H A DAVRAsmBackend.h37 void adjustFixupValue(const MCFixup &Fixup, const MCValue &Target,
44 const MCValue &Target, MutableArrayRef<char> Data,
72 const MCValue &Target) override;
/freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.h44 const MCValue &Target) override;
47 const MCValue &Target, uint64_t Value,
52 const MCValue &Target, MutableArrayRef<char> Data,
H A DARMELFObjectWriter.cpp31 unsigned GetRelocTypeInner(const MCValue &Target, const MCFixup &Fixup,
39 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
73 unsigned ARMELFObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target, in getRelocType()
79 unsigned ARMELFObjectWriter::GetRelocTypeInner(const MCValue &Target, in GetRelocTypeInner()
H A DARMMachObjectWriter.cpp36 MCValue Target,
44 const MCFixup &Fixup, MCValue Target,
58 const MCFixup &Fixup, MCValue Target,
146 MCValue Target, in RecordARMScatteredHalfRelocation()
259 MCValue Target, in RecordARMScatteredRelocation()
380 const MCFixup &Fixup, MCValue Target, in recordRelocation()
/freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp33 MCValue Target,
41 MCValue Target,
49 MCValue Target,
54 MCValue Target, uint64_t &FixedValue);
62 const MCFixup &Fixup, MCValue Target, in recordRelocation()
105 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, in RecordX86_64Relocation()
370 MCValue Target, in recordScatteredRelocation()
470 MCValue Target, in recordTLVPRelocation()
510 MCValue Target, in RecordX86Relocation()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCExpr.cpp134 MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
145 Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), in evaluateAsRelocatableImpl()
205 Res = MCValue::get(AbsVal); in evaluateAsRelocatableImpl()
215 Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCExpr.cpp50 bool LanaiMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
57 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
H A DLanaiELFObjectWriter.cpp28 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
41 const MCValue & /*Target*/, in getRelocType() argument
/freebsd-12.1/contrib/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp29 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
39 unsigned BPFELFObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target, in getRelocType()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUELFObjectWriter.cpp29 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
43 const MCValue &Target, in getRelocType()

1234