/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/4.0/ |
H A D | InstructionCombining.cpp | 534 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 537 if (LeftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 551 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, A, V); in tryFactorization() 571 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, V, B); in tryFactorization() 604 InnerOpcode == Instruction::Mul) in tryFactorization() 653 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 665 if (Value *V = SimplifyBinOp(InnerOpcode, L, R, DL)) in SimplifyUsingDistributiveLaws() 668 C = Builder->CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 678 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 690 if (Value *V = SimplifyBinOp(InnerOpcode, L, R, DL)) in SimplifyUsingDistributiveLaws() [all …]
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/7.0/ |
H A D | InstructionCombining.cpp | 532 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 545 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 548 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 562 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 567 if (!SimplifiedInst && rightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) in tryFactorization() 582 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 613 InnerOpcode == Instruction::Mul) in tryFactorization() 668 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 677 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 705 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 518 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 528 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 531 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 545 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 565 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 596 InnerOpcode == Instruction::Mul) in tryFactorization() 651 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 660 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 666 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 688 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 511 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 521 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 524 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 538 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 558 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 589 InnerOpcode == Instruction::Mul) in tryFactorization() 644 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 653 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 659 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 681 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 557 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 567 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 570 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 584 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 604 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 633 InnerOpcode == Instruction::Mul) { in tryFactorization() 702 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 711 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 717 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 739 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 557 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 567 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 570 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 584 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 604 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 633 InnerOpcode == Instruction::Mul) { in tryFactorization() 702 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 711 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 717 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 739 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 557 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 567 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 570 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 584 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 604 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 633 InnerOpcode == Instruction::Mul) { in tryFactorization() 702 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 711 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 717 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 739 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 538 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 548 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 551 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 565 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 585 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 615 InnerOpcode == Instruction::Mul) { in tryFactorization() 683 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 692 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 698 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 720 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 554 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 564 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 567 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 581 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 601 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 630 InnerOpcode == Instruction::Mul) { in tryFactorization() 699 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 708 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 714 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 736 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 598 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 609 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 612 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 626 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 646 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 675 InnerOpcode == Instruction::Mul) { in tryFactorization() 744 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 755 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 761 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 783 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 554 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 564 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 567 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 581 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 601 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 630 InnerOpcode == Instruction::Mul) { in tryFactorization() 699 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 708 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 714 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 736 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 598 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 609 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 612 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 626 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 646 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 675 InnerOpcode == Instruction::Mul) { in tryFactorization() 744 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 755 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 761 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 783 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 598 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 609 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 612 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 626 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 646 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 675 InnerOpcode == Instruction::Mul) { in tryFactorization() 744 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 755 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 761 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 783 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 617 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 628 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 631 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 645 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 665 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 694 InnerOpcode == Instruction::Mul) { in tryFactorization() 763 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 774 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 780 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 802 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 617 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 628 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 631 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 645 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 665 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 694 InnerOpcode == Instruction::Mul) { in tryFactorization() 763 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 774 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 780 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 802 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 617 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 628 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 631 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 645 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 665 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 694 InnerOpcode == Instruction::Mul) { in tryFactorization() 763 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 774 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 780 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 802 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 632 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 643 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 646 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 660 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 680 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 709 InnerOpcode == Instruction::Mul) { in tryFactorization() 778 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 789 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 795 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 817 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 617 Instruction::BinaryOps InnerOpcode, in tryFactorization() argument 628 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in tryFactorization() 631 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) in tryFactorization() 645 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 665 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 694 InnerOpcode == Instruction::Mul) { in tryFactorization() 763 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local 774 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 780 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { in SimplifyUsingDistributiveLaws() 802 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' in SimplifyUsingDistributiveLaws() local [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 617 Instruction::BinaryOps InnerOpcode, 628 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); 631 if (leftDistributesOverRight(InnerOpcode, TopLevelOpcode)) 645 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); 665 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); 694 InnerOpcode == Instruction::Mul) { 763 Instruction::BinaryOps InnerOpcode = Op0->getOpcode(); // op' 774 C = Builder.CreateBinOp(InnerOpcode, L, R); 780 if (L && L == ConstantExpr::getBinOpIdentity(InnerOpcode, L->getType())) { 802 Instruction::BinaryOps InnerOpcode = Op1->getOpcode(); // op' [all …]
|