Home
last modified time | relevance | path

Searched refs:VEMCExpr (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
DVEMCExpr.cpp25 const VEMCExpr *VEMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create()
27 return new (Ctx) VEMCExpr(Kind, Expr); in create()
30 void VEMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl()
42 bool VEMCExpr::printVariantKind(raw_ostream &OS, VariantKind Kind) { in printVariantKind()
68 void VEMCExpr::printVariantKindSuffix(raw_ostream &OS, VariantKind Kind) { in printVariantKindSuffix()
118 VEMCExpr::VariantKind VEMCExpr::parseVariantKind(StringRef name) { in parseVariantKind()
119 return StringSwitch<VEMCExpr::VariantKind>(name) in parseVariantKind()
137 VE::Fixups VEMCExpr::getFixupKind(VEMCExpr::VariantKind Kind) { in getFixupKind()
174 bool VEMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
210 void VEMCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr()
[all …]
DVEMCExpr.h23 class VEMCExpr : public MCTargetExpr {
48 explicit VEMCExpr(VariantKind Kind, const MCExpr *Expr) in VEMCExpr() function
55 static const VEMCExpr *create(VariantKind Kind, const MCExpr *Expr,
85 static bool classof(const VEMCExpr *) { return true; } in classof() argument
DVEELFObjectWriter.cpp41 if (const VEMCExpr *SExpr = dyn_cast<VEMCExpr>(Fixup.getValue())) { in getRelocType()
42 if (SExpr->getKind() == VEMCExpr::VK_VE_PC_LO32) in getRelocType()
DVEMCCodeEmitter.cpp111 if (const VEMCExpr *SExpr = dyn_cast<VEMCExpr>(Expr)) { in getMachineOpValue()
DCMakeLists.txt7 VEMCExpr.cpp
/external/llvm-project/llvm/lib/Target/VE/
DVEAsmPrinter.cpp69 static MCOperand createVEMCOperand(VEMCExpr::VariantKind Kind, MCSymbol *Sym, in createVEMCOperand()
72 const VEMCExpr *expr = VEMCExpr::create(Kind, MCSym, OutContext); in createVEMCOperand()
76 static MCOperand createGOTRelExprOp(VEMCExpr::VariantKind Kind, in createGOTRelExprOp()
79 const VEMCExpr *expr = VEMCExpr::create(Kind, GOT, OutContext); in createGOTRelExprOp()
168 VEMCExpr::VariantKind HiKind, VEMCExpr::VariantKind LoKind, in emitHiLo()
196 emitHiLo(*OutStreamer, GOTLabel, VEMCExpr::VK_VE_HI32, in lowerGETGOTAndEmitMCInsts()
197 VEMCExpr::VK_VE_LO32, MCRegOP, OutContext, STI); in lowerGETGOTAndEmitMCInsts()
212 createGOTRelExprOp(VEMCExpr::VK_VE_PC_LO32, GOTLabel, OutContext); in lowerGETGOTAndEmitMCInsts()
218 createGOTRelExprOp(VEMCExpr::VK_VE_PC_HI32, GOTLabel, OutContext); in lowerGETGOTAndEmitMCInsts()
260 createGOTRelExprOp(VEMCExpr::VK_VE_PLT_LO32, AddrSym, OutContext); in lowerGETFunPLTAndEmitMCInsts()
[all …]
DVEMCInstLower.cpp31 VEMCExpr::VariantKind Kind = (VEMCExpr::VariantKind)MO.getTargetFlags(); in LowerSymbolOperand()
39 Expr = VEMCExpr::create(Kind, Expr, AP.OutContext); in LowerSymbolOperand()
DVEISelLowering.cpp579 makeHiLoPair(Callee, VEMCExpr::VK_VE_HI32, VEMCExpr::VK_VE_LO32, DAG); in LowerCall()
589 makeHiLoPair(Callee, VEMCExpr::VK_VE_HI32, VEMCExpr::VK_VE_LO32, DAG); in LowerCall()
924 SDValue HiLo = makeHiLoPair(Op, VEMCExpr::VK_VE_GOTOFF_HI32, in makeAddress()
925 VEMCExpr::VK_VE_GOTOFF_LO32, DAG); in makeAddress()
934 SDValue HiLo = makeHiLoPair(Op, VEMCExpr::VK_VE_GOT_HI32, in makeAddress()
935 VEMCExpr::VK_VE_GOT_LO32, DAG); in makeAddress()
950 return makeHiLoPair(Op, VEMCExpr::VK_VE_HI32, VEMCExpr::VK_VE_LO32, DAG); in makeAddress()
1474 SDValue HiLo = makeHiLoPair(Op, VEMCExpr::VK_VE_GOTOFF_HI32, in getPICJumpTableRelocBase()
1475 VEMCExpr::VK_VE_GOTOFF_LO32, DAG); in getPICJumpTableRelocBase()
/external/llvm-project/llvm/lib/Target/VE/AsmParser/
DVEAsmParser.cpp79 VEMCExpr::VariantKind &Variant);
1009 VEMCExpr::VariantKind &Variant) { in extractModifierFromExpr()
1011 Variant = VEMCExpr::VK_VE_None; in extractModifierFromExpr()
1024 Variant = VEMCExpr::VK_VE_REFLONG; in extractModifierFromExpr()
1027 Variant = VEMCExpr::VK_VE_HI32; in extractModifierFromExpr()
1030 Variant = VEMCExpr::VK_VE_LO32; in extractModifierFromExpr()
1033 Variant = VEMCExpr::VK_VE_PC_HI32; in extractModifierFromExpr()
1036 Variant = VEMCExpr::VK_VE_PC_LO32; in extractModifierFromExpr()
1039 Variant = VEMCExpr::VK_VE_GOT_HI32; in extractModifierFromExpr()
1042 Variant = VEMCExpr::VK_VE_GOT_LO32; in extractModifierFromExpr()
[all …]