Home
last modified time | relevance | path

Searched refs:effect (Results 1 – 25 of 1116) sorted by relevance

12345678910>>...45

/external/v8/src/compiler/
Djs-native-context-specialization.cc225 Node* effect = NodeProperties::GetEffectInput(node); in ReduceJSAsyncFunctionEnter() local
231 Node* promise = effect = in ReduceJSAsyncFunctionEnter()
232 graph()->NewNode(javascript()->CreatePromise(), context, effect); in ReduceJSAsyncFunctionEnter()
242 Node* value = effect = in ReduceJSAsyncFunctionEnter()
244 closure, receiver, promise, context, effect, control); in ReduceJSAsyncFunctionEnter()
245 ReplaceWithValue(node, value, effect, control); in ReduceJSAsyncFunctionEnter()
256 Node* effect = NodeProperties::GetEffectInput(node); in ReduceJSAsyncFunctionReject() local
262 Node* promise = effect = graph()->NewNode( in ReduceJSAsyncFunctionReject()
264 async_function_object, effect, control); in ReduceJSAsyncFunctionReject()
279 effect = graph()->NewNode(javascript()->RejectPromise(), promise, reason, in ReduceJSAsyncFunctionReject()
[all …]
Dproperty-access-builder.cc59 Node** effect, Node* control) { in TryBuildStringCheck() argument
63 *receiver = *effect = in TryBuildStringCheck()
65 *effect, control); in TryBuildStringCheck()
73 Node** effect, Node* control) { in TryBuildNumberCheck() argument
76 *receiver = *effect = in TryBuildNumberCheck()
78 *effect, control); in TryBuildNumberCheck()
85 Node* object, Node** effect, Node* control, in BuildCheckMaps() argument
108 *effect = graph()->NewNode(simplified()->CheckMaps(flags, map_set), object, in BuildCheckMaps()
109 *effect, control); in BuildCheckMaps()
112 Node* PropertyAccessBuilder::BuildCheckValue(Node* receiver, Effect* effect, in BuildCheckValue() argument
[all …]
Djs-type-hint-lowering.h63 Node* effect() const { return effect_; } in effect() function
72 static LoweringResult SideEffectFree(Node* value, Node* effect, in SideEffectFree() argument
74 DCHECK_NOT_NULL(effect); in SideEffectFree()
77 return LoweringResult(LoweringResultKind::kSideEffectFree, value, effect, in SideEffectFree()
94 LoweringResult(LoweringResultKind kind, Node* value, Node* effect, in LoweringResult() argument
96 : kind_(kind), value_(value), effect_(effect), control_(control) {} in LoweringResult()
106 Node* effect, Node* control,
112 Node* right, Node* effect, Node* control,
118 Node* effect, Node* control,
120 LoweringResult ReduceForInPrepareOperation(Node* enumerator, Node* effect,
[all …]
Dnode-properties.cc126 void NodeProperties::ReplaceEffectInput(Node* node, Node* effect, int index) { in ReplaceEffectInput() argument
129 return node->ReplaceInput(FirstEffectIndex(node) + index, effect); in ReplaceEffectInput()
178 void NodeProperties::ReplaceUses(Node* node, Node* value, Node* effect, in ReplaceUses() argument
194 DCHECK_NOT_NULL(effect); in ReplaceUses()
195 edge.UpdateTo(effect); in ReplaceUses()
214 Node* effect = NodeProperties::GetEffectInput(node); in FindFrameStateBefore() local
215 while (effect->opcode() != IrOpcode::kCheckpoint) { in FindFrameStateBefore()
216 if (effect->opcode() == IrOpcode::kDead || in FindFrameStateBefore()
217 effect->opcode() == IrOpcode::kUnreachable) { in FindFrameStateBefore()
220 DCHECK(effect->op()->HasProperty(Operator::kNoWrite)); in FindFrameStateBefore()
[all …]
Djs-call-reducer.cc107 initial_effect_(gasm->effect()), in IfBuilder0()
133 DCHECK_EQ(gasm_->effect(), initial_effect_); in ~IfBuilder0()
289 Effect e = effect(); in MaybeInsertMapChecks()
307 graph()->NewNode(common()->IfException(), effect(), control()); in MayThrow()
775 value, effect(), control())); in CheckFloat64Hole()
818 graph()->NewNode(javascript()->CreatePromise(), context, effect())); in CreatePromise()
828 outer_context, effect(), control())); in CreateFunctionContext()
845 HeapConstant(feedback_cell), context, effect(), control())); in CreateClosureFromBuiltinSharedFunctionInfo()
860 n.context(), frame_state, effect(), control())); in CallPromiseExecutor()
876 frame_state, effect(), control())); in CallPromiseReject()
[all …]
Djs-type-hint-lowering.cc73 Node* effect, Node* control, FeedbackSlot slot) in JSSpeculativeBinopBuilder() argument
78 effect_(effect), in JSSpeculativeBinopBuilder()
280 const Operator* op, Node* operand, Node* effect, Node* control, in ReduceUnaryOperation() argument
283 slot, effect, control, in ReduceUnaryOperation()
298 jsgraph()->SmiConstant(-1), effect, control, slot); in ReduceUnaryOperation()
307 jsgraph()->SmiConstant(1), effect, control, slot); in ReduceUnaryOperation()
315 operand, jsgraph()->SmiConstant(1), effect, in ReduceUnaryOperation()
325 jsgraph()->SmiConstant(-1), effect, control, slot); in ReduceUnaryOperation()
331 node = jsgraph()->graph()->NewNode(op, operand, effect, control); in ReduceUnaryOperation()
348 const Operator* op, Node* left, Node* right, Node* effect, Node* control, in ReduceBinaryOperation() argument
[all …]
Djs-create-lowering.cc116 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceJSCreate() local
131 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreate()
168 Node* effect = NodeProperties::GetEffectInput(node); in ReduceJSCreateArguments() local
177 Node* const elements = effect = AllocateAliasedArguments( in ReduceJSCreateArguments()
178 effect, control, context, arguments_frame, arguments_length, shared, in ReduceJSCreateArguments()
186 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateArguments()
200 Node* effect = NodeProperties::GetEffectInput(node); in ReduceJSCreateArguments() local
208 Node* const elements = effect = in ReduceJSCreateArguments()
212 arguments_frame, arguments_length, effect); in ReduceJSCreateArguments()
217 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateArguments()
[all …]
Djs-typed-lowering.cc132 effect(), control()); in CheckLeftInputToReceiver()
141 effect(), control()); in CheckLeftInputToReceiverOrNullOrUndefined()
155 right(), effect(), control()); in CheckInputsToReceiver()
171 right(), effect(), control()); in CheckInputsToReceiverOrNullOrUndefined()
180 effect(), control()); in CheckLeftInputToSymbol()
194 effect(), control()); in CheckInputsToSymbol()
207 effect(), control()); in CheckInputsToString()
214 effect(), control()); in CheckInputsToString()
226 simplified()->CheckInternalizedString(), left(), effect(), control()); in CheckInputsToInternalizedString()
233 effect(), control()); in CheckInputsToInternalizedString()
[all …]
Djs-native-context-specialization.h115 Node* effect = nullptr);
120 Node* effect = nullptr);
139 ValueEffectControl(Node* value, Node* effect, Node* control) in ValueEffectControl() argument
140 : value_(value), effect_(effect), control_(control) {} in ValueEffectControl()
143 Node* effect() const { return effect_; } in effect() function
155 Node* frame_state, Node* effect, Node* control, NameRef const& name,
160 Node* frame_state, Node* effect,
167 Node* effect, Node* control,
173 ValueEffectControl BuildPropertyTest(Node* effect, Node* control,
178 Node* frame_state, Node** effect,
[all …]
Dproperty-access-builder.h40 Node** effect, Node* control);
44 Node** effect, Node* control);
48 void BuildCheckMaps(Node* object, Node** effect, Node* control,
50 void BuildCheckMaps(Node* object, Effect* effect, Control control, in BuildCheckMaps() argument
52 Node* e = *effect; in BuildCheckMaps()
55 *effect = e; in BuildCheckMaps()
57 Node* BuildCheckValue(Node* receiver, Effect* effect, Control control,
64 Node* lookup_start_object, Node** effect,
71 Node* lookup_start_object, Node** effect, Node** control);
95 Node** effect, Node** control);
Dcheckpoint-elimination.cc41 Node* effect = NodeProperties::GetEffectInput(node); in IsRedundantCheckpoint() local
42 while (effect->op()->HasProperty(Operator::kNoWrite) && in IsRedundantCheckpoint()
43 effect->op()->EffectInputCount() == 1) { in IsRedundantCheckpoint()
44 if (effect->opcode() == IrOpcode::kCheckpoint) { in IsRedundantCheckpoint()
45 return GetFunctionInfo(effect) == function_info; in IsRedundantCheckpoint()
47 effect = NodeProperties::GetEffectInput(effect); in IsRedundantCheckpoint()
Djs-create-lowering.h85 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); in NON_EXPORTED_BASE()
86 Node* AllocateRestArguments(Node* effect, Node* control, Node* frame_state, in NON_EXPORTED_BASE()
88 Node* AllocateAliasedArguments(Node* effect, Node* control, Node* frame_state, in NON_EXPORTED_BASE()
92 Node* AllocateAliasedArguments(Node* effect, Node* control, Node* context, in NON_EXPORTED_BASE()
96 Node* AllocateElements(Node* effect, Node* control, in NON_EXPORTED_BASE()
99 Node* AllocateElements(Node* effect, Node* control, in NON_EXPORTED_BASE()
101 Node* AllocateElements(Node* effect, Node* control, in NON_EXPORTED_BASE()
105 Node* AllocateFastLiteral(Node* effect, Node* control, in NON_EXPORTED_BASE()
107 Node* AllocateFastLiteralElements(Node* effect, Node* control, in NON_EXPORTED_BASE()
110 Node* AllocateLiteralRegExp(Node* effect, Node* control, in NON_EXPORTED_BASE()
Dcsa-load-elimination.cc31 Node* const effect = NodeProperties::GetEffectInput(node, i); in Reduce() local
32 if (AbstractState const* const state = node_states_.Get(effect)) { in Reduce()
33 PrintF(" state[%i]: #%d:%s\n", i, effect->id(), in Reduce()
34 effect->op()->mnemonic()); in Reduce()
37 PrintF(" no state[%i]: #%d:%s\n", i, effect->id(), in Reduce()
38 effect->op()->mnemonic()); in Reduce()
175 Node* effect = NodeProperties::GetEffectInput(node); in ReduceLoadFromObject() local
176 AbstractState const* state = node_states_.Get(effect); in ReduceLoadFromObject()
187 ReplaceWithValue(node, replacement, effect); in ReduceLoadFromObject()
202 Node* effect = NodeProperties::GetEffectInput(node); in ReduceStoreToObject() local
[all …]
Ddead-code-elimination.cc245 Node* effect = NodeProperties::GetEffectInput(node, i); in ReduceEffectPhi() local
246 if (effect->opcode() == IrOpcode::kUnreachable) { in ReduceEffectPhi()
251 Node* throw_node = graph_->NewNode(common_->Throw(), effect, control); in ReduceEffectPhi()
277 Node* effect = NodeProperties::GetEffectInput(node, 0); in ReduceUnreachableOrIfException() local
278 if (effect->opcode() == IrOpcode::kDead) { in ReduceUnreachableOrIfException()
279 return Replace(effect); in ReduceUnreachableOrIfException()
281 if (effect->opcode() == IrOpcode::kUnreachable) { in ReduceUnreachableOrIfException()
282 return Replace(effect); in ReduceUnreachableOrIfException()
289 Node* effect = NodeProperties::GetEffectInput(node, 0); in ReduceEffectNode() local
290 if (effect->opcode() == IrOpcode::kDead) { in ReduceEffectNode()
[all …]
Dmap-inference.cc18 MapInference::MapInference(JSHeapBroker* broker, Node* object, Node* effect) in MapInference() argument
22 NodeProperties::InferMapsUnsafe(broker_, object_, effect, &maps); in MapInference()
101 void MapInference::InsertMapChecks(JSGraph* jsgraph, Effect* effect, in InsertMapChecks() argument
108 *effect = jsgraph->graph()->NewNode( in InsertMapChecks()
110 object_, *effect, control); in InsertMapChecks()
121 CompilationDependencies* dependencies, JSGraph* jsgraph, Effect* effect, in RelyOnMapsPreferStability() argument
126 CHECK(RelyOnMapsHelper(nullptr, jsgraph, effect, control, feedback)); in RelyOnMapsPreferStability()
131 JSGraph* jsgraph, Effect* effect, in RelyOnMapsHelper() argument
148 InsertMapChecks(jsgraph, effect, control, feedback); in RelyOnMapsHelper()
Dgraph-assembler.cc506 effect(), control())); in Allocate()
511 object, effect(), control())); in LoadField()
518 object, index, effect(), control())); in LoadElement()
525 value, effect(), control())); in StoreField()
531 index, value, effect(), control())); in StoreElement()
541 object, index, value, effect(), control())); in TransitionAndStoreElement()
592 simplified()->StringSubstring(), string, from, to, effect(), control())); in StringSubstring()
606 return AddNode(graph()->NewNode(simplified()->CheckIf(reason), cond, effect(), in CheckIf()
634 new_length, old_length, effect(), control())); in MaybeGrowFastElements()
639 graph()->NewNode(common()->TypeGuard(type), value, effect(), control())); in TypeGuard()
[all …]
Dload-elimination.cc89 Node* const effect = NodeProperties::GetEffectInput(node, i); in Reduce() local
90 if (AbstractState const* const state = node_states_.Get(effect)) { in Reduce()
91 PrintF(" state[%i]: #%d:%s\n", i, effect->id(), in Reduce()
92 effect->op()->mnemonic()); in Reduce()
95 PrintF(" no state[%i]: #%d:%s\n", i, effect->id(), in Reduce()
96 effect->op()->mnemonic()); in Reduce()
740 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceMapGuard() local
741 AbstractState const* state = node_states_.Get(effect); in ReduceMapGuard()
745 if (maps.contains(object_maps)) return Replace(effect); in ReduceMapGuard()
755 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceCheckMaps() local
[all …]
Dmemory-lowering.h41 static AllocationState const* Closed(AllocationGroup* group, Node* effect, in Closed() argument
43 return zone->New<AllocationState>(group, effect); in Closed()
46 Node* top, Node* effect, Zone* zone) { in Open() argument
47 return zone->New<AllocationState>(group, size, top, effect); in Open()
54 Node* effect() const { return effect_; } in effect() function
61 explicit AllocationState(AllocationGroup* group, Node* effect);
63 Node* effect);
Dcommon-operator-reducer.cc142 Node* effect = NodeProperties::GetEffectInput(node); in ReduceDeoptimizeConditional() local
160 ReplaceWithValue(node, dead(), effect, control); in ReduceDeoptimizeConditional()
164 effect, control); in ReduceDeoptimizeConditional()
216 Node* const effect = inputs[0]; in ReduceEffectPhi() local
217 DCHECK_NE(node, effect); in ReduceEffectPhi()
225 if (input != effect) return NoChange(); in ReduceEffectPhi()
229 return Replace(effect); in ReduceEffectPhi()
301 Node* effect = NodeProperties::GetEffectInput(node); in ReduceReturn() local
302 if (effect->opcode() == IrOpcode::kCheckpoint) { in ReduceReturn()
305 effect = NodeProperties::GetEffectInput(effect); in ReduceReturn()
[all …]
Djs-intrinsic-lowering.cc108 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceCreateIterResultObject() local
110 context, effect); in ReduceCreateIterResultObject()
115 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceDeoptimizeNow() local
122 frame_state, effect, control); in ReduceDeoptimizeNow()
135 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceCreateJSGeneratorObject() local
139 graph()->NewNode(op, closure, receiver, context, effect, control); in ReduceCreateJSGeneratorObject()
146 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceGeneratorClose() local
155 return Change(node, op, generator, closed, effect, control); in ReduceGeneratorClose()
222 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceGeneratorGetResumeMode() local
227 return Change(node, op, generator, effect, control); in ReduceGeneratorGetResumeMode()
[all …]
/external/skia/tools/viewer/
DParticlesSlide.cpp181 LoadedEffect effect; in loadEffects() local
182 effect.fName = SkOSPath::Join(dirname, file.c_str()); in loadEffects()
183 effect.fParams.reset(new SkParticleEffectParams()); in loadEffects()
184 if (auto fileData = SkData::MakeFromFileName(effect.fName.c_str())) { in loadEffects()
187 effect.fParams->visitFields(&fromJson); in loadEffects()
188 effect.fParams->prepare(fResourceProvider.get()); in loadEffects()
189 fLoaded.push_back(effect); in loadEffects()
212 LoadedEffect effect; in draw() local
213 effect.fName = SkOSPath::Join(dirname.c_str(), "new.json"); in draw()
214 effect.fParams.reset(new SkParticleEffectParams()); in draw()
[all …]
/external/skia/site/user/modules/
Dparticles.md144 "void effectSpawn(inout Effect effect) {",
145 " effect.lifetime = 2;",
148 "void effectUpdate(inout Effect effect) {",
149 " if (effect.age < 0.25 || effect.age > 0.75) { effect.rate = 0; }",
150 " else { effect.rate = 200; }",
164 " p.lifetime = (1 - effect.age) * effect.lifetime;",
187 "void effectSpawn(inout Effect effect) {",
188 " effect.lifetime = 2;",
189 " effect.rate = 200;",
253 " float s = effect.age * 2 - 1;",
[all …]
/external/ImageMagick/coders/
Dfpx.c616 effect, in SetBrightness() local
624 effect.byy=brightness; in SetBrightness()
625 effect.byc1=0.0; in SetBrightness()
626 effect.byc2=0.0; in SetBrightness()
627 effect.dummy1_zero=0.0; in SetBrightness()
628 effect.bc1y=0.0; in SetBrightness()
629 effect.bc1c1=brightness; in SetBrightness()
630 effect.bc1c2=0.0; in SetBrightness()
631 effect.dummy2_zero=0.0; in SetBrightness()
632 effect.bc2y=0.0; in SetBrightness()
[all …]
/external/python/cpython3/Modules/
D_opcode.c29 int effect; in _opcode_stack_effect_impl() local
61 effect = PyCompile_OpcodeStackEffectWithJump(opcode, oparg_int, jump_int); in _opcode_stack_effect_impl()
62 if (effect == PY_INVALID_STACK_EFFECT) { in _opcode_stack_effect_impl()
67 return effect; in _opcode_stack_effect_impl()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSystemVibrator.java69 …protected void vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) { in vibrate() argument
70 vibrate(uid, opPkg, effect, null, attributes); in vibrate()
74 protected void vibrate(int uid, String opPkg, VibrationEffect effect, in vibrate() argument
76 if (effect instanceof VibrationEffect.Waveform) { in vibrate()
77 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) effect; in vibrate()
81 VibrationEffect.OneShot oneShot = (VibrationEffect.OneShot) effect; in vibrate()

12345678910>>...45