Searched refs:ConstOp1 (Results 1 – 3 of 3) sorted by relevance
128 auto ConstOp1 = dyn_cast<ConstantInt>(Icmp->getOperand(1)); in adjustICmpToBuiltin() local129 if (!ConstOp1) in adjustICmpToBuiltin()132 auto ConstOp1Val = ConstOp1->getValue().getZExtValue(); in adjustICmpToBuiltin()147 M, Intrinsic::bpf_compare, {Op0->getType(), ConstOp1->getType()}); in adjustICmpToBuiltin()148 auto *NewInst = CallInst::Create(Fn, {Opcode, Op0, ConstOp1}); in adjustICmpToBuiltin()
2249 if (!ConstOp1) in adjustZeroCmp()2252 int64_t Value = ConstOp1->getSExtValue(); in adjustZeroCmp()2282 auto *ConstOp1 = cast<ConstantSDNode>(C.Op1); in adjustSubwordCmp() local2283 uint64_t Value = ConstOp1->getZExtValue(); in adjustSubwordCmp()2332 Value != ConstOp1->getZExtValue()) in adjustSubwordCmp()2374 if (ConstOp1 && ConstOp1->getZExtValue() == 0) in shouldSwapCmpOperands()2387 if (!ConstOp1) in shouldSwapCmpOperands()2392 isUInt<16>(ConstOp1->getZExtValue())) in shouldSwapCmpOperands()2397 isInt<16>(ConstOp1->getSExtValue())) in shouldSwapCmpOperands()2623 if (!ConstOp1) in adjustForTestUnderMask()[all …]
1770 bool ConstOp1 = isa<Constant>(RHS); in foldVectorBinop() local1807 ConstOp1 in foldVectorBinop()1821 if (Inst.isIntDivRem() || (Inst.isShift() && ConstOp1)) in foldVectorBinop()1822 NewC = getSafeVectorConstantForBinop(Opcode, NewC, ConstOp1); in foldVectorBinop()1826 Value *NewLHS = ConstOp1 ? V1 : NewC; in foldVectorBinop()1827 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop()