Home
last modified time | relevance | path

Searched refs:SideEffects (Results 1 – 25 of 28) sorted by relevance

12

/art/compiler/optimizing/
Dside_effects_test.cc45 void testWriteAndReadEffects(SideEffects write, SideEffects read) { in testWriteAndReadEffects()
55 SideEffects all = SideEffects::All(); in testWriteAndReadEffects()
62 SideEffects none = SideEffects::None(); in testWriteAndReadEffects()
69 void testWriteAndReadDependence(SideEffects write, SideEffects read) { in testWriteAndReadDependence()
77 void testNoWriteAndReadDependence(SideEffects write, SideEffects read) { in testNoWriteAndReadDependence()
90 SideEffects all = SideEffects::All(); in TEST()
98 SideEffects none = SideEffects::None(); in TEST()
110 SideEffects::FieldWriteOfType(type, false), in TEST()
111 SideEffects::FieldReadOfType(type, false)); in TEST()
113 SideEffects::ArrayWriteOfType(type), in TEST()
[all …]
Dside_effects_analysis.h36 SideEffects GetLoopEffects(HBasicBlock* block) const;
37 SideEffects GetBlockEffects(HBasicBlock* block) const;
47 void UpdateLoopEffects(HLoopInformation* info, SideEffects effects);
57 ArenaVector<SideEffects> block_effects_;
61 ArenaVector<SideEffects> loop_effects_;
Dside_effects_analysis.cc30 SideEffects effects = GetBlockEffects(block); in Run()
41 SideEffects effects = SideEffects::None(); in Run()
75 SideEffects SideEffectsAnalysis::GetLoopEffects(HBasicBlock* block) const { in GetLoopEffects()
80 SideEffects SideEffectsAnalysis::GetBlockEffects(HBasicBlock* block) const { in GetBlockEffects()
84 void SideEffectsAnalysis::UpdateLoopEffects(HLoopInformation* info, SideEffects effects) { in UpdateLoopEffects()
Dnodes_x86.h29 SideEffects::None(), in HX86ComputeBaseMethodAddress()
48 SideEffects::None(), in HX86LoadFromConstantTable()
75 : HExpression(kX86FPNeg, result_type, SideEffects::None(), dex_pc) { in HX86FPNeg()
99 : HExpression(kX86PackedSwitch, SideEffects::None(), dex_pc), in HX86PackedSwitch()
137 : HBinaryOperation(kX86AndNot, result_type, left, right, SideEffects::None(), dex_pc) { in HBinaryOperation()
Dintrinsics_x86_64.h39 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
64 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
Dintrinsics_arm_vixl.h36 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
63 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
Dintrinsics_x86.h39 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
64 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
Dnodes.h1806 class SideEffects : public ValueObject {
1808 SideEffects() : flags_(0) {} in SideEffects() function
1810 static SideEffects None() { in None()
1811 return SideEffects(0); in None()
1814 static SideEffects All() { in All()
1815 return SideEffects(kAllChangeBits | kAllDependOnBits); in All()
1818 static SideEffects AllChanges() { in AllChanges()
1819 return SideEffects(kAllChangeBits); in AllChanges()
1822 static SideEffects AllDependencies() { in AllDependencies()
1823 return SideEffects(kAllDependOnBits); in AllDependencies()
[all …]
Dintrinsics_arm64.h47 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
72 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
Dnodes_shared.h35 : HExpression(kMultiplyAccumulate, type, SideEffects::None(), dex_pc), in HExpression()
76 SideEffects::None(), in HBinaryOperation()
154 SideEffects::None(), in HIntermediateAddressIndex()
205 : HExpression(kDataProcWithShifterOp, instr->GetType(), SideEffects::None(), dex_pc),
Dnodes_vector.h77 SideEffects side_effects, in HVecOperation()
277 SideEffects::None(), in HVecUnaryOperation()
305 SideEffects::None(), in HVecBinaryOperation()
329 SideEffects side_effects, in HVecMemoryOperation()
980 SideEffects::None(), in HVecSetScalars()
1018 SideEffects::None(), in HVecMultiplyAccumulate()
1072 SideEffects::None(), in HVecSADAccumulate()
1119 SideEffects::None(), in HVecDotProd()
1160 SideEffects side_effects, in HVecLoad()
1207 SideEffects side_effects, in HVecStore()
[all …]
Dnodes_vector_test.cc147 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
201 SideEffects::ArrayReadOfType(DataType::Type::kInt32), in TEST_F()
209 SideEffects::ArrayReadOfType(DataType::Type::kInt32), in TEST_F()
217 SideEffects::ArrayReadOfType(DataType::Type::kInt32), in TEST_F()
257 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
266 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
Dinstruction_simplifier_shared.cc268 access->AddSideEffects(SideEffects::DependsOnGC()); in TryExtractArrayAccessAddress()
269 DCHECK(address->GetSideEffects().Includes(SideEffects::DependsOnGC())); in TryExtractArrayAccessAddress()
270 DCHECK(access->GetSideEffects().Includes(SideEffects::DependsOnGC())); in TryExtractArrayAccessAddress()
Dcritical_native_abi_fixup_arm.cc79 new_input->SetSideEffects(SideEffects::None()); in FixUpArguments()
Dgvn.cc127 void Kill(SideEffects side_effects) { in Kill()
200 SideEffects GetSideEffects() const { in GetSideEffects()
209 return SideEffects::None(); in GetSideEffects()
Dlicm.cc102 SideEffects loop_effects = side_effects_.GetLoopEffects(block); in Run()
Dgvn_test.cc309 static const SideEffects kCanTriggerGC = SideEffects::CanTriggerGC(); in TEST_F()
Dload_store_analysis_test.cc372 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
381 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
390 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
399 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
408 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
417 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
426 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
Dnodes.cc3164 case kNoSideEffects: SetSideEffects(SideEffects::None()); break; in SetIntrinsic()
3165 case kReadSideEffects: SetSideEffects(SideEffects::AllReads()); break; in SetIntrinsic()
3166 case kWriteSideEffects: SetSideEffects(SideEffects::AllWrites()); break; in SetIntrinsic()
3167 case kAllSideEffects: SetSideEffects(SideEffects::AllExceptGCDependency()); break; in SetIntrinsic()
3174 SetSideEffects(GetSideEffects().Union(SideEffects::CanTriggerGC())); in SetIntrinsic()
3382 #define CHECK_INTRINSICS_ENUM_VALUES(Name, InvokeType, _, SideEffects, Exceptions, ...) \ argument
3396 #define OPTIMIZING_INTRINSICS(Name, InvokeType, NeedsEnv, SideEffects, Exceptions, ...) \ in INTRINSICS_LIST() argument
3412 #define OPTIMIZING_INTRINSICS(Name, InvokeType, NeedsEnv, SideEffects, Exceptions, ...) \ in GetSideEffectsIntrinsic() argument
3414 return SideEffects; in GetSideEffectsIntrinsic()
3428 #define OPTIMIZING_INTRINSICS(Name, InvokeType, NeedsEnv, SideEffects, Exceptions, ...) \ in GetExceptionsIntrinsic() argument
Dscheduler.cc55 SideEffects instr1_side_effects = instr1->GetSideEffects(); in HasReorderingDependency()
56 SideEffects instr2_side_effects = instr2->GetSideEffects(); in HasReorderingDependency()
Dintrinsics.cc42 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… in operator <<() argument
Dcode_generator.cc1653 DCHECK(instruction->GetSideEffects().Includes(SideEffects::CanTriggerGC())) in ValidateInvokeRuntime()
1663 instruction->GetSideEffects().Includes(SideEffects::CanTriggerGC()) || in ValidateInvokeRuntime()
Dbounds_check_elimination.cc1351 SideEffects loop_effects = side_effects_.GetLoopEffects(loop->GetHeader()); in VisitArrayGet()
Dinliner.cc707 result->SetSideEffects(SideEffects::None()); in BuildGetReceiverClass()
Dinstruction_simplifier.cc2460 SideEffects::None(), // Strings are immutable. in SimplifyStringCharAt()

12