Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCValue.h37 class MCValue {
43 MCValue() = default;
60 static MCValue get(const MCSymbolRefExpr *SymA,
63 MCValue R;
71 static MCValue get(int64_t Val) { in get()
72 MCValue R; in get()
H A DMCAsmBackend.h31 class MCValue; variable
93 const MCValue &Target) { in shouldForceRelocation()
116 const MCValue &Target, uint64_t &Value, in evaluateTargetFixup()
128 const MCValue &Target, MutableArrayRef<char> Data,
H A DMCWinCOFFObjectWriter.h20 class MCValue; variable
40 virtual unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
H A DMCWasmObjectWriter.h18 class MCValue; variable
36 virtual unsigned getRelocType(const MCValue &Target, const MCFixup &Fixup,
H A DMCObjectWriter.h23 class MCValue; variable
64 const MCFixup &Fixup, MCValue Target,
/netbsd-src/external/apache2/llvm/dist/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()
116 Res = MCValue::get(Result); in evaluateAsRelocatableImpl()
158 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in evaluateAsRelocatableImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCExpr.cpp566 MCValue Value; in evaluateAsAbsolute()
713 const SectionAddrMap *Addrs, bool InSet, const MCValue &LHS, in EvaluateSymbolicAdd()
715 int64_t RHS_Cst, MCValue &Res) { in EvaluateSymbolicAdd()
762 Res = MCValue::get(A, B, Result_Cst); in EvaluateSymbolicAdd()
766 bool MCExpr::evaluateAsRelocatable(MCValue &Res, in evaluateAsRelocatable()
774 bool MCExpr::evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const { in evaluateAsValue()
793 bool MCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
806 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue()); in evaluateAsRelocatableImpl()
822 Res = MCValue::get(SRE, nullptr, 0); in evaluateAsRelocatableImpl()
832 MCValue::get(MCSymbolRefExpr::create(&Res.getSymA()->getSymbol(), 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()
H A DMCAssembler.cpp140 MCValue V; in isThumbFunc()
194 MCValue &Target, uint64_t &Value, in evaluateFixup()
351 MCValue Value; in computeFragmentSize()
782 std::tuple<MCValue, uint64_t, bool>
786 MCValue Target; in handleFixup()
803 MCValue TargetAdd = in handleFixup()
804 MCValue::get(Target.getSymA(), nullptr, Target.getConstant()); in handleFixup()
808 MCValue TargetSub = MCValue::get(Target.getSymB()); in handleFixup()
935 MCValue Target; in layout()
958 MCValue Target; in fixupNeedsRelaxation()
/netbsd-src/external/apache2/llvm/dist/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()
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,
61 const MCValue &Target) override;
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.h45 const MCValue &Target) override;
48 const MCValue &Target, uint64_t Value,
53 const MCValue &Target, MutableArrayRef<char> Data,
H A DARMMachObjectWriter.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()
H A DARMELFObjectWriter.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()
H A DARMWinCOFFObjectWriter.cpp36 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
46 const MCValue &Target, in getRelocType()
/netbsd-src/external/apache2/llvm/dist/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()
H A DMipsAsmBackend.h42 const MCValue &Target, MutableArrayRef<char> Data,
69 const MCValue &Target) override;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.h70 const MCValue &Target, uint64_t &Value,
74 const MCValue &Target, MutableArrayRef<char> Data,
82 const MCValue &Target) override;
H A DRISCVAsmBackend.cpp95 const MCValue &Target) { in shouldForceRelocation()
324 const MCFragment *DF, const MCValue &Target, uint64_t &Value, in evaluateTargetFixup()
328 MCValue AUIPCTarget; in evaluateTargetFixup()
384 const MCValue &Target, in applyFixup()
459 MCValue NopBytes = MCValue::get(Count); in shouldInsertFixupForCodeAlign()
H A DRISCVMCExpr.cpp50 MCValue AUIPCLoc; in getPCRelHiFixup()
92 bool RISCVMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
217 MCValue Value; in evaluateAsConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYELFObjectWriter.cpp26 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
33 const MCValue &Target, in getRelocType()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCExpr.cpp49 bool LanaiMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
56 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
H A DLanaiELFObjectWriter.cpp27 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
40 const MCValue & /*Target*/, in getRelocType() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp28 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
38 unsigned BPFELFObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target, in getRelocType()

12345