Lines Matching defs:const
49 const char* kSimplifiedLoweringReducerName = "SimplifiedLowering";
108 const FeedbackSource& feedback = FeedbackSource()) {
127 NumberOperationHint hint, const FeedbackSource& feedback,
174 UseInfo UseInfoForBasePointer(const FieldAccess& access) {
178 UseInfo UseInfoForBasePointer(const ElementAccess& access) {
195 bool CanOverflowSigned32(const Operator* op, Type left, Type right,
196 TypeCache const* type_cache, Zone* type_zone) {
229 JSONGraphWriterWithVerifierTypes(std::ostream& os, const Graph* graph,
230 const SourcePositionTable* positions,
231 const NodeOriginTable* origins,
280 static void ChangeOp(Node* node, const Operator* new_op) { UNREACHABLE(); }
299 bool visited() const { return state_ == kVisited; }
300 bool queued() const { return state_ == kQueued; }
301 bool pushed() const { return state_ == kPushed; }
302 bool unvisited() const { return state_ == kUnvisited; }
303 Truncation truncation() const { return truncation_; }
306 MachineRepresentation representation() const { return representation_; }
310 Type feedback_type() const { return feedback_type_; }
312 bool weakened() const { return weakened_; }
314 Type restriction_type() const { return restriction_type_; }
360 bool verification_enabled() const { return verifier_ != nullptr; }
529 for (Node* const i : n->inputs()) {
548 Type const integer = type_cache_->kInteger;
694 for (Node* const user : revisit_it->second) {
706 for (Node* const user : revisit_node->uses()) {
867 const Operator* dead_value =
895 void ChangeToPureOp(Node* node, const Operator* new_op) {
915 void ChangeUnaryToPureBinaryOp(Node* node, const Operator* new_op,
1210 Type const input_type = TypeOf(node->InputAt(0));
1274 Node* const rhs = NodeProperties::GetValueInput(node, 1);
1444 const Operator* Int32Op(Node* node) {
1448 const Operator* Int32OverflowOp(Node* node) {
1452 const Operator* Int64Op(Node* node) {
1456 const Operator* Uint32Op(Node* node) {
1460 const Operator* Uint32OverflowOp(Node* node) {
1464 const Operator* Float64Op(Node* node) {
1487 const RootsTable& roots_table = jsgraph_->isolate()->roots_table();
1532 Graph* graph() const { return jsgraph_->graph(); }
1533 CommonOperatorBuilder* common() const { return jsgraph_->common(); }
1534 SimplifiedOperatorBuilder* simplified() const {
1599 NumberOperationHint const hint = NumberOperationHint::kSignedSmall;
1609 Type const restriction =
1740 UseInfo const lhs_use =
1742 UseInfo const rhs_use =
1748 Type const restriction =
1757 Type const restriction =
1793 UseInfo const lhs_use = UseInfo::CheckedNumberOrOddballAsFloat64(
1795 UseInfo const rhs_use = UseInfo::CheckedNumberOrOddballAsFloat64(
1813 CheckBoundsParameters const& p = CheckBoundsParametersOf(node->op());
1814 FeedbackSource const& feedback = p.check_parameters().feedback();
1815 Type const index_type = TypeOf(node->InputAt(0));
1816 Type const length_type = TypeOf(node->InputAt(1));
1881 FeedbackSource const& feedback) {
1924 FastApiCallParameters const& op_params =
1931 const CFunctionInfo* c_signature = op_params.c_functions()[0].signature;
1932 const int c_arg_count = c_signature->ArgumentCount();
1935 const int value_input_count = node->op()->ValueInputCount();
1979 FeedbackSource const& feedback) {
2008 JSWasmCallParameters const& params = n.Parameters();
2009 const wasm::FunctionSig* wasm_signature = params.signature();
2131 double const value = OpParameter<double>(node->op());
2153 intptr_t const value = OpParameter<intptr_t>(node->op());
2237 Type const lhs_type = TypeOf(node->InputAt(0));
2238 Type const rhs_type = TypeOf(node->InputAt(1));
2274 Type const lhs_type = TypeOf(node->InputAt(0));
2275 Type const rhs_type = TypeOf(node->InputAt(1));
2311 Type const lhs_type = TypeOf(node->InputAt(0));
2312 Type const rhs_type = TypeOf(node->InputAt(1));
2576 Type const lhs_type = TypeOf(node->InputAt(0));
2577 Type const rhs_type = TypeOf(node->InputAt(1));
2602 UseInfo const lhs_use =
2604 UseInfo const rhs_use = UseInfo::TruncatingFloat64(kIdentifyZeros);
2746 Type const input_type = TypeOf(node->InputAt(0));
2792 Type const lhs_type = TypeOf(node->InputAt(0));
2793 Type const rhs_type = TypeOf(node->InputAt(1));
2850 Type const lhs_type = TypeOf(node->InputAt(0));
2851 Type const rhs_type = TypeOf(node->InputAt(1));
2926 Type const input_type = TypeOf(node->InputAt(0));
2952 const bool is_asuintn =
2954 const auto p = SpeculativeBigIntAsNParametersOf(node->op());
2972 const uint64_t mask = (1ULL << p.bits()) - 1ULL;
2985 const uint64_t shift = 64 - p.bits();
3037 Type const input_type = TypeOf(node->InputAt(0));
3060 Type const input_type = TypeOf(node->InputAt(0));
3098 Type const input_type = TypeOf(node->InputAt(0));
3317 Type const input_type = TypeOf(node->InputAt(0));
3335 const CheckParameters& params = CheckParametersOf(node->op());
3351 const CheckParameters& params = CheckParametersOf(node->op());
3400 MachineRepresentation const representation =
3515 MachineRepresentation const rep =
3526 MachineRepresentation const rep =
3537 MachineRepresentation const rep =
3550 MachineRepresentation const rep =
3626 NumberOperationParameters const& p =
3670 Type const input_type = GetUpperBound(node->InputAt(0));
3698 Type const input_type = GetUpperBound(node->InputAt(0));
3724 Type const input_type = GetUpperBound(node->InputAt(0));
3752 Type const input_type = GetUpperBound(node->InputAt(0));
3775 Type const input_type = GetUpperBound(node->InputAt(0));
3848 Type const input_type = TypeOf(node->InputAt(0));
3915 CheckMapsParameters const& p = CheckMapsParametersOf(node->op());
3991 Type const key_type = TypeOf(node->InputAt(1));
4125 Node* InsertTypeOverrideForVerifier(const Type& type, Node* node) {
4134 void ChangeToSemanticsHintForVerifier(Node* node, const Operator* semantics) {
4147 void ChangeOp(Node* node, const Operator* new_op) {
4188 TypeCache const* type_cache_;
4190 TickCounter* const tick_counter_;
4191 Linkage* const linkage_;
4192 ObserveNodeManager* const observe_node_manager_;
4240 NodeInfo* const info = GetInfo(node);
4247 NodeInfo* const info = GetInfo(node);
4255 NodeInfo* const info = GetInfo(node);
4413 Operator const* op =
4512 Operator const* op =
4583 Node* SimplifiedLowering::Float64Round(Node* const node) {
4584 Node* const one = jsgraph()->Float64Constant(1.0);
4585 Node* const one_half = jsgraph()->Float64Constant(0.5);
4586 Node* const input = node->InputAt(0);
4599 Node* SimplifiedLowering::Float64Sign(Node* const node) {
4600 Node* const minus_one = jsgraph()->Float64Constant(-1.0);
4601 Node* const zero = jsgraph()->Float64Constant(0.0);
4602 Node* const one = jsgraph()->Float64Constant(1.0);
4604 Node* const input = node->InputAt(0);
4615 Node* SimplifiedLowering::Int32Abs(Node* const node) {
4616 Node* const input = node->InputAt(0);
4630 Node* SimplifiedLowering::Int32Div(Node* const node) {
4632 Node* const zero = jsgraph()->Int32Constant(0);
4633 Node* const minus_one = jsgraph()->Int32Constant(-1);
4634 Node* const lhs = m.left().node();
4635 Node* const rhs = m.right().node();
4659 const Operator* const merge_op = common()->Merge(2);
4660 const Operator* const phi_op =
4703 Node* SimplifiedLowering::Int32Mod(Node* const node) {
4705 Node* const zero = jsgraph()->Int32Constant(0);
4706 Node* const minus_one = jsgraph()->Int32Constant(-1);
4707 Node* const lhs = m.left().node();
4708 Node* const rhs = m.right().node();
4736 const Operator* const merge_op = common()->Merge(2);
4737 const Operator* const phi_op =
4801 Node* SimplifiedLowering::Int32Sign(Node* const node) {
4802 Node* const minus_one = jsgraph()->Int32Constant(-1);
4803 Node* const zero = jsgraph()->Int32Constant(0);
4804 Node* const one = jsgraph()->Int32Constant(1);
4806 Node* const input = node->InputAt(0);
4817 Node* SimplifiedLowering::Uint32Div(Node* const node) {
4819 Node* const zero = jsgraph()->Uint32Constant(0);
4820 Node* const lhs = m.left().node();
4821 Node* const rhs = m.right().node();
4835 Node* SimplifiedLowering::Uint32Mod(Node* const node) {
4837 Node* const minus_one = jsgraph()->Int32Constant(-1);
4838 Node* const zero = jsgraph()->Uint32Constant(0);
4839 Node* const lhs = m.left().node();
4840 Node* const rhs = m.right().node();
4862 const Operator* const merge_op = common()->Merge(2);
4863 const Operator* const phi_op =
4895 void SimplifiedLowering::DoMax(Node* node, Operator const* op,
4897 Node* const lhs = node->InputAt(0);
4898 Node* const rhs = node->InputAt(1);
4906 void SimplifiedLowering::DoMin(Node* node, Operator const* op,
4908 Node* const lhs = node->InputAt(0);
4909 Node* const rhs = node->InputAt(1);
4918 Node* const input = node->InputAt(0);
4919 Node* const zero = jsgraph()->Int32Constant(0);
4920 Operator const* const op = machine()->Word32Equal();
4928 Node* const input = node->InputAt(0);
4937 Node* const input = node->InputAt(0);
4946 Node* const input = node->InputAt(0);
4947 Node* const min = jsgraph()->Float64Constant(0.0);
4948 Node* const max = jsgraph()->Float64Constant(255.0);
4963 Node* const input = node->InputAt(0);
4964 Node* const min = jsgraph()->Float64Constant(0.0);
4965 Node* const max = jsgraph()->Float64Constant(255.0);
4980 Node* const input = node->InputAt(0);
4981 Node* const min = jsgraph()->Int32Constant(0);
4982 Node* const max = jsgraph()->Int32Constant(255);
4996 Node* const input = node->InputAt(0);
4997 Node* const max = jsgraph()->Uint32Constant(255u);
5032 Operator const* SimplifiedLowering::ToNumberOperator() {
5045 Operator const* SimplifiedLowering::ToNumberConvertBigIntOperator() {
5059 Operator const* SimplifiedLowering::ToNumericOperator() {
5072 void SimplifiedLowering::ChangeOp(Node* node, const Operator* new_op) {