HomeSort by relevance Sort by last modified time
    Searched refs:MCExpr (Results 1 - 25 of 70) sorted by null

1 2 3

  /external/llvm/include/llvm/MC/
MCExpr.h 1 //===- MCExpr.h - Assembly Level Expressions --------------------*- C++ -*-===//
30 /// MCExpr - Base class for the full range of assembler expressions which are
32 class MCExpr {
45 MCExpr(const MCExpr&); // DO NOT IMPLEMENT
46 void operator=(const MCExpr&); // DO NOT IMPLEMENT
52 explicit MCExpr(ExprKind _Kind) : Kind(_Kind) {}
104 static bool classof(const MCExpr *) { return true; }
107 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
113 class MCConstantExpr : public MCExpr {
    [all...]
MCObjectStreamer.h 19 class MCExpr;
56 const MCExpr *AddValueSymbols(const MCExpr *Value);
65 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size,
67 virtual void EmitULEB128Value(const MCExpr *Value);
68 virtual void EmitSLEB128Value(const MCExpr *Value);
73 virtual void EmitValueToOffset(const MCExpr *Offset, unsigned char Value);
MCFixup.h 17 class MCExpr;
55 const MCExpr *Value;
65 static MCFixup Create(uint32_t Offset, const MCExpr *Value,
80 const MCExpr *getValue() const { return Value; }
MCSymbol.h 20 class MCExpr;
48 const MCExpr *Value;
59 friend class MCExpr;
136 const MCExpr *getVariableValue() const {
147 void setVariableValue(const MCExpr *Value);
MCCodeEmitter.h 18 class MCExpr;
MCStreamer.h 29 class MCExpr;
92 const MCExpr *BuildSymbolDiff(MCContext &Context, const MCSymbol *A,
95 const MCExpr *ForceExpAbs(const MCExpr* Expr);
298 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) = 0;
342 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) = 0;
400 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size,
403 void EmitValue(const MCExpr *Value, unsigned Size, unsigned AddrSpace = 0);
406 /// to pass in a MCExpr for constant integers.
414 void EmitAbsValue(const MCExpr *Value, unsigned Size
    [all...]
MCInst.h 27 class MCExpr;
45 const MCExpr *ExprVal;
88 const MCExpr *getExpr() const {
92 void setExpr(const MCExpr *Val) {
115 static MCOperand CreateExpr(const MCExpr *Val) {
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMMCExpr.h 13 #include "llvm/MC/MCExpr.h"
27 const MCExpr *Expr;
29 explicit ARMMCExpr(VariantKind _Kind, const MCExpr *_Expr)
36 static const ARMMCExpr *Create(VariantKind Kind, const MCExpr *Expr,
39 static const ARMMCExpr *CreateUpper16(const MCExpr *Expr, MCContext &Ctx) {
43 static const ARMMCExpr *CreateLower16(const MCExpr *Expr, MCContext &Ctx) {
55 const MCExpr *getSubExpr() const { return Expr; }
67 static bool classof(const MCExpr *E) {
68 return E->getKind() == MCExpr::Target;
ARMMCExpr.cpp 17 ARMMCExpr::Create(VariantKind Kind, const MCExpr *Expr,
29 const MCExpr *Expr = getSubExpr();
30 if (Expr->getKind() != MCExpr::SymbolRef)
33 if (Expr->getKind() != MCExpr::SymbolRef)
45 static void AddValueSymbols_(const MCExpr *Value, MCAssembler *Asm) {
47 case MCExpr::Target:
51 case MCExpr::Constant:
54 case MCExpr::Binary: {
61 case MCExpr::SymbolRef:
65 case MCExpr::Unary
    [all...]
  /external/llvm/lib/MC/
MCNullStreamer.cpp 43 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {}
59 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) {}
70 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size,
72 virtual void EmitULEB128Value(const MCExpr *Value) {}
73 virtual void EmitSLEB128Value(const MCExpr *Value) {}
74 virtual void EmitGPRel32Value(const MCExpr *Value) {}
82 virtual void EmitValueToOffset(const MCExpr *Offset,
MCObjectStreamer.cpp 18 #include "llvm/MC/MCExpr.h"
63 const MCExpr *MCObjectStreamer::AddValueSymbols(const MCExpr *Value) {
65 case MCExpr::Target:
69 case MCExpr::Constant:
72 case MCExpr::Binary: {
79 case MCExpr::SymbolRef:
83 case MCExpr::Unary:
91 void MCObjectStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size,
123 void MCObjectStreamer::EmitULEB128Value(const MCExpr *Value)
    [all...]
MCSymbol.cpp 11 #include "llvm/MC/MCExpr.h"
45 const MCExpr *Value = S->getVariableValue();
46 if (Value->getKind() != MCExpr::SymbolRef)
54 void MCSymbol::setVariableValue(const MCExpr *Value) {
MCAsmInfo.cpp 17 #include "llvm/MC/MCExpr.h"
127 const MCExpr *
134 const MCExpr *
142 const MCExpr *Res = MCSymbolRefExpr::Create(Sym, Context);
145 const MCExpr *PC = MCSymbolRefExpr::Create(PCSym, Context);
MCExpr.cpp 1 //===- MCExpr.cpp - Assembly Level Expression Implementation --------------===//
10 #define DEBUG_TYPE "mcexpr"
11 #include "llvm/MC/MCExpr.h"
25 STATISTIC(MCExprEvaluate, "Number of MCExpr evaluations");
29 void MCExpr::print(raw_ostream &OS) const {
31 case MCExpr::Target:
33 case MCExpr::Constant:
37 case MCExpr::SymbolRef: {
70 case MCExpr::Unary: {
83 case MCExpr::Binary:
    [all...]
  /external/llvm/lib/Target/X86/
X86TargetObjectFile.cpp 14 #include "llvm/MC/MCExpr.h"
22 const MCExpr *X8664_MachoTargetObjectFile::
31 const MCExpr *Res =
33 const MCExpr *Four = MCConstantExpr::Create(4, getContext());
X86TargetObjectFile.h 24 virtual const MCExpr *
  /external/llvm/include/llvm/MC/MCParser/
MCAsmParser.h 22 class MCExpr;
117 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
118 bool ParseExpression(const MCExpr *&Res);
126 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
  /external/llvm/lib/Target/Mips/
MipsMCSymbolRefExpr.h 12 #include "llvm/MC/MCExpr.h"
56 static bool classof(const MCExpr *E) {
57 return E->getKind() == MCExpr::Target;
  /external/llvm/lib/Target/X86/MCTargetDesc/
X86MCAsmInfo.h 30 virtual const MCExpr *
X86MCAsmInfo.cpp 17 #include "llvm/MC/MCExpr.h"
111 const MCExpr *
116 const MCExpr *Res =
118 const MCExpr *Four = MCConstantExpr::Create(4, Context);
  /external/llvm/include/llvm/CodeGen/
TargetLoweringObjectFileImpl.h 26 class MCExpr;
56 /// getExprForDwarfGlobalReference - Return an MCExpr to use for a reference
59 virtual const MCExpr *
94 virtual const MCExpr *
  /external/llvm/include/llvm/Target/
TargetLoweringObjectFile.h 27 class MCExpr;
107 /// getExprForDwarfGlobalReference - Return an MCExpr to use for a reference
110 virtual const MCExpr *
121 const MCExpr *
  /external/llvm/lib/MC/MCParser/
MCAsmParser.cpp 41 bool MCAsmParser::ParseExpression(const MCExpr *&Res) {
  /external/llvm/lib/Target/PTX/
PTXMCAsmStreamer.cpp 16 #include "llvm/MC/MCExpr.h"
112 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value);
128 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value);
148 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size,
150 virtual void EmitULEB128Value(const MCExpr *Value);
151 virtual void EmitSLEB128Value(const MCExpr *Value);
152 virtual void EmitGPRel32Value(const MCExpr *Value);
165 virtual void EmitValueToOffset(const MCExpr *Offset,
251 void PTXMCAsmStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
285 void PTXMCAsmStreamer::EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) {
    [all...]
  /external/llvm/lib/Target/MBlaze/AsmParser/
MBlazeAsmParser.cpp 15 #include "llvm/MC/MCExpr.h"
96 const MCExpr *Val;
102 const MCExpr *Off;
106 const MCExpr *Val;
146 const MCExpr *getImm() const {
151 const MCExpr *getFslImm() const {
161 const MCExpr* getMemOff() const {
177 void addExpr(MCInst &Inst, const MCExpr *Expr) const {
178 // Add as immediates when possible. Null MCExpr = 0.
238 static MBlazeOperand *CreateImm(const MCExpr *Val, SMLoc S, SMLoc E)
    [all...]

Completed in 181 milliseconds

1 2 3