Home
last modified time | relevance | path

Searched refs:AVRMCExpr (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCExpr.cpp23 AVRMCExpr::VariantKind VariantKind;
25 {"lo8", AVRMCExpr::VK_AVR_LO8}, {"hi8", AVRMCExpr::VK_AVR_HI8},
26 {"hh8", AVRMCExpr::VK_AVR_HH8}, // synonym with hlo8
27 {"hlo8", AVRMCExpr::VK_AVR_HH8}, {"hhi8", AVRMCExpr::VK_AVR_HHI8},
29 {"pm_lo8", AVRMCExpr::VK_AVR_PM_LO8}, {"pm_hi8", AVRMCExpr::VK_AVR_PM_HI8},
30 {"pm_hh8", AVRMCExpr::VK_AVR_PM_HH8},
32 {"lo8_gs", AVRMCExpr::VK_AVR_LO8_GS}, {"hi8_gs", AVRMCExpr::VK_AVR_HI8_GS},
33 {"gs", AVRMCExpr::VK_AVR_GS},
38 const AVRMCExpr *AVRMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create()
40 return new (Ctx) AVRMCExpr(Kind, Expr, Negated); in create()
[all …]
DAVRMCELFStreamer.cpp25 AVRMCExpr::VariantKind ModifierKind) { in EmitValueForModiferKind()
27 if (ModifierKind == AVRMCExpr::VK_AVR_None) { in EmitValueForModiferKind()
33 } else if (ModifierKind == AVRMCExpr::VK_AVR_LO8) in EmitValueForModiferKind()
35 else if (ModifierKind == AVRMCExpr::VK_AVR_HI8) in EmitValueForModiferKind()
37 else if (ModifierKind == AVRMCExpr::VK_AVR_HH8) in EmitValueForModiferKind()
DAVRMCExpr.h19 class AVRMCExpr : public MCTargetExpr {
41 static const AVRMCExpr *create(VariantKind Kind, const MCExpr *Expr,
84 explicit AVRMCExpr(VariantKind Kind, const MCExpr *Expr, bool Negated) in AVRMCExpr() function
86 ~AVRMCExpr() {} in ~AVRMCExpr()
DAVRMCELFStreamer.h46 AVRMCExpr::VariantKind ModifierKind = AVRMCExpr::VK_AVR_None);
DAVRMCCodeEmitter.cpp187 if (isa<AVRMCExpr>(MO.getExpr())) { in encodeImm()
235 AVRMCExpr const *AVRExpr = cast<AVRMCExpr>(Expr); in getExprOpValue()
DCMakeLists.txt9 AVRMCExpr.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRMCInstLower.cpp44 Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_PM_LO8, Expr, IsNegated, Ctx); in lowerSymbolOperand()
46 Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_LO8, Expr, IsNegated, Ctx); in lowerSymbolOperand()
51 Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_PM_HI8, Expr, IsNegated, Ctx); in lowerSymbolOperand()
53 Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_HI8, Expr, IsNegated, Ctx); in lowerSymbolOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp421 AVRMCExpr::VariantKind ModifierKind = AVRMCExpr::VK_AVR_None; in tryParseRelocExpression()
457 ModifierKind = AVRMCExpr::getKindByName(ModifierName.str().c_str()); in tryParseRelocExpression()
459 if (ModifierKind != AVRMCExpr::VK_AVR_None) { in tryParseRelocExpression()
465 ModifierKind = AVRMCExpr::getKindByName(GSModName.c_str()); in tryParseRelocExpression()
466 if (ModifierKind != AVRMCExpr::VK_AVR_None) in tryParseRelocExpression()
494 MCExpr const *Expression = AVRMCExpr::create(ModifierKind, InnerExpression, in tryParseRelocExpression()
654 AVRMCExpr::VK_AVR_None); in parseLiteralValues()
661 AVRMCExpr::VariantKind ModifierKind = in parseLiteralValues()
662 AVRMCExpr::getKindByName(ModifierName.str().c_str()); in parseLiteralValues()
663 if (ModifierKind != AVRMCExpr::VK_AVR_None) { in parseLiteralValues()