/frameworks/compile/mclinker/lib/Script/ |
Operator.cpp | 1 //===- Operator.cpp -------------------------------------------------------===// 9 #include <mcld/Script/Operator.h> 19 // Operator 21 const char* Operator::OpNames[] = { 76 Operator::Operator(Arity pArity, 78 : ExprToken(ExprToken::OPERATOR), 85 Operator::~Operator() 89 void Operator::dump() cons [all...] |
ScriptParser.yy | 15 #include <mcld/Script/Operator.h> 628 &Operator::create<Operator::UNARY_PLUS>()); 634 &Operator::create<Operator::UNARY_MINUS>()); 640 &Operator::create<Operator::LOGICAL_NOT>()); 646 &Operator::create<Operator::BITWISE_NOT>()); 652 &Operator::create<Operator::MUL>()) [all...] |
UnaryOp.cpp | 22 IntOperand* UnaryOp<Operator::UNARY_PLUS>::eval(const Module& pModule, 32 UnaryOp<Operator::UNARY_MINUS>::eval(const Module& pModule, 42 UnaryOp<Operator::LOGICAL_NOT>::eval(const Module& pModule, 52 UnaryOp<Operator::BITWISE_NOT>::eval(const Module& pModule, 61 IntOperand* UnaryOp<Operator::ABSOLUTE>::eval(const Module& pModule, 70 IntOperand* UnaryOp<Operator::ADDR>::eval(const Module& pModule, 92 IntOperand* UnaryOp<Operator::ALIGNOF>::eval(const Module& pModule, 115 UnaryOp<Operator::DATA_SEGMENT_END>::eval(const Module& pModule, 124 IntOperand* UnaryOp<Operator::DEFINED>::eval(const Module& pModule, 133 IntOperand* UnaryOp<Operator::LENGTH>::eval(const Module& pModule [all...] |
NullaryOp.cpp | 19 NullaryOp<Operator::SIZEOF_HEADERS>::eval(const Module& pModule, 29 NullaryOp<Operator::MAXPAGESIZE>::eval(const Module& pModule, 39 NullaryOp<Operator::COMMONPAGESIZE>::eval(const Module& pModule,
|
/frameworks/compile/mclinker/include/mcld/Script/ |
Operator.h | 1 //===- Operator.h ---------------------------------------------------------===// 23 /** \class Operator 24 * \brief This class defines the interfaces to an operator token. 27 class Operator : public ExprToken 38 /* arithmetic operator */ 97 Operator(Arity pArity, Type pType); 103 virtual ~Operator(); 118 return pToken->kind() == ExprToken::OPERATOR; 121 template<Operator::Type TYPE> 122 static Operator& create() [all...] |
NullaryOp.h | 12 #include <mcld/Script/Operator.h> 24 * \brief This class defines the interfaces to an nullary operator token. 27 template<Operator::Type TYPE> 28 class NullaryOp : public Operator 31 friend class Operator; 34 : Operator(Operator::NULLARY, TYPE) 50 IntOperand* NullaryOp<Operator::SIZEOF_HEADERS>::eval(const Module&, 53 IntOperand* NullaryOp<Operator::MAXPAGESIZE>::eval(const Module&, 57 IntOperand* NullaryOp<Operator::COMMONPAGESIZE>::eval(const Module& [all...] |
BinaryOp.h | 12 #include <mcld/Script/Operator.h> 24 * \brief This class defines the interfaces to an binary operator token. 27 template<Operator::Type TYPE> 28 class BinaryOp : public Operator 31 friend class Operator; 34 : Operator(Operator::BINARY, TYPE), m_Size(0) 58 IntOperand* BinaryOp<Operator::MUL>::eval(const Module&, 61 IntOperand* BinaryOp<Operator::DIV>::eval(const Module&, 64 IntOperand* BinaryOp<Operator::MOD>::eval(const Module& [all...] |
UnaryOp.h | 12 #include <mcld/Script/Operator.h> 24 * \brief This class defines the interfaces to an unary operator token. 27 template<Operator::Type TYPE> 28 class UnaryOp : public Operator 31 friend class Operator; 34 : Operator(Operator::UNARY, TYPE), m_pOperand(NULL) 53 IntOperand* UnaryOp<Operator::UNARY_PLUS>::eval(const Module&, 56 IntOperand* UnaryOp<Operator::UNARY_MINUS>::eval(const Module&, 59 IntOperand* UnaryOp<Operator::LOGICAL_NOT>::eval(const Module& [all...] |
TernaryOp.h | 12 #include <mcld/Script/Operator.h> 24 * \brief This class defines the interfaces to an binary operator token. 27 template<Operator::Type TYPE> 28 class TernaryOp : public Operator 31 friend class Operator; 34 : Operator(Operator::TERNARY, TYPE) 58 IntOperand* TernaryOp<Operator::TERNARY_IF>::eval(const Module&, 63 TernaryOp<Operator::DATA_SEGMENT_ALIGN>::eval(const Module&,
|
/external/chromium_org/v8/src/compiler/ |
operator-properties.h | 12 class Operator; 16 static inline bool HasValueInput(const Operator* op); 17 static inline bool HasContextInput(const Operator* op); 18 static inline bool HasEffectInput(const Operator* op); 19 static inline bool HasControlInput(const Operator* op); 20 static inline bool HasFrameStateInput(const Operator* op); 22 static inline int GetValueInputCount(const Operator* op); 23 static inline int GetContextInputCount(const Operator* op); 24 static inline int GetEffectInputCount(const Operator* op); 25 static inline int GetControlInputCount(const Operator* op) [all...] |
simplified-operator.h | 25 class Operator; 31 OStream& operator<<(OStream&, BaseTaggedness); 60 bool operator==(ElementAccess const& lhs, ElementAccess const& rhs); 61 bool operator!=(ElementAccess const& lhs, ElementAccess const& rhs); 63 OStream& operator<<(OStream&, ElementAccess const&); 70 const FieldAccess& FieldAccessOf(const Operator* op) WARN_UNUSED_RESULT; 71 const ElementAccess& ElementAccessOf(const Operator* op) WARN_UNUSED_RESULT; 100 const Operator* BooleanNot(); 101 const Operator* BooleanToNumber(); 103 const Operator* NumberEqual() [all...] |
machine-operator.h | 16 class Operator; 22 OStream& operator<<(OStream& os, const WriteBarrierKind& write_barrier_kind); 44 inline bool operator==(const StoreRepresentation& rep1, 50 inline bool operator!=(const StoreRepresentation& rep1, 55 OStream& operator<<(OStream& os, const StoreRepresentation& rep); 65 const Operator* Word32And(); 66 const Operator* Word32Or(); 67 const Operator* Word32Xor(); 68 const Operator* Word32Shl(); 69 const Operator* Word32Shr() [all...] |
common-operator.h | 24 class Operator; 72 const Operator* Dead(); 73 const Operator* End(); 74 const Operator* Branch(); 75 const Operator* IfTrue(); 76 const Operator* IfFalse(); 77 const Operator* Throw(); 78 const Operator* Return(); 80 const Operator* Start(int num_formal_parameters); 81 const Operator* Merge(int controls) [all...] |
machine-operator.cc | 5 #include "src/compiler/machine-operator.h" 9 #include "src/compiler/operator.h" 15 OStream& operator<<(OStream& os, const WriteBarrierKind& write_barrier_kind) { 27 OStream& operator<<(OStream& os, const StoreRepresentation& rep) { 61 V(Word32And, Operator::kAssociative | Operator::kCommutative, 2, 1) \ 62 V(Word32Or, Operator::kAssociative | Operator::kCommutative, 2, 1) \ 63 V(Word32Xor, Operator::kAssociative | Operator::kCommutative, 2, 1) [all...] |
common-operator.cc | 5 #include "src/compiler/common-operator.h" 38 // TODO(bmeurer): Move to operator<<(os, ExternalReference) 57 V(Dead, Operator::kFoldable, 0, 0) \ 58 V(End, Operator::kFoldable, 0, 1) \ 59 V(Branch, Operator::kFoldable, 1, 1) \ 60 V(IfTrue, Operator::kFoldable, 0, 1) \ 61 V(IfFalse, Operator::kFoldable, 0, 1) \ 62 V(Throw, Operator::kFoldable, 1, 1) \ 63 V(Return, Operator::kNoProperties, 1, 1) 68 struct Name##Operator FINAL : public ControlOperator { [all...] |
operator.cc | 5 #include "src/compiler/operator.h" 11 Operator::~Operator() {} 17 : Operator(opcode, properties, mnemonic),
|
js-operator.h | 10 #include "src/compiler/operator.h" 73 SIMPLE(name, Operator::kNoProperties, inputs, outputs) 82 #define PURE_BINOP(name) SIMPLE(name, Operator::kPure, 2, 1) 84 const Operator* Equal() { BINOP(JSEqual); } 85 const Operator* NotEqual() { BINOP(JSNotEqual); } 86 const Operator* StrictEqual() { PURE_BINOP(JSStrictEqual); } 87 const Operator* StrictNotEqual() { PURE_BINOP(JSStrictNotEqual); } 88 const Operator* LessThan() { BINOP(JSLessThan); } 89 const Operator* GreaterThan() { BINOP(JSGreaterThan); } 90 const Operator* LessThanOrEqual() { BINOP(JSLessThanOrEqual); [all...] |
simplified-operator.cc | 5 #include "src/compiler/simplified-operator.h" 9 #include "src/compiler/operator.h" 16 OStream& operator<<(OStream& os, BaseTaggedness base_taggedness) { 28 bool operator==(ElementAccess const& lhs, ElementAccess const& rhs) { 35 bool operator!=(ElementAccess const& lhs, ElementAccess const& rhs) { 40 OStream& operator<<(OStream& os, ElementAccess const& access) { 48 const FieldAccess& FieldAccessOf(const Operator* op) { 56 const ElementAccess& ElementAccessOf(const Operator* op) { 99 V(BooleanNot, Operator::kNoProperties, 1) \ 100 V(BooleanToNumber, Operator::kNoProperties, 1) [all...] |
operator-properties-inl.h | 8 #include "src/compiler/common-operator.h" 9 #include "src/compiler/js-operator.h" 11 #include "src/compiler/operator-properties.h" 17 inline bool OperatorProperties::HasValueInput(const Operator* op) { 21 inline bool OperatorProperties::HasContextInput(const Operator* op) { 26 inline bool OperatorProperties::HasEffectInput(const Operator* op) { 30 inline bool OperatorProperties::HasControlInput(const Operator* op) { 34 inline bool OperatorProperties::HasFrameStateInput(const Operator* op) { 87 inline int OperatorProperties::GetValueInputCount(const Operator* op) { 91 inline int OperatorProperties::GetContextInputCount(const Operator* op) [all...] |
simplified-operator-unittest.cc | 5 #include "src/compiler/simplified-operator.h" 7 #include "src/compiler/operator-properties-inl.h" 15 inline std::ostream& operator<<(std::ostream& os, const ElementAccess& access) { 29 const Operator* (SimplifiedOperatorBuilder::*constructor)(); 31 Operator::Properties properties; 36 std::ostream& operator<<(std::ostream& os, const PureOperator& pop) { 45 Operator::kPure | properties, input_count \ 47 PURE(BooleanNot, Operator::kNoProperties, 1), 48 PURE(NumberEqual, Operator::kCommutative, 2), 49 PURE(NumberLessThan, Operator::kNoProperties, 2) [all...] |
value-numbering-reducer-unittest.cc | 17 const SimpleOperator kOp0(0, Operator::kNoProperties, 0, 1, "op0"); 18 const SimpleOperator kOp1(1, Operator::kNoProperties, 1, 1, "op1"); 61 Operator::Opcode opcode = static_cast<Operator::Opcode>( 62 std::numeric_limits<Operator::Opcode>::max() - i); 64 opcode, Operator::kNoProperties, 0, 1, "Operator")); 67 const SimpleOperator op1(static_cast<Operator::Opcode>(input_count), 68 Operator::kNoProperties, 74 const SimpleOperator op2(static_cast<Operator::Opcode>(input_count) [all...] |
/external/clang/test/CodeGenCXX/ |
2003-11-18-PtrMemConstantInitializer.cpp | 7 struct Operator { 11 Operator opTab[] = {
|
/external/deqp/modules/gles2/scripts/ |
gen-reserved_operators.py | 33 if op.operator == "~": 36 self.operation = 'value ' + op.operator + ' 1;' 46 class Operator(): 47 def __init__(self, operator, name): 48 self.operator = operator 54 Operator("%", "modulo"), 55 Operator("~", "bitwise_not"), 56 Operator("<<", "bitwise_shift_left"), 57 Operator(">>", "bitwise_shift_right") [all...] |
/external/chromium_org/v8/test/cctest/compiler/ |
test-operator.cc | 7 #include "src/compiler/operator.h" 17 SimpleOperator op1(10, Operator::kNoProperties, 0, 0, "ThisOne"); 20 SimpleOperator op2(11, Operator::kNoProperties, 0, 0, "ThatOne"); 23 Operator1<int> op3(12, Operator::kNoProperties, 0, 1, "Mnemonic1", 12333); 26 Operator1<double> op4(13, Operator::kNoProperties, 0, 1, "TheOther", 99.9); 32 SimpleOperator op1(17, Operator::kNoProperties, 0, 0, "Another"); 35 SimpleOperator op2(18, Operator::kNoProperties, 0, 0, "Falsch"); 41 SimpleOperator op1a(19, Operator::kNoProperties, 0, 0, "Another1"); 42 SimpleOperator op1b(19, Operator::kFoldable, 2, 2, "Another2"); 49 SimpleOperator op2a(20, Operator::kNoProperties, 0, 0, "Falsch1") [all...] |
/external/clang/include/clang/Basic/ |
OperatorKinds.h | 23 OO_None, ///< Not an overloaded operator 30 /// \brief Retrieve the spelling of the given overloaded operator, without 31 /// the preceding "operator" keyword. 32 const char *getOperatorSpelling(OverloadedOperatorKind Operator);
|