HomeSort by relevance Sort by last modified time
    Searched refs:Operator (Results 1 - 25 of 101) sorted by null

1 2 3 4 5

  /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,
BinaryOp.cpp 23 IntOperand* BinaryOp<Operator::MUL>::eval(const Module& pModule,
32 IntOperand* BinaryOp<Operator::DIV>::eval(const Module& pModule,
41 IntOperand* BinaryOp<Operator::MOD>::eval(const Module& pModule,
50 IntOperand* BinaryOp<Operator::ADD>::eval(const Module& pModule,
59 IntOperand* BinaryOp<Operator::SUB>::eval(const Module& pModule,
68 IntOperand* BinaryOp<Operator::LSHIFT>::eval(const Module& pModule,
77 IntOperand* BinaryOp<Operator::RSHIFT>::eval(const Module& pModule,
86 IntOperand* BinaryOp<Operator::LT>::eval(const Module& pModule,
95 IntOperand* BinaryOp<Operator::LE>::eval(const Module& pModule,
104 IntOperand* BinaryOp<Operator::GT>::eval(const Module& pModule
    [all...]
RpnExpr.cpp 12 #include <mcld/Script/Operator.h>
92 expr->push_back(&Operator::create<Operator::ADDR>());
94 expr->push_back(&Operator::create<Operator::SIZEOF>());
95 expr->push_back(&Operator::create<Operator::ADD>());
RpnEvaluator.cpp 14 #include <mcld/Script/Operator.h>
37 case ExprToken::OPERATOR: {
38 Operator* op = llvm::cast<Operator>(*it);
40 case Operator::NULLARY: {
44 case Operator::UNARY: {
51 case Operator::BINARY: {
61 case Operator::TERNARY: {
74 } // end of switch operator arity
TernaryOp.cpp 19 TernaryOp<Operator::TERNARY_IF>::eval(const Module& pModule,
33 TernaryOp<Operator::DATA_SEGMENT_ALIGN>::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/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/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);
  /external/llvm/utils/PerfectShuffle/
PerfectShuffle.cpp 22 struct Operator;
89 Operator *Op; // The Operation used to generate this value.
101 static std::vector<Operator*> TheOperators;
103 /// Operator - This is a vector operation that is available for use.
104 struct Operator {
110 Operator(unsigned short shufflemask, const char *name, unsigned opnum,
115 ~Operator() {
304 Operator *Op = TheOperators[opnum];
469 struct vmrghw : public Operator {
470 vmrghw() : Operator(0x0415, "vmrghw", OP_VMRGHW) {
    [all...]
  /external/llvm/include/llvm/TableGen/
SetTheory.h 68 /// Operator - A callback representing a DAG operator.
69 class Operator {
72 virtual ~Operator() {}
74 /// apply - Apply this operator to Expr's arguments and insert the result
98 StringMap<Operator*> Operators;
120 /// addOperator - Add a DAG operator.
121 void addOperator(StringRef Name, Operator*);
  /packages/apps/Settings/tests/src/com/android/settings/tests/
Operator.java 22 public class Operator extends Activity {
  /external/llvm/lib/Target/NVPTX/
NVPTXFavorNonGenericAddrSpaces.cpp 46 #include "llvm/IR/Operator.h"
90 static bool IsEliminableAddrSpaceCast(Operator *Cast) {
113 Operator *Cast = dyn_cast<Operator>(GEP->getPointerOperand());
164 if (Operator *Cast = dyn_cast<Operator>(MI->getOperand(Idx))) {
  /external/chromium_org/base/metrics/
histogram_samples.h 48 enum Operator { ADD, SUBTRACT };
49 virtual bool AddSubtractImpl(SampleCountIterator* iter, Operator op) = 0;
  /external/llvm/lib/IR/
User.cpp 13 #include "llvm/IR/Operator.h"
49 Use *Begin = static_cast<Use*>(::operator new(size));
56 // User operator new Implementations
59 void *User::operator new(size_t s, unsigned Us) {
60 void *Storage = ::operator new(s + sizeof(Use) * Us);
71 // User operator delete Implementation
74 void User::operator delete(void *Usr) {
79 ::operator delete(Storage);
83 // Operator Class
86 Operator::~Operator()
    [all...]
  /external/clang/include/clang/AST/
TemplateName.h 332 /// Insertion operator for diagnostics. This allows sending TemplateName's
334 const DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB,
446 /// overloaded operator kind (when set).
456 /// \brief The overloaded operator name.
459 OverloadedOperatorKind Operator;
484 OverloadedOperatorKind Operator)
485 : Qualifier(Qualifier, true), Operator(Operator),
489 OverloadedOperatorKind Operator,
491 : Qualifier(Qualifier, true), Operator(Operator),
    [all...]
  /external/llvm/include/llvm/IR/
Operator.h 1 //===-- llvm/Operator.h - Operator utility subclass -------------*- C++ -*-===//
31 /// Operator - This is a utility class that provides an abstraction for the
34 class Operator : public User {
36 // The Operator class is intended to be used as a utility, and is never itself
38 void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION;
39 void *operator new(size_t s) LLVM_DELETED_FUNCTION;
40 Operator() LLVM_DELETED_FUNCTION;
46 ~Operator();
77 /// despite that operator having the potential for overflow
    [all...]
  /external/llvm/lib/TableGen/
SetTheory.cpp 29 struct AddOp : public SetTheory::Operator {
37 struct SubOp : public SetTheory::Operator {
53 struct AndOp : public SetTheory::Operator {
69 struct SetIntBinOp : public SetTheory::Operator {
76 PrintFatalError(Loc, "Operator requires (Op Set, Int) arguments: " +
148 struct InterleaveOp : public SetTheory::Operator {
167 struct SequenceOp : public SetTheory::Operator {
243 void SetTheory::Operator::anchor() {}
260 void SetTheory::addOperator(StringRef Name, Operator *Op) {
292 Operator *Op = Operators.lookup(OpInit->getDef()->getName())
    [all...]

Completed in 552 milliseconds

1 2 3 4 5