/external/llvm/include/llvm/MC/ |
D | MCExpr.h | 31 class MCExpr { 44 MCExpr(const MCExpr&); // DO NOT IMPLEMENT 45 void operator=(const MCExpr&); // DO NOT IMPLEMENT 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);
|
D | MCStreamer.h | 28 class MCExpr; variable 90 const MCExpr *BuildSymbolDiff(MCContext &Context, const MCSymbol *A, 93 const MCExpr *ForceExpAbs(const MCExpr* Expr); 300 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) = 0; 349 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) = 0; 407 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, 410 void EmitValue(const MCExpr *Value, unsigned Size, unsigned AddrSpace = 0); 421 void EmitAbsValue(const MCExpr *Value, unsigned Size, 424 virtual void EmitULEB128Value(const MCExpr *Value) = 0; 426 virtual void EmitSLEB128Value(const MCExpr *Value) = 0; [all …]
|
D | MCSymbol.h | 20 class MCExpr; variable 48 const MCExpr *Value; 59 friend class MCExpr; 136 const MCExpr *getVariableValue() const { in getVariableValue() 147 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() 139 void MCExpr::dump() const { in dump() 146 const MCBinaryExpr *MCBinaryExpr::Create(Opcode Opc, const MCExpr *LHS, in Create() 147 const MCExpr *RHS, MCContext &Ctx) { in Create() 151 const MCUnaryExpr *MCUnaryExpr::Create(Opcode Opc, const MCExpr *Expr, in Create() [all …]
|
D | MCELFStreamer.cpp | 59 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value); 83 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) { in EmitELFSize() 105 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, 116 void fixSymbolsInTLSFixups(const MCExpr *expr); 197 void MCELFStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in EmitAssignment() 216 const MCExpr *Value = MCSymbolRefExpr::Create(Symbol, getContext()); in EmitWeakReference() 392 void MCELFStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, in EmitValueImpl() 411 void MCELFStreamer::fixSymbolsInTLSFixups(const MCExpr *expr) { in fixSymbolsInTLSFixups() 413 case MCExpr::Target: llvm_unreachable("Can't handle target exprs yet!"); in fixSymbolsInTLSFixups() 414 case MCExpr::Constant: in fixSymbolsInTLSFixups() [all …]
|
D | MCAsmInfo.cpp | 129 const MCExpr * 136 const MCExpr * 144 const MCExpr *Res = MCSymbolRefExpr::Create(Sym, Context); in getExprForFDESymbol() 147 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 | 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); 143 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value); 160 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value); 180 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, 185 virtual void EmitULEB128Value(const MCExpr *Value); 187 virtual void EmitSLEB128Value(const MCExpr *Value); 189 virtual void EmitGPRel64Value(const MCExpr *Value); 191 virtual void EmitGPRel32Value(const MCExpr *Value); 204 virtual bool EmitValueToOffset(const MCExpr *Offset, 365 void MCAsmStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in EmitAssignment() [all …]
|
/external/llvm/lib/Target/PTX/ |
D | PTXMCAsmStreamer.cpp | 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 bool EmitValueToOffset(const MCExpr *Offset, 251 void PTXMCAsmStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in EmitAssignment() 285 void PTXMCAsmStreamer::EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) {} in EmitELFSize() 360 void PTXMCAsmStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, in EmitValueImpl() [all …]
|
/external/llvm/lib/Target/MBlaze/AsmParser/ |
D | MBlazeAsmParser.cpp | 94 const MCExpr *Val; 100 const MCExpr *Off; 104 const MCExpr *Val; 144 const MCExpr *getImm() const { in getImm() 149 const MCExpr *getFslImm() const { in getFslImm() 159 const MCExpr* getMemOff() const { in getMemOff() 175 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() 236 static MBlazeOperand *CreateImm(const MCExpr *Val, SMLoc S, SMLoc E) { in CreateImm() 244 static MBlazeOperand *CreateFslImm(const MCExpr *Val, SMLoc S, SMLoc E) { in CreateFslImm() 252 static MBlazeOperand *CreateMem(unsigned Base, const MCExpr *Off, SMLoc S, in CreateMem() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 21 const MCExpr *X8664_MachoTargetObjectFile:: 30 const MCExpr *Res = in getExprForDwarfGlobalReference() 32 const MCExpr *Four = MCConstantExpr::Create(4, getContext()); in getExprForDwarfGlobalReference()
|
/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/Mips/MCTargetDesc/ |
D | MipsBaseInfo.h | 212 const MCExpr *Expr = Fixup.getValue(); in MipsGetSymAndOffset() 213 MCExpr::ExprKind Kind = Expr->getKind(); in MipsGetSymAndOffset() 215 if (Kind == MCExpr::Binary) { in MipsGetSymAndOffset() 217 const MCExpr *LHS = BE->getLHS(); in MipsGetSymAndOffset() 220 if ((LHS->getKind() != MCExpr::SymbolRef) || !CE) in MipsGetSymAndOffset() 226 if (Kind != MCExpr::SymbolRef) in MipsGetSymAndOffset()
|
D | MipsMCCodeEmitter.cpp | 146 const MCExpr *Expr = MO.getExpr(); in getBranchTargetOpValue() 162 const MCExpr *Expr = MO.getExpr(); in getJumpTargetOpValue() 187 const MCExpr *Expr = MO.getExpr(); in getMachineOpValue() 188 MCExpr::ExprKind Kind = Expr->getKind(); in getMachineOpValue() 190 if (Kind == MCExpr::Binary) { in getMachineOpValue() 195 assert (Kind == MCExpr::SymbolRef); in getMachineOpValue()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 166 bool ParseExpression(const MCExpr *&Res); 167 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc); 168 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc); 214 bool ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc); 215 bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc); 216 bool ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc); 217 bool ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc); 258 const MCExpr *ApplyModifierToExpr(const MCExpr *E, 610 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in ParseParenExpr() 624 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in ParseBracketExpr() [all …]
|
/external/llvm/tools/lto/ |
D | LTOModule.cpp | 544 void AddValueSymbols(const MCExpr *Value) { in AddValueSymbols() 546 case MCExpr::Target: in AddValueSymbols() 550 case MCExpr::Constant: in AddValueSymbols() 553 case MCExpr::Binary: { in AddValueSymbols() 560 case MCExpr::SymbolRef: in AddValueSymbols() 564 case MCExpr::Unary: in AddValueSymbols() 593 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in EmitAssignment() 621 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) {} in EmitELFSize() 627 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, in EmitValueImpl() 629 virtual void EmitULEB128Value(const MCExpr *Value) {} in EmitULEB128Value() [all …]
|