Home
last modified time | relevance | path

Searched refs:IntOperand (Results 1 – 13 of 13) sorted by relevance

/frameworks/compile/mclinker/lib/Script/
DBinaryOp.cpp27 IntOperand* BinaryOp<Operator::MUL>::eval(const Module& pModule, in eval()
29 IntOperand* res = result(); in eval()
35 IntOperand* BinaryOp<Operator::DIV>::eval(const Module& pModule, in eval()
37 IntOperand* res = result(); in eval()
43 IntOperand* BinaryOp<Operator::MOD>::eval(const Module& pModule, in eval()
45 IntOperand* res = result(); in eval()
51 IntOperand* BinaryOp<Operator::ADD>::eval(const Module& pModule, in eval()
53 IntOperand* res = result(); in eval()
59 IntOperand* BinaryOp<Operator::SUB>::eval(const Module& pModule, in eval()
61 IntOperand* res = result(); in eval()
[all …]
DUnaryOp.cpp26 IntOperand* UnaryOp<Operator::UNARY_PLUS>::eval( in eval()
29 IntOperand* res = result(); in eval()
35 IntOperand* UnaryOp<Operator::UNARY_MINUS>::eval( in eval()
38 IntOperand* res = result(); in eval()
44 IntOperand* UnaryOp<Operator::LOGICAL_NOT>::eval( in eval()
47 IntOperand* res = result(); in eval()
53 IntOperand* UnaryOp<Operator::BITWISE_NOT>::eval( in eval()
56 IntOperand* res = result(); in eval()
62 IntOperand* UnaryOp<Operator::ABSOLUTE>::eval(const Module& pModule, in eval()
70 IntOperand* UnaryOp<Operator::ADDR>::eval(const Module& pModule, in eval()
[all …]
DOperand.cpp71 typedef GCFactory<IntOperand, MCLD_SYMBOLS_PER_INPUT> IntOperandFactory;
74 IntOperand::IntOperand() : Operand(Operand::INTEGER), m_Value(0) { in IntOperand() function in mcld::IntOperand
77 IntOperand::IntOperand(uint64_t pValue) in IntOperand() function in mcld::IntOperand
81 void IntOperand::dump() const { in dump()
85 IntOperand* IntOperand::create(uint64_t pValue) { in create()
86 IntOperand* result = g_IntOperandFactory->allocate(); in create()
87 new (result) IntOperand(pValue); in create()
91 void IntOperand::destroy(IntOperand*& pOperand) { in destroy()
97 void IntOperand::clear() { in clear()
DNullaryOp.cpp19 IntOperand* NullaryOp<Operator::SIZEOF_HEADERS>::eval( in eval()
22 IntOperand* res = result(); in eval()
28 IntOperand* NullaryOp<Operator::MAXPAGESIZE>::eval( in eval()
31 IntOperand* res = result(); in eval()
37 IntOperand* NullaryOp<Operator::COMMONPAGESIZE>::eval( in eval()
40 IntOperand* res = result(); in eval()
DTernaryOp.cpp20 IntOperand* TernaryOp<Operator::TERNARY_IF>::eval( in eval()
23 IntOperand* res = result(); in eval()
33 IntOperand* TernaryOp<Operator::DATA_SEGMENT_ALIGN>::eval( in eval()
41 IntOperand* res = result(); in eval()
DOperator.cpp45 m_pIntOperand = IntOperand::create(0); in Operator()
DScriptParser.yy917 m_ScriptFile.getCurrentRpnExpr()->push_back(IntOperand::create($1));
/frameworks/compile/mclinker/include/mcld/Script/
DBinaryOp.h19 class IntOperand; variable
39 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
53 IntOperand* BinaryOp<Operator::MUL>::eval(const Module&,
56 IntOperand* BinaryOp<Operator::DIV>::eval(const Module&,
59 IntOperand* BinaryOp<Operator::MOD>::eval(const Module&,
62 IntOperand* BinaryOp<Operator::ADD>::eval(const Module&,
65 IntOperand* BinaryOp<Operator::SUB>::eval(const Module&,
68 IntOperand* BinaryOp<Operator::LSHIFT>::eval(const Module&,
71 IntOperand* BinaryOp<Operator::RSHIFT>::eval(const Module&,
74 IntOperand* BinaryOp<Operator::LT>::eval(const Module&, const TargetLDBackend&);
[all …]
DUnaryOp.h18 class IntOperand; variable
37 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
46 IntOperand* UnaryOp<Operator::UNARY_PLUS>::eval(const Module&,
49 IntOperand* UnaryOp<Operator::UNARY_MINUS>::eval(const Module&,
52 IntOperand* UnaryOp<Operator::LOGICAL_NOT>::eval(const Module&,
55 IntOperand* UnaryOp<Operator::BITWISE_NOT>::eval(const Module&,
59 IntOperand* UnaryOp<Operator::ABSOLUTE>::eval(const Module&,
62 IntOperand* UnaryOp<Operator::ADDR>::eval(const Module&,
65 IntOperand* UnaryOp<Operator::ALIGNOF>::eval(const Module&,
68 IntOperand* UnaryOp<Operator::DATA_SEGMENT_END>::eval(const Module&,
[all …]
DNullaryOp.h19 class IntOperand; variable
37 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
43 IntOperand* NullaryOp<Operator::SIZEOF_HEADERS>::eval(const Module&,
46 IntOperand* NullaryOp<Operator::MAXPAGESIZE>::eval(const Module&,
50 IntOperand* NullaryOp<Operator::COMMONPAGESIZE>::eval(const Module&,
DTernaryOp.h18 class IntOperand; variable
39 IntOperand* eval(const Module& pModule, const TargetLDBackend& pBackend);
53 IntOperand* TernaryOp<Operator::TERNARY_IF>::eval(const Module&,
57 IntOperand* TernaryOp<Operator::DATA_SEGMENT_ALIGN>::eval(
DOperand.h91 class IntOperand : public Operand {
93 friend class Chunk<IntOperand, MCLD_SYMBOLS_PER_INPUT>;
94 IntOperand();
95 explicit IntOperand(uint64_t pValue);
109 static IntOperand* create(uint64_t pValue);
110 static void destroy(IntOperand*& pOperand);
DOperator.h17 class IntOperand; variable
92 const IntOperand* result() const { return m_pIntOperand; } in result()
93 IntOperand* result() { return m_pIntOperand; } in result()
104 virtual IntOperand* eval(const Module& pModule,
119 IntOperand* m_pIntOperand;