Searched refs:InnerShift (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 71 Instruction *InnerShift, InstCombiner &IC, in canEvaluateShiftedShift() argument 73 assert(InnerShift->isLogicalShift() && "Unexpected instruction type"); in canEvaluateShiftedShift() 77 if (!match(InnerShift->getOperand(1), m_APInt(InnerShiftConst))) in canEvaluateShiftedShift() 83 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in canEvaluateShiftedShift() 99 unsigned TypeWidth = InnerShift->getType()->getScalarSizeInBits(); in canEvaluateShiftedShift() 105 if (IC.MaskedValueIsZero(InnerShift->getOperand(0), Mask, 0, CxtI)) in canEvaluateShiftedShift() 195 static Value *foldShiftedShift(BinaryOperator *InnerShift, unsigned OuterShAmt, in foldShiftedShift() argument 198 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in foldShiftedShift() 199 Type *ShType = InnerShift->getType(); in foldShiftedShift() 204 match(InnerShift->getOperand(1), m_APInt(C1)); in foldShiftedShift() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 4327 unsigned InnerShift; // The opposite direction to the OuterShift. in unfoldExtremeBitClearingToShifts() local 4329 auto matchMask = [&OuterShift, &InnerShift, &Y](SDValue M) -> bool { in unfoldExtremeBitClearingToShifts() 4334 InnerShift = ISD::SRL; in unfoldExtremeBitClearingToShifts() 4336 InnerShift = ISD::SHL; in unfoldExtremeBitClearingToShifts() 4357 SDValue T0 = DAG.getNode(InnerShift, DL, VT, X, Y); in unfoldExtremeBitClearingToShifts()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 35195 unsigned InnerShift = (X86ISD::SHLD == Opc ? ISD::SRL : ISD::SHL); in combineOr() local 35200 if (Op1.getOpcode() == InnerShift && in combineOr() 35207 if (InnerShift == ISD::SHL && Op1.getOpcode() == ISD::ADD && in combineOr()
|