Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1687 bool ConstOp1 = isa<Constant>(RHS); in foldVectorBinop() local
1724 ConstOp1 ? ConstantExpr::get(Opcode, UndefScalar, CElt) in foldVectorBinop()
1737 if (Inst.isIntDivRem() || (Inst.isShift() && ConstOp1)) in foldVectorBinop()
1738 NewC = getSafeVectorConstantForBinop(Opcode, NewC, ConstOp1); in foldVectorBinop()
1742 Value *NewLHS = ConstOp1 ? V1 : NewC; in foldVectorBinop()
1743 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp2110 if (!ConstOp1) in adjustZeroCmp()
2113 int64_t Value = ConstOp1->getSExtValue(); in adjustZeroCmp()
2143 auto *ConstOp1 = cast<ConstantSDNode>(C.Op1); in adjustSubwordCmp() local
2144 uint64_t Value = ConstOp1->getZExtValue(); in adjustSubwordCmp()
2193 Value != ConstOp1->getZExtValue()) in adjustSubwordCmp()
2235 if (ConstOp1 && ConstOp1->getZExtValue() == 0) in shouldSwapCmpOperands()
2248 if (!ConstOp1) in shouldSwapCmpOperands()
2253 isUInt<16>(ConstOp1->getZExtValue())) in shouldSwapCmpOperands()
2258 isInt<16>(ConstOp1->getSExtValue())) in shouldSwapCmpOperands()
2487 if (!ConstOp1) in adjustForTestUnderMask()
[all …]