Home
last modified time | relevance | path

Searched refs:TrOp (Results 1 – 18 of 18) sorted by relevance

/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/4.0/
H A DInstCombineShifts.cpp545 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
551 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
552 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()
554 Constant *ShAmt = ConstantExpr::getZExt(COp1, TrOp->getType()); in FoldShiftByConstant()
556 Value *NSh = Builder->CreateBinOp(I.getOpcode(), TrOp, ShAmt,I.getName()); in FoldShiftByConstant()
562 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/7.0/
H A DInstCombineShifts.cpp387 Instruction* TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
393 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
394 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()
397 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType()); in FoldShiftByConstant()
399 Value* NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
405 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp380 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
386 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
387 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()
390 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType()); in FoldShiftByConstant()
392 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
398 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp380 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0));
386 if (TrOp && I.isLogicalShift() && TrOp->isShift() &&
387 isa<ConstantInt>(TrOp->getOperand(1))) {
390 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType());
392 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName());
398 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits();
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp410 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
416 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
417 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()
420 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType()); in FoldShiftByConstant()
422 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
428 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp715 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
721 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
722 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()
725 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType()); in FoldShiftByConstant()
727 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
733 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp708 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
714 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
715 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()
718 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType()); in FoldShiftByConstant()
720 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
726 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp715 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
721 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
722 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()
725 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType()); in FoldShiftByConstant()
727 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
733 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp708 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
714 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
715 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()
718 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType()); in FoldShiftByConstant()
720 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
726 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp715 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
721 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
722 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()
725 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType()); in FoldShiftByConstant()
727 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
733 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp697 auto *TrOp = cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
698 Type *SrcTy = TrOp->getType(); in FoldShiftByConstant()
703 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp703 auto *TrOp = cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
704 Type *SrcTy = TrOp->getType(); in FoldShiftByConstant()
709 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp703 auto *TrOp = cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
704 Type *SrcTy = TrOp->getType(); in FoldShiftByConstant()
709 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp703 auto *TrOp = cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
704 Type *SrcTy = TrOp->getType(); in FoldShiftByConstant()
709 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp703 auto *TrOp = cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
704 Type *SrcTy = TrOp->getType(); in FoldShiftByConstant()
709 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp703 auto *TrOp = cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
704 Type *SrcTy = TrOp->getType(); in FoldShiftByConstant()
709 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp703 auto *TrOp = cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
704 Type *SrcTy = TrOp->getType(); in FoldShiftByConstant()
709 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp703 auto *TrOp = cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
704 Type *SrcTy = TrOp->getType(); in FoldShiftByConstant()
709 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()