/external/llvm/include/llvm/MC/ |
D | MCExpr.h | 31 class MCExpr { 44 MCExpr(const MCExpr&) LLVM_DELETED_FUNCTION; 45 void operator=(const MCExpr&) LLVM_DELETED_FUNCTION; 51 explicit MCExpr(ExprKind _Kind) : Kind(_Kind) {} in MCExpr() function 103 static bool classof(const MCExpr *) { return true; } in classof() argument 106 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) { 112 class MCConstantExpr : public MCExpr { 116 : MCExpr(MCExpr::Constant), Value(_Value) {} in MCConstantExpr() 132 static bool classof(const MCExpr *E) { in classof() 133 return E->getKind() == MCExpr::Constant; in classof() [all …]
|
D | MCObjectStreamer.h | 19 class MCExpr; variable 58 const MCExpr *AddValueSymbols(const MCExpr *Value); 67 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, 69 virtual void EmitULEB128Value(const MCExpr *Value); 70 virtual void EmitSLEB128Value(const MCExpr *Value); 75 virtual bool EmitValueToOffset(const MCExpr *Offset, unsigned char Value); 82 virtual void EmitGPRel32Value(const MCExpr *Value); 83 virtual void EmitGPRel64Value(const MCExpr *Value);
|
D | MCStreamer.h | 28 class MCExpr; variable 75 const MCExpr *BuildSymbolDiff(MCContext &Context, const MCSymbol *A, 78 const MCExpr *ForceExpAbs(const MCExpr* Expr); 253 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) = 0; 302 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) = 0; 360 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, 363 void EmitValue(const MCExpr *Value, unsigned Size, unsigned AddrSpace = 0); 374 void EmitAbsValue(const MCExpr *Value, unsigned Size, 377 virtual void EmitULEB128Value(const MCExpr *Value) = 0; 379 virtual void EmitSLEB128Value(const MCExpr *Value) = 0; [all …]
|
D | MCSymbol.h | 21 class MCExpr; variable 49 const MCExpr *Value; 60 friend class MCExpr; 137 const MCExpr *getVariableValue() const { in getVariableValue() 148 void setVariableValue(const MCExpr *Value);
|
D | MCFixup.h | 19 class MCExpr; variable 65 const MCExpr *Value; 77 static MCFixup Create(uint32_t Offset, const MCExpr *Value, 93 const MCExpr *getValue() const { return Value; } in getValue()
|
D | MCAssembler.h | 34 class MCExpr; variable 320 const MCExpr *Offset; 326 MCOrgFragment(const MCExpr &_Offset, int8_t _Value, MCSectionData *SD = 0) 333 const MCExpr &getOffset() const { return *Offset; } in getOffset() 349 const MCExpr *Value; 356 MCLEBFragment(const MCExpr &Value_, bool IsSigned_, MCSectionData *SD) in MCLEBFragment() 363 const MCExpr &getValue() const { return *Value; } in getValue() 387 const MCExpr *AddrDelta; 392 MCDwarfLineAddrFragment(int64_t _LineDelta, const MCExpr &_AddrDelta, in MCDwarfLineAddrFragment() 402 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta() [all …]
|
D | MCInst.h | 28 class MCExpr; variable 48 const MCExpr *ExprVal; 93 const MCExpr *getExpr() const { in getExpr() 97 void setExpr(const MCExpr *Val) { in setExpr() 129 static MCOperand CreateExpr(const MCExpr *Val) { in CreateExpr()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCExpr.cpp | 17 ARMMCExpr::Create(VariantKind Kind, const MCExpr *Expr, in Create() 29 const MCExpr *Expr = getSubExpr(); in PrintImpl() 30 if (Expr->getKind() != MCExpr::SymbolRef) in PrintImpl() 33 if (Expr->getKind() != MCExpr::SymbolRef) in PrintImpl() 45 static void AddValueSymbols_(const MCExpr *Value, MCAssembler *Asm) { in AddValueSymbols_() 47 case MCExpr::Target: in AddValueSymbols_() 50 case MCExpr::Constant: in AddValueSymbols_() 53 case MCExpr::Binary: { in AddValueSymbols_() 60 case MCExpr::SymbolRef: in AddValueSymbols_() 64 case MCExpr::Unary: in AddValueSymbols_()
|
D | ARMMCExpr.h | 27 const MCExpr *Expr; 29 explicit ARMMCExpr(VariantKind _Kind, const MCExpr *_Expr) in ARMMCExpr() 36 static const ARMMCExpr *Create(VariantKind Kind, const MCExpr *Expr, 39 static const ARMMCExpr *CreateUpper16(const MCExpr *Expr, MCContext &Ctx) { in CreateUpper16() 43 static const ARMMCExpr *CreateLower16(const MCExpr *Expr, MCContext &Ctx) { in CreateLower16() 55 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr() 67 static bool classof(const MCExpr *E) { in classof() 68 return E->getKind() == MCExpr::Target; in classof()
|
/external/llvm/lib/MC/ |
D | MCObjectStreamer.cpp | 63 const MCExpr *MCObjectStreamer::AddValueSymbols(const MCExpr *Value) { in AddValueSymbols() 65 case MCExpr::Target: in AddValueSymbols() 69 case MCExpr::Constant: in AddValueSymbols() 72 case MCExpr::Binary: { in AddValueSymbols() 79 case MCExpr::SymbolRef: in AddValueSymbols() 83 case MCExpr::Unary: in AddValueSymbols() 91 void MCObjectStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, in EmitValueImpl() 131 void MCObjectStreamer::EmitULEB128Value(const MCExpr *Value) { in EmitULEB128Value() 141 void MCObjectStreamer::EmitSLEB128Value(const MCExpr *Value) { in EmitSLEB128Value() 213 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel); in EmitDwarfAdvanceLineAddr() [all …]
|
D | MCNullStreamer.cpp | 43 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {} in EmitAssignment() 60 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) {} in EmitELFSize() 71 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, in EmitValueImpl() 73 virtual void EmitULEB128Value(const MCExpr *Value) {} in EmitULEB128Value() 74 virtual void EmitSLEB128Value(const MCExpr *Value) {} in EmitSLEB128Value() 75 virtual void EmitGPRel32Value(const MCExpr *Value) {} in EmitGPRel32Value() 83 virtual bool EmitValueToOffset(const MCExpr *Offset, in EmitValueToOffset()
|
D | MCExpr.cpp | 31 void MCExpr::print(raw_ostream &OS) const { in print() 33 case MCExpr::Target: in print() 35 case MCExpr::Constant: in print() 39 case MCExpr::SymbolRef: { in print() 73 case MCExpr::Unary: { in print() 85 case MCExpr::Binary: { in print() 140 void MCExpr::dump() const { in dump() 148 const MCBinaryExpr *MCBinaryExpr::Create(Opcode Opc, const MCExpr *LHS, in Create() 149 const MCExpr *RHS, MCContext &Ctx) { in Create() 153 const MCUnaryExpr *MCUnaryExpr::Create(Opcode Opc, const MCExpr *Expr, in Create() [all …]
|
D | MCELFStreamer.cpp | 61 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value); 85 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) { in EmitELFSize() 107 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, 118 void fixSymbolsInTLSFixups(const MCExpr *expr); 199 void MCELFStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in EmitAssignment() 218 const MCExpr *Value = MCSymbolRefExpr::Create(Symbol, getContext()); in EmitWeakReference() 394 void MCELFStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, in EmitValueImpl() 413 void MCELFStreamer::fixSymbolsInTLSFixups(const MCExpr *expr) { in fixSymbolsInTLSFixups() 415 case MCExpr::Target: llvm_unreachable("Can't handle target exprs yet!"); in fixSymbolsInTLSFixups() 416 case MCExpr::Constant: in fixSymbolsInTLSFixups() [all …]
|
D | MCAsmInfo.cpp | 120 const MCExpr * 127 const MCExpr * 135 const MCExpr *Res = MCSymbolRefExpr::Create(Sym, Context); in getExprForFDESymbol() 138 const MCExpr *PC = MCSymbolRefExpr::Create(PCSym, Context); in getExprForFDESymbol()
|
D | MCSymbol.cpp | 45 const MCExpr *Value = S->getVariableValue(); in AliasedSymbol() 46 if (Value->getKind() != MCExpr::SymbolRef) in AliasedSymbol() 54 void MCSymbol::setVariableValue(const MCExpr *Value) { in setVariableValue()
|
D | MCStreamer.cpp | 36 const MCExpr *MCStreamer::BuildSymbolDiff(MCContext &Context, in BuildSymbolDiff() 40 const MCExpr *ARef = in BuildSymbolDiff() 42 const MCExpr *BRef = in BuildSymbolDiff() 44 const MCExpr *AddrDelta = in BuildSymbolDiff() 49 const MCExpr *MCStreamer::ForceExpAbs(const MCExpr* Expr) { in ForceExpAbs() 111 void MCStreamer::EmitAbsValue(const MCExpr *Value, unsigned Size, in EmitAbsValue() 113 const MCExpr *ABS = ForceExpAbs(Value); in EmitAbsValue() 118 void MCStreamer::EmitValue(const MCExpr *Value, unsigned Size, in EmitValue() 129 void MCStreamer::EmitGPRel64Value(const MCExpr *Value) { in EmitGPRel64Value() 133 void MCStreamer::EmitGPRel32Value(const MCExpr *Value) { in EmitGPRel32Value() [all …]
|
D | MCPureStreamer.cpp | 40 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value); 49 virtual bool EmitValueToOffset(const MCExpr *Offset, 86 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) { in EmitELFSize() 138 void MCPureStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in EmitAssignment() 187 bool MCPureStreamer::EmitValueToOffset(const MCExpr *Offset, in EmitValueToOffset()
|
D | MCAsmStreamer.cpp | 61 bool needsSet(const MCExpr *Value); 144 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value); 161 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value); 181 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, 186 virtual void EmitULEB128Value(const MCExpr *Value); 188 virtual void EmitSLEB128Value(const MCExpr *Value); 190 virtual void EmitGPRel64Value(const MCExpr *Value); 192 virtual void EmitGPRel32Value(const MCExpr *Value); 205 virtual bool EmitValueToOffset(const MCExpr *Offset, 381 void MCAsmStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in EmitAssignment() [all …]
|
/external/llvm/lib/Target/MBlaze/AsmParser/ |
D | MBlazeAsmParser.cpp | 100 const MCExpr *Val; 106 const MCExpr *Off; 110 const MCExpr *Val; 150 const MCExpr *getImm() const { in getImm() 155 const MCExpr *getFslImm() const { in getFslImm() 165 const MCExpr* getMemOff() const { in getMemOff() 181 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() 242 static MBlazeOperand *CreateImm(const MCExpr *Val, SMLoc S, SMLoc E) { in CreateImm() 250 static MBlazeOperand *CreateFslImm(const MCExpr *Val, SMLoc S, SMLoc E) { in CreateFslImm() 258 static MBlazeOperand *CreateMem(unsigned Base, const MCExpr *Off, SMLoc S, in CreateMem() [all …]
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCAsmParser.h | 22 class MCExpr; variable 120 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; 121 bool ParseExpression(const MCExpr *&Res); 129 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 24 const MCExpr *X86_64MachoTargetObjectFile:: 33 const MCExpr *Res = in getExprForDwarfGlobalReference() 35 const MCExpr *Four = MCConstantExpr::Create(4, getContext()); in getExprForDwarfGlobalReference()
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 74 bool parseMemOffset(const MCExpr *&Res); 75 bool parseRelocOperand(const MCExpr *&Res); 146 const MCExpr *Val; 151 const MCExpr *Off; 163 void addExpr(MCInst &Inst, const MCExpr *Expr) const{ in addExpr() 175 const MCExpr *Expr = getImm(); in addImmOperands() 184 const MCExpr *Expr = getMemOff(); in addMemOperands() 203 const MCExpr *getImm() const { in getImm() 213 const MCExpr *getMemOff() const { in getMemOff() 235 static MipsOperand *CreateImm(const MCExpr *Val, SMLoc S, SMLoc E) { in CreateImm() [all …]
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsBaseInfo.h | 217 const MCExpr *Expr = Fixup.getValue(); in MipsGetSymAndOffset() 218 MCExpr::ExprKind Kind = Expr->getKind(); in MipsGetSymAndOffset() 220 if (Kind == MCExpr::Binary) { in MipsGetSymAndOffset() 222 const MCExpr *LHS = BE->getLHS(); in MipsGetSymAndOffset() 225 if ((LHS->getKind() != MCExpr::SymbolRef) || !CE) in MipsGetSymAndOffset() 231 if (Kind != MCExpr::SymbolRef) in MipsGetSymAndOffset()
|
D | MipsMCCodeEmitter.cpp | 152 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValue() 171 const MCExpr *Expr = MO.getExpr(); in getJumpTargetOpValue() 196 const MCExpr *Expr = MO.getExpr(); in getMachineOpValue() 197 MCExpr::ExprKind Kind = Expr->getKind(); in getMachineOpValue() 199 if (Kind == MCExpr::Binary) { in getMachineOpValue() 204 assert (Kind == MCExpr::SymbolRef); in getMachineOpValue()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 171 bool ParseExpression(const MCExpr *&Res); 172 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc); 173 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc); 226 bool ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc); 227 bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc); 228 bool ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc); 229 bool ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc); 274 const MCExpr *ApplyModifierToExpr(const MCExpr *E, 649 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in ParseParenExpr() 663 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in ParseBracketExpr() [all …]
|