Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp773 uint32_t shiftVal = (uint32_t)ShiftIC->getZExtValue(); in optimizeBitExtract() local
775 if (maskVal >= 32 || shiftVal >= 32) { in optimizeBitExtract()
780 if (maskVal > (32 - shiftVal)) { in optimizeBitExtract()
784 shiftVals.push_back(ConstantInt::get(scalarType, shiftVal, isSigned)); in optimizeBitExtract()
799 uint32_t shiftVal = (uint32_t)dyn_cast<ConstantInt>(ShrVal)->getZExtValue(); in optimizeBitExtract() local
801 if (maskVal >= 32 || shiftVal >= 32) { in optimizeBitExtract()
806 if (maskVal > (32 - shiftVal)) { in optimizeBitExtract()
810 shiftValConst = ConstantInt::get(aType, shiftVal, isSigned); in optimizeBitExtract()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp6000 unsigned shiftVal = cast<llvm::ConstantInt>(Ops[1])->getZExtValue() >> 3; in EmitX86BuiltinExpr() local
6003 if (shiftVal >= 16) in EmitX86BuiltinExpr()
6010 unsigned Idx = 32 + i - shiftVal; in EmitX86BuiltinExpr()
6027 unsigned shiftVal = cast<llvm::ConstantInt>(Ops[1])->getZExtValue() >> 3; in EmitX86BuiltinExpr() local
6030 if (shiftVal >= 16) in EmitX86BuiltinExpr()
6037 unsigned Idx = i + shiftVal; in EmitX86BuiltinExpr()