Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp732 BinaryOperator *ShiftInst = dyn_cast<BinaryOperator>(inst->getOperand(0)); in optimizeBitExtract() local
735 if (!ShiftInst || !ShiftInst->isShift()) { in optimizeBitExtract()
739 if (ShiftInst->getOpcode() == Instruction::Shl) { in optimizeBitExtract()
742 bool isSigned = ShiftInst->isArithmeticShift(); in optimizeBitExtract()
744 Constant *ShrVal = dyn_cast<Constant>(ShiftInst->getOperand(1)); in optimizeBitExtract()
829 ShiftInst->getOperand(0), in optimizeBitExtract()
/external/llvm/docs/
DCodingStandards.rst1193 assert((Opcode == Shl || Opcode == Shr) && "ShiftInst Opcode invalid!");