Home
last modified time | relevance | path

Searched refs:RHSVal (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp300 Value *RHSVal = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI() local
303 Type *RHSType = RHSVal->getType(); in FoldPHIArgBinOpIntoPHI()
322 if (I->getOperand(1) != RHSVal) RHSVal = nullptr; in FoldPHIArgBinOpIntoPHI()
329 if (!LHSVal && !RHSVal) in FoldPHIArgBinOpIntoPHI()
345 if (!RHSVal) { in FoldPHIArgBinOpIntoPHI()
350 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI()
370 LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI()
377 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); in FoldPHIArgBinOpIntoPHI()
DInstCombineAddSub.cpp1235 const APInt &RHSVal = CI->getValue(); in visitAdd() local
1239 if (XorRHS->getValue() == -RHSVal) { in visitAdd()
1240 if (RHSVal.isPowerOf2()) in visitAdd()
1241 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp718 for (const auto &RHSVal : RHSVals) in ComputeValueKnownInPredecessorsImpl() local
719 if (RHSVal.first == InterestingVal || isa<UndefValue>(RHSVal.first)) { in ComputeValueKnownInPredecessorsImpl()
722 if (!LHSKnownBBs.count(RHSVal.second)) in ComputeValueKnownInPredecessorsImpl()
723 Result.emplace_back(InterestingVal, RHSVal.second); in ComputeValueKnownInPredecessorsImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DRecord.h1848 unsigned LHSVal, RHSVal; in operator() local
1852 bool RHSFailed = RHSPart.second.getAsInteger(10, RHSVal); (void)RHSFailed; in operator()
1855 if (LHSVal != RHSVal) in operator()
1856 return LHSVal < RHSVal; in operator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp77 int64_t RHSVal = EvaluateCRExpr(BE->getRHS()); in EvaluateCRExpr() local
80 if (LHSVal < 0 || RHSVal < 0) in EvaluateCRExpr()
85 case MCBinaryExpr::Add: Res = LHSVal + RHSVal; break; in EvaluateCRExpr()
86 case MCBinaryExpr::Mul: Res = LHSVal * RHSVal; break; in EvaluateCRExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp500 Value *RHSVal; in matchInstruction() local
548 m_And(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction()
552 if (!setValueOnce(RHSVal)) in matchInstruction()
571 m_Or(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction()
575 if (!setValueOnce(RHSVal)) in matchInstruction()
602 if (match(I->getOperand(0), m_Add(m_Value(RHSVal), m_APInt(RHSC)))) { in matchInstruction()
604 CandidateVal = RHSVal; in matchInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp3054 unsigned RHSVal = RHS->getZExtValue(); in performShlCombine() local
3055 if (!RHSVal) in performShlCombine()
3069 if (VT == MVT::i32 && RHSVal == 16 && X.getValueType() == MVT::i16 && in performShlCombine()
3083 if (LZ < RHSVal) in performShlCombine()
3099 if (RHSVal < 32) in performShlCombine()
3102 SDValue ShiftAmt = DAG.getConstant(RHSVal - 32, SL, MVT::i32); in performShlCombine()
3124 unsigned RHSVal = RHS->getZExtValue(); in performSraCombine() local
3127 if (RHSVal == 32) { in performSraCombine()
3137 if (RHSVal == 63) { in performSraCombine()
DAMDGPUISelDAGToDAG.cpp107 uint32_t LHSVal, RHSVal; in packConstantV2I16() local
109 getConstantValue(N->getOperand(1), RHSVal)) { in packConstantV2I16()
112 (-LHSVal & 0xffff) | (-RHSVal << 16) : in packConstantV2I16()
113 (LHSVal & 0xffff) | (RHSVal << 16); in packConstantV2I16()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5416 ConstantSDNode *RHSVal = dyn_cast<ConstantSDNode>(RHS); in LowerSELECT_CC() local
5417 if (Opcode == AArch64ISD::CSEL && RHSVal && !RHSVal->isOne() && in LowerSELECT_CC()
5418 !RHSVal->isNullValue() && !RHSVal->isAllOnesValue()) { in LowerSELECT_CC()
5422 if (CTVal && CTVal == RHSVal && AArch64CC == AArch64CC::EQ) in LowerSELECT_CC()
5424 else if (CFVal && CFVal == RHSVal && AArch64CC == AArch64CC::NE) in LowerSELECT_CC()
5426 } else if (Opcode == AArch64ISD::CSNEG && RHSVal && RHSVal->isOne()) { in LowerSELECT_CC()
5431 if (CTVal == RHSVal && AArch64CC == AArch64CC::EQ) { in LowerSELECT_CC()
5459 ConstantFPSDNode *RHSVal = dyn_cast<ConstantFPSDNode>(RHS); in LowerSELECT_CC() local
5460 if (RHSVal && RHSVal->isZero()) { in LowerSELECT_CC()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp3298 SDValue RHSVal = getValue(I.getOperand(2)); in visitSelect() local
3383 RHSVal = getValue(RHS); in visitSelect()
3405 Ops.push_back(SDValue(RHSVal.getNode(), RHSVal.getResNo() + i)); in visitSelect()