Searched refs:ConstOp1 (Results 1 – 3 of 3) sorted by relevance
110 auto ConstOp1 = dyn_cast<ConstantInt>(Icmp->getOperand(1)); in adjustICmpToBuiltin() local111 if (!ConstOp1) in adjustICmpToBuiltin()114 auto ConstOp1Val = ConstOp1->getValue().getZExtValue(); in adjustICmpToBuiltin()129 M, Intrinsic::bpf_compare, {Op0->getType(), ConstOp1->getType()}); in adjustICmpToBuiltin()130 auto *NewInst = CallInst::Create(Fn, {Opcode, Op0, ConstOp1}); in adjustICmpToBuiltin()
2821 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1.getNode()); in adjustZeroCmp() local2822 if (!ConstOp1 || ConstOp1->getValueSizeInBits(0) > 64) in adjustZeroCmp()2825 int64_t Value = ConstOp1->getSExtValue(); in adjustZeroCmp()2855 auto *ConstOp1 = cast<ConstantSDNode>(C.Op1); in adjustSubwordCmp() local2856 if (!ConstOp1 || ConstOp1->getValueSizeInBits(0) > 64) in adjustSubwordCmp()2858 uint64_t Value = ConstOp1->getZExtValue(); in adjustSubwordCmp()2862 int64_t SignedValue = ConstOp1->getSExtValue(); in adjustSubwordCmp()2907 Value != ConstOp1->getZExtValue()) in adjustSubwordCmp()2950 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1); in shouldSwapCmpOperands() local2951 if (ConstOp1 && ConstOp1->getZExtValue() == 0) in shouldSwapCmpOperands()[all …]
2434 bool ConstOp1 = isa<Constant>(RHS); in foldVectorBinop() local2440 NewC = getSafeVectorConstantForBinop(Opcode, NewC, ConstOp1); in foldVectorBinop()2444 Value *NewLHS = ConstOp1 ? V1 : NewC; in foldVectorBinop()2445 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop()