Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1369 unsigned ShiftOpcode = Shift->getOpcode(); in visitICmpInstWithInstAndIntCst() local
1370 if (ShiftOpcode == Instruction::AShr) { in visitICmpInstWithInstAndIntCst()
1374 } else if (ShiftOpcode == Instruction::Shl) { in visitICmpInstWithInstAndIntCst()
1382 } else if (ShiftOpcode == Instruction::LShr) { in visitICmpInstWithInstAndIntCst()
1403 if (ShiftOpcode == Instruction::Shl) in visitICmpInstWithInstAndIntCst()
1410 if (ConstantExpr::get(ShiftOpcode, NewCst, ShAmt) != RHS) { in visitICmpInstWithInstAndIntCst()
1421 if (ShiftOpcode == Instruction::Shl) in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp18783 unsigned ShiftOpcode = Op->getOpcode(); in LowerShift() local
18813 DAG.getNode(ShiftOpcode, dl, VT, R, DAG.getConstant(4, dl, VT)); in LowerShift()
18820 M = DAG.getNode(ShiftOpcode, dl, VT, R, DAG.getConstant(2, dl, VT)); in LowerShift()
18827 M = DAG.getNode(ShiftOpcode, dl, VT, R, DAG.getConstant(1, dl, VT)); in LowerShift()
18846 SDValue MLo = DAG.getNode(ShiftOpcode, dl, ExtVT, RLo, in LowerShift()
18848 SDValue MHi = DAG.getNode(ShiftOpcode, dl, ExtVT, RHi, in LowerShift()
18858 MLo = DAG.getNode(ShiftOpcode, dl, ExtVT, RLo, in LowerShift()
18860 MHi = DAG.getNode(ShiftOpcode, dl, ExtVT, RHi, in LowerShift()
18870 MLo = DAG.getNode(ShiftOpcode, dl, ExtVT, RLo, in LowerShift()
18872 MHi = DAG.getNode(ShiftOpcode, dl, ExtVT, RHi, in LowerShift()
[all …]