Lines Matching full:machine

10 #include "src/compiler/machine-operator.h"
22 Int64Lowering::Int64Lowering(Graph* graph, MachineOperatorBuilder* machine, in Int64Lowering() argument
27 machine_(machine), in Int64Lowering()
42 if (!machine()->Is32()) { in LowerGraph()
109 index_high = graph()->NewNode(machine()->Int32Add(), index, in GetIndexNodes()
112 index_low = graph()->NewNode(machine()->Int32Add(), index, in GetIndexNodes()
156 load_op = machine()->Load(MachineType::Int32()); in LowerNode()
159 load_op = machine()->UnalignedLoad(MachineType::Int32()); in LowerNode()
210 store_op = machine()->Store(StoreRepresentation( in LowerNode()
214 store_op = machine()->UnalignedStore(MachineRepresentation::kWord32); in LowerNode()
312 graph()->NewNode(machine()->Word32And(), GetReplacementLow(left), in LowerNode()
315 graph()->NewNode(machine()->Word32And(), GetReplacementHigh(left), in LowerNode()
338 NodeProperties::ChangeOp(node, machine()->Int32PairAdd()); in LowerNode()
358 NodeProperties::ChangeOp(node, machine()->Int32PairSub()); in LowerNode()
378 NodeProperties::ChangeOp(node, machine()->Int32PairMul()); in LowerNode()
393 graph()->NewNode(machine()->Word32Or(), GetReplacementLow(left), in LowerNode()
396 graph()->NewNode(machine()->Word32Or(), GetReplacementHigh(left), in LowerNode()
407 graph()->NewNode(machine()->Word32Xor(), GetReplacementLow(left), in LowerNode()
410 graph()->NewNode(machine()->Word32Xor(), GetReplacementHigh(left), in LowerNode()
430 NodeProperties::ChangeOp(node, machine()->Word32PairShl()); in LowerNode()
454 NodeProperties::ChangeOp(node, machine()->Word32PairShr()); in LowerNode()
478 NodeProperties::ChangeOp(node, machine()->Word32PairSar()); in LowerNode()
494 machine()->Word32Equal(), in LowerNode()
496 machine()->Word32Or(), in LowerNode()
497 graph()->NewNode(machine()->Word32Xor(), GetReplacementLow(left), in LowerNode()
499 graph()->NewNode(machine()->Word32Xor(), GetReplacementHigh(left), in LowerNode()
507 LowerComparison(node, machine()->Int32LessThan(), in LowerNode()
508 machine()->Uint32LessThan()); in LowerNode()
512 LowerComparison(node, machine()->Int32LessThan(), in LowerNode()
513 machine()->Uint32LessThanOrEqual()); in LowerNode()
517 LowerComparison(node, machine()->Uint32LessThan(), in LowerNode()
518 machine()->Uint32LessThan()); in LowerNode()
522 LowerComparison(node, machine()->Uint32LessThan(), in LowerNode()
523 machine()->Uint32LessThanOrEqual()); in LowerNode()
535 graph()->NewNode(machine()->Word32Sar(), input, in LowerNode()
554 machine()->StackSlot(MachineRepresentation::kWord64)); in LowerNode()
557 machine()->Store( in LowerNode()
565 machine()->Store( in LowerNode()
573 graph()->NewNode(machine()->Load(MachineType::Float64()), stack_slot, in LowerNode()
587 machine()->StackSlot(MachineRepresentation::kWord64)); in LowerNode()
589 machine()->Store( in LowerNode()
596 machine()->Load(MachineType::Int32()), stack_slot, in LowerNode()
601 machine()->Load(MachineType::Int32()), stack_slot, in LowerNode()
640 machine()->Word32Or(), in LowerNode()
641 graph()->NewNode(machine()->Word32Shr(), low_input, masked_shift), in LowerNode()
642 graph()->NewNode(machine()->Word32Shl(), high_input, inv_shift)); in LowerNode()
644 machine()->Word32Or(), graph()->NewNode(machine()->Word32Shr(), in LowerNode()
646 graph()->NewNode(machine()->Word32Shl(), low_input, inv_shift)); in LowerNode()
651 if (!machine()->Word32ShiftIsSafe()) { in LowerNode()
653 graph()->NewNode(machine()->Word32And(), shift, in LowerNode()
660 machine()->Word32Shl(), in LowerNode()
661 graph()->NewNode(machine()->Word32Sar(), in LowerNode()
668 graph()->NewNode(machine()->Word32Xor(), inv_mask, in LowerNode()
672 // !machine()->Word32ShiftIsSafe() then the masking should already be in LowerNode()
675 if (machine()->Word32ShiftIsSafe()) { in LowerNode()
677 graph()->NewNode(machine()->Word32And(), shift, in LowerNode()
683 graph()->NewNode(machine()->Int32LessThan(), masked_shift6, in LowerNode()
697 graph()->NewNode(machine()->Word32Ror(), input_low, safe_shift); in LowerNode()
699 graph()->NewNode(machine()->Word32Ror(), input_high, safe_shift); in LowerNode()
702 machine()->Word32Or(), in LowerNode()
703 graph()->NewNode(machine()->Word32And(), rotate_low, bit_mask), in LowerNode()
704 graph()->NewNode(machine()->Word32And(), rotate_high, inv_mask)); in LowerNode()
707 machine()->Word32Or(), in LowerNode()
708 graph()->NewNode(machine()->Word32And(), rotate_high, bit_mask), in LowerNode()
709 graph()->NewNode(machine()->Word32And(), rotate_low, inv_mask)); in LowerNode()
720 graph()->NewNode(machine()->Word32Equal(), GetReplacementHigh(input), in LowerNode()
725 graph()->NewNode(machine()->Int32Add(), in LowerNode()
726 graph()->NewNode(machine()->Word32Clz(), in LowerNode()
729 graph()->NewNode(machine()->Word32Clz(), GetReplacementHigh(input))); in LowerNode()
735 DCHECK(machine()->Word32Ctz().IsSupported()); in LowerNode()
739 graph()->NewNode(machine()->Word32Equal(), GetReplacementLow(input), in LowerNode()
743 graph()->NewNode(machine()->Int32Add(), in LowerNode()
744 graph()->NewNode(machine()->Word32Ctz().op(), in LowerNode()
747 graph()->NewNode(machine()->Word32Ctz().op(), in LowerNode()
757 DCHECK(machine()->Word32Popcnt().IsSupported()); in LowerNode()
759 machine()->Int32Add(), in LowerNode()
760 graph()->NewNode(machine()->Word32Popcnt().op(), in LowerNode()
762 graph()->NewNode(machine()->Word32Popcnt().op(), in LowerNode()
797 ReplaceNode(node, graph()->NewNode(machine()->Word32ReverseBytes().op(), in LowerNode()
799 graph()->NewNode(machine()->Word32ReverseBytes().op(), in LowerNode()
814 machine()->Word32Or(), in LowerComparison()
818 machine()->Word32And(), in LowerComparison()
819 graph()->NewNode(machine()->Word32Equal(), GetReplacementHigh(left), in LowerComparison()