Home
last modified time | relevance | path

Searched refs:FalseC (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp1579 Constant *FalseC = dyn_cast<Constant>(FalseVal); in visitSelectInst() local
1580 if (!FalseC) in visitSelectInst()
1581 FalseC = SimplifiedValues.lookup(FalseVal); in visitSelectInst()
1587 if (TrueC == FalseC && TrueC) { in visitSelectInst()
1618 if (TrueC && FalseC) { in visitSelectInst()
1619 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
DInstructionSimplify.cpp3982 if (auto *FalseC = dyn_cast<Constant>(FalseVal)) in SimplifySelectInst() local
3983 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in SimplifySelectInst()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp594 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(False); in performSELECTCombine() local
603 if (!FalseC) in performSELECTCombine()
608 if (!FalseC->getZExtValue()) { in performSELECTCombine()
632 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
663 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(ValueIfFalse); in performCMovFPCombine() local
664 if (!FalseC || FalseC->getZExtValue()) in performCMovFPCombine()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelLowering.cpp693 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(False); in performSELECTCombine() local
702 if (!FalseC) in performSELECTCombine()
707 if (!FalseC->getZExtValue()) { in performSELECTCombine()
732 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
764 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(ValueIfFalse); in performCMovFPCombine() local
765 if (!FalseC || FalseC->getZExtValue()) in performCMovFPCombine()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp684 ConstantInt *FalseC = ConstantInt::getFalse(Ty->getContext()); in getFalse() local
686 return ConstantVector::getSplat(VTy->getNumElements(), FalseC); in getFalse()
687 return FalseC; in getFalse()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp26612 if (ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(RHS)) in combineSelect() local
26619 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue()) && in combineSelect()
26625 std::swap(TrueC, FalseC); in combineSelect()
26629 if (FalseC->getAPIntValue() == 0 && in combineSelect()
26644 if (FalseC->getAPIntValue()+1 == TrueC->getAPIntValue()) { in combineSelect()
26651 FalseC->getValueType(0), Cond); in combineSelect()
26653 SDValue(FalseC, 0)); in combineSelect()
26659 uint64_t Diff = TrueC->getZExtValue()-FalseC->getZExtValue(); in combineSelect()
26679 APInt Diff = TrueC->getAPIntValue()-FalseC->getAPIntValue(); in combineSelect()
26685 Cond = DAG.getNode(ISD::ZERO_EXTEND, DL, FalseC->getValueType(0), in combineSelect()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2437 auto *FalseC = dyn_cast<ConstantSDNode>(FalseOp); in lowerSELECT_CC() local
2438 if (TrueC && FalseC) { in lowerSELECT_CC()
2440 int64_t FalseVal = FalseC->getSExtValue(); in lowerSELECT_CC()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp37668 auto *FalseC = dyn_cast<ConstantSDNode>(RHS); in combineSelectOfTwoConstants() local
37669 if (!TrueC || !FalseC) in combineSelectOfTwoConstants()
37688 const APInt &FalseVal = FalseC->getAPIntValue(); in combineSelectOfTwoConstants()
37704 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants()
37715 if (!FalseC->isNullValue()) in combineSelectOfTwoConstants()
37716 R = DAG.getNode(ISD::ADD, DL, VT, R, SDValue(FalseC, 0)); in combineSelectOfTwoConstants()
38697 if (ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(FalseOp)) { in combineCMov() local
38700 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov()
38702 std::swap(TrueC, FalseC); in combineCMov()
38709 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) { in combineCMov()
[all …]