Home
last modified time | relevance | path

Searched refs:MipsMCExpr (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp40 MipsMCExpr::MipsExprKind TargetKind = MipsMCExpr::MEK_None; in LowerSymbolOperand()
50 TargetKind = MipsMCExpr::MEK_GPREL; in LowerSymbolOperand()
53 TargetKind = MipsMCExpr::MEK_GOT_CALL; in LowerSymbolOperand()
56 TargetKind = MipsMCExpr::MEK_GOT; in LowerSymbolOperand()
59 TargetKind = MipsMCExpr::MEK_HI; in LowerSymbolOperand()
62 TargetKind = MipsMCExpr::MEK_LO; in LowerSymbolOperand()
65 TargetKind = MipsMCExpr::MEK_TLSGD; in LowerSymbolOperand()
68 TargetKind = MipsMCExpr::MEK_TLSLDM; in LowerSymbolOperand()
71 TargetKind = MipsMCExpr::MEK_DTPREL_HI; in LowerSymbolOperand()
74 TargetKind = MipsMCExpr::MEK_DTPREL_LO; in LowerSymbolOperand()
[all …]
DMipsMCInstLower.h45 MipsMCExpr::MipsExprKind Kind) const;
/external/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp40 MipsMCExpr::MipsExprKind TargetKind = MipsMCExpr::MEK_None; in LowerSymbolOperand()
50 TargetKind = MipsMCExpr::MEK_GPREL; in LowerSymbolOperand()
53 TargetKind = MipsMCExpr::MEK_GOT_CALL; in LowerSymbolOperand()
56 TargetKind = MipsMCExpr::MEK_GOT; in LowerSymbolOperand()
59 TargetKind = MipsMCExpr::MEK_HI; in LowerSymbolOperand()
62 TargetKind = MipsMCExpr::MEK_LO; in LowerSymbolOperand()
65 TargetKind = MipsMCExpr::MEK_TLSGD; in LowerSymbolOperand()
68 TargetKind = MipsMCExpr::MEK_TLSLDM; in LowerSymbolOperand()
71 TargetKind = MipsMCExpr::MEK_DTPREL_HI; in LowerSymbolOperand()
74 TargetKind = MipsMCExpr::MEK_DTPREL_LO; in LowerSymbolOperand()
[all …]
DMipsMCInstLower.h40 MipsMCExpr::MipsExprKind Kind) const;
43 MipsMCExpr::MipsExprKind Kind) const;
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp22 const MipsMCExpr *MipsMCExpr::create(MipsMCExpr::MipsExprKind Kind, in create()
24 return new (Ctx) MipsMCExpr(Kind, Expr); in create()
27 const MipsMCExpr *MipsMCExpr::createGpOff(MipsMCExpr::MipsExprKind Kind, in createGpOff()
32 void MipsMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl()
123 MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
129 cast<MipsMCExpr>(cast<MipsMCExpr>(getSubExpr())->getSubExpr()) in evaluateAsRelocatableImpl()
205 void MipsMCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr()
212 fixELFSymbolsInTLSFixupsImpl(cast<MipsMCExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
235 void MipsMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
263 if (const MipsMCExpr *E = dyn_cast<const MipsMCExpr>(getSubExpr())) in fixELFSymbolsInTLSFixups()
[all …]
DMipsMCCodeEmitter.cpp633 const MipsMCExpr *MipsExpr = cast<MipsMCExpr>(Expr); in getExprOpValue()
637 case MipsMCExpr::MEK_NEG: in getExprOpValue()
638 case MipsMCExpr::MEK_None: in getExprOpValue()
639 case MipsMCExpr::MEK_Special: in getExprOpValue()
642 case MipsMCExpr::MEK_CALL_HI16: in getExprOpValue()
645 case MipsMCExpr::MEK_CALL_LO16: in getExprOpValue()
648 case MipsMCExpr::MEK_DTPREL_HI: in getExprOpValue()
652 case MipsMCExpr::MEK_DTPREL_LO: in getExprOpValue()
656 case MipsMCExpr::MEK_GOTTPREL: in getExprOpValue()
659 case MipsMCExpr::MEK_GOT: in getExprOpValue()
[all …]
DMipsMCExpr.h19 class MipsMCExpr : public MCTargetExpr {
54 explicit MipsMCExpr(MipsExprKind Kind, const MCExpr *Expr) in MipsMCExpr() function
58 static const MipsMCExpr *create(MipsExprKind Kind, const MCExpr *Expr,
60 static const MipsMCExpr *createGpOff(MipsExprKind Kind, const MCExpr *Expr,
DMipsTargetStreamer.cpp1019 const MCExpr *HiSym = MipsMCExpr::create( in emitDirectiveCpLoad()
1020 MipsMCExpr::MEK_HI, in emitDirectiveCpLoad()
1032 const MCExpr *LoSym = MipsMCExpr::create( in emitDirectiveCpLoad()
1033 MipsMCExpr::MEK_LO, in emitDirectiveCpLoad()
1096 const MipsMCExpr *HiExpr = MipsMCExpr::create( in emitDirectiveCpsetup()
1097 MipsMCExpr::MEK_HI, MCSymbolRefExpr::create(GPSym, MCA.getContext()), in emitDirectiveCpsetup()
1099 const MipsMCExpr *LoExpr = MipsMCExpr::create( in emitDirectiveCpsetup()
1100 MipsMCExpr::MEK_LO, MCSymbolRefExpr::create(GPSym, MCA.getContext()), in emitDirectiveCpsetup()
1113 const MipsMCExpr *HiExpr = MipsMCExpr::createGpOff( in emitDirectiveCpsetup()
1114 MipsMCExpr::MEK_HI, MCSymbolRefExpr::create(&Sym, MCA.getContext()), in emitDirectiveCpsetup()
[all …]
DCMakeLists.txt9 MipsMCExpr.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp28 const MipsMCExpr *MipsMCExpr::create(MipsMCExpr::MipsExprKind Kind, in create()
30 return new (Ctx) MipsMCExpr(Kind, Expr); in create()
33 const MipsMCExpr *MipsMCExpr::createGpOff(MipsMCExpr::MipsExprKind Kind, in createGpOff()
38 void MipsMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl()
129 MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
135 cast<MipsMCExpr>(cast<MipsMCExpr>(getSubExpr())->getSubExpr()) in evaluateAsRelocatableImpl()
211 void MipsMCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr()
218 fixELFSymbolsInTLSFixupsImpl(cast<MipsMCExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
241 void MipsMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
266 if (const MipsMCExpr *E = dyn_cast<const MipsMCExpr>(getSubExpr())) in fixELFSymbolsInTLSFixups()
[all …]
DMipsMCCodeEmitter.cpp602 const MipsMCExpr *MipsExpr = cast<MipsMCExpr>(Expr); in getExprOpValue()
606 case MipsMCExpr::MEK_None: in getExprOpValue()
607 case MipsMCExpr::MEK_Special: in getExprOpValue()
610 case MipsMCExpr::MEK_CALL_HI16: in getExprOpValue()
613 case MipsMCExpr::MEK_CALL_LO16: in getExprOpValue()
616 case MipsMCExpr::MEK_DTPREL_HI: in getExprOpValue()
620 case MipsMCExpr::MEK_DTPREL_LO: in getExprOpValue()
624 case MipsMCExpr::MEK_GOTTPREL: in getExprOpValue()
628 case MipsMCExpr::MEK_GOT: in getExprOpValue()
632 case MipsMCExpr::MEK_GOT_CALL: in getExprOpValue()
[all …]
DMipsMCExpr.h19 class MipsMCExpr : public MCTargetExpr {
54 explicit MipsMCExpr(MipsExprKind Kind, const MCExpr *Expr) in MipsMCExpr() function
58 static const MipsMCExpr *create(MipsExprKind Kind, const MCExpr *Expr,
60 static const MipsMCExpr *createGpOff(MipsExprKind Kind, const MCExpr *Expr,
DMipsTargetStreamer.cpp1133 const MCExpr *HiSym = MipsMCExpr::create( in emitDirectiveCpLoad()
1134 MipsMCExpr::MEK_HI, in emitDirectiveCpLoad()
1146 const MCExpr *LoSym = MipsMCExpr::create( in emitDirectiveCpLoad()
1147 MipsMCExpr::MEK_LO, in emitDirectiveCpLoad()
1210 const MipsMCExpr *HiExpr = MipsMCExpr::create( in emitDirectiveCpsetup()
1211 MipsMCExpr::MEK_HI, MCSymbolRefExpr::create(GPSym, MCA.getContext()), in emitDirectiveCpsetup()
1213 const MipsMCExpr *LoExpr = MipsMCExpr::create( in emitDirectiveCpsetup()
1214 MipsMCExpr::MEK_LO, MCSymbolRefExpr::create(GPSym, MCA.getContext()), in emitDirectiveCpsetup()
1227 const MipsMCExpr *HiExpr = MipsMCExpr::createGpOff( in emitDirectiveCpsetup()
1228 MipsMCExpr::MEK_HI, MCSymbolRefExpr::create(&Sym, MCA.getContext()), in emitDirectiveCpsetup()
[all …]
DCMakeLists.txt9 MipsMCExpr.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp679 return MipsMCExpr::create(MipsMCExpr::MEK_GOT_CALL, E, Ctx); in createTargetUnaryExpr()
681 return MipsMCExpr::create(MipsMCExpr::MEK_CALL_HI16, E, Ctx); in createTargetUnaryExpr()
683 return MipsMCExpr::create(MipsMCExpr::MEK_CALL_LO16, E, Ctx); in createTargetUnaryExpr()
685 return MipsMCExpr::create(MipsMCExpr::MEK_DTPREL_HI, E, Ctx); in createTargetUnaryExpr()
687 return MipsMCExpr::create(MipsMCExpr::MEK_DTPREL_LO, E, Ctx); in createTargetUnaryExpr()
689 return MipsMCExpr::create(MipsMCExpr::MEK_GOT, E, Ctx); in createTargetUnaryExpr()
691 return MipsMCExpr::create(MipsMCExpr::MEK_GOT_DISP, E, Ctx); in createTargetUnaryExpr()
693 return MipsMCExpr::create(MipsMCExpr::MEK_GOT_HI16, E, Ctx); in createTargetUnaryExpr()
695 return MipsMCExpr::create(MipsMCExpr::MEK_GOT_LO16, E, Ctx); in createTargetUnaryExpr()
697 return MipsMCExpr::create(MipsMCExpr::MEK_GOT_OFST, E, Ctx); in createTargetUnaryExpr()
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp1670 MipsMCExpr::create(MipsMCExpr::MEK_GOT, JalExpr, getContext()); in processInstruction()
1672 MipsMCExpr::create(MipsMCExpr::MEK_LO, JalExpr, getContext()); in processInstruction()
1685 MipsMCExpr::create(MipsMCExpr::MEK_GOT_DISP, JalExpr, getContext()); in processInstruction()
1697 MipsMCExpr::create(MipsMCExpr::MEK_GOT_CALL, JalExpr, getContext()); in processInstruction()
2386 MipsMCExpr::create(MipsMCExpr::MEK_GOT_CALL, SymExpr, getContext()); in loadAndAddSymbolAddress()
2402 const MipsMCExpr *GotExpr = in loadAndAddSymbolAddress()
2403 MipsMCExpr::create(MipsMCExpr::MEK_GOT, SymExpr, getContext()); in loadAndAddSymbolAddress()
2407 LoExpr = MipsMCExpr::create(MipsMCExpr::MEK_LO, SymExpr, getContext()); in loadAndAddSymbolAddress()
2440 const MipsMCExpr *HiExpr = in loadAndAddSymbolAddress()
2441 MipsMCExpr::create(MipsMCExpr::MEK_HI, SymExpr, getContext()); in loadAndAddSymbolAddress()
[all …]
/external/swiftshader/third_party/llvm-7.0/
DBUILD.gn632 "llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp",
/external/swiftshader/
DCMakeLists.txt1564 ${LLVM_DIR}/lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp