Home
last modified time | relevance | path

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

/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.cc94 HConstant* constant = inst->TryStaticEvaluation(); in VisitUnaryOperation()
104 HConstant* constant = inst->TryStaticEvaluation(); in VisitBinaryOperation()
117 HConstant* constant = inst->TryStaticEvaluation(); in VisitTypeConversion()
221 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd()
252 HConstant* input_cst = instruction->GetConstantRight(); in VisitCompare()
272 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul()
289 HConstant* input_cst = instruction->GetConstantRight(); in VisitOr()
324 HConstant* cst_right = instruction->GetRight()->AsConstant(); in VisitRem()
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()
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()
Dlocations.cc65 HConstant* constant = instruction->AsConstant(); in RegisterOrInt32Constant()
76 HConstant* constant = instruction->AsConstant(); in FpuRegisterOrInt32Constant()
Dinstruction_simplifier_x86_shared.cc126 HConstant* cst = add->GetConstantRight(); in AreLeastSetBitInputs()
131 HConstant* cst = sub->GetConstantRight(); in AreLeastSetBitInputs()
Dlocations.h29 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()
Dinstruction_simplifier.cc172 bool AreAllBitsSet(HConstant* constant) { in AreAllBitsSet()
388 HConstant* mask = bin_op->GetConstantRight(); in VisitShift()
898 HConstant* other = c->AsBinaryOperation()->GetConstantRight(); in AllowInMinMax()
1211 HConstant* constant = input_and->GetConstantRight(); in VisitTypeConversion()
1266 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd()
1353 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd()
1389 HConstant* new_const = GetGraph()->GetConstant(DataType::Type::kInt32, value); in VisitAnd()
1647 HConstant* input_cst = instruction->GetConstantRight(); in VisitDiv()
1678 HConstant* reciprocal = nullptr; in VisitDiv()
1702 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul()
[all …]
Dgraph_checker.h58 void VisitConstant(HConstant* instruction) override;
Dcode_generator.h519 static int8_t GetInt8ValueOf(HConstant* constant) { in GetInt8ValueOf()
524 static int16_t GetInt16ValueOf(HConstant* constant) { in GetInt16ValueOf()
529 static int32_t GetInt32ValueOf(HConstant* constant) { in GetInt32ValueOf()
540 static int64_t GetInt64ValueOf(HConstant* constant) { in GetInt64ValueOf()
Dcommon_arm.h174 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
Dcommon_arm64.h241 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
Ddead_code_elimination.cc125 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate()
Dnodes.cc636 void HGraph::InsertConstant(HConstant* constant) { in InsertConstant()
702 HConstant* HGraph::GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc) { in GetConstant()
1549 HConstant* HTypeConversion::TryStaticEvaluation() const { in TryStaticEvaluation()
1643 HConstant* HUnaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation()
1658 HConstant* HBinaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation()
1683 HConstant* HBinaryOperation::GetConstantRight() const { in GetConstantRight()
Dgraph_visualizer.cc294 HConstant* constant = location.GetConstant(); in DumpLocation()
Dcode_generator_arm64.h511 void MoveConstant(vixl::aarch64::CPURegister destination, HConstant* constant);
Dcode_generator_arm_vixl.h292 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
Dgraph_checker.cc1107 void GraphChecker::VisitConstant(HConstant* instruction) { in VisitConstant()
Dinliner.cc1250 HConstant* constant; in TryInlinePolymorphicCallToSameTarget()