Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp391 Instruction *SubInst = cast<Instruction>(SubOneOp); in detectIdiom() local
392 ConstantInt *Dec = dyn_cast<ConstantInt>(SubInst->getOperand(1)); in detectIdiom()
394 !((SubInst->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectIdiom()
395 (SubInst->getOpcode() == Instruction::Add && Dec->isAllOnesValue()))) { in detectIdiom()