Home
last modified time | relevance | path

Searched refs:RHSOp (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/utils/TableGen/
DCodeGenInstruction.cpp284 std::pair<unsigned,unsigned> RHSOp = Ops.ParseOperandName(RHSOpName, false); in ParseConstraint() local
288 bool FirstIsDest = (LHSOp < RHSOp); in ParseConstraint()
289 std::pair<unsigned,unsigned> DestOp = (FirstIsDest ? LHSOp : RHSOp); in ParseConstraint()
291 std::pair<unsigned,unsigned> SrcOp = (FirstIsDest ? RHSOp : LHSOp); in ParseConstraint()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1646 Value *LHSOp, *RHSOp; in visitSub() local
1648 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
1649 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub()
1654 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
1655 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) in visitSub()
DInstCombineCompares.cpp2386 Value *RHSOp = nullptr; in visitICmpInstWithCastAndCast() local
2391 RHSOp = RHSC->getOperand(0); in visitICmpInstWithCastAndCast()
2393 if (LHSCIOp->getType() != RHSOp->getType()) in visitICmpInstWithCastAndCast()
2394 RHSOp = Builder->CreateBitCast(RHSOp, LHSCIOp->getType()); in visitICmpInstWithCastAndCast()
2397 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy); in visitICmpInstWithCastAndCast()
2400 if (RHSOp) in visitICmpInstWithCastAndCast()
2401 return new ICmpInst(ICmp.getPredicate(), LHSCIOp, RHSOp); in visitICmpInstWithCastAndCast()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp2060 Value *LHSOp, *RHSOp; in visitSub() local
2062 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
2063 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType(), in visitSub()
2069 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
2070 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType(), in visitSub()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp2018 Value *LHSOp, *RHSOp; in visitSub() local
2020 match(Op1, m_PtrToInt(m_Value(RHSOp)))) in visitSub()
2021 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType(), in visitSub()
2027 match(Op1, m_Trunc(m_PtrToInt(m_Value(RHSOp))))) in visitSub()
2028 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType(), in visitSub()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp318 SDValue RHSOp = RHS.getOperand(i); in matchBinaryPredicate() local
320 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
322 auto *RHSCst = dyn_cast<ConstantSDNode>(RHSOp); in matchBinaryPredicate()
326 LHSOp.getValueType() != RHSOp.getValueType())) in matchBinaryPredicate()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp329 SDValue RHSOp = RHS.getOperand(i); in matchBinaryPredicate() local
331 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
333 auto *RHSCst = dyn_cast<ConstantSDNode>(RHSOp); in matchBinaryPredicate()
337 LHSOp.getValueType() != RHSOp.getValueType())) in matchBinaryPredicate()