Home
last modified time | relevance | path

Searched defs:instruction (Results 1 – 25 of 54) sorted by relevance

123

/art/compiler/optimizing/
Dconstant_folding.cc130 void InstructionWithAbsorbingInputSimplifier::VisitShift(HBinaryOperation* instruction) { in VisitShift()
143 void InstructionWithAbsorbingInputSimplifier::VisitAbove(HAbove* instruction) { in VisitAbove()
155 void InstructionWithAbsorbingInputSimplifier::VisitAboveOrEqual(HAboveOrEqual* instruction) { in VisitAboveOrEqual()
167 void InstructionWithAbsorbingInputSimplifier::VisitBelow(HBelow* instruction) { in VisitBelow()
179 void InstructionWithAbsorbingInputSimplifier::VisitBelowOrEqual(HBelowOrEqual* instruction) { in VisitBelowOrEqual()
191 void InstructionWithAbsorbingInputSimplifier::VisitAnd(HAnd* instruction) { in VisitAnd()
203 void InstructionWithAbsorbingInputSimplifier::VisitCompare(HCompare* instruction) { in VisitCompare()
223 void InstructionWithAbsorbingInputSimplifier::VisitMul(HMul* instruction) { in VisitMul()
240 void InstructionWithAbsorbingInputSimplifier::VisitOr(HOr* instruction) { in VisitOr()
257 void InstructionWithAbsorbingInputSimplifier::VisitRem(HRem* instruction) { in VisitRem()
[all …]
Dinstruction_simplifier_arm64.cc185 void InstructionSimplifierArm64Visitor::VisitAnd(HAnd* instruction) { in VisitAnd()
191 void InstructionSimplifierArm64Visitor::VisitArrayGet(HArrayGet* instruction) { in VisitArrayGet()
198 void InstructionSimplifierArm64Visitor::VisitArraySet(HArraySet* instruction) { in VisitArraySet()
205 void InstructionSimplifierArm64Visitor::VisitMul(HMul* instruction) { in VisitMul()
211 void InstructionSimplifierArm64Visitor::VisitOr(HOr* instruction) { in VisitOr()
217 void InstructionSimplifierArm64Visitor::VisitShl(HShl* instruction) { in VisitShl()
223 void InstructionSimplifierArm64Visitor::VisitShr(HShr* instruction) { in VisitShr()
229 void InstructionSimplifierArm64Visitor::VisitTypeConversion(HTypeConversion* instruction) { in VisitTypeConversion()
243 void InstructionSimplifierArm64Visitor::VisitUShr(HUShr* instruction) { in VisitUShr()
249 void InstructionSimplifierArm64Visitor::VisitXor(HXor* instruction) { in VisitXor()
Dlocations.cc24 LocationSummary::LocationSummary(HInstruction* instruction, in LocationSummary()
45 Location Location::RegisterOrConstant(HInstruction* instruction) { in RegisterOrConstant()
51 Location Location::RegisterOrInt32Constant(HInstruction* instruction) { in RegisterOrInt32Constant()
62 Location Location::FpuRegisterOrInt32Constant(HInstruction* instruction) { in FpuRegisterOrInt32Constant()
73 Location Location::ByteRegisterOrConstant(int reg, HInstruction* instruction) { in ByteRegisterOrConstant()
79 Location Location::FpuRegisterOrConstant(HInstruction* instruction) { in FpuRegisterOrConstant()
Dinstruction_simplifier_arm.cc23 void InstructionSimplifierArmVisitor::VisitMul(HMul* instruction) { in VisitMul()
29 void InstructionSimplifierArmVisitor::VisitOr(HOr* instruction) { in VisitOr()
35 void InstructionSimplifierArmVisitor::VisitAnd(HAnd* instruction) { in VisitAnd()
Dload_store_elimination.cc366 ReferenceInfo* GetOrCreateReferenceInfo(HInstruction* instruction) { in GetOrCreateReferenceInfo()
376 void CreateReferenceInfoForReferenceType(HInstruction* instruction) { in CreateReferenceInfoForReferenceType()
415 void VisitInstanceFieldGet(HInstanceFieldGet* instruction) OVERRIDE { in VisitInstanceFieldGet()
420 void VisitInstanceFieldSet(HInstanceFieldSet* instruction) OVERRIDE { in VisitInstanceFieldSet()
428 void VisitStaticFieldGet(HStaticFieldGet* instruction) OVERRIDE { in VisitStaticFieldGet()
433 void VisitStaticFieldSet(HStaticFieldSet* instruction) OVERRIDE { in VisitStaticFieldSet()
441 void VisitArrayGet(HArrayGet* instruction) OVERRIDE { in VisitArrayGet()
446 void VisitArraySet(HArraySet* instruction) OVERRIDE { in VisitArraySet()
456 void VisitInvokeStaticOrDirect(HInvokeStaticOrDirect* instruction) OVERRIDE { in VisitInvokeStaticOrDirect()
460 void VisitInvokeVirtual(HInvokeVirtual* instruction) OVERRIDE { in VisitInvokeVirtual()
[all …]
Dinstruction_simplifier.cc235 void InstructionSimplifierVisitor::VisitShift(HBinaryOperation* instruction) { in VisitShift()
495 void InstructionSimplifierVisitor::VisitInstanceOf(HInstanceOf* instruction) { in VisitInstanceOf()
543 void InstructionSimplifierVisitor::VisitInstanceFieldSet(HInstanceFieldSet* instruction) { in VisitInstanceFieldSet()
550 void InstructionSimplifierVisitor::VisitStaticFieldSet(HStaticFieldSet* instruction) { in VisitStaticFieldSet()
724 void InstructionSimplifierVisitor::VisitIf(HIf* instruction) { in VisitIf()
734 void InstructionSimplifierVisitor::VisitArrayLength(HArrayLength* instruction) { in VisitArrayLength()
746 void InstructionSimplifierVisitor::VisitArraySet(HArraySet* instruction) { in VisitArraySet()
817 void InstructionSimplifierVisitor::VisitTypeConversion(HTypeConversion* instruction) { in VisitTypeConversion()
895 void InstructionSimplifierVisitor::VisitAdd(HAdd* instruction) { in VisitAdd()
946 void InstructionSimplifierVisitor::VisitAnd(HAnd* instruction) { in VisitAnd()
[all …]
Dgraph_checker.cc30 static bool IsAllowedToJumpToExitBlock(HInstruction* instruction) { in IsAllowedToJumpToExitBlock()
315 void GraphChecker::VisitInstruction(HInstruction* instruction) { in VisitInstruction()
545 void GraphChecker::VisitInstanceOf(HInstanceOf* instruction) { in VisitInstanceOf()
837 void GraphChecker::HandleBooleanInput(HInstruction* instruction, size_t input_index) { in HandleBooleanInput()
861 void GraphChecker::VisitPackedSwitch(HPackedSwitch* instruction) { in VisitPackedSwitch()
877 void GraphChecker::VisitIf(HIf* instruction) { in VisitIf()
882 void GraphChecker::VisitSelect(HSelect* instruction) { in VisitSelect()
887 void GraphChecker::VisitBooleanNot(HBooleanNot* instruction) { in VisitBooleanNot()
922 void GraphChecker::VisitNeg(HNeg* instruction) { in VisitNeg()
994 void GraphChecker::VisitConstant(HConstant* instruction) { in VisitConstant()
[all …]
Dcode_generator_arm64.cc222 explicit BoundsCheckSlowPathARM64(HBoundsCheck* instruction) : SlowPathCodeARM64(instruction) {} in BoundsCheckSlowPathARM64()
254 explicit DivZeroCheckSlowPathARM64(HDivZeroCheck* instruction) : SlowPathCodeARM64(instruction) {} in DivZeroCheckSlowPathARM64()
337 explicit LoadStringSlowPathARM64(HLoadString* instruction) : SlowPathCodeARM64(instruction) {} in LoadStringSlowPathARM64()
392 SuspendCheckSlowPathARM64(HSuspendCheck* instruction, HBasicBlock* successor) in SuspendCheckSlowPathARM64()
433 TypeCheckSlowPathARM64(HInstruction* instruction, bool is_fatal) in TypeCheckSlowPathARM64()
490 explicit DeoptimizationSlowPathARM64(HDeoptimize* instruction) in DeoptimizationSlowPathARM64()
512 explicit ArraySetSlowPathARM64(HInstruction* instruction) : SlowPathCodeARM64(instruction) {} in ArraySetSlowPathARM64()
579 ReadBarrierMarkSlowPathARM64(HInstruction* instruction, Location out, Location obj) in ReadBarrierMarkSlowPathARM64()
628 ReadBarrierForHeapReferenceSlowPathARM64(HInstruction* instruction, in ReadBarrierForHeapReferenceSlowPathARM64()
810 ReadBarrierForRootSlowPathARM64(HInstruction* instruction, Location out, Location root) in ReadBarrierForRootSlowPathARM64()
[all …]
Dcode_generator_mips64.cc110 explicit BoundsCheckSlowPathMIPS64(HBoundsCheck* instruction) : SlowPathCodeMIPS64(instruction) {} in BoundsCheckSlowPathMIPS64()
146 …explicit DivZeroCheckSlowPathMIPS64(HDivZeroCheck* instruction) : SlowPathCodeMIPS64(instruction) … in DivZeroCheckSlowPathMIPS64()
231 explicit LoadStringSlowPathMIPS64(HLoadString* instruction) : SlowPathCodeMIPS64(instruction) {} in LoadStringSlowPathMIPS64()
292 SuspendCheckSlowPathMIPS64(HSuspendCheck* instruction, HBasicBlock* successor) in SuspendCheckSlowPathMIPS64()
331 explicit TypeCheckSlowPathMIPS64(HInstruction* instruction) : SlowPathCodeMIPS64(instruction) {} in TypeCheckSlowPathMIPS64()
382 explicit DeoptimizationSlowPathMIPS64(HDeoptimize* instruction) in DeoptimizationSlowPathMIPS64()
958 HInstruction* instruction, in InvokeRuntime()
968 HInstruction* instruction, in InvokeRuntime()
992 void InstructionCodeGeneratorMIPS64::GenerateSuspendCheck(HSuspendCheck* instruction, in GenerateSuspendCheck()
1018 void LocationsBuilderMIPS64::HandleBinaryOp(HBinaryOperation* instruction) { in HandleBinaryOp()
[all …]
Dpretty_printer.h29 void PrintPreInstruction(HInstruction* instruction) { in PrintPreInstruction()
35 void VisitInstruction(HInstruction* instruction) OVERRIDE { in VisitInstruction()
41 void PrintPostInstruction(HInstruction* instruction) { in PrintPostInstruction()
Dlicm.cc22 static bool IsPhiOf(HInstruction* instruction, HBasicBlock* block) { in IsPhiOf()
30 static bool InputsAreDefinedBeforeLoop(HInstruction* instruction) { in InputsAreDefinedBeforeLoop()
131 HInstruction* instruction = inst_it.Current(); in Run() local
Dgraph_visualizer.cc332 void VisitParallelMove(HParallelMove* instruction) OVERRIDE { in VisitParallelMove()
345 void VisitIntConstant(HIntConstant* instruction) OVERRIDE { in VisitIntConstant()
349 void VisitLongConstant(HLongConstant* instruction) OVERRIDE { in VisitLongConstant()
353 void VisitFloatConstant(HFloatConstant* instruction) OVERRIDE { in VisitFloatConstant()
357 void VisitDoubleConstant(HDoubleConstant* instruction) OVERRIDE { in VisitDoubleConstant()
471 void VisitMultiplyAccumulate(HMultiplyAccumulate* instruction) OVERRIDE { in VisitMultiplyAccumulate()
475 void VisitBitwiseNegatedRight(HBitwiseNegatedRight* instruction) OVERRIDE { in VisitBitwiseNegatedRight()
481 void VisitArm64DataProcWithShifterOp(HArm64DataProcWithShifterOp* instruction) OVERRIDE { in VisitArm64DataProcWithShifterOp()
493 void PrintInstruction(HInstruction* instruction) { in PrintInstruction()
607 HInstruction* instruction = it.Current(); in PrintInstructions() local
[all …]
Dbounds_check_elimination.cc36 ValueBound(HInstruction* instruction, int32_t constant) { in ValueBound()
67 static bool IsAddOrSubAConstant(HInstruction* instruction, in IsAddOrSubAConstant()
95 static ValueBound AsValueBound(HInstruction* instruction) { in AsValueBound()
109 static ValueBound DetectValueBoundFromValue(HInstruction* instruction, /* out */ bool* found) { in DetectValueBoundFromValue()
162 static HInstruction* HuntForDeclaration(HInstruction* instruction) { in HuntForDeclaration()
593 ValueRange* LookupValueRange(HInstruction* instruction, HBasicBlock* basic_block) { in LookupValueRange()
610 void AssignRange(HBasicBlock* basic_block, HInstruction* instruction, ValueRange* range) { in AssignRange()
616 void ApplyRangeFromComparison(HInstruction* instruction, HBasicBlock* basic_block, in ApplyRangeFromComparison()
638 void HandleIfBetweenTwoMonotonicValueRanges(HIf* instruction, in HandleIfBetweenTwoMonotonicValueRanges()
704 void HandleIf(HIf* instruction, HInstruction* left, HInstruction* right, IfCondition cond) { in HandleIf()
[all …]
Dcode_generator_mips.cc149 explicit BoundsCheckSlowPathMIPS(HBoundsCheck* instruction) : SlowPathCodeMIPS(instruction) {} in BoundsCheckSlowPathMIPS()
186 explicit DivZeroCheckSlowPathMIPS(HDivZeroCheck* instruction) : SlowPathCodeMIPS(instruction) {} in DivZeroCheckSlowPathMIPS()
276 explicit LoadStringSlowPathMIPS(HLoadString* instruction) : SlowPathCodeMIPS(instruction) {} in LoadStringSlowPathMIPS()
339 SuspendCheckSlowPathMIPS(HSuspendCheck* instruction, HBasicBlock* successor) in SuspendCheckSlowPathMIPS()
379 explicit TypeCheckSlowPathMIPS(HInstruction* instruction) : SlowPathCodeMIPS(instruction) {} in TypeCheckSlowPathMIPS()
435 explicit DeoptimizationSlowPathMIPS(HDeoptimize* instruction) in DeoptimizationSlowPathMIPS()
1065 HInstruction* instruction, in InvokeRuntime()
1078 HInstruction* instruction, in InvokeRuntime()
1110 void InstructionCodeGeneratorMIPS::GenerateSuspendCheck(HSuspendCheck* instruction, in GenerateSuspendCheck()
1136 void LocationsBuilderMIPS::HandleBinaryOp(HBinaryOperation* instruction) { in HandleBinaryOp()
[all …]
Dinstruction_builder.cc189 void HInstructionBuilder::AppendInstruction(HInstruction* instruction) { in AppendInstruction()
194 void HInstructionBuilder::InsertInstructionAtTop(HInstruction* instruction) { in InsertInstructionAtTop()
203 void HInstructionBuilder::InitializeInstruction(HInstruction* instruction) { in InitializeInstruction()
473 void HInstructionBuilder::If_22t(const Instruction& instruction, uint32_t dex_pc) { in If_22t()
483 void HInstructionBuilder::If_21t(const Instruction& instruction, uint32_t dex_pc) { in If_21t()
492 void HInstructionBuilder::Unop_12x(const Instruction& instruction, in Unop_12x()
500 void HInstructionBuilder::Conversion_12x(const Instruction& instruction, in Conversion_12x()
510 void HInstructionBuilder::Binop_23x(const Instruction& instruction, in Binop_23x()
520 void HInstructionBuilder::Binop_23x_shift(const Instruction& instruction, in Binop_23x_shift()
529 void HInstructionBuilder::Binop_23x_cmp(const Instruction& instruction, in Binop_23x_cmp()
[all …]
Dcode_generator_arm.cc67 explicit NullCheckSlowPathARM(HNullCheck* instruction) : SlowPathCode(instruction) {} in NullCheckSlowPathARM()
91 explicit DivZeroCheckSlowPathARM(HDivZeroCheck* instruction) : SlowPathCode(instruction) {} in DivZeroCheckSlowPathARM()
115 SuspendCheckSlowPathARM(HSuspendCheck* instruction, HBasicBlock* successor) in SuspendCheckSlowPathARM()
156 explicit BoundsCheckSlowPathARM(HBoundsCheck* instruction) in BoundsCheckSlowPathARM()
251 explicit LoadStringSlowPathARM(HLoadString* instruction) : SlowPathCode(instruction) {} in LoadStringSlowPathARM()
281 TypeCheckSlowPathARM(HInstruction* instruction, bool is_fatal) in TypeCheckSlowPathARM()
344 explicit DeoptimizationSlowPathARM(HDeoptimize* instruction) in DeoptimizationSlowPathARM()
366 explicit ArraySetSlowPathARM(HInstruction* instruction) : SlowPathCode(instruction) {} in ArraySetSlowPathARM()
411 ReadBarrierMarkSlowPathARM(HInstruction* instruction, Location out, Location obj) in ReadBarrierMarkSlowPathARM()
460 ReadBarrierForHeapReferenceSlowPathARM(HInstruction* instruction, in ReadBarrierForHeapReferenceSlowPathARM()
[all …]
Dcode_generator_x86_64.cc59 explicit NullCheckSlowPathX86_64(HNullCheck* instruction) : SlowPathCode(instruction) {} in NullCheckSlowPathX86_64()
85 explicit DivZeroCheckSlowPathX86_64(HDivZeroCheck* instruction) : SlowPathCode(instruction) {} in DivZeroCheckSlowPathX86_64()
145 SuspendCheckSlowPathX86_64(HSuspendCheck* instruction, HBasicBlock* successor) in SuspendCheckSlowPathX86_64()
185 explicit BoundsCheckSlowPathX86_64(HBoundsCheck* instruction) in BoundsCheckSlowPathX86_64()
284 explicit LoadStringSlowPathX86_64(HLoadString* instruction) : SlowPathCode(instruction) {} in LoadStringSlowPathX86_64()
315 TypeCheckSlowPathX86_64(HInstruction* instruction, bool is_fatal) in TypeCheckSlowPathX86_64()
382 explicit DeoptimizationSlowPathX86_64(HDeoptimize* instruction) in DeoptimizationSlowPathX86_64()
404 explicit ArraySetSlowPathX86_64(HInstruction* instruction) : SlowPathCode(instruction) {} in ArraySetSlowPathX86_64()
449 ReadBarrierMarkSlowPathX86_64(HInstruction* instruction, Location out, Location obj) in ReadBarrierMarkSlowPathX86_64()
498 ReadBarrierForHeapReferenceSlowPathX86_64(HInstruction* instruction, in ReadBarrierForHeapReferenceSlowPathX86_64()
[all …]
Dcode_generator_x86.cc55 explicit NullCheckSlowPathX86(HNullCheck* instruction) : SlowPathCode(instruction) {} in NullCheckSlowPathX86()
81 explicit DivZeroCheckSlowPathX86(HDivZeroCheck* instruction) : SlowPathCode(instruction) {} in DivZeroCheckSlowPathX86()
107 DivRemMinusOneSlowPathX86(HInstruction* instruction, Register reg, bool is_div) in DivRemMinusOneSlowPathX86()
130 explicit BoundsCheckSlowPathX86(HBoundsCheck* instruction) : SlowPathCode(instruction) {} in BoundsCheckSlowPathX86()
167 SuspendCheckSlowPathX86(HSuspendCheck* instruction, HBasicBlock* successor) in SuspendCheckSlowPathX86()
207 explicit LoadStringSlowPathX86(HLoadString* instruction): SlowPathCode(instruction) {} in LoadStringSlowPathX86()
296 TypeCheckSlowPathX86(HInstruction* instruction, bool is_fatal) in TypeCheckSlowPathX86()
361 explicit DeoptimizationSlowPathX86(HDeoptimize* instruction) in DeoptimizationSlowPathX86()
383 explicit ArraySetSlowPathX86(HInstruction* instruction) : SlowPathCode(instruction) {} in ArraySetSlowPathX86()
428 ReadBarrierMarkSlowPathX86(HInstruction* instruction, Location out, Location obj) in ReadBarrierMarkSlowPathX86()
[all …]
Dinduction_var_analysis.cc128 HInstruction* instruction = it.Current(); in VisitLoop() local
134 HInstruction* instruction = it.Current(); in VisitLoop() local
148 void HInductionVarAnalysis::VisitNode(HLoopInformation* loop, HInstruction* instruction) { in VisitNode()
192 uint32_t HInductionVarAnalysis::VisitDescendant(HLoopInformation* loop, HInstruction* instruction) { in VisitDescendant()
210 void HInductionVarAnalysis::ClassifyTrivial(HLoopInformation* loop, HInstruction* instruction) { in ClassifyTrivial()
278 HInstruction* instruction = scc_[i]; in ClassifyNonTrivial() local
514 HInstruction* instruction, in SolveAddSub()
802 HInstruction* instruction, in AssignInfo()
815 HInstruction* instruction) { in LookupInfo()
Dnodes.cc91 static void RemoveEnvironmentUses(HInstruction* instruction) { in RemoveEnvironmentUses()
103 static void RemoveAsUser(HInstruction* instruction) { in RemoveAsUser()
204 HInstruction* instruction = GetFirstInstruction(); in GetFirstInstructionDisregardMoves() local
759 static void UpdateInputsUsers(HInstruction* instruction) { in UpdateInputsUsers()
808 HInstruction* instruction) { in Add()
817 void HBasicBlock::AddInstruction(HInstruction* instruction) { in AddInstruction()
825 void HBasicBlock::InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor) { in InsertInstructionBefore()
838 void HBasicBlock::InsertInstructionAfter(HInstruction* instruction, HInstruction* cursor) { in InsertInstructionAfter()
864 HInstruction* instruction, in Remove()
876 void HBasicBlock::RemoveInstruction(HInstruction* instruction, bool ensure_safety) { in RemoveInstruction()
[all …]
Dinduction_var_range.cc49 static bool IsIntAndGet(HInstruction* instruction, int64_t* value) { in IsIntAndGet()
109 static HInstruction* Insert(HBasicBlock* block, HInstruction* instruction) { in Insert()
127 HInstruction* instruction, in GetInductionRange()
191 HInstruction* instruction, in CanGenerateCode()
202 HInstruction* instruction, in GenerateRangeCode()
348 InductionVarRange::Value InductionVarRange::GetFetch(HInstruction* instruction, in GetFetch()
606 HInstruction* instruction, in GenerateCode()
Dregister_allocator.cc119 HInstruction* instruction = inst_it.Current(); in AllocateRegisters() local
126 HInstruction* instruction = inst_it.Current(); in AllocateRegisters() local
228 void RegisterAllocator::ProcessInstruction(HInstruction* instruction) { in ProcessInstruction()
450 HInstruction* instruction = liveness_.GetInstructionFromSsaIndex(i); in ValidateInternal() local
1410 HInstruction* instruction, in AddMove()
1455 HInstruction* instruction, in InsertParallelMoveAt()
1527 HInstruction* instruction, in InsertParallelMoveAtExitOf()
1557 HInstruction* instruction, in InsertParallelMoveAtEntryOf()
1576 void RegisterAllocator::InsertMoveAfter(HInstruction* instruction, in InsertMoveAfter()
1742 HInstruction* instruction) { in IsMaterializableEntryBlockInstructionOfGraphWithIrreducibleLoop()
[all …]
Dbytecode_utils.h57 DexSwitchTable(const Instruction& instruction, uint32_t dex_pc) in DexSwitchTable()
170 inline bool IsThrowingDexInstruction(const Instruction& instruction) { in IsThrowingDexInstruction()
Dcode_generator.cc96 static bool CheckTypeConsistency(HInstruction* instruction) { in CheckTypeConsistency()
166 DisassemblyScope(HInstruction* instruction, const CodeGenerator& codegen) in DisassemblyScope()
528 void CodeGenerator::AllocateLocations(HInstruction* instruction) { in AllocateLocations()
667 const Instruction& instruction = *Instruction::At(code_ptr); in CheckLoopEntriesCanBeUsedForOsr() local
699 void CodeGenerator::RecordPcInfo(HInstruction* instruction, in RecordPcInfo()
820 void CodeGenerator::MaybeRecordNativeDebugInfo(HInstruction* instruction, in MaybeRecordNativeDebugInfo()
1110 void CodeGenerator::GenerateNullCheck(HNullCheck* instruction) { in GenerateNullCheck()
1151 void CodeGenerator::ValidateInvokeRuntime(HInstruction* instruction, SlowPathCode* slow_path) { in ValidateInvokeRuntime()
Dprepare_for_register_allocation.cc50 void PrepareForRegisterAllocation::VisitArraySet(HArraySet* instruction) { in VisitArraySet()
121 void PrepareForRegisterAllocation::VisitNewInstance(HNewInstance* instruction) { in VisitNewInstance()

123