Home
last modified time | relevance | path

Searched refs:iv_value (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp366 int64_t iv_value = (short) IV_DefInstr->getOperand(2).getImm(); in getTripCount() local
387 if ((count % iv_value) != 0) { in getTripCount()
390 return new CountValue(count/iv_value); in getTripCount()
397 if ((count % iv_value) != 0) { in getTripCount()
400 return new CountValue(count/iv_value); in getTripCount()
401 } else if (iv_value == 1 || iv_value == -1) { in getTripCount()
404 return new CountValue(InitialValueReg, iv_value > 0); in getTripCount()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp344 int64_t iv_value = IV_DefInstr->getOperand(2).getImm(); in getTripCount() local
348 if (iv_value != 1 && iv_value != -1) { in getTripCount()
351 return new CountValue(InitialValue->getReg(), iv_value > 0); in getTripCount()
357 if ((count % iv_value) != 0) { in getTripCount()
360 return new CountValue(count/iv_value); in getTripCount()