Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp13114 SDValue BaseShAmt = SDValue(); in PerformShiftCombine() local
13121 BaseShAmt = Arg; in PerformShiftCombine()
13127 if (Arg != BaseShAmt) { in PerformShiftCombine()
13140 BaseShAmt = Arg; in PerformShiftCombine()
13147 BaseShAmt = InVec.getOperand(1); in PerformShiftCombine()
13150 if (BaseShAmt.getNode() == 0) in PerformShiftCombine()
13151 BaseShAmt = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, EltVT, ShAmtOp, in PerformShiftCombine()
13158 BaseShAmt = DAG.getNode(ISD::TRUNCATE, DL, MVT::i32, BaseShAmt); in PerformShiftCombine()
13160 BaseShAmt = DAG.getNode(ISD::ZERO_EXTEND, DL, MVT::i32, BaseShAmt); in PerformShiftCombine()
13172 ValOp, BaseShAmt); in PerformShiftCombine()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp23302 if (SDValue BaseShAmt = IsSplatValue(VT, Amt, dl, DAG, Subtarget, Opcode)) { in LowerScalarVariableShift() local
23306 BaseShAmt = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i64, BaseShAmt); in LowerScalarVariableShift()
23308 BaseShAmt = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i32, BaseShAmt); in LowerScalarVariableShift()
23310 return getTargetVShiftNode(X86OpcI, dl, VT, R, BaseShAmt, Subtarget, DAG); in LowerScalarVariableShift()