/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(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate() 157 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate() 193 HConstant* Evaluate(HIntConstant* x) const override { in Evaluate() 196 HConstant* Evaluate(HLongConstant* x) const override { in Evaluate() 199 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED) const override { in Evaluate() 203 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED) const override { in Evaluate()
|
D | constant_folding.cc | 45 void PropagateValue(HBasicBlock* starting_block, HInstruction* variable, HConstant* constant); 112 HConstant* constant = inst->TryStaticEvaluation(); in VisitUnaryOperation() 122 HConstant* constant = inst->TryStaticEvaluation(); in VisitBinaryOperation() 143 HConstant* constant) { in PropagateValue() 220 HConstant* constant = left->IsConstant() ? left->AsConstant() : right->AsConstant(); in VisitIf() 276 HConstant* other_constant = constant->AsIntConstant()->IsTrue() ? in VisitIf() 298 HConstant* constant = inst->TryStaticEvaluation(); in VisitTypeConversion() 483 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() 514 HConstant* input_cst = instruction->GetConstantRight(); in VisitCompare() 534 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul() [all …]
|
D | nodes.h | 636 HConstant* GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc = kNoDexPc); 770 void InsertConstant(HConstant* instruction); 3246 class HConstant : public HExpression<0> { 3248 explicit HConstant(InstructionKind kind, DataType::Type type, uint32_t dex_pc = kNoDexPc) 3271 class HNullConstant final : public HConstant { 3291 : HConstant(kNullConstant, DataType::Type::kReference, dex_pc) { 3299 class HIntConstant final : public HConstant { 3331 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), value_(value) { 3334 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), 3345 class HLongConstant final : public HConstant { [all …]
|
D | nodes_shared.h | 100 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const override { in Evaluate() 104 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const override { in Evaluate() 108 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate() 113 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate()
|
D | pc_relative_fixups_x86.cc | 65 HConstant* value = ret->InputAt(0)->AsConstant(); in VisitReturn() 98 HConstant* rhs = bin->InputAt(1)->AsConstant(); in BinaryFP() 184 void ReplaceInput(HInstruction* insn, HConstant* value, int input_index, bool materialize) { in ReplaceInput() 222 HConstant* input = inputs[i]->AsConstant(); in HandleInvoke()
|
D | locations.cc | 65 HConstant* constant = instruction->AsConstant(); in RegisterOrInt32Constant() 76 HConstant* constant = instruction->AsConstant(); in FpuRegisterOrInt32Constant()
|
D | instruction_simplifier_x86_shared.cc | 127 HConstant* cst = add->GetConstantRight(); in AreLeastSetBitInputs() 132 HConstant* cst = sub->GetConstantRight(); in AreLeastSetBitInputs()
|
D | instruction_simplifier.cc | 184 bool AreAllBitsSet(HConstant* constant) { in AreAllBitsSet() 416 HConstant* mask = bin_op->GetConstantRight(); in VisitShift() 936 HConstant* other = c->AsBinaryOperation()->GetConstantRight(); in AllowInMinMax() 1194 static bool CanRemoveRedundantAnd(HConstant* and_right, in CanRemoveRedundantAnd() 1195 HConstant* shr_right, in CanRemoveRedundantAnd() 1346 HConstant* shr_right = shr_op->GetConstantRight(); in VisitTypeConversion() 1351 HConstant* and_right = and_op->GetConstantRight(); in VisitTypeConversion() 1374 HConstant* constant = input_and->GetConstantRight(); in VisitTypeConversion() 1429 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd() 1516 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() [all …]
|
D | graph_checker.h | 65 void VisitConstant(HConstant* instruction) override;
|
D | locations.h | 30 class HConstant; variable 115 HConstant* GetConstant() const { in GetConstant() 117 return reinterpret_cast<HConstant*>(value_ & ~kLocationConstantMask); in GetConstant()
|
D | code_generator.h | 553 static int8_t GetInt8ValueOf(HConstant* constant) { in GetInt8ValueOf() 558 static int16_t GetInt16ValueOf(HConstant* constant) { in GetInt16ValueOf() 563 static int32_t GetInt32ValueOf(HConstant* constant) { in GetInt32ValueOf() 574 static int64_t GetInt64ValueOf(HConstant* constant) { in GetInt64ValueOf()
|
D | common_arm.h | 175 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
|
D | common_arm64.h | 255 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
|
D | nodes.cc | 850 void HGraph::InsertConstant(HConstant* constant) { in InsertConstant() 916 HConstant* HGraph::GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc) { in GetConstant() 1818 HConstant* HTypeConversion::TryStaticEvaluation() const { in TryStaticEvaluation() 1912 HConstant* HUnaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation() 1927 HConstant* HBinaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation() 1952 HConstant* HBinaryOperation::GetConstantRight() const { in GetConstantRight()
|
D | dead_code_elimination.cc | 128 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate()
|
D | graph_visualizer.cc | 324 HConstant* constant = location.GetConstant(); in DumpLocation()
|
D | code_generator_arm_vixl.h | 379 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
|
D | code_generator_arm64.h | 704 void MoveConstant(vixl::aarch64::CPURegister destination, HConstant* constant);
|
D | graph_checker.cc | 1290 void GraphChecker::VisitConstant(HConstant* instruction) { in VisitConstant()
|
D | code_generator_arm64.cc | 1561 void CodeGeneratorARM64::MoveConstant(CPURegister destination, HConstant* constant) { in MoveConstant() 1579 HConstant* cst = constant.GetConstant(); in CoherentConstantAndType() 1616 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation() 1688 HConstant* src_cst = source.GetConstant(); in MoveLocation() 3891 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in VisitSelect() 3892 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in VisitSelect()
|
D | code_generator_x86_64.cc | 1840 HConstant* constant = source.GetConstant(); in Move() 1859 HConstant* constant = source.GetConstant(); in Move() 1880 HConstant* constant = source.GetConstant(); in Move() 1897 HConstant* constant = source.GetConstant(); in Move() 6211 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 | 1210 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 | 1559 HConstant* constant = source.GetConstant(); in Move32() 1623 HConstant* constant = source.GetConstant(); in Move64() 6924 HConstant* constant = source.GetConstant(); in EmitMove() 8779 HConstant *value = insn->GetConstant(); in VisitX86LoadFromConstantTable()
|