Searched refs:LanaiMCExpr (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 221 if (const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(Imm.Value)) in isHiImm16() 222 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_HI; in isHiImm16() 226 if (const LanaiMCExpr *SymbolRefExpr = in isHiImm16() 227 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isHiImm16() 228 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_HI; in isHiImm16() 258 if (const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(Imm.Value)) in isLoImm16() 259 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO; in isLoImm16() 263 if (const LanaiMCExpr *SymbolRefExpr = in isLoImm16() 264 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16() 265 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO; in isLoImm16() [all …]
|
/external/llvm/lib/Target/Lanai/MCTargetDesc/ |
D | LanaiMCExpr.cpp | 18 const LanaiMCExpr *LanaiMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create() 20 return new (Ctx) LanaiMCExpr(Kind, Expr); in create() 23 void LanaiMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl() 46 void LanaiMCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr() 50 bool LanaiMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
|
D | LanaiMCExpr.h | 18 class LanaiMCExpr : public MCTargetExpr { 26 explicit LanaiMCExpr(VariantKind Kind, const MCExpr *Expr) in LanaiMCExpr() function 30 static const LanaiMCExpr *create(VariantKind Kind, const MCExpr *Expr,
|
D | LanaiMCCodeEmitter.cpp | 96 if (const LanaiMCExpr *McExpr = dyn_cast<LanaiMCExpr>(Expr)) { in FixupKind() 97 LanaiMCExpr::VariantKind ExprKind = McExpr->getKind(); in FixupKind() 99 case LanaiMCExpr::VK_Lanai_None: in FixupKind() 101 case LanaiMCExpr::VK_Lanai_ABS_HI: in FixupKind() 103 case LanaiMCExpr::VK_Lanai_ABS_LO: in FixupKind() 130 assert(isa<LanaiMCExpr>(Expr) || Expr->getKind() == MCExpr::SymbolRef); in getMachineOpValue()
|
D | CMakeLists.txt | 6 LanaiMCExpr.cpp
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiMCInstLower.cpp | 70 LanaiMCExpr::VariantKind Kind; in LowerSymbolOperand() 74 Kind = LanaiMCExpr::VK_Lanai_None; in LowerSymbolOperand() 77 Kind = LanaiMCExpr::VK_Lanai_ABS_HI; in LowerSymbolOperand() 80 Kind = LanaiMCExpr::VK_Lanai_ABS_LO; in LowerSymbolOperand() 91 Expr = LanaiMCExpr::create(Kind, Expr, Ctx); in LowerSymbolOperand()
|