Home
last modified time | relevance | path

Searched refs:ConstOp1 (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp111 auto ConstOp1 = dyn_cast<ConstantInt>(Icmp->getOperand(1)); in adjustICmpToBuiltin() local
112 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp2448 if (!ConstOp1 || ConstOp1->getValueSizeInBits(0) > 64) in adjustZeroCmp()
2451 int64_t Value = ConstOp1->getSExtValue(); in adjustZeroCmp()
2482 if (!ConstOp1 || ConstOp1->getValueSizeInBits(0) > 64) in adjustSubwordCmp()
2484 uint64_t Value = ConstOp1->getZExtValue(); in adjustSubwordCmp()
2533 Value != ConstOp1->getZExtValue()) in adjustSubwordCmp()
2577 if (ConstOp1 && ConstOp1->getZExtValue() == 0) in shouldSwapCmpOperands()
2590 if (!ConstOp1) in shouldSwapCmpOperands()
2595 isUInt<16>(ConstOp1->getZExtValue())) in shouldSwapCmpOperands()
2600 isInt<16>(ConstOp1->getSExtValue())) in shouldSwapCmpOperands()
2850 if (!ConstOp1) in adjustForTestUnderMask()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1938 bool ConstOp1 = isa<Constant>(RHS); in foldVectorBinop() local
1975 ConstOp1 in foldVectorBinop()
1990 if (Inst.isIntDivRem() || (Inst.isShift() && ConstOp1)) in foldVectorBinop()
1991 NewC = getSafeVectorConstantForBinop(Opcode, NewC, ConstOp1); in foldVectorBinop()
1995 Value *NewLHS = ConstOp1 ? V1 : NewC; in foldVectorBinop()
1996 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop()