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 testWriteAndReadSanity(SideEffects write, SideEffects read) { in testWriteAndReadSanity()
55 SideEffects all = SideEffects::All(); in testWriteAndReadSanity()
62 SideEffects none = SideEffects::None(); in testWriteAndReadSanity()
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_mips.h29 SideEffects::None(), in HMipsComputeBaseMethodAddress()
49 : HExpression(kMipsPackedSwitch, SideEffects::None(), dex_pc), in HMipsPackedSwitch()
99 SideEffects::None(), in HIntermediateArrayAddressIndex()
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()
Dnodes.h1693 class SideEffects : public ValueObject {
1695 SideEffects() : flags_(0) {} in SideEffects() function
1697 static SideEffects None() { in None()
1698 return SideEffects(0); in None()
1701 static SideEffects All() { in All()
1702 return SideEffects(kAllChangeBits | kAllDependOnBits); in All()
1705 static SideEffects AllChanges() { in AllChanges()
1706 return SideEffects(kAllChangeBits); in AllChanges()
1709 static SideEffects AllDependencies() { in AllDependencies()
1710 return SideEffects(kAllDependOnBits); in AllDependencies()
[all …]
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_mips.h39 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
64 #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
Dintrinsics_mips64.h39 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
64 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… argument
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()
209 SideEffects::None(), in HVecUnaryOperation()
237 SideEffects::None(), in HVecBinaryOperation()
261 SideEffects side_effects, in HVecMemoryOperation()
912 SideEffects::None(), in HVecSetScalars()
950 SideEffects::None(), in HVecMultiplyAccumulate()
1004 SideEffects::None(), in HVecSADAccumulate()
1051 SideEffects::None(), in HVecDotProd()
1092 SideEffects side_effects, in HVecLoad()
1139 SideEffects side_effects, in HVecStore()
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()
Dload_store_analysis_test.cc328 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
337 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
346 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
355 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
364 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
373 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
382 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
Dlicm.cc102 SideEffects loop_effects = side_effects_.GetLoopEffects(block); in Run()
Dgvn_test.cc309 static const SideEffects kCanTriggerGC = SideEffects::CanTriggerGC(); in TEST_F()
Dnodes.cc2889 case kNoSideEffects: SetSideEffects(SideEffects::None()); break; in SetIntrinsic()
2890 case kReadSideEffects: SetSideEffects(SideEffects::AllReads()); break; in SetIntrinsic()
2891 case kWriteSideEffects: SetSideEffects(SideEffects::AllWrites()); break; in SetIntrinsic()
2892 case kAllSideEffects: SetSideEffects(SideEffects::AllExceptGCDependency()); break; in SetIntrinsic()
2900 SetSideEffects(GetSideEffects().Union(SideEffects::CanTriggerGC())); in SetIntrinsic()
3187 #define CHECK_INTRINSICS_ENUM_VALUES(Name, InvokeType, _, SideEffects, Exceptions, ...) \ argument
3201 #define OPTIMIZING_INTRINSICS(Name, InvokeType, NeedsEnvOrCache, SideEffects, Exceptions, ...) \ in INTRINSICS_LIST() argument
3217 #define OPTIMIZING_INTRINSICS(Name, InvokeType, NeedsEnvOrCache, SideEffects, Exceptions, ...) \ in GetSideEffectsIntrinsic() argument
3219 return SideEffects; in GetSideEffectsIntrinsic()
3233 #define OPTIMIZING_INTRINSICS(Name, InvokeType, NeedsEnvOrCache, SideEffects, Exceptions, ...) \ in GetExceptionsIntrinsic() argument
Dscheduler.cc54 static bool MayHaveReorderingDependency(SideEffects node, SideEffects other) { in MayHaveReorderingDependency()
Dgvn.cc127 void Kill(SideEffects side_effects) { in Kill()
Dintrinsics.cc41 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… in operator <<() argument
Dload_store_elimination.cc759 SideEffects side_effects = instruction->GetSideEffects(); in HandleInvoke()
Dcode_generator.cc1489 DCHECK(instruction->GetSideEffects().Includes(SideEffects::CanTriggerGC())) in ValidateInvokeRuntime()
1499 instruction->GetSideEffects().Includes(SideEffects::CanTriggerGC()) || in ValidateInvokeRuntime()

12