| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCExpr.h | 35 class MCExpr { 75 MCExpr(const MCExpr &) = delete; 76 MCExpr &operator=(const MCExpr &) = delete; 158 : MCExpr(MCExpr::Constant, SMLoc(), in MCConstantExpr() 435 const MCExpr *Expr; 438 : MCExpr(MCExpr::Unary, Loc, Op), Expr(Expr) {} in MCUnaryExpr() 513 MCBinaryExpr(Opcode Op, const MCExpr *LHS, const MCExpr *RHS, 515 : MCExpr(MCExpr::Binary, Loc, Op), LHS(LHS), RHS(RHS) {} in MCExpr() function 540 static const MCBinaryExpr *createEQ(const MCExpr *LHS, const MCExpr *RHS, in createEQ() 545 static const MCBinaryExpr *createGT(const MCExpr *LHS, const MCExpr *RHS, in createGT() [all …]
|
| H A D | MCObjectStreamer.h | 28 class MCExpr; variable 61 const MCExpr *Value; 141 void emitULEB128Value(const MCExpr *Value) override; 142 void emitSLEB128Value(const MCExpr *Value) override; 188 void emitDTPRel32Value(const MCExpr *Value) override; 189 void emitDTPRel64Value(const MCExpr *Value) override; 190 void emitTPRel32Value(const MCExpr *Value) override; 191 void emitTPRel64Value(const MCExpr *Value) override; 192 void emitGPRel32Value(const MCExpr *Value) override; 193 void emitGPRel64Value(const MCExpr *Value) override; [all …]
|
| H A D | ConstantPools.h | 25 class MCExpr; variable 32 ConstantPoolEntry(MCSymbol *L, const MCExpr *Val, unsigned Sz, SMLoc Loc_) in ConstantPoolEntry() 36 const MCExpr *Value; 58 const MCExpr *addEntry(const MCExpr *Value, MCContext &Context, 92 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
|
| H A D | MCStreamer.h | 45 class MCExpr; variable 121 virtual void emitValue(const MCExpr *Value); 192 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc); 277 void visitUsedExpr(const MCExpr &Expr); 435 bool subSection(const MCExpr *Subsection) { in subSection() 748 virtual void emitULEB128Value(const MCExpr *Value); 750 virtual void emitSLEB128Value(const MCExpr *Value); 784 virtual void emitTPRel64Value(const MCExpr *Value); 791 virtual void emitTPRel32Value(const MCExpr *Value); 798 virtual void emitGPRel64Value(const MCExpr *Value); [all …]
|
| H A D | MCSectionGOFF.h | 24 class MCExpr; variable 29 const MCExpr *SubsectionId; 32 MCSectionGOFF(StringRef Name, SectionKind K, MCSection *P, const MCExpr *Sub) in MCSectionGOFF() 38 const MCExpr *Subsection) const override { in printSwitchToSection() 47 const MCExpr *getSubsectionId() const { return SubsectionId; } in getSubsectionId()
|
| H A D | MCFragment.h | 348 const MCExpr &NumValues; 361 const MCExpr &getNumValues() const { return NumValues; } in getNumValues() 405 const MCExpr *Offset; 416 const MCExpr &getOffset() const { return *Offset; } in getOffset() 432 const MCExpr *Value; 442 const MCExpr &getValue() const { return *Value; } in getValue() 463 const MCExpr *AddrDelta; 473 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta() 483 const MCExpr *AddrDelta; 490 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCExpr.cpp | 23 HexagonMCExpr *HexagonMCExpr::create(MCExpr const *Expr, MCContext &Ctx) { in create() 41 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl() 43 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl() 46 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl() 49 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl() 55 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl() 72 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl() 83 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr() 102 bool HexagonMCExpr::classof(MCExpr const *E) { in classof() 103 return E->getKind() == MCExpr::Target; in classof() [all …]
|
| H A D | HexagonMCExpr.h | 17 static HexagonMCExpr *create(MCExpr const *Expr, MCContext &Ctx); 24 static bool classof(MCExpr const *E); 25 MCExpr const *getExpr() const; 36 HexagonMCExpr(MCExpr const *Expr); 37 MCExpr const *Expr;
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCMCExpr.h | 35 const MCExpr *Expr; 39 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr) in PPCMCExpr() 46 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr, 49 static const PPCMCExpr *createLo(const MCExpr *Expr, MCContext &Ctx) { in createLo() 53 static const PPCMCExpr *createHi(const MCExpr *Expr, MCContext &Ctx) { in createHi() 57 static const PPCMCExpr *createHa(const MCExpr *Expr, MCContext &Ctx) { in createHa() 69 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() 87 static bool classof(const MCExpr *E) { in classof() 88 return E->getKind() == MCExpr::Target; in classof()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMMCExpr.h | 26 const MCExpr *Expr; 28 explicit ARMMCExpr(VariantKind Kind, const MCExpr *Expr) in ARMMCExpr() 35 static const ARMMCExpr *create(VariantKind Kind, const MCExpr *Expr, 38 static const ARMMCExpr *createUpper16(const MCExpr *Expr, MCContext &Ctx) { in createUpper16() 42 static const ARMMCExpr *createLower16(const MCExpr *Expr, MCContext &Ctx) { in createLower16() 54 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() 72 static bool classof(const MCExpr *E) { in classof() 73 return E->getKind() == MCExpr::Target; in classof()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | WinException.h | 22 class MCExpr; variable 73 SmallVectorImpl<std::pair<const MCExpr *, int>> &IPToStateTable); 80 const MCExpr *create32bitRef(const MCSymbol *Value); 81 const MCExpr *create32bitRef(const GlobalValue *GV); 82 const MCExpr *getLabel(const MCSymbol *Label); 83 const MCExpr *getLabelPlusOne(const MCSymbol *Label); 84 const MCExpr *getOffset(const MCSymbol *OffsetOf, const MCSymbol *OffsetFrom); 85 const MCExpr *getOffsetPlusOne(const MCSymbol *OffsetOf,
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86TargetObjectFile.cpp | 18 const MCExpr *X86_64MachoTargetObjectFile::getTTypeGlobalReference( in getTTypeGlobalReference() 26 const MCExpr *Res = in getTTypeGlobalReference() 28 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference() 42 const MCExpr *X86_64MachoTargetObjectFile::getIndirectSymViaGOTPCRel( in getIndirectSymViaGOTPCRel() 49 const MCExpr *Res = in getIndirectSymViaGOTPCRel() 51 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel() 55 const MCExpr *X86ELFTargetObjectFile::getDebugThreadLocalSymbol( in getDebugThreadLocalSymbol()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsMCExpr.h | 52 const MCExpr *Expr; 54 explicit MipsMCExpr(MipsExprKind Kind, const MCExpr *Expr) in MipsMCExpr() 58 static const MipsMCExpr *create(MipsExprKind Kind, const MCExpr *Expr, 60 static const MipsMCExpr *createGpOff(MipsExprKind Kind, const MCExpr *Expr, 67 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() 80 static bool classof(const MCExpr *E) { in classof() 81 return E->getKind() == MCExpr::Target; in classof()
|
| H A D | MipsMCExpr.cpp | 28 const MCExpr *Expr, MCContext &Ctx) { in create() 33 const MCExpr *Expr, MCContext &Ctx) { in createGpOff() 138 const MCExpr *SubExpr = in evaluateAsRelocatableImpl() 224 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl() 226 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl() 229 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl() 231 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl() 237 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl() 244 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/MCTargetDesc/ |
| H A D | LanaiMCExpr.h | 23 const MCExpr *Expr; 25 explicit LanaiMCExpr(VariantKind Kind, const MCExpr *Expr) in LanaiMCExpr() 29 static const LanaiMCExpr *create(VariantKind Kind, const MCExpr *Expr, 36 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() 49 static bool classof(const MCExpr *E) { in classof() 50 return E->getKind() == MCExpr::Target; in classof()
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYMCExpr.h | 41 const MCExpr *Expr; 43 explicit CSKYMCExpr(VariantKind Kind, const MCExpr *Expr) in CSKYMCExpr() 47 static const CSKYMCExpr *create(const MCExpr *Expr, VariantKind Kind, 54 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() 68 static bool classof(const MCExpr *E) { in classof() 69 return E->getKind() == MCExpr::Target; in classof()
|
| H A D | CSKYMCExpr.cpp | 22 const CSKYMCExpr *CSKYMCExpr::create(const MCExpr *Expr, VariantKind Kind, in create() 70 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl() 72 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl() 75 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl() 78 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl() 85 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl() 93 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
|
| H A D | CSKYTargetStreamer.h | 34 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Value, 35 unsigned Size, SMLoc Loc, const MCExpr *AdjustExpr); 55 DenseMap<SymbolIndex, const MCExpr *> ConstantMap; 69 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc, 70 const MCExpr *AdjustExpr = nullptr);
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64MCExpr.cpp | 27 const AArch64MCExpr *AArch64MCExpr::create(const MCExpr *Expr, VariantKind Kind, in create() 115 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl() 117 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl() 120 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl() 123 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl() 130 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl() 138 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/MCTargetDesc/ |
| H A D | VEMCExpr.h | 46 const MCExpr *Expr; 48 explicit VEMCExpr(VariantKind Kind, const MCExpr *Expr) in VEMCExpr() 55 static const VEMCExpr *create(VariantKind Kind, const MCExpr *Expr, 65 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() 81 static bool classof(const MCExpr *E) { in classof() 82 return E->getKind() == MCExpr::Target; in classof()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVMCExpr.h | 44 const MCExpr *Expr; 49 explicit RISCVMCExpr(const MCExpr *Expr, VariantKind Kind) in RISCVMCExpr() 53 static const RISCVMCExpr *create(const MCExpr *Expr, VariantKind Kind, 58 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() 79 static bool classof(const MCExpr *E) { in classof() 80 return E->getKind() == MCExpr::Target; in classof()
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/MCTargetDesc/ |
| H A D | AVRMCExpr.h | 42 static const AVRMCExpr *create(VariantKind Kind, const MCExpr *Expr, 49 const MCExpr *getSubExpr() const { return SubExpr; } in getSubExpr() 70 static bool classof(const MCExpr *E) { in classof() 71 return E->getKind() == MCExpr::Target; in classof() 81 const MCExpr *SubExpr; 85 explicit AVRMCExpr(VariantKind Kind, const MCExpr *Expr, bool Negated) in AVRMCExpr()
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 79 const MCExpr *extractModifierFromExpr(const MCExpr *E, 81 const MCExpr *fixupVariantKind(const MCExpr *E); 180 const MCExpr *Val; 186 const MCExpr *Index; 199 const MCExpr *Val; 1043 const MCExpr * 1050 case MCExpr::Target: in extractModifierFromExpr() 1149 const MCExpr *VEAsmParser::fixupVariantKind(const MCExpr *E) { in fixupVariantKind() 1153 case MCExpr::Target: in fixupVariantKind() 1405 const MCExpr *EVal; in parseMImmOperand() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Sparc/MCTargetDesc/ |
| H A D | SparcMCExpr.h | 71 const MCExpr *Expr; 73 explicit SparcMCExpr(VariantKind Kind, const MCExpr *Expr) in SparcMCExpr() 80 static const SparcMCExpr *create(VariantKind Kind, const MCExpr *Expr, 90 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() 107 static bool classof(const MCExpr *E) { in classof() 108 return E->getKind() == MCExpr::Target; in classof()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetObjectFile.cpp | 32 const MCExpr *AArch64_MachoTargetObjectFile::getTTypeGlobalReference( in getTTypeGlobalReference() 41 const MCExpr *Res = in getTTypeGlobalReference() 45 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getTTypeGlobalReference() 59 const MCExpr *AArch64_MachoTargetObjectFile::getIndirectSymViaGOTPCRel( in getIndirectSymViaGOTPCRel() 66 const MCExpr *Res = in getIndirectSymViaGOTPCRel() 70 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getIndirectSymViaGOTPCRel()
|