Searched refs:ConstOp1 (Results 1 – 3 of 3) sorted by relevance
111 auto ConstOp1 = dyn_cast<ConstantInt>(Icmp->getOperand(1)); in adjustICmpToBuiltin() local112 if (!ConstOp1) in adjustICmpToBuiltin()115 auto ConstOp1Val = ConstOp1->getValue().getZExtValue(); in adjustICmpToBuiltin()130 M, Intrinsic::bpf_compare, {Op0->getType(), ConstOp1->getType()}); in adjustICmpToBuiltin()131 auto *NewInst = CallInst::Create(Fn, {Opcode, Op0, ConstOp1}); in adjustICmpToBuiltin()
2470 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1.getNode()); in adjustZeroCmp() local2471 if (!ConstOp1 || ConstOp1->getValueSizeInBits(0) > 64) in adjustZeroCmp()2474 int64_t Value = ConstOp1->getSExtValue(); in adjustZeroCmp()2504 auto *ConstOp1 = cast<ConstantSDNode>(C.Op1); in adjustSubwordCmp() local2505 if (!ConstOp1 || ConstOp1->getValueSizeInBits(0) > 64) in adjustSubwordCmp()2507 uint64_t Value = ConstOp1->getZExtValue(); in adjustSubwordCmp()2511 int64_t SignedValue = ConstOp1->getSExtValue(); in adjustSubwordCmp()2556 Value != ConstOp1->getZExtValue()) in adjustSubwordCmp()2599 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1); in shouldSwapCmpOperands() local2600 if (ConstOp1 && ConstOp1->getZExtValue() == 0) in shouldSwapCmpOperands()[all …]
2145 bool ConstOp1 = isa<Constant>(RHS); in foldVectorBinop() local2182 ConstOp1 in foldVectorBinop()2197 if (Inst.isIntDivRem() || (Inst.isShift() && ConstOp1)) in foldVectorBinop()2198 NewC = getSafeVectorConstantForBinop(Opcode, NewC, ConstOp1); in foldVectorBinop()2202 Value *NewLHS = ConstOp1 ? V1 : NewC; in foldVectorBinop()2203 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop()