Lines Matching defs:constant

462   // Returns a constant of the given type and value. If it does not exist
515 // The instruction has been inserted into the graph, either as a constant, or
529 // Try to find an existing constant of the given value.
530 InstructionType* constant = nullptr;
533 constant = cached_constant->second;
538 if (constant == nullptr || constant->GetBlock() == nullptr) {
539 constant = new (arena_) InstructionType(value, dex_pc);
540 cache->Overwrite(value, constant);
541 InsertConstant(constant);
543 return constant;
548 // Cache a float constant into the graph. This method should only be
550 void CacheFloatConstant(HFloatConstant* constant);
553 void CacheDoubleConstant(HDoubleConstant* constant);
2482 // Is this constant -1 in the arithmetic sense?
2484 // Is this constant 0 in the arithmetic sense?
2486 // Is this constant a 0-bit pattern?
2488 // Is this constant 1 in the arithmetic sense?
2509 // The null constant representation is a 0-bit pattern.
2920 // be evaluated as a constant, return null.
2953 // Put constant on the right.
2966 // Order inputs by instruction id, but favor constant on the right side.
2992 // be evaluated as a constant, return null.
3012 // constant, or null.
3107 // Return an integer constant containing the result of a condition evaluated at compile time.
3593 // Return an integer constant containing the result of a comparison evaluated at compile time.
4352 // constant folding.
4404 // constant folding.
5643 HClinitCheck(HLoadClass* constant, uint32_t dex_pc)
5648 SetRawInputAt(0, constant);
5957 HLoadClass* constant,
5966 SetRawInputAt(1, constant);
6055 HLoadClass* constant,
6062 SetRawInputAt(1, constant);
6555 inline int64_t Int64FromConstant(HConstant* constant) {
6556 if (constant->IsIntConstant()) {
6557 return constant->AsIntConstant()->GetValue();
6558 } else if (constant->IsLongConstant()) {
6559 return constant->AsLongConstant()->GetValue();
6561 DCHECK(constant->IsNullConstant()) << constant->DebugName();