Searched refs:TrueC (Results 1 – 5 of 5) sorted by relevance
1332 Constant *TrueC = dyn_cast<Constant>(TrueVal); in visitSelectInst() local1333 if (!TrueC) in visitSelectInst()1334 TrueC = SimplifiedValues.lookup(TrueVal); in visitSelectInst()1343 if (TrueC == FalseC && TrueC) { in visitSelectInst()1344 SimplifiedValues[&SI] = TrueC; in visitSelectInst()1376 if (TrueC && FalseC) { in visitSelectInst()1377 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
3998 if (auto *TrueC = dyn_cast<Constant>(TrueVal)) in SimplifySelectInst() local4000 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in SimplifySelectInst()
594 ConstantInt *TrueC = ConstantInt::getTrue(Ty->getContext()); in getTrue() local596 return ConstantVector::getSplat(VTy->getNumElements(), TrueC); in getTrue()597 return TrueC; in getTrue()
719 ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(True); in performSELECTCombine() local721 if (!TrueC || !True.getValueType().isInteger()) in performSELECTCombine()730 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
33927 auto *TrueC = dyn_cast<ConstantSDNode>(LHS); in combineSelectOfTwoConstants() local33929 if (!TrueC || !FalseC) in combineSelectOfTwoConstants()33947 const APInt &TrueVal = TrueC->getAPIntValue(); in combineSelectOfTwoConstants()33964 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants()34790 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in combineCMov() local34794 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov()34796 std::swap(TrueC, FalseC); in combineCMov()34809 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in combineCMov()34817 if (FalseC->getAPIntValue()+1 == TrueC->getAPIntValue()) { in combineCMov()34831 uint64_t Diff = TrueC->getZExtValue()-FalseC->getZExtValue(); in combineCMov()[all …]