Home
last modified time | relevance | path

Searched refs:IsShift (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/Mips/
H A DTargetTest.cpp57 Matcher<MCInst> IsShift(unsigned Reg, uint16_t Amount, bool IsGPR32) { in IsShift() function
111 IsShift(Reg2, 16, false))); in TEST_F()
116 IsShift(Reg3, 16, false), in TEST_F()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp863 bool IsShift = Opcode == ISD::USHLSAT || Opcode == ISD::SSHLSAT; in PromoteIntRes_ADDSUBSHLSAT() local
866 if (IsShift) { in PromoteIntRes_ADDSUBSHLSAT()
894 if (IsShift || TLI.isOperationLegal(Opcode, PromotedType)) { in PromoteIntRes_ADDSUBSHLSAT()
915 if (!IsShift) in PromoteIntRes_ADDSUBSHLSAT()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1925 bool IsShift = MI.getOpcode() == TargetOpcode::G_SSHLSAT || in widenScalarAddSubShlSat() local
1944 auto RHS = IsShift ? MIRBuilder.buildZExt(WideTy, MI.getOperand(2)) in widenScalarAddSubShlSat()
1948 auto ShiftR = IsShift ? RHS : MIRBuilder.buildShl(WideTy, RHS, ShiftK); in widenScalarAddSubShlSat()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp3786 bool IsShift = BinaryOperator::isShiftOp(op.Opcode) || in EmitFixedPointBinOp() local
3789 return FPBuilder.CreateFixedToFixed(Result, IsShift ? LHSFixedSema in EmitFixedPointBinOp()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp10642 bool IsShift = false; in lowerBuildVectorToBitOp() local
10649 IsShift = true; in lowerBuildVectorToBitOp()
10674 if (!IsShift) in lowerBuildVectorToBitOp()
10686 if (IsShift && any_of(RHSElts, [&](SDValue V) { return RHSElts[0] != V; })) in lowerBuildVectorToBitOp()
10693 if (!IsShift) in lowerBuildVectorToBitOp()