Home
last modified time | relevance | path

Searched refs:VariantKind (Results 1 – 25 of 62) sorted by relevance

123

/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.h25 enum VariantKind { enum
106 const VariantKind Kind;
108 explicit AArch64MCExpr(const MCExpr *Expr, VariantKind Kind) in AArch64MCExpr()
115 static const AArch64MCExpr *create(const MCExpr *Expr, VariantKind Kind,
123 VariantKind getKind() const { return Kind; } in getKind()
132 static VariantKind getSymbolLoc(VariantKind Kind) { in getSymbolLoc()
133 return static_cast<VariantKind>(Kind & VK_SymLocBits); in getSymbolLoc()
136 static VariantKind getAddressFrag(VariantKind Kind) { in getAddressFrag()
137 return static_cast<VariantKind>(Kind & VK_AddressFragBits); in getAddressFrag()
140 static bool isNotChecked(VariantKind Kind) { return Kind & VK_NC; } in isNotChecked()
DAArch64ELFObjectWriter.cpp49 AArch64MCExpr::VariantKind RefKind = in GetRelocType()
50 static_cast<AArch64MCExpr::VariantKind>(Target.getRefKind()); in GetRelocType()
51 AArch64MCExpr::VariantKind SymLoc = AArch64MCExpr::getSymbolLoc(RefKind); in GetRelocType()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.h26 enum VariantKind { enum
62 const VariantKind Kind;
65 explicit SparcMCExpr(VariantKind Kind, const MCExpr *Expr) in SparcMCExpr()
72 static const SparcMCExpr *create(VariantKind Kind, const MCExpr *Expr,
79 VariantKind getKind() const { return Kind; } in getKind()
105 static VariantKind parseVariantKind(StringRef name);
106 static bool printVariantKind(raw_ostream &OS, VariantKind Kind);
107 static Sparc::Fixups getFixupKind(VariantKind Kind);
DSparcMCExpr.cpp28 SparcMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create()
44 bool SparcMCExpr::printVariantKind(raw_ostream &OS, VariantKind Kind) in printVariantKind()
86 SparcMCExpr::VariantKind SparcMCExpr::parseVariantKind(StringRef name) in parseVariantKind()
88 return StringSwitch<SparcMCExpr::VariantKind>(name) in parseVariantKind()
122 Sparc::Fixups SparcMCExpr::getFixupKind(SparcMCExpr::VariantKind Kind) { in getFixupKind()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.h21 enum VariantKind { enum
30 const VariantKind Kind;
33 explicit MipsMCExpr(VariantKind Kind, const MCExpr *Expr) in MipsMCExpr()
37 static bool isSupportedBinaryExpr(MCSymbolRefExpr::VariantKind VK,
40 static const MipsMCExpr *create(MCSymbolRefExpr::VariantKind VK,
44 VariantKind getKind() const { return Kind; } in getKind()
DMipsMCExpr.cpp20 bool MipsMCExpr::isSupportedBinaryExpr(MCSymbolRefExpr::VariantKind VK, in isSupportedBinaryExpr()
44 MipsMCExpr::create(MCSymbolRefExpr::VariantKind VK, const MCExpr *Expr, in create()
46 VariantKind Kind; in create()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCExpr.h19 enum VariantKind { enum
26 const VariantKind Kind;
29 explicit ARMMCExpr(VariantKind Kind, const MCExpr *Expr) in ARMMCExpr()
36 static const ARMMCExpr *create(VariantKind Kind, const MCExpr *Expr,
52 VariantKind getKind() const { return Kind; } in getKind()
DARMMachORelocationInfo.cpp26 unsigned VariantKind) override { in createExprForCAPIVariantKind() argument
27 switch(VariantKind) { in createExprForCAPIVariantKind()
34 VariantKind); in createExprForCAPIVariantKind()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCExpr.h21 enum VariantKind { enum
33 const VariantKind Kind;
39 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr, bool IsDarwin) in PPCMCExpr()
46 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr,
69 VariantKind getKind() const { return Kind; } in getKind()
DPPCMCExpr.cpp22 PPCMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create()
113 MCSymbolRefExpr::VariantKind Modifier = Sym->getKind(); in evaluateAsRelocatableImpl()
/external/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.h22 enum VariantKind { enum
29 const VariantKind Kind;
32 explicit NVPTXFloatMCExpr(VariantKind Kind, APFloat Flt) in NVPTXFloatMCExpr()
39 static const NVPTXFloatMCExpr *create(VariantKind Kind, APFloat Flt,
57 VariantKind getKind() const { return Kind; } in getKind()
/external/llvm/include/llvm/MC/
DMCExpr.h162 enum VariantKind : uint16_t { enum
299 const VariantKind Kind;
310 explicit MCSymbolRefExpr(const MCSymbol *Symbol, VariantKind Kind,
321 static const MCSymbolRefExpr *create(const MCSymbol *Symbol, VariantKind Kind,
323 static const MCSymbolRefExpr *create(StringRef Name, VariantKind Kind,
332 VariantKind getKind() const { return Kind; } in getKind()
342 static StringRef getVariantKindName(VariantKind Kind);
344 static VariantKind getVariantKindForName(StringRef Name);
DMCRelocationInfo.h50 unsigned VariantKind);
/external/llvm/lib/Target/SystemZ/
DSystemZMCInstLower.cpp20 static MCSymbolRefExpr::VariantKind getVariantKind(unsigned Flags) { in getVariantKind()
38 MCSymbolRefExpr::VariantKind Kind) const { in getExpr()
89 MCSymbolRefExpr::VariantKind Kind = getVariantKind(MO.getTargetFlags()); in lowerOperand()
DSystemZMCInstLower.h40 MCSymbolRefExpr::VariantKind Kind) const;
/external/llvm/lib/MC/MCDisassembler/
DMCRelocationInfo.cpp31 unsigned VariantKind) { in createExprForCAPIVariantKind() argument
32 if (VariantKind != LLVMDisassembler_VariantKind_None) in createExprForCAPIVariantKind()
/external/llvm/lib/MC/
DMCValue.cpp46 MCSymbolRefExpr::VariantKind MCValue::getAccessVariant() const { in getAccessVariant()
57 MCSymbolRefExpr::VariantKind Kind = A->getKind(); in getAccessVariant()
DMCExpr.cpp156 MCSymbolRefExpr::MCSymbolRefExpr(const MCSymbol *Symbol, VariantKind Kind, in MCSymbolRefExpr()
166 VariantKind Kind, in create()
171 const MCSymbolRefExpr *MCSymbolRefExpr::create(StringRef Name, VariantKind Kind, in create()
176 StringRef MCSymbolRefExpr::getVariantKindName(VariantKind Kind) { in getVariantKindName()
309 MCSymbolRefExpr::VariantKind
311 return StringSwitch<VariantKind>(Name.lower()) in getVariantKindForName()
/external/llvm/lib/Target/Mips/
DMipsMCInstLower.h41 MCSymbolRefExpr::VariantKind Kind) const;
45 MCSymbolRefExpr::VariantKind Kind) const;
DMipsMCInstLower.cpp39 MCSymbolRefExpr::VariantKind Kind; in LowerSymbolOperand()
163 MCSymbolRefExpr::VariantKind Kind) const { in createSub()
186 MCSymbolRefExpr::VariantKind Kind) const { in lowerLongBranchADDiu()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFObjectWriter.cpp47 MCSymbolRefExpr::VariantKind &Modifier, in getType64()
80 static unsigned getRelocType64(MCSymbolRefExpr::VariantKind Modifier, in getRelocType64()
184 static unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier, in getRelocType32()
246 MCSymbolRefExpr::VariantKind Modifier = Target.getAccessVariant(); in GetRelocType()
/external/llvm/lib/Target/Sparc/
DSparcMCInstLower.cpp35 SparcMCExpr::VariantKind Kind = in LowerSymbolOperand()
36 (SparcMCExpr::VariantKind)MO.getTargetFlags(); in LowerSymbolOperand()
DSparcAsmPrinter.cpp79 static MCOperand createSparcMCOperand(SparcMCExpr::VariantKind Kind, in createSparcMCOperand()
92 static MCOperand createPCXRelExprOp(SparcMCExpr::VariantKind Kind, in createPCXRelExprOp()
163 SparcMCExpr::VariantKind HiKind, in EmitHiLo()
164 SparcMCExpr::VariantKind LoKind, in EmitHiLo()
301 SparcMCExpr::VariantKind TF = (SparcMCExpr::VariantKind) MO.getTargetFlags(); in printOperand()
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp24 static MCSymbolRefExpr::VariantKind
169 MCSymbolRefExpr::VariantKind Variant = getVariant(SymbolicOp.VariantKind); in tryAddingSymbolicOperand()
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp48 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; in lowerSymbolOperandDarwin()
147 AArch64MCExpr::VariantKind RefKind; in lowerSymbolOperandELF()
148 RefKind = static_cast<AArch64MCExpr::VariantKind>(RefFlags); in lowerSymbolOperandELF()

123