/frameworks/compile/mclinker/lib/Script/ |
Operator.cpp | 1 //===- Operator.cpp -------------------------------------------------------===// 9 #include "mcld/Script/Operator.h" 21 // Operator 23 const char* Operator::OpNames[] = { 43 Operator::Operator(Arity pArity, Type pType) 44 : ExprToken(ExprToken::OPERATOR), m_Arity(pArity), m_Type(pType) { 48 Operator::~Operator() { 51 void Operator::dump() const [all...] |
NullaryOp.cpp | 19 IntOperand* NullaryOp<Operator::SIZEOF_HEADERS>::eval( 28 IntOperand* NullaryOp<Operator::MAXPAGESIZE>::eval( 37 IntOperand* NullaryOp<Operator::COMMONPAGESIZE>::eval(
|
ScriptParser.yy | 15 #include "mcld/Script/Operator.h" 639 &Operator::create<Operator::UNARY_PLUS>()); 645 &Operator::create<Operator::UNARY_MINUS>()); 651 &Operator::create<Operator::LOGICAL_NOT>()); 657 &Operator::create<Operator::BITWISE_NOT>()); 663 &Operator::create<Operator::MUL>()) [all...] |
UnaryOp.cpp | 26 IntOperand* UnaryOp<Operator::UNARY_PLUS>::eval( 35 IntOperand* UnaryOp<Operator::UNARY_MINUS>::eval( 44 IntOperand* UnaryOp<Operator::LOGICAL_NOT>::eval( 53 IntOperand* UnaryOp<Operator::BITWISE_NOT>::eval( 62 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, 114 IntOperand* UnaryOp<Operator::DATA_SEGMENT_END>::eval( 123 IntOperand* UnaryOp<Operator::DEFINED>::eval(const Module& pModule, 131 IntOperand* UnaryOp<Operator::LENGTH>::eval(const Module& pModule [all...] |
/frameworks/compile/mclinker/include/mcld/Script/ |
Operator.h | 1 //===- Operator.h ---------------------------------------------------------===// 22 /** \class Operator 23 * \brief This class defines the interfaces to an operator token. 26 class Operator : public ExprToken { 31 /* arithmetic operator */ 90 Operator(Arity pArity, Type pType); 96 virtual ~Operator(); 110 return pToken->kind() == ExprToken::OPERATOR; 113 template <Operator::Type TYPE> 114 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 { 30 friend class Operator; 32 NullaryOp() : Operator(Operator::NULLARY, TYPE) {} 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& [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 { 30 friend class Operator; 32 BinaryOp() : Operator(Operator::BINARY, TYPE), m_Size(0) { 53 IntOperand* BinaryOp<Operator::MUL>::eval(const Module&, 56 IntOperand* BinaryOp<Operator::DIV>::eval(const Module&, 59 IntOperand* BinaryOp<Operator::MOD>::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 { 30 friend class Operator; 32 TernaryOp() : Operator(Operator::TERNARY, TYPE) { 53 IntOperand* TernaryOp<Operator::TERNARY_IF>::eval(const Module&, 57 IntOperand* TernaryOp<Operator::DATA_SEGMENT_ALIGN>::eval(
|
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 { 30 friend class Operator; 32 UnaryOp() : Operator(Operator::UNARY, TYPE), m_pOperand(NULL) {} 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& [all...] |
/external/v8/src/compiler/ |
machine-operator.h | 17 class Operator; 23 explicit OptionalOperator(const Operator* op) : op_(op) {} 26 const Operator* op() const { 32 const Operator* const op_; 39 LoadRepresentation LoadRepresentationOf(Operator const*); 58 bool operator==(StoreRepresentation, StoreRepresentation); 59 bool operator!=(StoreRepresentation, StoreRepresentation); 63 std::ostream& operator<<(std::ostream&, StoreRepresentation); 65 StoreRepresentation const& StoreRepresentationOf(Operator const*); 71 CheckedLoadRepresentation CheckedLoadRepresentationOf(Operator const*) [all...] |
simplified-operator.h | 26 class Operator; 33 std::ostream& operator<<(std::ostream&, BaseTaggedness); 49 bool operator==(BufferAccess, BufferAccess); 50 bool operator!=(BufferAccess, BufferAccess); 54 std::ostream& operator<<(std::ostream&, BufferAccess); 56 BufferAccess const BufferAccessOf(const Operator* op) WARN_UNUSED_RESULT; 73 bool operator==(FieldAccess const&, FieldAccess const&); 74 bool operator!=(FieldAccess const&, FieldAccess const&); 78 std::ostream& operator<<(std::ostream&, FieldAccess const&); 80 FieldAccess const& FieldAccessOf(const Operator* op) WARN_UNUSED_RESULT [all...] |
operator-properties.h | 15 class Operator; 20 static bool HasContextInput(const Operator* op); 21 static int GetContextInputCount(const Operator* op) { 24 static int GetFrameStateInputCount(const Operator* op); 26 static int GetTotalInputCount(const Operator* op); 28 static bool IsBasicBlockBegin(const Operator* op);
|
machine-operator.cc | 5 #include "src/compiler/machine-operator.h" 9 #include "src/compiler/operator.h" 15 bool operator==(StoreRepresentation lhs, StoreRepresentation rhs) { 21 bool operator!=(StoreRepresentation lhs, StoreRepresentation rhs) { 31 std::ostream& operator<<(std::ostream& os, StoreRepresentation rep) { 37 LoadRepresentation LoadRepresentationOf(Operator const* op) { 44 StoreRepresentation const& StoreRepresentationOf(Operator const* op) { 50 CheckedLoadRepresentation CheckedLoadRepresentationOf(Operator const* op) { 56 CheckedStoreRepresentation CheckedStoreRepresentationOf(Operator const* op) { 61 MachineRepresentation StackSlotRepresentationOf(Operator const* op) [all...] |
common-operator.h | 20 class Operator; 41 std::ostream& operator<<(std::ostream&, BranchHint); 43 BranchHint BranchHintOf(const Operator* const); 51 std::ostream& operator<<(std::ostream&, DeoptimizeKind); 53 DeoptimizeKind DeoptimizeKindOf(const Operator* const); 61 std::ostream& operator<<(std::ostream&, IfExceptionHint); 78 bool operator==(SelectParameters const&, SelectParameters const&); 79 bool operator!=(SelectParameters const&, SelectParameters const&); 83 std::ostream& operator<<(std::ostream&, SelectParameters const& p); 85 SelectParameters const& SelectParametersOf(const Operator* const) [all...] |
simplified-operator.cc | 5 #include "src/compiler/simplified-operator.h" 9 #include "src/compiler/operator.h" 20 std::ostream& operator<<(std::ostream& os, BaseTaggedness base_taggedness) { 57 bool operator==(BufferAccess lhs, BufferAccess rhs) { 62 bool operator!=(BufferAccess lhs, BufferAccess rhs) { return !(lhs == rhs); } 70 std::ostream& operator<<(std::ostream& os, BufferAccess access) { 83 BufferAccess const BufferAccessOf(const Operator* op) { 90 bool operator==(FieldAccess const& lhs, FieldAccess const& rhs) { 99 bool operator!=(FieldAccess const& lhs, FieldAccess const& rhs) { 113 std::ostream& operator<<(std::ostream& os, FieldAccess const& access) [all...] |
js-operator.h | 16 class Operator; 40 bool operator==(VectorSlotPair const&, VectorSlotPair const&); 41 bool operator!=(VectorSlotPair const&, VectorSlotPair const&); 47 ConvertReceiverMode ConvertReceiverModeOf(Operator const* op); 51 ToBooleanHints ToBooleanHintsOf(Operator const* op); 69 bool operator==(CallConstructParameters const&, CallConstructParameters const&); 70 bool operator!=(CallConstructParameters const&, CallConstructParameters const&); 74 std::ostream& operator<<(std::ostream&, CallConstructParameters const&); 76 CallConstructParameters const& CallConstructParametersOf(Operator const*); 100 bool operator==(CallFunctionParameters const& that) const [all...] |
common-operator.cc | 5 #include "src/compiler/common-operator.h" 11 #include "src/compiler/operator.h" 19 std::ostream& operator<<(std::ostream& os, BranchHint hint) { 33 BranchHint BranchHintOf(const Operator* const op) { 42 std::ostream& operator<<(std::ostream& os, DeoptimizeKind kind) { 54 DeoptimizeKind DeoptimizeKindOf(const Operator* const op) { 63 std::ostream& operator<<(std::ostream& os, IfExceptionHint hint) { 75 bool operator==(SelectParameters const& lhs, SelectParameters const& rhs) { 81 bool operator!=(SelectParameters const& lhs, SelectParameters const& rhs) { 91 std::ostream& operator<<(std::ostream& os, SelectParameters const& p) [all...] |
js-operator.cc | 5 #include "src/compiler/js-operator.h" 11 #include "src/compiler/operator.h" 27 bool operator==(VectorSlotPair const& lhs, VectorSlotPair const& rhs) { 33 bool operator!=(VectorSlotPair const& lhs, VectorSlotPair const& rhs) { 43 ConvertReceiverMode ConvertReceiverModeOf(Operator const* op) { 49 ToBooleanHints ToBooleanHintsOf(Operator const* op) { 55 bool operator==(CallConstructParameters const& lhs, 61 bool operator!=(CallConstructParameters const& lhs, 72 std::ostream& operator<<(std::ostream& os, CallConstructParameters const& p) { 77 CallConstructParameters const& CallConstructParametersOf(Operator const* op) [all...] |
graph-replay.h | 31 static void PrintReplayOpCreator(const Operator* op);
|
/external/clang/test/CodeGenCXX/ |
2003-11-18-PtrMemConstantInitializer.cpp | 7 struct Operator { 11 Operator opTab[] = {
|
/external/deqp/modules/gles2/scripts/ |
gen-reserved_operators.py | 55 if op.operator == "~": 58 self.operation = 'value ' + op.operator + ' 1;' 68 class Operator(): 69 def __init__(self, operator, name): 70 self.operator = operator 76 Operator("%", "modulo"), 77 Operator("~", "bitwise_not"), 78 Operator("<<", "bitwise_shift_left"), 79 Operator(">>", "bitwise_shift_right") [all...] |
/external/v8/test/unittests/compiler/ |
simplified-operator-unittest.cc | 6 #include "src/compiler/operator.h" 7 #include "src/compiler/operator-properties.h" 8 #include "src/compiler/simplified-operator.h" 23 const Operator* (SimplifiedOperatorBuilder::*constructor)(); 25 Operator::Properties properties; 30 std::ostream& operator<<(std::ostream& os, const PureOperator& pop) { 38 Operator::kPure | properties, input_count \ 40 PURE(BooleanNot, Operator::kNoProperties, 1), 41 PURE(BooleanToNumber, Operator::kNoProperties, 1), 42 PURE(NumberEqual, Operator::kCommutative, 2) [all...] |
value-numbering-reducer-unittest.cc | 9 #include "src/compiler/operator.h" 17 struct TestOperator : public Operator { 18 TestOperator(Operator::Opcode opcode, Operator::Properties properties, 20 : Operator(opcode, properties, "TestOp", value_in, 0, 0, value_out, 0, 25 static const TestOperator kOp0(0, Operator::kIdempotent, 0, 1); 26 static const TestOperator kOp1(1, Operator::kIdempotent, 1, 1); 64 TestOperator op(0, Operator::kNoProperties, 0, 1); 76 Operator::Opcode opcode = static_cast<Operator::Opcode>(kMaxInputCount + i) [all...] |
common-operator-unittest.cc | 7 #include "src/compiler/common-operator.h" 9 #include "src/compiler/operator.h" 10 #include "src/compiler/operator-properties.h" 25 const Operator* (CommonOperatorBuilder::*constructor)(); 27 Operator::Properties properties; 37 std::ostream& operator<<(std::ostream& os, const SharedOperator& fop) { 51 SHARED(Dead, Operator::kFoldable, 0, 0, 0, 1, 1, 1), 52 SHARED(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1), 53 SHARED(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1), 54 SHARED(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) [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);
|