Home
last modified time | relevance | path

Searched refs:ShAmt1 (Results 1 – 25 of 64) sorted by relevance

123

/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp25 Value *ShAmt1) { in canTryToConstantAddTwoShiftAmounts() argument
28 if (ShAmt0->getType() != ShAmt1->getType()) in canTryToConstantAddTwoShiftAmounts()
80 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
81 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
85 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts()
111 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
H A DInstCombineCasts.cpp557 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local
559 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
567 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift()
607 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift()
610 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp25 Value *ShAmt1) { in canTryToConstantAddTwoShiftAmounts() argument
28 if (ShAmt0->getType() != ShAmt1->getType()) in canTryToConstantAddTwoShiftAmounts()
80 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
81 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
85 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts()
111 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
H A DInstCombineCasts.cpp557 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local
559 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
567 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift()
607 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift()
610 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp25 Value *ShAmt1) { in canTryToConstantAddTwoShiftAmounts() argument
28 if (ShAmt0->getType() != ShAmt1->getType()) in canTryToConstantAddTwoShiftAmounts()
80 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
81 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
85 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts()
111 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
H A DInstCombineCasts.cpp538 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local
540 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
548 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift()
583 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift()
586 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp25 Value *ShAmt1) { in canTryToConstantAddTwoShiftAmounts() argument
28 if (ShAmt0->getType() != ShAmt1->getType()) in canTryToConstantAddTwoShiftAmounts()
80 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
81 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
85 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts()
111 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
H A DInstCombineCasts.cpp557 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local
559 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
567 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift()
607 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift()
610 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp25 Value *ShAmt1) { in canTryToConstantAddTwoShiftAmounts() argument
28 if (ShAmt0->getType() != ShAmt1->getType()) in canTryToConstantAddTwoShiftAmounts()
80 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
81 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
85 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts()
111 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
H A DInstCombineCasts.cpp557 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local
559 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
567 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift()
607 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift()
610 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp25 Value *ShAmt1) { in canTryToConstantAddTwoShiftAmounts() argument
28 if (ShAmt0->getType() != ShAmt1->getType()) in canTryToConstantAddTwoShiftAmounts()
80 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
81 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
85 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts()
111 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
H A DInstCombineCasts.cpp557 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local
559 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
567 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift()
607 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift()
610 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp25 Value *ShAmt1) { in canTryToConstantAddTwoShiftAmounts() argument
28 if (ShAmt0->getType() != ShAmt1->getType()) in canTryToConstantAddTwoShiftAmounts()
80 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
81 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
85 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts()
111 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
H A DInstCombineCasts.cpp538 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local
540 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
548 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift()
583 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift()
586 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp25 Value *ShAmt1) { in canTryToConstantAddTwoShiftAmounts() argument
28 if (ShAmt0->getType() != ShAmt1->getType()) in canTryToConstantAddTwoShiftAmounts()
80 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
81 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
85 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts()
111 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp56 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
57 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
62 if (ShAmt0->getType() != ShAmt1->getType()) in reassociateShiftAmtsOfTwoSameDirectionShifts()
105 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
H A DInstCombineCasts.cpp538 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local
540 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
548 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift()
583 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift()
586 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp55 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
56 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
61 if (ShAmt0->getType() != ShAmt1->getType()) in reassociateShiftAmtsOfTwoSameDirectionShifts()
104 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp55 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
56 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
61 if (ShAmt0->getType() != ShAmt1->getType()) in reassociateShiftAmtsOfTwoSameDirectionShifts()
104 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp55 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
56 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
61 if (ShAmt0->getType() != ShAmt1->getType()) in reassociateShiftAmtsOfTwoSameDirectionShifts()
104 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp55 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
56 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
61 if (ShAmt0->getType() != ShAmt1->getType()) in reassociateShiftAmtsOfTwoSameDirectionShifts()
104 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp55 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
56 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
61 if (ShAmt0->getType() != ShAmt1->getType()) in reassociateShiftAmtsOfTwoSameDirectionShifts()
104 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp32 Value *X, *ShAmt1, *ShAmt0; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
34 if (!match(Sh0, m_Shift(m_CombineAnd(m_Shift(m_Value(X), m_Value(ShAmt1)), in reassociateShiftAmtsOfTwoSameDirectionShifts()
44 Value *NewShAmt = SimplifyBinOp(Instruction::BinaryOps::Add, ShAmt0, ShAmt1, in reassociateShiftAmtsOfTwoSameDirectionShifts()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/7.0/
H A DInstCombineCasts.cpp514 Value* ShVal, * ShAmt0, * ShAmt1; in narrowRotate() local
516 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in narrowRotate()
530 m_OneUse(m_Sub(m_SpecificInt(NarrowWidth), m_Specific(ShAmt1))))) { in narrowRotate()
531 ShAmt = ShAmt1; in narrowRotate()
534 else if (match(ShAmt1, m_OneUse(m_Sub(m_SpecificInt(NarrowWidth), in narrowRotate()
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp507 Value *ShVal, *ShAmt0, *ShAmt1;
509 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1)))))
523 m_OneUse(m_Sub(m_SpecificInt(NarrowWidth), m_Specific(ShAmt1))))) {
524 ShAmt = ShAmt1;
526 } else if (match(ShAmt1, m_OneUse(m_Sub(m_SpecificInt(NarrowWidth),

123