/external/v8/src/compiler/ |
H A D | code-assembler.cc | 129 return LoadRoot(Heap::kNanValueRootIndex); 250 Node* CodeAssembler::LoadRoot(Heap::RootListIndex root_index) { function in class:v8::internal::compiler::CodeAssembler
|
/external/v8/src/x64/ |
H A D | macro-assembler-x64.h | 138 void LoadRoot(Register destination, Heap::RootListIndex index); 139 void LoadRoot(const Operand& destination, Heap::RootListIndex index) { function in class:v8::internal::SmiOperationConstraint::MacroAssembler 140 LoadRoot(kScratchRegister, index);
|
H A D | macro-assembler-x64.cc | 158 void MacroAssembler::LoadRoot(Register destination, Heap::RootListIndex index) { function in class:v8::internal::MacroAssembler 201 LoadRoot(kScratchRegister, index); 4006 LoadRoot(kScratchRegister, root_value_index); 4241 LoadRoot(rdx, Heap::kUndefinedValueRootIndex); 4668 LoadRoot(scratch, Heap::kHashSeedRootIndex); 4838 LoadRoot(kScratchRegister, Heap::kOnePointerFillerMapRootIndex); 5040 LoadRoot(kScratchRegister, map_index); 5069 LoadRoot(kScratchRegister, Heap::kStringMapRootIndex); 5099 LoadRoot(kScratchRegister, Heap::kOneByteStringMapRootIndex); 5117 LoadRoot(kScratchRegiste [all...] |
/external/v8/src/ia32/ |
H A D | macro-assembler-ia32.cc | 67 void MacroAssembler::LoadRoot(Register destination, Heap::RootListIndex index) { function in class:v8::internal::MacroAssembler 1949 LoadRoot(scratch, Heap::kEmptyFixedArrayRootIndex);
|
/external/v8/src/mips64/ |
H A D | macro-assembler-mips64.cc | 85 void MacroAssembler::LoadRoot(Register destination, function in class:v8::internal::MacroAssembler 91 void MacroAssembler::LoadRoot(Register destination, function in class:v8::internal::MacroAssembler 559 LoadRoot(at, Heap::kNativeContextMapRootIndex); 573 LoadRoot(at, Heap::kNullValueRootIndex); 578 LoadRoot(at, Heap::kNativeContextMapRootIndex); 606 LoadRoot(scratch, Heap::kHashSeedRootIndex); 3037 LoadRoot(at, index); 4700 LoadRoot(t8, Heap::kHeapNumberMapRootIndex); 4721 LoadRoot(scratch1, Heap::kEmptyFixedArrayRootIndex); 5033 LoadRoot(a [all...] |
/external/v8/src/s390/ |
H A D | macro-assembler-s390.cc | 252 void MacroAssembler::LoadRoot(Register destination, Heap::RootListIndex index, function in class:v8::internal::MacroAssembler 1098 LoadRoot(scratch2, map_index); 1359 LoadRoot(r5, Heap::kUndefinedValueRootIndex); 1581 LoadRoot(scratch, Heap::kHashSeedRootIndex); 3086 LoadRoot(scratch1, Heap::kEmptyFixedArrayRootIndex); 3547 LoadRoot(empty_fixed_array_value, Heap::kEmptyFixedArrayRootIndex); 3559 LoadRoot(null_value, Heap::kNullValueRootIndex);
|
/external/v8/src/x87/ |
H A D | macro-assembler-x87.cc | 67 void MacroAssembler::LoadRoot(Register destination, Heap::RootListIndex index) { function in class:v8::internal::MacroAssembler 1890 LoadRoot(scratch, Heap::kEmptyFixedArrayRootIndex);
|
/external/v8/src/arm64/ |
H A D | macro-assembler-arm64.cc | 1403 void MacroAssembler::LoadRoot(CPURegister destination, function in class:v8::internal::MacroAssembler 1487 LoadRoot(empty_fixed_array_value, Heap::kEmptyFixedArrayRootIndex); 1502 LoadRoot(null_value, Heap::kNullValueRootIndex); 1797 LoadRoot(scratch2, map_index); 2550 LoadRoot(x3, Heap::kUndefinedValueRootIndex); 3398 LoadRoot(heap_number_map, map_index); 3452 LoadRoot(scratch1, Heap::kEmptyFixedArrayRootIndex); 3645 LoadRoot(temp, index); 3655 LoadRoot(temp, index); 3913 LoadRoot(scratc [all...] |
/external/v8/src/mips/ |
H A D | macro-assembler-mips.cc | 82 void MacroAssembler::LoadRoot(Register destination, function in class:v8::internal::MacroAssembler 88 void MacroAssembler::LoadRoot(Register destination, function in class:v8::internal::MacroAssembler 555 LoadRoot(at, Heap::kNativeContextMapRootIndex); 569 LoadRoot(at, Heap::kNullValueRootIndex); 574 LoadRoot(at, Heap::kNativeContextMapRootIndex); 602 LoadRoot(scratch, Heap::kHashSeedRootIndex); 2869 LoadRoot(at, index); 4580 LoadRoot(t8, Heap::kHeapNumberMapRootIndex); 4601 LoadRoot(scratch1, Heap::kEmptyFixedArrayRootIndex); 4901 LoadRoot(a [all...] |
/external/v8/src/ppc/ |
H A D | macro-assembler-ppc.cc | 279 void MacroAssembler::LoadRoot(Register destination, Heap::RootListIndex index, function in class:v8::internal::MacroAssembler 1169 LoadRoot(scratch2, map_index); 1436 LoadRoot(r6, Heap::kUndefinedValueRootIndex); 1614 LoadRoot(ip, Heap::kNativeContextMapRootIndex); 1631 LoadRoot(ip, Heap::kNullValueRootIndex); 1636 LoadRoot(ip, Heap::kNativeContextMapRootIndex); 1665 LoadRoot(scratch, Heap::kHashSeedRootIndex); 2201 LoadRoot(r0, index); 2398 LoadRoot(r0, index); 2463 LoadRoot(r 2192 STATIC_ASSERT(Map::kInstanceTypeOffset < 4096); STATIC_ASSERT(LAST_TYPE < 256); lbz(type_reg, FieldMemOperand(map, Map::kInstanceTypeOffset)); cmpi(type_reg, Operand(type)); } void MacroAssembler::CompareRoot(Register obj, Heap::RootListIndex index) { DCHECK(!obj.is(r0)); LoadRoot(r0, index); cmp(obj, r0); } void MacroAssembler::CheckFastElements(Register map, Register scratch, Label* fail) { STATIC_ASSERT(FAST_SMI_ELEMENTS == 0); STATIC_ASSERT(FAST_HOLEY_SMI_ELEMENTS == 1); STATIC_ASSERT(FAST_ELEMENTS == 2); STATIC_ASSERT(FAST_HOLEY_ELEMENTS == 3); lbz(scratch, FieldMemOperand(map, Map::kBitField2Offset)); STATIC_ASSERT(Map::kMaximumBitField2FastHoleyElementValue < 0x8000); cmpli(scratch, Operand(Map::kMaximumBitField2FastHoleyElementValue)); bgt(fail); } void MacroAssembler::CheckFastObjectElements(Register map, Register scratch, Label* fail) { STATIC_ASSERT(FAST_SMI_ELEMENTS == 0); STATIC_ASSERT(FAST_HOLEY_SMI_ELEMENTS == 1); STATIC_ASSERT(FAST_ELEMENTS == 2); STATIC_ASSERT(FAST_HOLEY_ELEMENTS == 3); lbz(scratch, FieldMemOperand(map, Map::kBitField2Offset)); cmpli(scratch, Operand(Map::kMaximumBitField2FastHoleySmiElementValue)); ble(fail); cmpli(scratch, Operand(Map::kMaximumBitField2FastHoleyElementValue)); bgt(fail); } void MacroAssembler::CheckFastSmiElements(Register map, Register scratch, Label* fail) { STATIC_ASSERT(FAST_SMI_ELEMENTS == 0); STATIC_ASSERT(FAST_HOLEY_SMI_ELEMENTS == 1); lbz(scratch, FieldMemOperand(map, Map::kBitField2Offset)); cmpli(scratch, Operand(Map::kMaximumBitField2FastHoleySmiElementValue)); bgt(fail); } void MacroAssembler::StoreNumberToDoubleElements( Register value_reg, Register key_reg, Register elements_reg, Register scratch1, DoubleRegister double_scratch, Label* fail, int elements_offset) { DCHECK(!AreAliased(value_reg, key_reg, elements_reg, scratch1)); Label smi_value, store; JumpIfSmi(value_reg, &smi_value); CheckMap(value_reg, scratch1, isolate()->factory()->heap_number_map(), fail, DONT_DO_SMI_CHECK); lfd(double_scratch, FieldMemOperand(value_reg, HeapNumber::kValueOffset)); CanonicalizeNaN(double_scratch); b(&store); bind(&smi_value); SmiToDouble(double_scratch, value_reg); bind(&store); SmiToDoubleArrayOffset(scratch1, key_reg); add(scratch1, elements_reg, scratch1); stfd(double_scratch, FieldMemOperand(scratch1, FixedDoubleArray::kHeaderSize - elements_offset)); } void MacroAssembler::AddAndCheckForOverflow(Register dst, Register left, Register right, Register overflow_dst, Register scratch) { DCHECK(!dst.is(overflow_dst)); DCHECK(!dst.is(scratch)); DCHECK(!overflow_dst.is(scratch)); DCHECK(!overflow_dst.is(left)); DCHECK(!overflow_dst.is(right)); bool left_is_right = left.is(right); RCBit xorRC = left_is_right ? SetRC : LeaveRC; if (dst.is(left)) { mr(scratch, left); add(dst, left, right); xor_(overflow_dst, dst, scratch, xorRC); if (!left_is_right) xor_(scratch, dst, right); } else if (dst.is(right)) { mr(scratch, right); add(dst, left, right); xor_(overflow_dst, dst, left, xorRC); if (!left_is_right) xor_(scratch, dst, scratch); } else { add(dst, left, right); xor_(overflow_dst, dst, left, xorRC); if (!left_is_right) xor_(scratch, dst, right); } if (!left_is_right) and_(overflow_dst, scratch, overflow_dst, SetRC); } void MacroAssembler::AddAndCheckForOverflow(Register dst, Register left, intptr_t right, Register overflow_dst, Register scratch) { Register original_left = left; DCHECK(!dst.is(overflow_dst)); DCHECK(!dst.is(scratch)); DCHECK(!overflow_dst.is(scratch)); DCHECK(!overflow_dst.is(left)); if (dst.is(left)) { original_left = overflow_dst; mr(original_left, left); } Add(dst, left, right, scratch); xor_(overflow_dst, dst, original_left); if (right >= 0) argument [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 9423 SDNode *LoadRoot = Queue.pop_back_val(); local 9424 if (!Visited.insert(LoadRoot).second) 9427 if (MemSDNode *ChainLD = dyn_cast<MemSDNode>(LoadRoot)) 9431 for (SDNode::use_iterator UI = LoadRoot->use_begin(), 9432 UE = LoadRoot->use_end(); UI != UE; ++UI) 9434 cast<MemSDNode>(*UI)->getChain().getNode() == LoadRoot) ||
|