/external/v8/src/compiler/ |
D | js-call-reducer.h | 52 Reduction Reduce(Node* node) final; 59 Reduction ReduceArrayConstructor(Node* node); 60 Reduction ReduceBooleanConstructor(Node* node); 61 Reduction ReduceCallApiFunction(Node* node, 63 Reduction ReduceFunctionPrototypeApply(Node* node); 64 Reduction ReduceFunctionPrototypeBind(Node* node); 65 Reduction ReduceFunctionPrototypeCall(Node* node); 66 Reduction ReduceFunctionPrototypeHasInstance(Node* node); 67 Reduction ReduceObjectConstructor(Node* node); 68 Reduction ReduceObjectGetPrototype(Node* node, Node* object); [all …]
|
D | js-typed-lowering.h | 40 Reduction Reduce(Node* node) final; in NON_EXPORTED_BASE() 45 Reduction ReduceJSAdd(Node* node); in NON_EXPORTED_BASE() 46 Reduction ReduceJSBitwiseNot(Node* node); in NON_EXPORTED_BASE() 47 Reduction ReduceJSDecrement(Node* node); in NON_EXPORTED_BASE() 48 Reduction ReduceJSIncrement(Node* node); in NON_EXPORTED_BASE() 49 Reduction ReduceJSNegate(Node* node); in NON_EXPORTED_BASE() 50 Reduction ReduceJSComparison(Node* node); in NON_EXPORTED_BASE() 51 Reduction ReduceJSLoadNamed(Node* node); in NON_EXPORTED_BASE() 52 Reduction ReduceJSHasInPrototypeChain(Node* node); in NON_EXPORTED_BASE() 53 Reduction ReduceJSOrdinaryHasInstance(Node* node); in NON_EXPORTED_BASE() [all …]
|
D | js-intrinsic-lowering.h | 39 Reduction Reduce(Node* node) final; in NON_EXPORTED_BASE() 42 Reduction ReduceCreateIterResultObject(Node* node); in NON_EXPORTED_BASE() 43 Reduction ReduceDebugIsActive(Node* node); in NON_EXPORTED_BASE() 44 Reduction ReduceDeoptimizeNow(Node* node); in NON_EXPORTED_BASE() 45 Reduction ReduceCreateJSGeneratorObject(Node* node); in NON_EXPORTED_BASE() 46 Reduction ReduceGeneratorClose(Node* node); in NON_EXPORTED_BASE() 47 Reduction ReduceGeneratorGetInputOrDebugPos(Node* node); in NON_EXPORTED_BASE() 48 Reduction ReduceAsyncGeneratorReject(Node* node); in NON_EXPORTED_BASE() 49 Reduction ReduceAsyncGeneratorResolve(Node* node); in NON_EXPORTED_BASE() 50 Reduction ReduceAsyncGeneratorYield(Node* node); in NON_EXPORTED_BASE() [all …]
|
D | machine-operator-reducer.h | 32 Reduction Reduce(Node* node) override; in NON_EXPORTED_BASE() 60 Reduction ReplaceBool(bool value) { return ReplaceInt32(value ? 1 : 0); } in NON_EXPORTED_BASE() 61 Reduction ReplaceFloat32(volatile float value) { in NON_EXPORTED_BASE() 64 Reduction ReplaceFloat64(volatile double value) { in NON_EXPORTED_BASE() 67 Reduction ReplaceInt32(int32_t value) { in NON_EXPORTED_BASE() 70 Reduction ReplaceUint32(uint32_t value) { in NON_EXPORTED_BASE() 73 Reduction ReplaceInt64(int64_t value) { in NON_EXPORTED_BASE() 77 Reduction ReduceInt32Add(Node* node); in NON_EXPORTED_BASE() 78 Reduction ReduceInt64Add(Node* node); in NON_EXPORTED_BASE() 79 Reduction ReduceInt32Sub(Node* node); in NON_EXPORTED_BASE() [all …]
|
D | typed-optimization.h | 36 Reduction Reduce(Node* node) final; in NON_EXPORTED_BASE() 39 Reduction ReduceConvertReceiver(Node* node); in NON_EXPORTED_BASE() 40 Reduction ReduceCheckHeapObject(Node* node); in NON_EXPORTED_BASE() 41 Reduction ReduceCheckMaps(Node* node); in NON_EXPORTED_BASE() 42 Reduction ReduceCheckNumber(Node* node); in NON_EXPORTED_BASE() 43 Reduction ReduceCheckString(Node* node); in NON_EXPORTED_BASE() 44 Reduction ReduceCheckEqualsInternalizedString(Node* node); in NON_EXPORTED_BASE() 45 Reduction ReduceCheckEqualsSymbol(Node* node); in NON_EXPORTED_BASE() 46 Reduction ReduceLoadField(Node* node); in NON_EXPORTED_BASE() 47 Reduction ReduceNumberFloor(Node* node); in NON_EXPORTED_BASE() [all …]
|
D | js-create-lowering.h | 48 Reduction Reduce(Node* node) final; in NON_EXPORTED_BASE() 51 Reduction ReduceJSCreate(Node* node); in NON_EXPORTED_BASE() 52 Reduction ReduceJSCreateArguments(Node* node); in NON_EXPORTED_BASE() 53 Reduction ReduceJSCreateArray(Node* node); in NON_EXPORTED_BASE() 54 Reduction ReduceJSCreateArrayIterator(Node* node); in NON_EXPORTED_BASE() 55 Reduction ReduceJSCreateCollectionIterator(Node* node); in NON_EXPORTED_BASE() 56 Reduction ReduceJSCreateBoundFunction(Node* node); in NON_EXPORTED_BASE() 57 Reduction ReduceJSCreateClosure(Node* node); in NON_EXPORTED_BASE() 58 Reduction ReduceJSCreateIterResultObject(Node* node); in NON_EXPORTED_BASE() 59 Reduction ReduceJSCreateStringIterator(Node* node); in NON_EXPORTED_BASE() [all …]
|
D | dead-code-elimination.h | 48 Reduction Reduce(Node* node) final; in NON_EXPORTED_BASE() 51 Reduction ReduceEnd(Node* node); in NON_EXPORTED_BASE() 52 Reduction ReduceLoopOrMerge(Node* node); in NON_EXPORTED_BASE() 53 Reduction ReduceLoopExit(Node* node); in NON_EXPORTED_BASE() 54 Reduction ReduceNode(Node* node); in NON_EXPORTED_BASE() 55 Reduction ReducePhi(Node* node); in NON_EXPORTED_BASE() 56 Reduction ReducePureNode(Node* node); in NON_EXPORTED_BASE() 57 Reduction ReduceUnreachableOrIfException(Node* node); in NON_EXPORTED_BASE() 58 Reduction ReduceEffectNode(Node* node); in NON_EXPORTED_BASE() 59 Reduction ReduceDeoptimizeOrReturnOrTerminate(Node* node); in NON_EXPORTED_BASE() [all …]
|
D | js-native-context-specialization.h | 59 Reduction Reduce(Node* node) final; 62 Reduction ReduceJSAdd(Node* node); 63 Reduction ReduceJSGetSuperConstructor(Node* node); 64 Reduction ReduceJSInstanceOf(Node* node); 65 Reduction ReduceJSHasInPrototypeChain(Node* node); 66 Reduction ReduceJSOrdinaryHasInstance(Node* node); 67 Reduction ReduceJSPromiseResolve(Node* node); 68 Reduction ReduceJSResolvePromise(Node* node); 69 Reduction ReduceJSLoadContext(Node* node); 70 Reduction ReduceJSLoadGlobal(Node* node); [all …]
|
D | common-operator-reducer.h | 35 Reduction Reduce(Node* node) final; in NON_EXPORTED_BASE() 38 Reduction ReduceBranch(Node* node); in NON_EXPORTED_BASE() 39 Reduction ReduceDeoptimizeConditional(Node* node); in NON_EXPORTED_BASE() 40 Reduction ReduceMerge(Node* node); in NON_EXPORTED_BASE() 41 Reduction ReduceEffectPhi(Node* node); in NON_EXPORTED_BASE() 42 Reduction ReducePhi(Node* node); in NON_EXPORTED_BASE() 43 Reduction ReduceReturn(Node* node); in NON_EXPORTED_BASE() 44 Reduction ReduceSelect(Node* node); in NON_EXPORTED_BASE() 45 Reduction ReduceSwitch(Node* node); in NON_EXPORTED_BASE() 47 Reduction Change(Node* node, Operator const* op, Node* a); in NON_EXPORTED_BASE() [all …]
|
D | branch-elimination.h | 30 Reduction Reduce(Node* node) final; in NON_EXPORTED_BASE() 58 Reduction ReduceBranch(Node* node); in NON_EXPORTED_BASE() 59 Reduction ReduceDeoptimizeConditional(Node* node); in NON_EXPORTED_BASE() 60 Reduction ReduceIf(Node* node, bool is_true_branch); in NON_EXPORTED_BASE() 61 Reduction ReduceLoop(Node* node); in NON_EXPORTED_BASE() 62 Reduction ReduceMerge(Node* node); in NON_EXPORTED_BASE() 63 Reduction ReduceStart(Node* node); in NON_EXPORTED_BASE() 64 Reduction ReduceOtherControl(Node* node); in NON_EXPORTED_BASE() 66 Reduction TakeConditionsFromFirstControl(Node* node); in NON_EXPORTED_BASE() 67 Reduction UpdateConditions(Node* node, ControlPathConditions conditions); in NON_EXPORTED_BASE() [all …]
|
D | js-intrinsic-lowering.cc | 27 Reduction JSIntrinsicLowering::Reduce(Node* node) { in Reduce() 86 Reduction JSIntrinsicLowering::ReduceCreateIterResultObject(Node* node) { in ReduceCreateIterResultObject() 95 Reduction JSIntrinsicLowering::ReduceDebugIsActive(Node* node) { in ReduceDebugIsActive() 105 Reduction JSIntrinsicLowering::ReduceDeoptimizeNow(Node* node) { in ReduceDeoptimizeNow() 123 Reduction JSIntrinsicLowering::ReduceCreateJSGeneratorObject(Node* node) { in ReduceCreateJSGeneratorObject() 136 Reduction JSIntrinsicLowering::ReduceGeneratorClose(Node* node) { in ReduceGeneratorClose() 150 Reduction JSIntrinsicLowering::ReduceGeneratorGetInputOrDebugPos(Node* node) { in ReduceGeneratorGetInputOrDebugPos() 160 Reduction JSIntrinsicLowering::ReduceAsyncGeneratorReject(Node* node) { in ReduceAsyncGeneratorReject() 166 Reduction JSIntrinsicLowering::ReduceAsyncGeneratorResolve(Node* node) { in ReduceAsyncGeneratorResolve() 172 Reduction JSIntrinsicLowering::ReduceAsyncGeneratorYield(Node* node) { in ReduceAsyncGeneratorYield() [all …]
|
D | simplified-operator-reducer.h | 37 Reduction Reduce(Node* node) final; in NON_EXPORTED_BASE() 40 Reduction ReduceReferenceEqual(Node* node); in NON_EXPORTED_BASE() 42 Reduction Change(Node* node, const Operator* op, Node* a); in NON_EXPORTED_BASE() 43 Reduction ReplaceBoolean(bool value); in NON_EXPORTED_BASE() 44 Reduction ReplaceFloat64(double value); in NON_EXPORTED_BASE() 45 Reduction ReplaceInt32(int32_t value); in NON_EXPORTED_BASE() 46 Reduction ReplaceUint32(uint32_t value) { in NON_EXPORTED_BASE() 49 Reduction ReplaceNumber(double value); in NON_EXPORTED_BASE() 50 Reduction ReplaceNumber(int32_t value); in NON_EXPORTED_BASE()
|
D | graph-reducer.h | 30 class Reduction final { 32 explicit Reduction(Node* replacement = nullptr) : replacement_(replacement) {} in replacement_() 55 virtual Reduction Reduce(Node* node) = 0; 63 static Reduction NoChange() { return Reduction(); } in NoChange() 64 static Reduction Replace(Node* node) { return Reduction(node); } in Replace() 65 static Reduction Changed(Node* node) { return Reduction(node); } in Changed() 93 static Reduction Replace(Node* node) { return Reducer::Replace(node); } in Replace() 152 Reduction Reduce(Node* const); in NON_EXPORTED_BASE()
|
D | redundancy-elimination.h | 21 Reduction Reduce(Node* node) final; 60 Reduction ReduceCheckNode(Node* node); 61 Reduction ReduceEffectPhi(Node* node); 62 Reduction ReduceStart(Node* node); 63 Reduction ReduceOtherNode(Node* node); 65 Reduction TakeChecksFromFirstEffect(Node* node); 66 Reduction UpdateChecks(Node* node, EffectPathChecks const* checks); 68 Reduction TryReuseBoundsCheckForFirstInput(Node* node);
|
D | load-elimination.h | 38 Reduction Reduce(Node* node) final; in NON_EXPORTED_BASE() 277 Reduction ReduceArrayBufferWasNeutered(Node* node); in NON_EXPORTED_BASE() 278 Reduction ReduceCheckMaps(Node* node); in NON_EXPORTED_BASE() 279 Reduction ReduceCompareMaps(Node* node); in NON_EXPORTED_BASE() 280 Reduction ReduceMapGuard(Node* node); in NON_EXPORTED_BASE() 281 Reduction ReduceEnsureWritableFastElements(Node* node); in NON_EXPORTED_BASE() 282 Reduction ReduceMaybeGrowFastElements(Node* node); in NON_EXPORTED_BASE() 283 Reduction ReduceTransitionElementsKind(Node* node); in NON_EXPORTED_BASE() 284 Reduction ReduceLoadField(Node* node); in NON_EXPORTED_BASE() 285 Reduction ReduceStoreField(Node* node); in NON_EXPORTED_BASE() [all …]
|
D | dead-code-elimination.cc | 48 Reduction DeadCodeElimination::Reduce(Node* node) { in Reduce() 80 Reduction DeadCodeElimination::PropagateDeadControl(Node* node) { in PropagateDeadControl() 87 Reduction DeadCodeElimination::ReduceEnd(Node* node) { in ReduceEnd() 112 Reduction DeadCodeElimination::ReduceLoopOrMerge(Node* node) { in ReduceLoopOrMerge() 183 Reduction DeadCodeElimination::RemoveLoopExit(Node* node) { in RemoveLoopExit() 196 Reduction DeadCodeElimination::ReduceNode(Node* node) { in ReduceNode() 202 Reduction reduction = PropagateDeadControl(node); in ReduceNode() 215 Reduction DeadCodeElimination::ReducePhi(Node* node) { in ReducePhi() 217 Reduction reduction = PropagateDeadControl(node); in ReducePhi() 235 Reduction DeadCodeElimination::ReducePureNode(Node* node) { in ReducePureNode() [all …]
|
D | js-context-specialization.h | 50 Reduction Reduce(Node* node) final; 53 Reduction ReduceParameter(Node* node); 54 Reduction ReduceJSLoadContext(Node* node); 55 Reduction ReduceJSStoreContext(Node* node); 57 Reduction SimplifyJSStoreContext(Node* node, Node* new_context, 59 Reduction SimplifyJSLoadContext(Node* node, Node* new_context,
|
D | branch-elimination.cc | 27 Reduction BranchElimination::Reduce(Node* node) { in Reduce() 56 Reduction BranchElimination::ReduceBranch(Node* node) { in ReduceBranch() 93 Reduction BranchElimination::ReduceDeoptimizeConditional(Node* node) { in ReduceDeoptimizeConditional() 140 Reduction BranchElimination::ReduceIf(Node* node, bool is_true_branch) { in ReduceIf() 155 Reduction BranchElimination::ReduceLoop(Node* node) { in ReduceLoop() 163 Reduction BranchElimination::ReduceMerge(Node* node) { in ReduceMerge() 192 Reduction BranchElimination::ReduceStart(Node* node) { in ReduceStart() 197 Reduction BranchElimination::ReduceOtherControl(Node* node) { in ReduceOtherControl() 203 Reduction BranchElimination::TakeConditionsFromFirstControl(Node* node) { in TakeConditionsFromFirstControl() 211 Reduction BranchElimination::UpdateConditions( in UpdateConditions() [all …]
|
D | typed-optimization.cc | 37 Reduction TypedOptimization::Reduce(Node* node) { in Reduce() 104 Reduction TypedOptimization::ReduceConvertReceiver(Node* node) { in ReduceConvertReceiver() 118 Reduction TypedOptimization::ReduceCheckHeapObject(Node* node) { in ReduceCheckHeapObject() 128 Reduction TypedOptimization::ReduceCheckNotTaggedHole(Node* node) { in ReduceCheckNotTaggedHole() 138 Reduction TypedOptimization::ReduceCheckMaps(Node* node) { in ReduceCheckMaps() 165 Reduction TypedOptimization::ReduceCheckNumber(Node* node) { in ReduceCheckNumber() 175 Reduction TypedOptimization::ReduceCheckString(Node* node) { in ReduceCheckString() 185 Reduction TypedOptimization::ReduceCheckEqualsInternalizedString(Node* node) { in ReduceCheckEqualsInternalizedString() 197 Reduction TypedOptimization::ReduceCheckEqualsSymbol(Node* node) { in ReduceCheckEqualsSymbol() 207 Reduction TypedOptimization::ReduceLoadField(Node* node) { in ReduceLoadField() [all …]
|
D | machine-operator-reducer.cc | 64 Reduction const reduction = ReduceWord32And(node); in Word32And() 88 Reduction const reduction = ReduceInt32Add(node); in Int32Add() 95 Reduction const reduction = ReduceInt32Sub(node); in Int32Sub() 146 Reduction MachineOperatorReducer::Reduce(Node* node) { in Reduce() 231 Reduction reduction = ReduceWord32Shl(node); in Reduce() 699 Reduction MachineOperatorReducer::ReduceInt32Add(Node* node) { in ReduceInt32Add() 713 Reduction const reduction = ReduceInt32Sub(node); in ReduceInt32Add() 722 Reduction const reduction = ReduceInt32Sub(node); in ReduceInt32Add() 729 Reduction MachineOperatorReducer::ReduceInt64Add(Node* node) { in ReduceInt64Add() 740 Reduction MachineOperatorReducer::ReduceInt32Sub(Node* node) { in ReduceInt32Sub() [all …]
|
D | js-context-specialization.cc | 19 Reduction JSContextSpecialization::Reduce(Node* node) { in Reduce() 33 Reduction JSContextSpecialization::ReduceParameter(Node* node) { in ReduceParameter() 47 Reduction JSContextSpecialization::SimplifyJSLoadContext(Node* node, in SimplifyJSLoadContext() 66 Reduction JSContextSpecialization::SimplifyJSStoreContext(Node* node, in SimplifyJSStoreContext() 128 Reduction JSContextSpecialization::ReduceJSLoadContext(Node* node) { in ReduceJSLoadContext() 188 Reduction JSContextSpecialization::ReduceJSStoreContext(Node* node) { in ReduceJSStoreContext()
|
D | js-typed-lowering.cc | 219 Reduction ChangeToPureOperator(const Operator* op, Type type = Type::Any()) { in ChangeToPureOperator() 242 Reduction ChangeToSpeculativeOperator(const Operator* op, Type upper_bound) { in ChangeToSpeculativeOperator() 377 Reduction const reduction = lowering_->ReduceJSToNumberOrNumericInput(node); in ConvertPlainPrimitiveToNumber() 425 Reduction JSTypedLowering::ReduceSpeculativeNumberAdd(Node* node) { in ReduceSpeculativeNumberAdd() 440 Reduction JSTypedLowering::ReduceJSBitwiseNot(Node* node) { in ReduceJSBitwiseNot() 455 Reduction JSTypedLowering::ReduceJSDecrement(Node* node) { in ReduceJSDecrement() 470 Reduction JSTypedLowering::ReduceJSIncrement(Node* node) { in ReduceJSIncrement() 486 Reduction JSTypedLowering::ReduceJSNegate(Node* node) { in ReduceJSNegate() 500 Reduction JSTypedLowering::ReduceJSAdd(Node* node) { in ReduceJSAdd() 523 Reduction const reduction = ReduceJSToStringInput(r.right()); in ReduceJSAdd() [all …]
|
/external/tensorflow/tensorflow/python/ops/losses/ |
D | losses_impl.py | 39 class Reduction(object): class 147 reduction=Reduction.SUM_BY_NONZERO_WEIGHTS): 180 Reduction.validate(reduction) 189 if reduction == Reduction.NONE: 195 if reduction == Reduction.MEAN: 199 elif (reduction == Reduction.SUM_BY_NONZERO_WEIGHTS or 200 reduction == Reduction.SUM_OVER_NONZERO_WEIGHTS): 202 elif reduction == Reduction.SUM_OVER_BATCH_SIZE: 215 reduction=Reduction.SUM_BY_NONZERO_WEIGHTS): 269 reduction=Reduction.SUM_BY_NONZERO_WEIGHTS, [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMParallelDSP.cpp | 48 struct Reduction; 51 using ReductionList = SmallVector<Reduction, 8>; 99 struct Reduction { struct 107 Reduction (PHINode *P, Instruction *Acc) : Phi(P), AccIntAdd(Acc) { }; in Reduction() argument 120 bool InsertParallelMACs(Reduction &Reduction, PMACPairList &PMACPairs); 385 bool ARMParallelDSP::InsertParallelMACs(Reduction &Reduction, in InsertParallelMACs() argument 387 Instruction *Acc = Reduction.Phi; in InsertParallelMACs() 388 Instruction *InsertAfter = Reduction.AccIntAdd; in InsertParallelMACs() 400 if (Acc != Reduction.Phi) { in InsertParallelMACs() 402 Reduction.AccIntAdd->replaceAllUsesWith(Acc); in InsertParallelMACs() [all …]
|
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/ |
D | losses_impl.py | 83 reduction=losses.Reduction.SUM_BY_NONZERO_WEIGHTS, 125 reduction=losses.Reduction.SUM_BY_NONZERO_WEIGHTS, 185 reduction=losses.Reduction.SUM_BY_NONZERO_WEIGHTS, 253 reduction=losses.Reduction.SUM_BY_NONZERO_WEIGHTS, 316 reduction=losses.Reduction.SUM_BY_NONZERO_WEIGHTS, 413 reduction=losses.Reduction.SUM_BY_NONZERO_WEIGHTS, 478 reduction=losses.Reduction.SUM_BY_NONZERO_WEIGHTS, 528 reduction=losses.Reduction.SUM_BY_NONZERO_WEIGHTS, 574 reduction=losses.Reduction.SUM_BY_NONZERO_WEIGHTS, 625 reduction=losses.Reduction.SUM_BY_NONZERO_WEIGHTS, [all …]
|