/art/compiler/optimizing/ |
D | nodes_x86.h | 45 HConstant* constant) in HX86LoadFromConstantTable() 58 HConstant* GetConstant() const { in GetConstant() 144 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const override { in Evaluate() 148 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const override { in Evaluate() 152 HConstant* Evaluate([[maybe_unused]] HFloatConstant* x, in Evaluate() 157 HConstant* Evaluate([[maybe_unused]] HDoubleConstant* x, in Evaluate() 193 HConstant* Evaluate(HIntConstant* x) const override { in Evaluate() 196 HConstant* Evaluate(HLongConstant* x) const override { in Evaluate() 199 HConstant* Evaluate([[maybe_unused]] HFloatConstant* x) const override { in Evaluate() 203 HConstant* Evaluate([[maybe_unused]] HDoubleConstant* x) const override { in Evaluate()
|
D | nodes.h | 634 HConstant* GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc = kNoDexPc); 776 void InsertConstant(HConstant* instruction); 3283 class HConstant : public HExpression<0> { 3285 explicit HConstant(InstructionKind kind, DataType::Type type, uint32_t dex_pc = kNoDexPc) 3308 class HNullConstant final : public HConstant { 3328 : HConstant(kNullConstant, DataType::Type::kReference, dex_pc) { 3336 class HIntConstant final : public HConstant { 3368 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), value_(value) { 3371 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), 3382 class HLongConstant final : public HConstant { [all …]
|
D | constant_folding.cc | 57 void PropagateValue(HBasicBlock* starting_block, HInstruction* variable, HConstant* constant); 128 HConstant* constant = inst->TryStaticEvaluation(); in VisitUnaryOperation() 136 HConstant* false_constant = inst->TryStaticEvaluation(select->GetFalseValue()); in VisitUnaryOperation() 140 HConstant* true_constant = inst->TryStaticEvaluation(select->GetTrueValue()); in VisitUnaryOperation() 171 HConstant* false_constant = in TryRemoveBinaryOperationViaSelect() 177 HConstant* true_constant = in TryRemoveBinaryOperationViaSelect() 198 HConstant* constant = inst->TryStaticEvaluation(); in VisitBinaryOperation() 221 HConstant* constant) { in PropagateValue() 289 HConstant* constant = left->IsConstant() ? left->AsConstant() : right->AsConstant(); in VisitIf() 345 HConstant* other_constant = constant->AsIntConstant()->IsTrue() ? in VisitIf() [all …]
|
D | pc_relative_fixups_x86.cc | 65 HConstant* value = ret->InputAt(0)->AsConstantOrNull(); in VisitReturn() 98 HConstant* rhs = bin->InputAt(1)->AsConstantOrNull(); in BinaryFP() 184 void ReplaceInput(HInstruction* insn, HConstant* value, int input_index, bool materialize) { in ReplaceInput() 222 HConstant* input = inputs[i]->AsConstantOrNull(); in HandleInvoke()
|
D | locations.cc | 65 HConstant* constant = instruction->AsConstantOrNull(); in RegisterOrInt32Constant() 76 HConstant* constant = instruction->AsConstantOrNull(); in FpuRegisterOrInt32Constant()
|
D | instruction_simplifier_x86_shared.cc | 127 HConstant* cst = add->GetConstantRight(); in AreLeastSetBitInputs() 132 HConstant* cst = sub->GetConstantRight(); in AreLeastSetBitInputs()
|
D | nodes_riscv64.h | 43 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const override { in Evaluate()
|
D | instruction_simplifier.cc | 186 bool AreAllBitsSet(HConstant* constant) { in AreAllBitsSet() 531 HConstant* mask = bin_op->GetConstantRight(); in VisitShift() 1063 HConstant* other = c->AsBinaryOperation()->GetConstantRight(); in AllowInMinMax() 1269 static bool CanRemoveRedundantAnd(HConstant* and_right, in CanRemoveRedundantAnd() 1270 HConstant* shr_right, in CanRemoveRedundantAnd() 1418 HConstant* shr_right = shr_op->GetConstantRight(); in VisitTypeConversion() 1423 HConstant* and_right = and_op->GetConstantRight(); in VisitTypeConversion() 1446 HConstant* constant = input_and->GetConstantRight(); in VisitTypeConversion() 1501 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd() 1590 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() [all …]
|
D | locations.h | 30 class HConstant; variable 115 HConstant* GetConstant() const { in GetConstant() 117 return reinterpret_cast<HConstant*>(value_ & ~kLocationConstantMask); in GetConstant()
|
D | graph_checker.h | 68 void VisitConstant(HConstant* instruction) override;
|
D | code_generator.h | 551 static int8_t GetInt8ValueOf(HConstant* constant) { in GetInt8ValueOf() 556 static int16_t GetInt16ValueOf(HConstant* constant) { in GetInt16ValueOf() 561 static int32_t GetInt32ValueOf(HConstant* constant) { in GetInt32ValueOf() 572 static int64_t GetInt64ValueOf(HConstant* constant) { in GetInt64ValueOf()
|
D | common_arm.h | 175 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
|
D | nodes.cc | 694 void HGraph::InsertConstant(HConstant* constant) { in InsertConstant() 760 HConstant* HGraph::GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc) { in GetConstant() 1709 HConstant* HTypeConversion::TryStaticEvaluation() const { return TryStaticEvaluation(GetInput()); } in TryStaticEvaluation() 1711 HConstant* HTypeConversion::TryStaticEvaluation(HInstruction* input) const { in TryStaticEvaluation() 1805 HConstant* HUnaryOperation::TryStaticEvaluation() const { return TryStaticEvaluation(GetInput()); } in TryStaticEvaluation() 1807 HConstant* HUnaryOperation::TryStaticEvaluation(HInstruction* input) const { in TryStaticEvaluation() 1822 HConstant* HBinaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation() 1826 HConstant* HBinaryOperation::TryStaticEvaluation(HInstruction* left, HInstruction* right) const { in TryStaticEvaluation() 1851 HConstant* HBinaryOperation::GetConstantRight() const { in GetConstantRight()
|
D | common_arm64.h | 255 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
|
D | dead_code_elimination.cc | 129 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate()
|
D | graph_visualizer.cc | 323 HConstant* constant = location.GetConstant(); in DumpLocation()
|
D | code_generator_arm_vixl.h | 396 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
|
D | code_generator_arm64.h | 724 void MoveConstant(vixl::aarch64::CPURegister destination, HConstant* constant);
|
D | code_generator_arm64.cc | 1641 void CodeGeneratorARM64::MoveConstant(CPURegister destination, HConstant* constant) { in MoveConstant() 1659 HConstant* cst = constant.GetConstant(); in CoherentConstantAndType() 1696 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation() 1768 HConstant* src_cst = source.GetConstant(); in MoveLocation() 4006 HConstant* cst_true_value = select->GetTrueValue()->AsConstantOrNull(); in VisitSelect() 4007 HConstant* cst_false_value = select->GetFalseValue()->AsConstantOrNull(); in VisitSelect()
|
D | graph_checker.cc | 1457 void GraphChecker::VisitConstant(HConstant* instruction) { in VisitConstant()
|
D | code_generator_x86_64.cc | 1970 HConstant* constant = source.GetConstant(); in Move() 1989 HConstant* constant = source.GetConstant(); in Move() 2010 HConstant* constant = source.GetConstant(); in Move() 2027 HConstant* constant = source.GetConstant(); in Move() 6414 HConstant* constant = source.GetConstant(); in EmitMove()
|
D | code_generator_vector_arm64_sve.cc | 43 static bool SVECanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in SVECanEncodeConstantAsImmediate()
|
D | inliner.cc | 1278 HConstant* constant; in TryInlinePolymorphicCallToSameTarget()
|
D | code_generator_vector_arm64_neon.cc | 44 inline bool NEONCanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in NEONCanEncodeConstantAsImmediate()
|
D | code_generator_x86.cc | 1640 HConstant* constant = source.GetConstant(); in Move32() 1704 HConstant* constant = source.GetConstant(); in Move64() 7091 HConstant* constant = source.GetConstant(); in EmitMove() 9014 HConstant *value = insn->GetConstant(); in VisitX86LoadFromConstantTable()
|