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

1 2

  /external/chromium_org/v8/src/compiler/
gap-resolver.h 22 virtual void AssembleMove(InstructionOperand* source,
23 InstructionOperand* destination) = 0;
25 virtual void AssembleSwap(InstructionOperand* source,
26 InstructionOperand* destination) = 0;
instruction-selector.h 39 Instruction* Emit(InstructionCode opcode, InstructionOperand* output,
40 size_t temp_count = 0, InstructionOperand* *temps = NULL);
41 Instruction* Emit(InstructionCode opcode, InstructionOperand* output,
42 InstructionOperand* a, size_t temp_count = 0,
43 InstructionOperand* *temps = NULL);
44 Instruction* Emit(InstructionCode opcode, InstructionOperand* output,
45 InstructionOperand* a, InstructionOperand* b,
46 size_t temp_count = 0, InstructionOperand* *temps = NULL);
47 Instruction* Emit(InstructionCode opcode, InstructionOperand* output
    [all...]
instruction-selector-impl.h 23 InstructionOperand* DefineAsRegister(Node* node) {
28 InstructionOperand* DefineSameAsFirst(Node* result) {
33 InstructionOperand* DefineAsFixed(Node* node, Register reg) {
39 InstructionOperand* DefineAsFixed(Node* node, DoubleRegister reg) {
45 InstructionOperand* DefineAsConstant(Node* node) {
51 InstructionOperand* DefineAsLocation(Node* node, LinkageLocation location,
56 InstructionOperand* Use(Node* node) {
62 InstructionOperand* UseRegister(Node* node) {
70 InstructionOperand* UseUnique(Node* node) {
76 InstructionOperand* UseUniqueRegister(Node* node)
    [all...]
register-allocator.h 20 class InstructionOperand;
34 // This class represents a single point of a InstructionOperand's lifetime. For
155 UsePosition(LifetimePosition pos, InstructionOperand* operand,
156 InstructionOperand* hint);
158 InstructionOperand* operand() const { return operand_; }
161 InstructionOperand* hint() const { return hint_; }
171 InstructionOperand* const operand_;
172 InstructionOperand* const hint_;
196 InstructionOperand* CreateAssignedOperand(Zone* zone);
242 InstructionOperand* current_hint_operand() const
    [all...]
instruction.h 47 class InstructionOperand : public ZoneObject {
60 InstructionOperand() : value_(KindField::encode(INVALID)) {}
61 InstructionOperand(Kind kind, int index) { ConvertTo(kind, index); }
71 bool Equals(InstructionOperand* other) const {
92 typedef ZoneVector<InstructionOperand*> InstructionOperandVector;
94 OStream& operator<<(OStream& os, const InstructionOperand& op);
96 class UnallocatedOperand : public InstructionOperand {
124 : InstructionOperand(UNALLOCATED, 0) {
131 : InstructionOperand(UNALLOCATED, 0) {
139 : InstructionOperand(UNALLOCATED, 0)
    [all...]
code-generator-impl.h 85 Register ToRegister(InstructionOperand* op) {
90 DoubleRegister ToDoubleRegister(InstructionOperand* op) {
95 Constant ToConstant(InstructionOperand* operand) {
102 double ToDouble(InstructionOperand* operand) {
106 Handle<HeapObject> ToHeapObject(InstructionOperand* operand) {
code-generator.h 79 virtual void AssembleMove(InstructionOperand* source,
80 InstructionOperand* destination) OVERRIDE;
81 virtual void AssembleSwap(InstructionOperand* source,
82 InstructionOperand* destination) OVERRIDE;
99 InstructionOperand* op);
gap-resolver.cc 18 // TODO(svenpanne) Brush up InstructionOperand with comparison?
20 bool operator()(const InstructionOperand* x,
21 const InstructionOperand* y) const {
31 std::set<InstructionOperand*, InstructionOperandComparator> seen;
69 InstructionOperand* destination = move->destination();
96 InstructionOperand* source = move->source();
instruction-selector-unittest.h 125 bool IsDouble(const InstructionOperand* operand) const {
132 bool IsInteger(const InstructionOperand* operand) const {
139 bool IsReference(const InstructionOperand* operand) const {
146 int32_t ToInt32(const InstructionOperand* operand) const {
150 int64_t ToInt64(const InstructionOperand* operand) const {
154 int ToVreg(const InstructionOperand* operand) const {
156 EXPECT_EQ(InstructionOperand::UNALLOCATED, operand->kind());
170 Constant ToConstant(const InstructionOperand* operand) const {
176 EXPECT_EQ(InstructionOperand::IMMEDIATE, operand->kind());
instruction.cc 13 OStream& operator<<(OStream& os, const InstructionOperand& op) {
15 case InstructionOperand::INVALID:
17 case InstructionOperand::UNALLOCATED: {
40 case InstructionOperand::CONSTANT:
42 case InstructionOperand::IMMEDIATE:
44 case InstructionOperand::STACK_SLOT:
46 case InstructionOperand::DOUBLE_STACK_SLOT:
48 case InstructionOperand::REGISTER:
51 case InstructionOperand::DOUBLE_REGISTER:
60 template <InstructionOperand::Kind kOperandKind, int kNumCachedOperands
    [all...]
instruction-selector.cc 70 InstructionOperand* output,
72 InstructionOperand** temps) {
79 InstructionOperand* output,
80 InstructionOperand* a, size_t temp_count,
81 InstructionOperand** temps) {
88 InstructionOperand* output,
89 InstructionOperand* a,
90 InstructionOperand* b, size_t temp_count,
91 InstructionOperand** temps) {
93 InstructionOperand* inputs[] = {a, b}
    [all...]
code-generator.cc 86 const ZoneList<InstructionOperand*>* operands =
91 InstructionOperand* pointer = operands->at(i);
272 InstructionOperand* op = instr->InputAt(frame_state_offset + 1 + i);
371 InstructionOperand* op) {
442 void CodeGenerator::AssembleMove(InstructionOperand* source,
443 InstructionOperand* destination) {
448 void CodeGenerator::AssembleSwap(InstructionOperand* source,
449 InstructionOperand* destination) {
register-allocator.cc 25 UsePosition::UsePosition(LifetimePosition pos, InstructionOperand* operand,
26 InstructionOperand* hint)
107 spill_operand_(new (zone) InstructionOperand()),
133 void LiveRange::SetSpillOperand(InstructionOperand* operand) {
193 InstructionOperand* LiveRange::CreateAssignedOperand(Zone* zone) {
194 InstructionOperand* op = NULL;
411 InstructionOperand* operand,
412 InstructionOperand* hint, Zone* zone) {
440 InstructionOperand* op = CreateAssignedOperand(zone);
583 InstructionOperand* RegisterAllocator::AllocateFixed
    [all...]
pipeline.cc 412 InstructionOperand::SetUpCaches();
417 InstructionOperand::TearDownCaches();
  /external/chromium_org/v8/test/cctest/compiler/
test-gap-resolver.cc 36 typedef std::pair<InstructionOperand::Kind, int> Key;
40 Value read(const InstructionOperand* op) const {
45 void write(const InstructionOperand* op, Value v) {
53 static Key KeyFor(const InstructionOperand* op) {
57 static Value ValueFor(const InstructionOperand* op) {
65 InstructionOperand source(it->first.first, it->first.second);
66 InstructionOperand destination(it->second.first, it->second.second);
79 virtual void AssembleMove(InstructionOperand* source,
80 InstructionOperand* destination) OVERRIDE {
86 virtual void AssembleSwap(InstructionOperand* source
    [all...]
instruction-selector-tester.h 101 int32_t ToInt32(const InstructionOperand* operand) const {
104 CHECK_EQ(InstructionOperand::IMMEDIATE, operand->kind());
115 static inline void CheckSameVreg(InstructionOperand* exp,
116 InstructionOperand* val) {
117 CHECK_EQ(InstructionOperand::UNALLOCATED, exp->kind());
118 CHECK_EQ(InstructionOperand::UNALLOCATED, val->kind());
  /external/chromium_org/v8/src/compiler/arm/
instruction-selector-arm.cc 19 InstructionOperand* UseOperand(Node* node, InstructionCode opcode) {
123 InstructionOperand** value_return,
124 InstructionOperand** shift_return) {
142 InstructionOperand** value_return,
143 InstructionOperand** shift_return) {
161 InstructionOperand** value_return,
162 InstructionOperand** shift_return) {
180 InstructionOperand** value_return,
181 InstructionOperand** shift_return) {
199 InstructionOperand** value_return
    [all...]
code-generator-arm.cc 122 MemOperand ToMemOperand(InstructionOperand* op) const {
699 void CodeGenerator::AssembleMove(InstructionOperand* source,
700 InstructionOperand* destination) {
780 void CodeGenerator::AssembleSwap(InstructionOperand* source,
781 InstructionOperand* destination) {
  /external/chromium_org/v8/src/compiler/ia32/
instruction-selector-ia32.cc 19 InstructionOperand* UseByteRegister(Node* node) {
107 InstructionOperand* temps[] = {g.TempRegister(ecx), g.TempRegister(edx)};
114 InstructionOperand* val;
169 InstructionOperand* inputs[4];
171 InstructionOperand* outputs[2];
318 InstructionOperand* temps[] = {g.TempRegister(edx)};
339 InstructionOperand* temps[] = {g.TempRegister(eax), g.TempRegister(edx)};
413 InstructionOperand* temps[] = {g.TempRegister(eax)};
441 InstructionOperand* left,
442 InstructionOperand* right
    [all...]
instruction-selector-ia32-unittest.cc 134 ASSERT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind());
150 ASSERT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind());
180 ASSERT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind());
198 ASSERT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind());
code-generator-ia32.cc 38 Operand ToOperand(InstructionOperand* op, int extra = 0) {
52 Operand HighOperand(InstructionOperand* op) {
57 Immediate ToImmediate(InstructionOperand* operand) {
793 void CodeGenerator::AssembleMove(InstructionOperand* source,
794 InstructionOperand* destination) {
882 void CodeGenerator::AssembleSwap(InstructionOperand* source,
883 InstructionOperand* destination) {
    [all...]
  /external/chromium_org/v8/src/compiler/x64/
instruction-selector-x64.cc 18 InstructionOperand* TempRegister(Register reg) {
23 InstructionOperand* UseByteRegister(Node* node) {
28 InstructionOperand* UseImmediate64(Node* node) { return UseImmediate(node); }
120 InstructionOperand* temps[] = {g.TempRegister(rcx), g.TempRegister(rdx)};
127 InstructionOperand* val;
181 InstructionOperand* inputs[4];
183 InstructionOperand* outputs[2];
424 InstructionOperand* temps[] = {g.TempRegister(rdx)};
454 InstructionOperand* temps[] = {g.TempRegister(rax), g.TempRegister(rdx)};
555 InstructionOperand* temps[] = {g.TempRegister(rax)}
    [all...]
code-generator-x64.cc 68 Immediate64 ToImmediate64(InstructionOperand* operand) {
96 Immediate ToImmediate(InstructionOperand* operand) {
111 Operand ToOperand(InstructionOperand* op, int extra = 0) {
117 RegisterOrOperand ToRegisterOrOperand(InstructionOperand* op, int extra = 0) {
873 void CodeGenerator::AssembleMove(InstructionOperand* source,
874 InstructionOperand* destination) {
958 void CodeGenerator::AssembleSwap(InstructionOperand* source,
959 InstructionOperand* destination) {
  /external/chromium_org/v8/src/compiler/arm64/
code-generator-arm64.cc 71 Operand ToOperand(InstructionOperand* op) {
78 Operand ToOperand32(InstructionOperand* op) {
85 Operand ToImmediate(InstructionOperand* operand) {
104 MemOperand ToMemOperand(InstructionOperand* op, MacroAssembler* masm) const {
720 void CodeGenerator::AssembleMove(InstructionOperand* source,
721 InstructionOperand* destination) {
795 void CodeGenerator::AssembleSwap(InstructionOperand* source,
796 InstructionOperand* destination) {
instruction-selector-arm64.cc 32 InstructionOperand* UseOperand(Node* node, ImmediateMode mode) {
120 InstructionOperand* inputs[4];
122 InstructionOperand* outputs[2];
220 InstructionOperand* temps[] = {g.TempRegister(x11), g.TempRegister(x12)};
530 InstructionOperand* left, InstructionOperand* right,

Completed in 395 milliseconds

1 2