Home
last modified time | relevance | path

Searched refs:HConstant (Results 1 – 25 of 26) sorted by relevance

12

/art/compiler/optimizing/
Dnodes_x86.h45 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()
Dconstant_folding.cc45 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 …]
Dnodes.h636 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 …]
Dnodes_shared.h100 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()
Dpc_relative_fixups_x86.cc65 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()
Dlocations.cc65 HConstant* constant = instruction->AsConstant(); in RegisterOrInt32Constant()
76 HConstant* constant = instruction->AsConstant(); in FpuRegisterOrInt32Constant()
Dinstruction_simplifier_x86_shared.cc127 HConstant* cst = add->GetConstantRight(); in AreLeastSetBitInputs()
132 HConstant* cst = sub->GetConstantRight(); in AreLeastSetBitInputs()
Dinstruction_simplifier.cc184 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 …]
Dgraph_checker.h65 void VisitConstant(HConstant* instruction) override;
Dlocations.h30 class HConstant; variable
115 HConstant* GetConstant() const { in GetConstant()
117 return reinterpret_cast<HConstant*>(value_ & ~kLocationConstantMask); in GetConstant()
Dcode_generator.h553 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()
Dcommon_arm.h175 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
Dcommon_arm64.h255 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
Dnodes.cc850 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()
Ddead_code_elimination.cc128 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate()
Dgraph_visualizer.cc324 HConstant* constant = location.GetConstant(); in DumpLocation()
Dcode_generator_arm_vixl.h379 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
Dcode_generator_arm64.h704 void MoveConstant(vixl::aarch64::CPURegister destination, HConstant* constant);
Dgraph_checker.cc1290 void GraphChecker::VisitConstant(HConstant* instruction) { in VisitConstant()
Dcode_generator_arm64.cc1561 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()
Dcode_generator_x86_64.cc1840 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()
Dcode_generator_vector_arm64_sve.cc43 static bool SVECanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in SVECanEncodeConstantAsImmediate()
Dinliner.cc1210 HConstant* constant; in TryInlinePolymorphicCallToSameTarget()
Dcode_generator_vector_arm64_neon.cc44 inline bool NEONCanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in NEONCanEncodeConstantAsImmediate()
Dcode_generator_x86.cc1559 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()

12