Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCExpr.cpp21 HexagonMCExpr *HexagonMCExpr::create(MCExpr const *Expr, MCContext &Ctx) { in create()
22 return new (Ctx) HexagonMCExpr(Expr); in create()
25 bool HexagonMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
31 void HexagonMCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr()
35 MCFragment *llvm::HexagonMCExpr::findAssociatedFragment() const { in findAssociatedFragment()
39 void HexagonMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const {} in fixELFSymbolsInTLSFixups()
41 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr()
43 void HexagonMCExpr::setMustExtend(bool Val) { in setMustExtend()
48 bool HexagonMCExpr::mustExtend() const { return MustExtend; } in mustExtend()
49 void HexagonMCExpr::setMustNotExtend(bool Val) { in setMustNotExtend()
[all …]
DHexagonMCExpr.h17 class HexagonMCExpr : public MCTargetExpr {
19 static HexagonMCExpr *create(MCExpr const *Expr, MCContext &Ctx);
38 HexagonMCExpr(MCExpr const *Expr);
DHexagonMCInstrInfo.cpp102 exOp.setExpr(HexagonMCExpr::create( in clampExtended()
244 const auto &HExpr = cast<HexagonMCExpr>(Expr); in getExpr()
463 if (isa<HexagonMCExpr>(MO.getExpr()) && in isConstExtended()
479 if (isa<HexagonMCExpr>(MO.getExpr()) && in isConstExtended()
694 HexagonMCExpr &HExpr = const_cast<HexagonMCExpr &>(cast<HexagonMCExpr>(Expr)); in setMustExtend()
699 HexagonMCExpr const &HExpr = cast<HexagonMCExpr>(Expr); in mustExtend()
703 HexagonMCExpr &HExpr = in setMustNotExtend()
704 const_cast<HexagonMCExpr &>(cast<HexagonMCExpr>(Expr)); in setMustNotExtend()
708 HexagonMCExpr const &HExpr = cast<HexagonMCExpr>(Expr); in mustNotExtend()
777 HexagonMCExpr &HExpr = in setS23_2_reloc()
[all …]
DCMakeLists.txt11 HexagonMCExpr.cpp
DHexagonMCCodeEmitter.cpp445 if (isa<HexagonMCExpr>(ME)) in getExprOpValue()
/external/llvm/lib/Target/Hexagon/
DHexagonMCInstLower.cpp84 ME = HexagonMCExpr::create(ME, MC); in GetSymbolRef()
123 auto Expr = HexagonMCExpr::create( in HexagonLowerToMC()
132 auto Expr = HexagonMCExpr::create( in HexagonLowerToMC()
141 Expr = HexagonMCExpr::create(Expr, AP.OutContext); in HexagonLowerToMC()
DHexagonAsmPrinter.cpp310 TmpInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create( in HexagonProcessInstruction()
396 MCOperand::createExpr(HexagonMCExpr::create(Sub, OutContext))); in HexagonProcessInstruction()
431 MCOperand::createExpr(HexagonMCExpr::create(Sub, OutContext))); in HexagonProcessInstruction()
457 MCOperand::createExpr(HexagonMCExpr::create(Sub, OutContext))); in HexagonProcessInstruction()
489 TmpInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create(MOne, OutContext))); in HexagonProcessInstruction()
492 TmpInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create(Zero, OutContext))); in HexagonProcessInstruction()
546 Imm.setExpr(HexagonMCExpr::create( in HexagonProcessInstruction()
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp364 HexagonMCExpr *Expr = in addSignedImmOperands()
365 const_cast<HexagonMCExpr *>(cast<HexagonMCExpr>(getImm())); in addSignedImmOperands()
759 NewInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create( in canonicalizeImmediates()
763 if (I.isExpr() && cast<HexagonMCExpr>(I.getExpr())->signMismatch() && in canonicalizeImmediates()
899 Subsection = HexagonMCExpr::create( in ParseDirectiveSubsection()
1319 Expr = HexagonMCExpr::create(Expr, getContext()); in parseExpressionOrOperand()
1435 Expr = HexagonMCExpr::create(Expr, Context); in parseInstruction()
1569 MO.setExpr(HexagonMCExpr::create(MCBinaryExpr::createSub( in processInstruction()
1591 MO.setExpr(HexagonMCExpr::create(MCBinaryExpr::createSub( in processInstruction()
1776 HexagonMCExpr::create(MCConstantExpr::create(sVal, Context), Context))); in processInstruction()
[all …]