| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCExpr.h | 35 class MCExpr { 61 explicit MCExpr(ExprKind Kind, SMLoc Loc, unsigned SubclassData = 0) 75 MCExpr(const MCExpr &) = delete; 76 MCExpr &operator=(const MCExpr &) = delete; 138 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) { 144 class MCConstantExpr : public MCExpr { 158 : MCExpr(MCExpr::Constant, SMLoc(), in MCConstantExpr() 182 static bool classof(const MCExpr *E) { in classof() 183 return E->getKind() == MCExpr::Constant; in classof() 192 class MCSymbolRefExpr : public MCExpr { [all …]
|
| H A D | MCObjectStreamer.h | 28 class MCExpr; variable 61 const MCExpr *Value; 108 bool changeSectionImpl(MCSection *Section, const MCExpr *Subsection); 136 void emitAssignment(MCSymbol *Symbol, const MCExpr *Value) override; 138 const MCExpr *Value) override; 139 void emitValueImpl(const MCExpr *Value, unsigned Size, 141 void emitULEB128Value(const MCExpr *Value) override; 142 void emitSLEB128Value(const MCExpr *Value) override; 144 void changeSection(MCSection *Section, const MCExpr *Subsection) override; 160 void emitValueToOffset(const MCExpr *Offset, unsigned char Value, [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 66 using MCSectionSubPair = std::pair<MCSection *, const MCExpr *>; 106 virtual void emitAssignment(MCSymbol *Symbol, const MCExpr *Value); 119 const MCExpr *SubSection, raw_ostream &OS); 121 virtual void emitValue(const MCExpr *Value); 170 virtual void emitThumbSet(MCSymbol *Symbol, const MCExpr *Value); 192 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc); 277 void visitUsedExpr(const MCExpr &Expr); 408 virtual void changeSection(MCSection *, const MCExpr *); 435 bool subSection(const MCExpr *Subsection) { in subSection() [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; 354 MCFillFragment(uint64_t Value, uint8_t VSize, const MCExpr &NumValues, 361 const MCExpr &getNumValues() const { return NumValues; } in getNumValues() 405 const MCExpr *Offset; 411 MCOrgFragment(const MCExpr &Offset, int8_t Value, SMLoc Loc, 416 const MCExpr &getOffset() const { return *Offset; } in getOffset() 432 const MCExpr *Value; 437 MCLEBFragment(const MCExpr &Value_, bool IsSigned_, MCSection *Sec = nullptr) 442 const MCExpr &getValue() const { return *Value; } in getValue() 463 const MCExpr *AddrDelta; [all …]
|
| /openbsd-src/gnu/llvm/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;
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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,
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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);
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/MCTargetDesc/ |
| H A D | LoongArchMCExpr.h | 68 const MCExpr *Expr; 71 explicit LoongArchMCExpr(const MCExpr *Expr, VariantKind Kind) in LoongArchMCExpr() 75 static const LoongArchMCExpr *create(const MCExpr *Expr, VariantKind Kind, 79 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() 91 static bool classof(const MCExpr *E) { in classof() 92 return E->getKind() == MCExpr::Target; in classof()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 80 const MCExpr *extractModifierFromExpr(const MCExpr *E, 82 const MCExpr *fixupVariantKind(const MCExpr *E); 83 bool parseExpression(const MCExpr *&EVal); 181 const MCExpr *Val; 187 const MCExpr *Index; 188 const MCExpr *Offset; 200 const MCExpr *Val; 353 const MCExpr *getImm() const { in getImm() 371 const MCExpr *getMemIndex() const { in getMemIndex() 377 const MCExpr *getMemOffset() const { in getMemOffset() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|