Searched refs:ConvertIntToInt (Results 1 – 1 of 1) sorted by relevance
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | const_folding.cpp | 27 uint64_t ConvertIntToInt(T value, DataType::Type targetType) in ConvertIntToInt() function 151 …return ConstFoldingCreateIntConst(inst, ConvertIntToInt(static_cast<T>(cnst->GetIntValue()), inst-… in ConstFoldingCreateConst() 274 …newCnst = ConstFoldingCreateIntConst(inst, ConvertIntToInt(-cnst->GetIntValue(), inst->GetType())); in ConstFoldingNeg() 308 … newCnst = ConstFoldingCreateIntConst(inst, ConvertIntToInt(uvalue, inst->GetType())); in ConstFoldingAbs() 333 …auto newCnst = ConstFoldingCreateIntConst(inst, ConvertIntToInt(~cnst->GetIntValue(), inst->GetTyp… in ConstFoldingNot() 353 … inst, ConvertIntToInt(cnst0->GetIntValue() + cnst1->GetIntValue(), inst->GetType())); in ConstFoldingAdd() 383 … inst, ConvertIntToInt(cnst0->GetIntValue() - cnst1->GetIntValue(), inst->GetType())); in ConstFoldingSub() 419 … inst, ConvertIntToInt(cnst0->GetIntValue() * cnst1->GetIntValue(), inst->GetType())); in ConstFoldingMul() 481 …ConvertIntToInt(static_cast<int32_t>(cnst0->GetIntValue()) / static_cast<int32_t>(cnst1->GetIntVal… in ConstFoldingDivInt2Int() 488 return graph->FindOrCreateConstant(ConvertIntToInt( in ConstFoldingDivInt2Int() [all …]
|