/art/compiler/optimizing/ |
D | constant_folding.cc | 93 HConstant* constant = inst->TryStaticEvaluation(); in VisitUnaryOperation() 103 HConstant* constant = inst->TryStaticEvaluation(); in VisitBinaryOperation() 116 HConstant* constant = inst->TryStaticEvaluation(); in VisitTypeConversion() 219 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() 231 HConstant* input_cst = instruction->GetConstantRight(); in VisitCompare() 251 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul() 268 HConstant* input_cst = instruction->GetConstantRight(); in VisitOr() 303 HConstant* cst_right = instruction->GetRight()->AsConstant(); in VisitRem()
|
D | nodes.h | 530 HConstant* GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc = kNoDexPc); 639 void InsertConstant(HConstant* instruction); 2843 class HConstant : public HExpression<0> { 2845 explicit HConstant(InstructionKind kind, DataType::Type type, uint32_t dex_pc = kNoDexPc) 2868 class HNullConstant FINAL : public HConstant { 2888 : HConstant(kNullConstant, DataType::Type::kReference, dex_pc) { in HConstant() function 2896 class HIntConstant FINAL : public HConstant { 2928 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), value_(value) { in HConstant() function 2931 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), in HConstant() function 2942 class HLongConstant FINAL : public HConstant { [all …]
|
D | nodes_x86.h | 45 HConstant* constant) in HX86LoadFromConstantTable() 58 HConstant* GetConstant() const { in GetConstant()
|
D | pc_relative_fixups_x86.cc | 65 HConstant* value = ret->InputAt(0)->AsConstant(); in VisitReturn() 104 HConstant* rhs = bin->InputAt(1)->AsConstant(); in BinaryFP() 190 void ReplaceInput(HInstruction* insn, HConstant* value, int input_index, bool materialize) { in ReplaceInput() 227 HConstant* input = inputs[i]->AsConstant(); in HandleInvoke()
|
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 | locations.cc | 65 HConstant* constant = instruction->AsConstant(); in RegisterOrInt32Constant() 76 HConstant* constant = instruction->AsConstant(); in FpuRegisterOrInt32Constant()
|
D | instruction_simplifier.cc | 164 bool AreAllBitsSet(HConstant* constant) { in AreAllBitsSet() 391 HConstant* mask = bin_op->GetConstantRight(); in VisitShift() 1190 HConstant* constant = input_and->GetConstantRight(); in VisitTypeConversion() 1234 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd() 1321 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() 1357 HConstant* new_const = GetGraph()->GetConstant(DataType::Type::kInt32, value); in VisitAnd() 1616 HConstant* input_cst = instruction->GetConstantRight(); in VisitDiv() 1647 HConstant* reciprocal = nullptr; in VisitDiv() 1671 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul() 1846 HConstant* input_cst = instruction->GetConstantRight(); in VisitOr() [all …]
|
D | locations.h | 29 class HConstant; variable 105 static Location ConstantLocation(HConstant* constant) { in ConstantLocation() 110 HConstant* GetConstant() const { in GetConstant() 112 return reinterpret_cast<HConstant*>(value_ & ~kLocationConstantMask); in GetConstant()
|
D | graph_checker.h | 60 void VisitConstant(HConstant* instruction) OVERRIDE;
|
D | code_generator.h | 487 static int8_t GetInt8ValueOf(HConstant* constant) { in GetInt8ValueOf() 492 static int16_t GetInt16ValueOf(HConstant* constant) { in GetInt16ValueOf() 497 static int32_t GetInt32ValueOf(HConstant* constant) { in GetInt32ValueOf() 508 static int64_t GetInt64ValueOf(HConstant* constant) { in GetInt64ValueOf()
|
D | common_arm64.h | 155 HConstant* instr = location.GetConstant(); in Int64ConstantFrom() 237 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
|
D | common_arm.h | 183 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
|
D | dead_code_elimination.cc | 125 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate()
|
D | nodes.cc | 633 void HGraph::InsertConstant(HConstant* constant) { in InsertConstant() 699 HConstant* HGraph::GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc) { in GetConstant() 1507 HConstant* HTypeConversion::TryStaticEvaluation() const { in TryStaticEvaluation() 1601 HConstant* HUnaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation() 1616 HConstant* HBinaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation() 1641 HConstant* HBinaryOperation::GetConstantRight() const { in GetConstantRight()
|
D | code_generator_mips.h | 379 void MoveConstant(Location location, HConstant* c);
|
D | code_generator_arm64.h | 499 void MoveConstant(vixl::aarch64::CPURegister destination, HConstant* constant);
|
D | code_generator_arm_vixl.h | 289 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
|
D | graph_visualizer.cc | 292 HConstant* constant = location.GetConstant(); in DumpLocation()
|
D | graph_checker.cc | 1023 void GraphChecker::VisitConstant(HConstant* instruction) { in VisitConstant()
|
D | code_generator_arm64.cc | 1675 void CodeGeneratorARM64::MoveConstant(CPURegister destination, HConstant* constant) { in MoveConstant() 1693 HConstant* cst = constant.GetConstant(); in CoherentConstantAndType() 1730 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation() 1818 HConstant* src_cst = source.GetConstant(); in MoveLocation() 3737 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in VisitSelect() 3738 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in VisitSelect()
|
D | code_generator_x86_64.cc | 1371 HConstant* constant = source.GetConstant(); in Move() 1388 HConstant* constant = source.GetConstant(); in Move() 1409 HConstant* constant = source.GetConstant(); in Move() 1426 HConstant* constant = source.GetConstant(); in Move() 5267 HConstant* constant = source.GetConstant(); in EmitMove()
|
D | code_generator_mips64.cc | 1202 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation() 1345 HConstant* src_cst = source.GetConstant(); in MoveLocation() 4383 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in CanMoveConditionally() 4384 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in CanMoveConditionally()
|
D | inliner.cc | 1219 HConstant* constant; in TryInlinePolymorphicCallToSameTarget()
|
D | code_generator_x86.cc | 1249 HConstant* constant = source.GetConstant(); in Move32() 1312 HConstant* constant = source.GetConstant(); in Move64() 5849 HConstant* constant = source.GetConstant(); in EmitMove() 7578 HConstant *value = insn->GetConstant(); in VisitX86LoadFromConstantTable()
|
D | code_generator_arm_vixl.cc | 2256 static bool CanEncodeConstantAs8BitImmediate(HConstant* constant) { in CanEncodeConstantAs8BitImmediate() 5673 bool LocationsBuilderARMVIXL::CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode) { in CanEncodeConstantAsImmediate() 6859 HConstant* constant = source.GetConstant(); in EmitMove()
|