Home
last modified time | relevance | path

Searched refs:Replace (Results 1 - 25 of 107) sorted by relevance

12345

/third_party/node/deps/v8/src/compiler/
H A Dsimplified-operator-reducer.cc55 if (m.IsBooleanNot()) return Replace(m.InputAt(0)); in Reduce()
60 if (m.Is(0)) return Replace(jsgraph()->FalseConstant()); in Reduce()
61 if (m.Is(1)) return Replace(jsgraph()->TrueConstant()); in Reduce()
62 if (m.IsChangeTaggedToBit()) return Replace(m.InputAt(0)); in Reduce()
72 if (m.IsChangeBitToTagged()) return Replace(m.InputAt(0)); in Reduce()
78 if (m.IsChangeTaggedToFloat64()) return Replace(m.node()->InputAt(0)); in Reduce()
86 return Replace(m.InputAt(0)); in Reduce()
95 return Replace(m.node()->InputAt(0)); in Reduce()
114 return Replace(m.InputAt(0)); in Reduce()
125 if (m.IsChangeUint32ToTagged()) return Replace( in Reduce()
[all...]
H A Dtyped-optimization.cc148 return Replace(value); in ReduceConvertReceiver()
151 return Replace(global_proxy); in ReduceConvertReceiver()
161 return Replace(input); in ReduceCheckHeapObject()
185 return Replace(check_bounds); in ReduceMaybeGrowFastElements()
213 return Replace(input); in ReduceCheckNotTaggedHole()
238 return Replace(effect); in ReduceCheckMaps()
250 return Replace(input); in ReduceCheckNumber()
260 return Replace(input); in ReduceCheckString()
271 if (val_type.Is(exp_type)) return Replace(effect); in ReduceCheckEqualsInternalizedString()
283 if (val_type.Is(exp_type)) return Replace(effec in ReduceCheckEqualsSymbol()
[all...]
H A Ddead-code-elimination.cc83 if (control->opcode() == IrOpcode::kDead) return Replace(control); in PropagateDeadControl()
101 return Replace(dead()); in ReduceEnd()
140 return Replace(dead()); in ReduceLoopOrMerge()
146 Replace(use, use->InputAt(0)); in ReduceLoopOrMerge()
155 Replace(use, dead()); in ReduceLoopOrMerge()
162 return Replace(node->InputAt(0)); in ReduceLoopOrMerge()
187 Replace(use, use->InputAt(0)); in RemoveLoopExit()
191 Replace(node, control); in RemoveLoopExit()
192 return Replace(control); in RemoveLoopExit()
221 return Replace(DeadValu in ReducePhi()
[all...]
H A Dgraph-reducer.h71 static Reduction Replace(Node* node) { return Reduction(node); } in Replace() function in v8::internal::compiler::Reducer
88 // Replace {node} with {replacement}.
89 virtual void Replace(Node* node, Node* replacement) = 0;
92 // Replace value uses of {node} with {value} and effect uses of {node} with
103 static Reduction Replace(Node* node) { return Reducer::Replace(node); } in Replace() function in v8::internal::compiler::AdvancedReducer
106 void Replace(Node* node, Node* replacement) { in Replace() function in v8::internal::compiler::AdvancedReducer
108 editor_->Replace(node, replacement); in Replace()
171 // Replace {node} with {replacement}.
172 void Replace(Nod
[all...]
H A Dcommon-operator-reducer.cc131 Replace(use, (decision == Decision::kTrue) ? control : dead()); in ReduceBranch()
134 Replace(use, (decision == Decision::kFalse) ? control : dead()); in ReduceBranch()
140 return Replace(dead()); in ReduceBranch()
175 return Replace(dead()); in ReduceDeoptimizeConditional()
207 return Replace(control); in ReduceMerge()
235 return Replace(effect); in ReduceEffectPhi()
302 return Replace(value); in ReducePhi()
366 Replace(control, dead()); in ReduceReturn()
367 return Replace(dead()); in ReduceReturn()
382 Replace(contro in ReduceReturn()
[all...]
H A Dmachine-operator-reducer.cc339 if (m.right().Is(0)) return Replace(m.left().node()); // x ror 0 => x in Reduce()
380 if (m.right().Is(0)) return Replace(m.right().node()); // x * 0 => 0 in Reduce()
381 if (m.right().Is(1)) return Replace(m.left().node()); // x * 1 => x in Reduce()
503 return Replace(m.left().node()); // x - 0 => x in Reduce()
522 return Replace(graph()->NewNode(machine()->Float32RoundUp().op(), in Reduce()
552 return Replace(m.left().node()); // x - 0 => x in Reduce()
571 return Replace(graph()->NewNode(machine()->Float64RoundUp().op(), in Reduce()
586 return Replace(m.left().node()); // x * 1.0 => x in Reduce()
610 return Replace(m.left().node()); // x / 1.0 => x in Reduce()
771 return Replace(Float64PowHal in Reduce()
[all...]
H A Dmachine-operator-reducer.h69 return Replace(Float32Constant(value)); in ReplaceFloat32()
72 return Replace(Float64Constant(value)); in ReplaceFloat64()
75 return Replace(Int32Constant(value)); in ReplaceInt32()
78 return Replace(Uint32Constant(value)); in ReplaceUint32()
81 return Replace(Int64Constant(value)); in ReplaceInt64()
H A Dgraph-reducer.cc207 Replace(node, replacement, max_id); in ReduceTop()
212 void GraphReducer::Replace(Node* node, Node* replacement) { in Replace() function in v8::internal::GraphReducer
213 Replace(node, replacement, std::numeric_limits<NodeId>::max()); in Replace()
217 void GraphReducer::Replace(Node* node, Node* replacement, NodeId max_id) { in Replace() function in v8::internal::GraphReducer
232 // Replace all old uses of {node} with {replacement}, but allow new nodes in Replace()
266 Replace(user, control); in ReplaceWithValue()
H A Dbranch-elimination.cc129 // Replace the branch condition with the new phi. in SimplifyBranchCondition()
145 Replace(use, condition_value ? control_input : dead()); in ReduceBranch()
148 Replace(use, condition_value ? dead() : control_input); in ReduceBranch()
154 return Replace(dead()); in ReduceBranch()
246 return Replace(dead()); in ReduceTrapConditional()
257 // Replace the branch with the trap. in ReduceTrapConditional()
303 return Replace(control_input); in ReduceTrapConditional()
342 return Replace(dead()); in ReduceDeoptimizeConditional()
H A Djs-typed-lowering.cc285 // TODO(jarin): Replace the explicit typing hack with a call to some method in ChangeToPureOperator()
658 return Replace(value); in ReduceJSAdd()
874 return Replace(value); in ReduceJSEqual()
899 return Replace(replacement); in ReduceJSStrictEqual()
964 return Replace(input); in ReduceJSToName()
988 return Replace(input); in ReduceJSToLength()
1003 return Replace(jsgraph()->Constant(number.value())); in ReduceJSToNumberInput()
1010 return Replace(jsgraph()->Constant(value)); in ReduceJSToNumberInput()
1019 return Replace(jsgraph()->NaNConstant()); in ReduceJSToNumberInput()
1023 return Replace(jsgrap in ReduceJSToNumberInput()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/
H A DIceParseInstsTest.cpp154 NaClMungedBitcode::Replace, in TEST()
169 NaClMungedBitcode::Replace, in TEST()
190 NaClMungedBitcode::Replace, in TEST()
279 NaClMungedBitcode::Replace, in TEST()
298 NaClMungedBitcode::Replace, in TEST()
317 NaClMungedBitcode::Replace, in TEST()
336 NaClMungedBitcode::Replace, in TEST()
432 NaClMungedBitcode::Replace, in TEST()
451 NaClMungedBitcode::Replace, in TEST()
466 NaClMungedBitcode::Replace, in TEST()
[all...]
H A DIceParseTypesTest.cpp78 const uint64_t Edit[] = {FloatTypeIndex, NaClMungedBitcode::Replace, in TEST()
95 CountRecordIndex, NaClMungedBitcode::Replace, in TEST()
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dregexp_adapter.h48 // phonenumberutil.cc. Consume(), Match() and Replace() methods must be
170 virtual bool Replace(string* string_to_process,
174 // Helper methods calling the Replace method with the right arguments.
175 inline bool Replace(string* string_to_process, in Replace() function in i18n::phonenumbers::RegExp
177 return Replace(string_to_process, false, replacement_string); in Replace()
182 return Replace(string_to_process, true, replacement_string); in GlobalReplace()
H A Dregexp_adapter_re2.cc136 virtual bool Replace(string* string_to_process, in Replace() function in i18n::phonenumbers::RE2RegExp
146 return RE2::Replace(string_to_process, utf8_regexp_, in Replace()
/third_party/lzma/CPP/7zip/Archive/Common/
H A DItemNameUtils.cpp20 name.Replace(kOsPathSepar, kUnixPathSepar); in ReplaceSlashes_OsToUnix()
31 newName.Replace(kUnixPathSepar, kOsPathSepar); in GetOsPath()
61 // name.Replace(kUnixPathSepar, kOsPathSepar); in ReplaceToOsSlashes_Remove_TailSlash()
130 newName.Replace(L'\\', WCHAR_PATH_SEPARATOR); in WinPathToOsPath()
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dregexp_adapter_test.cc253 ASSERT_TRUE(context.single_digit->Replace(&input, "+")) in TEST_F()
257 ASSERT_TRUE(context.single_digit->Replace(&input, "+")) in TEST_F()
263 ASSERT_FALSE(single_letter->Replace(&input, "+")) << ErrorMessage(context); in TEST_F()
276 ASSERT_TRUE(context.two_digit_groups->Replace(&input, "$2")) in TEST_F()
281 ASSERT_TRUE(context.two_digit_groups->Replace(&input, "$1")) in TEST_F()
286 ASSERT_TRUE(context.two_digit_groups->Replace(&input, "$2")) in TEST_F()
291 ASSERT_TRUE(context.two_digit_groups->Replace(&input, "$1 $2")) in TEST_F()
304 ASSERT_TRUE(context.two_digit_groups->Replace(&input, "\\$1 \\$2")) in TEST_F()
/third_party/skia/third_party/externals/tint/src/transform/
H A Dbinding_remapper.cc98 // Replace any group or binding decorations. in Run()
107 ctx.Replace(binding_point.group, new_group); in Run()
108 ctx.Replace(binding_point.binding, new_binding); in Run()
112 // Replace any access controls. in Run()
137 ctx.Replace(var, new_var); in Run()
H A Dexternal_texture_transform.cc78 // Replace the call with another that has the same parameters in in Run()
99 ctx.Replace(call_expr, newCall); in Run()
111 // Replace a single-plane external texture with a 2D, f32 sampled in Run()
124 ctx.Replace(var, newVar); in Run()
H A Dremove_phonies.cc107 // Replace phony assignment with call. in Run()
108 ctx.Replace( in Run()
117 ctx.Replace(stmt, [&, side_effects] { in Run()
H A Drobustness.cc265 ctx.Replace(coords_arg, clamped_coords); in Transform()
275 ctx.Replace(arg, clamped); in Transform()
281 ctx.Replace(arg, level_arg ? level_arg() : ctx.dst->Expr(0)); in Transform()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDepthStencilStateTests.cpp159 baseStencilFaceDescriptor.passOp = wgpu::StencilOperation::Replace; in CheckStencilCompareFunction()
212 baseStencilFaceDescriptor.passOp = wgpu::StencilOperation::Replace; in CheckStencilOperation()
546 CheckStencilOperation(wgpu::StencilOperation::Replace, 1, 3, 3); in TEST_P()
579 baseStencilFaceDescriptor.passOp = wgpu::StencilOperation::Replace; in TEST_P()
618 baseStencilFaceDescriptor.passOp = wgpu::StencilOperation::Replace; in TEST_P()
657 baseStencilFaceDescriptor.passOp = wgpu::StencilOperation::Replace; in TEST_P()
668 stencilFaceDescriptor.failOp = wgpu::StencilOperation::Replace; in TEST_P()
685 2); // Replace the stencil on failure, so it should be 2 in TEST_P()
694 baseStencilFaceDescriptor.passOp = wgpu::StencilOperation::Replace; in TEST_P()
706 stencilFaceDescriptor.depthFailOp = wgpu::StencilOperation::Replace; in TEST_P()
[all...]
/third_party/ninja/src/
H A Dmsvc_helper-win32.cc25 string Replace(const string& input, const string& find, const string& replace) { in Replace() function
39 return Replace(path, " ", "\\ "); in EscapeForDepfile()
/third_party/skia/third_party/externals/dawn/examples/
H A DCubeReflection.cpp217 depthStencil->stencilFront.passOp = wgpu::StencilOperation::Replace; in init()
218 depthStencil->stencilBack.passOp = wgpu::StencilOperation::Replace; in init()
238 depthStencil->stencilFront.passOp = wgpu::StencilOperation::Replace; in init()
239 depthStencil->stencilBack.passOp = wgpu::StencilOperation::Replace; in init()
/third_party/lzma/CPP/7zip/UI/FileManager/
H A DFormatUtils.cpp21 result.Replace(L"{0}", argument); in MyFormatNew()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp913 Constant *Replace = ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV), in rewriteWithNewAddressSpaces() local
915 if (C != Replace) { in rewriteWithNewAddressSpaces()
916 LLVM_DEBUG(dbgs() << "Inserting replacement const cast: " << Replace in rewriteWithNewAddressSpaces()
917 << ": " << *Replace << '\n'); in rewriteWithNewAddressSpaces() local
918 C->replaceAllUsesWith(Replace); in rewriteWithNewAddressSpaces()
919 V = Replace; in rewriteWithNewAddressSpaces()

Completed in 18 milliseconds

12345