// Computes the magic number and the shift needed in the div/rem by constant algorithm, as out // arguments `magic` and `shift` void CalculateMagicAndShiftForDivRem(int64_t divisor, bool is_long, int64_t* magic, int* shift);
// Returns true if `cond_input` is expected to have a location. Assumes that // `cond_input` is a conditional input of the currently emitted instruction and // that it has been previously visited by the InstructionCodeGenerator. bool IsBooleanValueOrMaterializedCondition(HInstruction* cond_input);
template <typename T> T AbsOrMin(T value) { return (value == std::numeric_limits<T>::min())
? value
: std::abs(value);
}
// Check whether the i-th operand of instr is non-negative. bool HasNonNegativeInputAt(HInstruction* instr, size_t i);
// Check whether the i-th operand of instr is non-negative or the minimum integer value. bool HasNonNegativeOrMinIntInputAt(HInstruction* instr, size_t i);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.