Home
last modified time | relevance | path

Searched refs:HIntConstant (Results 1 – 25 of 32) sorted by relevance

12

/art/compiler/optimizing/
Dnodes_x86.h144 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const override { in Evaluate()
193 HConstant* Evaluate(HIntConstant* x) const override { in Evaluate()
Dnodes.h63 class HIntConstant; variable
549 HIntConstant* GetIntConstant(int32_t value, uint32_t dex_pc = kNoDexPc) {
753 ArenaSafeMap<int32_t, HIntConstant*> cached_int_constants_;
2954 class HIntConstant final : public HConstant {
2985 explicit HIntConstant(int32_t value, uint32_t dex_pc = kNoDexPc)
2988 explicit HIntConstant(bool value, uint32_t dex_pc = kNoDexPc)
3495 virtual HConstant* Evaluate(HIntConstant* x) const = 0;
3576 virtual HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const = 0;
3579 HIntConstant* y ATTRIBUTE_UNUSED) const { in Evaluate()
3691 HIntConstant* MakeConstantCondition(bool value, uint32_t dex_pc) const { in MakeConstantCondition()
[all …]
Dinstruction_simplifier_shared.cc260 HIntConstant* offset = graph->GetIntConstant(data_offset); in TryExtractArrayAccessAddress()
328 HIntConstant* offset = graph->GetIntConstant(data_offset); in TryExtractVecArrayAccessAddress()
329 HIntConstant* shift = graph->GetIntConstant(component_shift); in TryExtractVecArrayAccessAddress()
Dloop_optimization_test.cc275 HIntConstant* const_0 = graph_->GetIntConstant(0); in TEST_F()
276 HIntConstant* const_1 = graph_->GetIntConstant(1); in TEST_F()
277 HIntConstant* const_2 = graph_->GetIntConstant(2); in TEST_F()
Dcodegen_test.cc431 HIntConstant* constant0 = graph->GetIntConstant(0); in TEST_F()
432 HIntConstant* constant1 = graph->GetIntConstant(1); in TEST_F()
498 HIntConstant* cst_lhs = graph->GetIntConstant(lhs[i]); in TEST_F()
499 HIntConstant* cst_rhs = graph->GetIntConstant(rhs[i]); in TEST_F()
555 HIntConstant* cst_lhs = graph->GetIntConstant(lhs[i]); in TEST_F()
556 HIntConstant* cst_rhs = graph->GetIntConstant(rhs[i]); in TEST_F()
566 HIntConstant* cst_lt = graph->GetIntConstant(1); in TEST_F()
569 HIntConstant* cst_ge = graph->GetIntConstant(0); in TEST_F()
Dnodes_shared.h100 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const override { in Evaluate()
Dselect_generator_test.cc50 HIntConstant* const1 = graph_->GetIntConstant(1); in ConstructBasicGraphForSelect()
Dssa_builder.h120 HFloatConstant* GetFloatEquivalent(HIntConstant* constant);
Dinstruction_simplifier_mips.cc112 HIntConstant* shift = graph->GetIntConstant(component_shift); in TryExtractArrayAccessIndex()
Dgraph_test.cc284 HInstruction* first_instruction = new (GetAllocator()) HIntConstant(4); in TEST_F()
297 HInstruction* second_instruction = new (GetAllocator()) HIntConstant(4); in TEST_F()
Dssa_test.cc57 void VisitIntConstant(HIntConstant* constant) override { in VisitIntConstant()
Dsuperblock_cloner_test.cc63 HIntConstant* const_0 = graph_->GetIntConstant(0); in CreateBasicLoopDataFlow()
64 HIntConstant* const_1 = graph_->GetIntConstant(1); in CreateBasicLoopDataFlow()
65 HIntConstant* const_128 = graph_->GetIntConstant(128); in CreateBasicLoopDataFlow()
Dlive_ranges_test.cc310 HIntConstant* constant = liveness.GetInstructionFromSsaIndex(0)->AsIntConstant(); in TEST_F()
Dinstruction_builder.cc2049 HIntConstant* bitstring_path_to_root = nullptr; in BuildTypeCheck()
2050 HIntConstant* bitstring_mask = nullptr; in BuildTypeCheck()
2110 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_11n(), dex_pc); in ProcessDexInstruction()
2117 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_21s(), dex_pc); in ProcessDexInstruction()
2124 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_31i(), dex_pc); in ProcessDexInstruction()
2131 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_21h() << 16, dex_pc); in ProcessDexInstruction()
Dintrinsics_arm64.cc2038 HIntConstant* const_input = input->AsIntConstant(); in SetSystemArrayCopyLocationRequires()
2049 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); in VisitSystemArrayCopyChar()
2050 HIntConstant* dst_pos = invoke->InputAt(3)->AsIntConstant(); in VisitSystemArrayCopyChar()
2061 HIntConstant* length = invoke->InputAt(4)->AsIntConstant(); in VisitSystemArrayCopyChar()
2275 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); in VisitSystemArrayCopy()
2276 HIntConstant* dest_pos = invoke->InputAt(3)->AsIntConstant(); in VisitSystemArrayCopy()
2286 HIntConstant* length = invoke->InputAt(4)->AsIntConstant(); in VisitSystemArrayCopy()
Dcode_generator.cc1599 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); in CreateSystemArrayCopyLocationSummary()
1600 HIntConstant* dest_pos = invoke->InputAt(3)->AsIntConstant(); in CreateSystemArrayCopyLocationSummary()
1610 HIntConstant* length = invoke->InputAt(4)->AsIntConstant(); in CreateSystemArrayCopyLocationSummary()
Dssa_builder.cc587 HFloatConstant* SsaBuilder::GetFloatEquivalent(HIntConstant* constant) { in GetFloatEquivalent()
Dparallel_move_test.cc266 Location::ConstantLocation(new (&allocator) HIntConstant(0)), in TYPED_TEST()
Dgraph_visualizer.cc348 void VisitIntConstant(HIntConstant* instruction) override { in VisitIntConstant()
Dintrinsics_mips64.cc1785 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); in VisitSystemArrayCopyChar()
1786 HIntConstant* dest_pos = invoke->InputAt(3)->AsIntConstant(); in VisitSystemArrayCopyChar()
1787 HIntConstant* length = invoke->InputAt(4)->AsIntConstant(); in VisitSystemArrayCopyChar()
Dintrinsics_mips.cc2405 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); in VisitSystemArrayCopyChar()
2406 HIntConstant* dest_pos = invoke->InputAt(3)->AsIntConstant(); in VisitSystemArrayCopyChar()
2407 HIntConstant* length = invoke->InputAt(4)->AsIntConstant(); in VisitSystemArrayCopyChar()
Dintrinsics_x86_64.cc629 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); in VisitSystemArrayCopyChar()
630 HIntConstant* dest_pos = invoke->InputAt(3)->AsIntConstant(); in VisitSystemArrayCopyChar()
640 HIntConstant* length = invoke->InputAt(4)->AsIntConstant(); in VisitSystemArrayCopyChar()
Dintrinsics_arm_vixl.cc1824 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); in VisitSystemArrayCopy()
1825 HIntConstant* dest_pos = invoke->InputAt(3)->AsIntConstant(); in VisitSystemArrayCopy()
1826 HIntConstant* length = invoke->InputAt(4)->AsIntConstant(); in VisitSystemArrayCopy()
Dintrinsics_x86.cc809 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); in VisitSystemArrayCopyChar()
810 HIntConstant* dest_pos = invoke->InputAt(3)->AsIntConstant(); in VisitSystemArrayCopyChar()
811 HIntConstant* length = invoke->InputAt(4)->AsIntConstant(); in VisitSystemArrayCopyChar()
Dinstruction_simplifier.cc1777 HIntConstant* shift = GetGraph()->GetIntConstant(WhichPowerOf2(factor)); in VisitMul()
2379 HIntConstant* zero = GetGraph()->GetIntConstant(0); in SimplifyStringIsEmptyOrLength()

12