Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCExpr.cpp97 bool AMDGPUMCExpr::evaluateExtraSGPRs(MCValue &Res, const MCAssembler *Asm, in evaluateExtraSGPRs()
100 MCValue MCVal; in evaluateExtraSGPRs()
122 Res = MCValue::get(ExtraSGPRs); in evaluateExtraSGPRs()
126 bool AMDGPUMCExpr::evaluateTotalNumVGPR(MCValue &Res, const MCAssembler *Asm, in evaluateTotalNumVGPR()
129 MCValue MCVal; in evaluateTotalNumVGPR()
149 Res = MCValue::get(TotalNum); in evaluateTotalNumVGPR()
153 bool AMDGPUMCExpr::evaluateAlignTo(MCValue &Res, const MCAssembler *Asm, in evaluateAlignTo()
156 MCValue MCVal; in evaluateAlignTo()
170 Res = MCValue::get(alignTo(Value, Align)); in evaluateAlignTo()
174 bool AMDGPUMCExpr::evaluateOccupancy(MCValue &Res, const MCAssembler *Asm, in evaluateOccupancy()
[all …]
H A DAMDGPUMCExpr.h51 bool evaluateExtraSGPRs(MCValue &Res, const MCAssembler *Asm,
53 bool evaluateTotalNumVGPR(MCValue &Res, const MCAssembler *Asm,
55 bool evaluateAlignTo(MCValue &Res, const MCAssembler *Asm,
57 bool evaluateOccupancy(MCValue &Res, const MCAssembler *Asm,
97 bool evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm,
H A DAMDGPUAsmBackend.cpp37 const MCValue &Target, MutableArrayRef<char> Data,
56 const MCValue &Target,
138 const MCValue &Target, in applyFixup()
194 const MCValue &, in shouldForceRelocation() argument
/freebsd/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.h36 class MCValue; variable
96 const MCValue &Target, in shouldForceRelocation()
118 const MCValue &Target, in evaluateTargetFixup()
127 const MCValue &Target, in handleAddSubRelocations()
139 const MCValue &Target, MutableArrayRef<char> Data,
H A DMCELFObjectWriter.h33 class MCValue; variable
93 virtual unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
96 virtual bool needsRelocateWithSymbol(const MCValue &Val, const MCSymbol &Sym,
189 const MCFixup &Fixup, MCValue Target,
200 bool shouldRelocateWithSymbol(const MCAssembler &Asm, const MCValue &Val,
H A DMCWinCOFFObjectWriter.h20 class MCValue; variable
40 virtual unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
72 const MCFixup &Fixup, MCValue Target,
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp571 MCValue Value; in evaluateAsAbsolute()
736 const MCValue &LHS, const MCValue &RHS, in evaluateSymbolicAdd()
737 MCValue &Res) { in evaluateSymbolicAdd()
785 Res = MCValue::get(A, B, Result_Cst); in evaluateSymbolicAdd()
789 bool MCExpr::evaluateAsRelocatable(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatable()
794 bool MCExpr::evaluateAsValue(MCValue &Res, const MCAssembler &Asm) const { in evaluateAsValue()
814 bool MCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
824 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue()); in evaluateAsRelocatableImpl()
841 Res = MCValue::get(SRE, nullptr, 0); in evaluateAsRelocatableImpl()
851 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCExpr.cpp63 MCValue Value; in evaluateAsConstant()
102 bool PPCMCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
104 MCValue Value; in evaluateAsRelocatableImpl()
123 Res = MCValue::get(Result); in evaluateAsRelocatableImpl()
165 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in evaluateAsRelocatableImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCExpr.cpp54 MCValue Value; in evaluateAsConstant()
70 bool AVRMCExpr::evaluateAsRelocatableImpl(MCValue &Result, in evaluateAsRelocatableImpl()
73 MCValue Value; in evaluateAsRelocatableImpl()
80 Result = MCValue::get(evaluateAsInt64(Value.getConstant())); in evaluateAsRelocatableImpl()
95 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,
56 const MCValue &Target,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.h51 const MCFragment *DF, const MCValue &Target,
56 const MCFixup &Fixup, const MCValue &Target,
60 const MCValue &Target, MutableArrayRef<char> Data,
68 const MCValue &Target,
H A DRISCVAsmBackend.cpp116 const MCValue &Target, in shouldForceRelocation()
522 const MCValue &Target, in evaluateTargetFixup()
527 MCValue AUIPCTarget; in evaluateTargetFixup()
582 const MCValue &Target, in handleAddSubRelocations()
610 MCValue A = MCValue::get(Target.getSymA(), nullptr, Target.getConstant()); in handleAddSubRelocations()
611 MCValue B = MCValue::get(Target.getSymB()); in handleAddSubRelocations()
626 const MCValue &Target, in applyFixup()
703 MCValue NopBytes = MCValue::get(Count); in shouldInsertFixupForCodeAlign()
H A DRISCVMCExpr.cpp48 MCValue AUIPCLoc; in getPCRelHiFixup()
91 bool RISCVMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
101 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
216 MCValue Value; in evaluateAsConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUDelayedMCExpr.cpp16 MCValue Val) { in getNode()
32 MCValue Res; in assignDocNode()
46 MCValue Res; in resolveDelayedExpressions()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchAsmBackend.cpp147 const MCValue &Target, in applyFixup()
238 return MCValue::get(MCSym, nullptr, in shouldInsertFixupForCodeAlign()
243 MCValue Value = MaxBytesToEmit >= InsertedNopBytes in shouldInsertFixupForCodeAlign()
244 ? MCValue::get(InsertedNopBytes) in shouldInsertFixupForCodeAlign()
253 const MCValue &Target, in shouldForceRelocation()
454 const MCValue &Target, in handleAddSubRelocations()
499 MCValue A = MCValue::get(Target.getSymA(), nullptr, Target.getConstant()); in handleAddSubRelocations()
500 MCValue B = MCValue::get(Target.getSymB()); in handleAddSubRelocations()
H A DLoongArchAsmBackend.h43 const MCFixup &Fixup, const MCValue &Target,
47 const MCValue &Target, MutableArrayRef<char> Data,
60 const MCValue &Target,
/freebsd/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/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.h39 const MCValue &Target,
43 const MCValue &Target, uint64_t Value,
48 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,
42 bool needsRelocateWithSymbol(const MCValue &Val, const MCSymbol &Sym,
55 bool ARMELFObjectWriter::needsRelocateWithSymbol(const MCValue &, in needsRelocateWithSymbol() argument
74 unsigned ARMELFObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target, in getRelocType()
80 unsigned ARMELFObjectWriter::GetRelocTypeInner(const MCValue &Target, in GetRelocTypeInner()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp31 MCValue Target,
38 MCValue Target,
45 MCValue Target,
49 MCValue Target, uint64_t &FixedValue);
57 MCValue Target, uint64_t &FixedValue) override { in recordRelocation()
97 const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) { in RecordX86_64Relocation()
357 MCValue Target, in recordScatteredRelocation()
456 MCValue Target, in recordTLVPRelocation()
495 MCValue Target, in RecordX86Relocation()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcELFObjectWriter.cpp34 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
37 bool needsRelocateWithSymbol(const MCValue &Val, const MCSymbol &Sym,
43 const MCValue &Target, in getRelocType()
128 bool SparcELFObjectWriter::needsRelocateWithSymbol(const MCValue &, in needsRelocateWithSymbol() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCExpr.cpp132 bool MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
142 Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), in evaluateAsRelocatableImpl()
202 Res = MCValue::get(AbsVal); in evaluateAsRelocatableImpl()
213 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCAsmBackend.cpp119 const MCValue &Target,
122 const MCValue &Target, MutableArrayRef<char> Data,
164 const MCValue &, in shouldForceRelocation() argument
171 const MCValue &Target, in applyFixup()

123456