Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1533 bool ConstOp1 = isa<Constant>(RHS); in foldVectorBinop() local
1569 ConstOp1 ? ConstantExpr::get(Opcode, UndefScalar, CElt) in foldVectorBinop()
1582 if (Inst.isIntDivRem() || (Inst.isShift() && ConstOp1)) in foldVectorBinop()
1583 NewC = getSafeVectorConstantForBinop(Opcode, NewC, ConstOp1); in foldVectorBinop()
1587 Value *NewLHS = ConstOp1 ? V1 : NewC; in foldVectorBinop()
1588 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp1996 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1.getNode()); in adjustZeroCmp() local
1997 if (!ConstOp1) in adjustZeroCmp()
2000 int64_t Value = ConstOp1->getSExtValue(); in adjustZeroCmp()
2029 auto *ConstOp1 = cast<ConstantSDNode>(C.Op1); in adjustSubwordCmp() local
2030 uint64_t Value = ConstOp1->getZExtValue(); in adjustSubwordCmp()
2034 int64_t SignedValue = ConstOp1->getSExtValue(); in adjustSubwordCmp()
2079 Value != ConstOp1->getZExtValue()) in adjustSubwordCmp()
2120 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1); in shouldSwapCmpOperands() local
2121 if (ConstOp1 && ConstOp1->getZExtValue() == 0) in shouldSwapCmpOperands()
2134 if (!ConstOp1) in shouldSwapCmpOperands()
[all …]