Home
last modified time | relevance | path

Searched refs:Operator (Results 1 – 25 of 145) sorted by relevance

123456

/external/v8/src/compiler/
Dmachine-operator.cc61 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) \
64 V(Word32Shl, Operator::kNoProperties, 2, 1) \
65 V(Word32Shr, Operator::kNoProperties, 2, 1) \
66 V(Word32Sar, Operator::kNoProperties, 2, 1) \
67 V(Word32Ror, Operator::kNoProperties, 2, 1) \
68 V(Word32Equal, Operator::kCommutative, 2, 1) \
69 V(Word64And, Operator::kAssociative | Operator::kCommutative, 2, 1) \
70 V(Word64Or, Operator::kAssociative | Operator::kCommutative, 2, 1) \
[all …]
Dmachine-operator.h16 class Operator; variable
65 const Operator* Word32And();
66 const Operator* Word32Or();
67 const Operator* Word32Xor();
68 const Operator* Word32Shl();
69 const Operator* Word32Shr();
70 const Operator* Word32Sar();
71 const Operator* Word32Ror();
72 const Operator* Word32Equal();
74 const Operator* Word64And();
[all …]
Djs-operator.h73 SIMPLE(name, Operator::kNoProperties, inputs, outputs)
82 #define PURE_BINOP(name) SIMPLE(name, Operator::kPure, 2, 1)
84 const Operator* Equal() { BINOP(JSEqual); } in Equal()
85 const Operator* NotEqual() { BINOP(JSNotEqual); } in NotEqual()
86 const Operator* StrictEqual() { PURE_BINOP(JSStrictEqual); } in StrictEqual()
87 const Operator* StrictNotEqual() { PURE_BINOP(JSStrictNotEqual); } in StrictNotEqual()
88 const Operator* LessThan() { BINOP(JSLessThan); } in LessThan()
89 const Operator* GreaterThan() { BINOP(JSGreaterThan); } in GreaterThan()
90 const Operator* LessThanOrEqual() { BINOP(JSLessThanOrEqual); } in LessThanOrEqual()
91 const Operator* GreaterThanOrEqual() { BINOP(JSGreaterThanOrEqual); } in GreaterThanOrEqual()
[all …]
Dsimplified-operator.h25 class Operator; variable
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();
104 const Operator* NumberLessThan();
105 const Operator* NumberLessThanOrEqual();
106 const Operator* NumberAdd();
107 const Operator* NumberSubtract();
[all …]
Dcommon-operator.cc57 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 { \
69 Name##Operator() \
73 Name##Operator k##Name##Operator;
[all …]
Dcommon-operator.h24 class Operator; variable
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 …]
Dsimplified-operator.cc48 const FieldAccess& FieldAccessOf(const Operator* op) { in FieldAccessOf()
56 const ElementAccess& ElementAccessOf(const Operator* op) { in ElementAccessOf()
99 V(BooleanNot, Operator::kNoProperties, 1) \
100 V(BooleanToNumber, Operator::kNoProperties, 1) \
101 V(NumberEqual, Operator::kCommutative, 2) \
102 V(NumberLessThan, Operator::kNoProperties, 2) \
103 V(NumberLessThanOrEqual, Operator::kNoProperties, 2) \
104 V(NumberAdd, Operator::kCommutative, 2) \
105 V(NumberSubtract, Operator::kNoProperties, 2) \
106 V(NumberMultiply, Operator::kCommutative, 2) \
[all …]
Doperator-properties.h12 class Operator; variable
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 …]
Dsimplified-operator-unittest.cc29 const Operator* (SimplifiedOperatorBuilder::*constructor)();
31 Operator::Properties properties;
45 Operator::kPure | properties, input_count \
47 PURE(BooleanNot, Operator::kNoProperties, 1),
48 PURE(NumberEqual, Operator::kCommutative, 2),
49 PURE(NumberLessThan, Operator::kNoProperties, 2),
50 PURE(NumberLessThanOrEqual, Operator::kNoProperties, 2),
51 PURE(NumberAdd, Operator::kCommutative, 2),
52 PURE(NumberSubtract, Operator::kNoProperties, 2),
53 PURE(NumberMultiply, Operator::kCommutative, 2),
[all …]
Doperator-properties-inl.h17 inline bool OperatorProperties::HasValueInput(const Operator* op) { in HasValueInput()
21 inline bool OperatorProperties::HasContextInput(const Operator* op) { in HasContextInput()
26 inline bool OperatorProperties::HasEffectInput(const Operator* op) { in HasEffectInput()
30 inline bool OperatorProperties::HasControlInput(const Operator* op) { in HasControlInput()
34 inline bool OperatorProperties::HasFrameStateInput(const Operator* op) { in HasFrameStateInput()
87 inline int OperatorProperties::GetValueInputCount(const Operator* op) { in GetValueInputCount()
91 inline int OperatorProperties::GetContextInputCount(const Operator* op) { in GetContextInputCount()
95 inline int OperatorProperties::GetFrameStateInputCount(const Operator* op) { in GetFrameStateInputCount()
99 inline int OperatorProperties::GetEffectInputCount(const Operator* op) { in GetEffectInputCount()
104 if (op->HasProperty(Operator::kNoRead) && op->HasProperty(Operator::kNoWrite)) in GetEffectInputCount()
[all …]
Dcommon-operator-unittest.cc24 const Operator* (CommonOperatorBuilder::*constructor)();
26 Operator::Properties properties;
48 SHARED(Dead, Operator::kFoldable, 0, 0, 0, 0, 1),
49 SHARED(End, Operator::kFoldable, 0, 0, 1, 0, 0),
50 SHARED(Branch, Operator::kFoldable, 1, 0, 1, 0, 2),
51 SHARED(IfTrue, Operator::kFoldable, 0, 0, 1, 0, 1),
52 SHARED(IfFalse, Operator::kFoldable, 0, 0, 1, 0, 1),
53 SHARED(Throw, Operator::kFoldable, 1, 0, 1, 0, 1),
54 SHARED(Return, Operator::kNoProperties, 1, 1, 1, 1, 1),
55 SHARED(ControlEffect, Operator::kPure, 0, 0, 1, 1, 0)
[all …]
Dvalue-numbering-reducer-unittest.cc17 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>( in TEST_F()
62 std::numeric_limits<Operator::Opcode>::max() - i); in TEST_F()
64 opcode, Operator::kNoProperties, 0, 1, "Operator")); in TEST_F()
67 const SimpleOperator op1(static_cast<Operator::Opcode>(input_count), in TEST_F()
68 Operator::kNoProperties, in TEST_F()
74 const SimpleOperator op2(static_cast<Operator::Opcode>(input_count), in TEST_F()
75 Operator::kNoProperties, in TEST_F()
89 Operator::Opcode opcode = static_cast<Operator::Opcode>( in TEST_F()
[all …]
Doperator.h28 class Operator : public ZoneObject {
50 Operator(Opcode opcode, Properties properties, const char* mnemonic) in Operator() function
52 virtual ~Operator();
66 virtual bool Equals(const Operator* other) const = 0;
91 friend OStream& operator<<(OStream& os, const Operator& op);
98 DISALLOW_COPY_AND_ASSIGN(Operator);
101 DEFINE_OPERATORS_FOR_FLAGS(Operator::Properties)
103 OStream& operator<<(OStream& os, const Operator& op);
108 class SimpleOperator : public Operator {
114 virtual bool Equals(const Operator* that) const FINAL { in Equals()
[all …]
Dgraph.h28 Node* NewNode(const Operator* op, int input_count, Node** inputs);
31 Node* NewNode(const Operator* op) { in NewNode()
34 Node* NewNode(const Operator* op, Node* n1) { return NewNode(op, 1, &n1); } in NewNode()
35 Node* NewNode(const Operator* op, Node* n1, Node* n2) { in NewNode()
39 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3) { in NewNode()
43 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4) { in NewNode()
47 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4, in NewNode()
52 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4, in NewNode()
Dgraph-builder.h27 Node* NewNode(const Operator* op) { in NewNode()
31 Node* NewNode(const Operator* op, Node* n1) { return MakeNode(op, 1, &n1); } in NewNode()
33 Node* NewNode(const Operator* op, Node* n1, Node* n2) { in NewNode()
38 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3) { in NewNode()
43 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4) { in NewNode()
48 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4, in NewNode()
54 Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4, in NewNode()
60 Node* NewNode(const Operator* op, int value_input_count, in NewNode()
69 virtual Node* MakeNode(const Operator* op, int value_input_count,
111 virtual Node* MakeNode(const Operator* op, int value_input_count,
Doperator.cc11 Operator::~Operator() {} in ~Operator()
17 : Operator(opcode, properties, mnemonic), in SimpleOperator()
Dnode.h26 const Operator* op() const { return op_; } in op()
27 void set_op(const Operator* op) { op_ = op; } in set_op()
37 const Operator* op_;
55 void Initialize(const Operator* op) { set_op(op); } in Initialize()
Dast-graph-builder.cc34 const Operator* op = common()->Parameter(-1); in GetFunctionClosure()
45 const Operator* op = common()->Parameter(info()->num_parameters() + 1); in GetFunctionContext()
214 const Operator* op = common()->StateValues(count); in UpdateStateValues()
227 const Operator* op = common()->FrameState(JS_FRAME, ast_id, combine); in Checkpoint()
377 const Operator* op = javascript()->StoreContext(0, variable->index()); in VisitVariableDeclaration()
409 const Operator* op = javascript()->StoreContext(0, variable->index()); in VisitFunctionDeclaration()
456 const Operator* op = javascript()->CreateBlockContext(); in VisitBlock()
522 const Operator* op = javascript()->CreateWithContext(); in VisitWithStatement()
554 const Operator* op = javascript()->StrictEqual(); in VisitSwitchStatement()
809 const Operator* op = javascript()->Runtime(Runtime::kNewClosure, 3); in VisitFunctionLiteral()
[all …]
/external/v8/test/cctest/compiler/
Dtest-operator.cc17 SimpleOperator op1(10, Operator::kNoProperties, 0, 0, "ThisOne"); in TEST()
20 SimpleOperator op2(11, Operator::kNoProperties, 0, 0, "ThatOne"); in TEST()
23 Operator1<int> op3(12, Operator::kNoProperties, 0, 1, "Mnemonic1", 12333); in TEST()
26 Operator1<double> op4(13, Operator::kNoProperties, 0, 1, "TheOther", 99.9); in TEST()
32 SimpleOperator op1(17, Operator::kNoProperties, 0, 0, "Another"); in TEST()
35 SimpleOperator op2(18, Operator::kNoProperties, 0, 0, "Falsch"); in TEST()
41 SimpleOperator op1a(19, Operator::kNoProperties, 0, 0, "Another1"); in TEST()
42 SimpleOperator op1b(19, Operator::kFoldable, 2, 2, "Another2"); in TEST()
49 SimpleOperator op2a(20, Operator::kNoProperties, 0, 0, "Falsch1"); in TEST()
50 SimpleOperator op2b(20, Operator::kFoldable, 1, 1, "Falsch2"); in TEST()
[all …]
/external/deqp/modules/gles2/scripts/
Dgen-reserved_operators.py46 class Operator(): class
54 Operator("%", "modulo"),
55 Operator("~", "bitwise_not"),
56 Operator("<<", "bitwise_shift_left"),
57 Operator(">>", "bitwise_shift_right"),
58 Operator("&", "bitwise_and"),
59 Operator("^", "bitwise_xor"),
60 Operator("|", "bitwise_or"),
61 Operator("%=", "assign_modulo"),
62 Operator("<<=", "assign_shift_left"),
[all …]
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp22 struct Operator;
89 Operator *Op; // The Operation used to generate this value.
101 static std::vector<Operator*> TheOperators;
104 struct Operator { struct
110 Operator(unsigned short shufflemask, const char *name, unsigned opnum, in Operator() argument
115 ~Operator() { in ~Operator() argument
304 Operator *Op = TheOperators[opnum]; in main()
469 struct vmrghw : public Operator {
470 vmrghw() : Operator(0x0415, "vmrghw", OP_VMRGHW) {} in vmrghw()
473 struct vmrglw : public Operator {
[all …]
/external/clang/include/clang/AST/
DTemplateName.h459 OverloadedOperatorKind Operator; member
484 OverloadedOperatorKind Operator) in DependentTemplateName() argument
485 : Qualifier(Qualifier, true), Operator(Operator), in DependentTemplateName()
489 OverloadedOperatorKind Operator, in DependentTemplateName() argument
491 : Qualifier(Qualifier, true), Operator(Operator), in DependentTemplateName()
515 return Operator; in getOperator()
533 OverloadedOperatorKind Operator) { in Profile() argument
536 ID.AddInteger(Operator); in Profile()
/external/llvm/include/llvm/TableGen/
DSetTheory.h69 class Operator {
72 virtual ~Operator() {} in ~Operator()
98 StringMap<Operator*> Operators;
121 void addOperator(StringRef Name, Operator*);
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp90 static bool IsEliminableAddrSpaceCast(Operator *Cast) { in IsEliminableAddrSpaceCast()
113 Operator *Cast = dyn_cast<Operator>(GEP->getPointerOperand()); in hoistAddrSpaceCastFromGEP()
162 if (Operator *Cast = dyn_cast<Operator>(MI->getOperand(Idx))) { in optimizeMemoryInstruction()
/external/llvm/include/llvm/IR/
DOperator.h33 class Operator : public User {
39 Operator() = delete;
45 ~Operator() override;
75 class OverflowingBinaryOperator : public Operator {
127 class PossiblyExactOperator : public Operator {
217 class FPMathOperator : public Operator {
361 class ZExtOperator : public ConcreteOperator<Operator, Instruction::ZExt> {};
365 : public ConcreteOperator<Operator, Instruction::GetElementPtr> {
486 : public ConcreteOperator<Operator, Instruction::PtrToInt> {
513 : public ConcreteOperator<Operator, Instruction::BitCast> {

123456