Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCValue.h36 class MCValue {
42 MCValue() = default;
59 static MCValue get(const MCSymbolRefExpr *SymA,
62 MCValue R;
70 static MCValue get(int64_t Val) { in get()
71 MCValue R; in get()
H A DMCAsmBackend.h37 class MCValue; variable
104 const MCValue &Target, in shouldForceRelocation()
128 const MCValue &Target, in evaluateTargetFixup()
137 const MCValue &Target, in handleAddSubRelocations()
149 const MCValue &Target, MutableArrayRef<char> Data,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaELFObjectWriter.cpp33 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
35 bool needsRelocateWithSymbol(const MCValue &Val, const MCSymbol &Sym,
46 unsigned XtensaObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target, in getRelocType()
63 bool XtensaObjectWriter::needsRelocateWithSymbol(const MCValue &, in needsRelocateWithSymbol() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiELFObjectWriter.cpp27 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
29 bool needsRelocateWithSymbol(const MCValue &Val, const MCSymbol &Sym,
40 const MCValue & /*Target*/, in getRelocType() argument
75 bool LanaiELFObjectWriter::needsRelocateWithSymbol(const MCValue &, in needsRelocateWithSymbol() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp576 MCValue Value; in evaluateAsAbsolute()
753 const MCValue &LHS, const MCValue &RHS, in EvaluateSymbolicAdd()
754 MCValue &Res) { in EvaluateSymbolicAdd()
805 Res = MCValue::get(A, B, Result_Cst); in EvaluateSymbolicAdd()
902 Res = MCValue::get(SRE, nullptr, 0); in evaluateAsRelocatableImpl()
908 MCValue Value; in evaluateAsRelocatableImpl()
918 Res = MCValue::get(!Value.getConstant()); in evaluateAsRelocatableImpl()
932 Res = MCValue::get(~Value.getConstant()); in evaluateAsRelocatableImpl()
944 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl()
1037 Res = MCValue::get(Result); in evaluateAsRelocatableImpl()
[all …]
H A DMCValue.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-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCExpr.cpp63 MCValue Value; in evaluateAsConstant()
103 PPCMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
106 MCValue Value; in evaluateAsRelocatableImpl()
125 Res = MCValue::get(Result); in evaluateAsRelocatableImpl()
167 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in evaluateAsRelocatableImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.h53 const MCValue &Target, const MCSubtargetInfo *STI,
57 const MCFixup &Fixup, const MCValue &Target,
61 const MCValue &Target, MutableArrayRef<char> Data,
69 const MCValue &Target,
H A DRISCVAsmBackend.cpp117 const MCValue &Target, in shouldForceRelocation()
528 const MCFragment *DF, const MCValue &Target, const MCSubtargetInfo *STI, in evaluateTargetFixup()
532 MCValue AUIPCTarget; in evaluateTargetFixup()
591 const MCValue &Target, in handleAddSubRelocations()
619 MCValue A = MCValue::get(Target.getSymA(), nullptr, Target.getConstant()); in handleAddSubRelocations()
620 MCValue B = MCValue::get(Target.getSymB()); in handleAddSubRelocations()
635 const MCValue &Target, in applyFixup()
713 MCValue NopBytes = MCValue::get(Count); in shouldInsertFixupForCodeAlign()
H A DRISCVMCExpr.cpp49 MCValue AUIPCLoc; in getPCRelHiFixup()
92 bool RISCVMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
102 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
217 MCValue Value; in evaluateAsConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCExpr.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()
96 Result = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in evaluateAsRelocatableImpl()
H A DAVRAsmBackend.h34 void adjustFixupValue(const MCFixup &Fixup, const MCValue &Target,
41 const MCValue &Target, MutableArrayRef<char> Data,
63 const MCValue &Target,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVEELFObjectWriter.cpp31 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
34 bool needsRelocateWithSymbol(const MCValue &Val, const MCSymbol &Sym,
39 unsigned VEELFObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target, in getRelocType()
137 bool VEELFObjectWriter::needsRelocateWithSymbol(const MCValue &, in needsRelocateWithSymbol() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFObjectWriter.cpp30 unsigned GetRelocTypeInner(const MCValue &Target, const MCFixup &Fixup,
38 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
41 bool needsRelocateWithSymbol(const MCValue &Val, const MCSymbol &Sym,
54 bool ARMELFObjectWriter::needsRelocateWithSymbol(const MCValue &, in needsRelocateWithSymbol() argument
73 unsigned ARMELFObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target, in getRelocType()
79 unsigned ARMELFObjectWriter::GetRelocTypeInner(const MCValue &Target, in GetRelocTypeInner()
H A DARMAsmBackend.h39 const MCValue &Target,
43 const MCValue &Target, uint64_t Value,
48 const MCValue &Target, MutableArrayRef<char> Data,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCExpr.cpp103 bool AArch64MCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
110 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
189 bool AArch64AuthMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
198 Res = MCValue::get(Res.getSymA(), nullptr, Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcELFObjectWriter.cpp32 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
35 bool needsRelocateWithSymbol(const MCValue &Val, const MCSymbol &Sym,
41 const MCValue &Target, in getRelocType()
126 bool SparcELFObjectWriter::needsRelocateWithSymbol(const MCValue &, in needsRelocateWithSymbol() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchELFObjectWriter.cpp27 bool needsRelocateWithSymbol(const MCValue &Val, const MCSymbol &Sym, in needsRelocateWithSymbol()
33 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
48 const MCValue &Target, in getRelocType()
H A DLoongArchAsmBackend.h43 const MCFixup &Fixup, const MCValue &Target,
47 const MCValue &Target, MutableArrayRef<char> Data,
61 const MCValue &Target,
H A DLoongArchAsmBackend.cpp148 const MCValue &Target, in applyFixup()
240 MCValue Value = MCValue::get(MCSym, nullptr, Hi << 8 | Lo); in shouldInsertFixupForCodeAlign()
248 const MCValue &Target, in shouldForceRelocation()
451 const MCValue &Target, in handleAddSubRelocations()
496 MCValue A = MCValue::get(Target.getSymA(), nullptr, Target.getConstant()); in handleAddSubRelocations()
497 MCValue B = MCValue::get(Target.getSymB()); in handleAddSubRelocations()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.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-14.2/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCExpr.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-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCExpr.cpp39 bool SystemZMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
46 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
H A DSystemZMCAsmBackend.cpp119 const MCValue &Target,
122 const MCValue &Target, MutableArrayRef<char> Data,
169 const MCValue &, in shouldForceRelocation() argument
176 const MCValue &Target, in applyFixup()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUAsmBackend.cpp36 const MCValue &Target, MutableArrayRef<char> Data,
56 const MCValue &Target,
140 const MCValue &Target, in applyFixup()
196 const MCValue &, in shouldForceRelocation() argument

123456