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()
74 SideEffects SideEffectsAnalysis::GetLoopEffects(HBasicBlock* block) const { in GetLoopEffects()
79 SideEffects SideEffectsAnalysis::GetBlockEffects(HBasicBlock* block) const { in GetBlockEffects()
83 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 : HTemplateInstruction(kX86PackedSwitch, SideEffects::None(), dex_pc), in HX86PackedSwitch()
Dnodes_mips.h29 SideEffects::None(), in HMipsComputeBaseMethodAddress()
49 : HTemplateInstruction(kMipsPackedSwitch, SideEffects::None(), dex_pc), in HMipsPackedSwitch()
99 SideEffects::None(), in HIntermediateArrayAddressIndex()
Dintrinsics.cc34 #define CHECK_INTRINSICS_ENUM_VALUES(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptio… argument
48 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… in INTRINSICS_LIST() argument
64 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… in NeedsEnvironmentOrCache() argument
80 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… in GetSideEffects() argument
82 return SideEffects; in GetSideEffects()
96 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… in GetExceptions() argument
207 #define OPTIMIZING_INTRINSICS(Name, IsStatic, NeedsEnvironmentOrCache, SideEffects, Exceptions, ...… in operator <<() argument
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.h1641 class SideEffects : public ValueObject {
1643 SideEffects() : flags_(0) {} in SideEffects() function
1645 static SideEffects None() { in None()
1646 return SideEffects(0); in None()
1649 static SideEffects All() { in All()
1650 return SideEffects(kAllChangeBits | kAllDependOnBits); in All()
1653 static SideEffects AllChanges() { in AllChanges()
1654 return SideEffects(kAllChangeBits); in AllChanges()
1657 static SideEffects AllDependencies() { in AllDependencies()
1658 return SideEffects(kAllDependOnBits); in AllDependencies()
[all …]
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_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()
Dnodes_vector.h77 SideEffects side_effects, in HVecOperation()
213 SideEffects::None(), in HVecUnaryOperation()
241 SideEffects::None(), in HVecBinaryOperation()
265 SideEffects side_effects, in HVecMemoryOperation()
868 SideEffects::None(), in HVecSetScalars()
903 SideEffects::None(), in HVecMultiplyAccumulate()
954 SideEffects::None(), in HVecSADAccumulate()
982 SideEffects side_effects, in HVecLoad()
1029 SideEffects side_effects, in HVecStore()
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.cc324 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
333 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
342 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
351 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
360 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
369 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
378 SideEffects::ArrayWriteOfType(DataType::Type::kInt32), in TEST_F()
Dlicm.cc101 SideEffects loop_effects = side_effects_.GetLoopEffects(block); in Run()
Dgvn_test.cc309 static const SideEffects kCanTriggerGC = SideEffects::CanTriggerGC(); in TEST_F()
Dscheduler.cc54 static bool MayHaveReorderingDependency(SideEffects node, SideEffects other) { in MayHaveReorderingDependency()
Dgvn.cc130 void Kill(SideEffects side_effects) { in Kill()
Dnodes.cc2835 case kNoSideEffects: SetSideEffects(SideEffects::None()); break; in SetIntrinsic()
2836 case kReadSideEffects: SetSideEffects(SideEffects::AllReads()); break; in SetIntrinsic()
2837 case kWriteSideEffects: SetSideEffects(SideEffects::AllWrites()); break; in SetIntrinsic()
2838 case kAllSideEffects: SetSideEffects(SideEffects::AllExceptGCDependency()); break; in SetIntrinsic()
2846 SetSideEffects(GetSideEffects().Union(SideEffects::CanTriggerGC())); in SetIntrinsic()
Dload_store_elimination.cc828 SideEffects side_effects = instruction->GetSideEffects(); in HandleInvoke()
Dcode_generator.cc1459 DCHECK(instruction->GetSideEffects().Includes(SideEffects::CanTriggerGC())) in ValidateInvokeRuntime()
1464 DCHECK(instruction->GetSideEffects().Includes(SideEffects::CanTriggerGC()) || in ValidateInvokeRuntime()

12