Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/Tooling/Transformer/
DMatchConsumer.h48 MatchConsumer<T> FalseC) { in ifBound() argument
51 return (Map.find(ID) != Map.end() ? TrueC : FalseC)(Result); in ifBound()
/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-project/llvm/lib/Analysis/
DInlineCost.cpp1741 Constant *FalseC = dyn_cast<Constant>(FalseVal); in visitSelectInst() local
1742 if (!FalseC) in visitSelectInst()
1743 FalseC = SimplifiedValues.lookup(FalseVal); in visitSelectInst()
1749 if (TrueC == FalseC && TrueC) { in visitSelectInst()
1780 if (TrueC && FalseC) { in visitSelectInst()
1781 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
DInstructionSimplify.cpp4096 if (auto *FalseC = dyn_cast<Constant>(FalseVal)) in SimplifySelectInst() local
4097 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in SimplifySelectInst()
4138 Constant *TrueC, *FalseC; in SimplifySelectInst() local
4141 match(FalseVal, m_Constant(FalseC))) { in SimplifySelectInst()
4148 Constant *FEltC = FalseC->getAggregateElement(i); 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/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1809 Constant *TrueC, *FalseC; in foldSelectGEP() local
1812 m_Select(m_Value(Cond), m_Constant(TrueC), m_Constant(FalseC)))) in foldSelectGEP()
1822 Value *NewFalseC = IsInBounds ? Builder.CreateInBoundsGEP(FalseC, IndexC) in foldSelectGEP()
1823 : Builder.CreateGEP(FalseC, IndexC); in foldSelectGEP()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsISelLowering.cpp694 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(False); in performSELECTCombine() local
703 if (!FalseC) in performSELECTCombine()
708 if (!FalseC->getZExtValue()) { in performSELECTCombine()
733 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
765 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(ValueIfFalse); in performCMovFPCombine() local
766 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-project/llvm/lib/IR/
DConstants.cpp828 ConstantInt *FalseC = ConstantInt::getFalse(Ty->getContext()); in getFalse() local
830 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse()
831 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.cpp37665 auto *FalseC = dyn_cast<ConstantSDNode>(RHS); in combineSelectOfTwoConstants() local
37666 if (!TrueC || !FalseC) in combineSelectOfTwoConstants()
37685 const APInt &FalseVal = FalseC->getAPIntValue(); in combineSelectOfTwoConstants()
37701 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants()
37712 if (!FalseC->isNullValue()) in combineSelectOfTwoConstants()
37713 R = DAG.getNode(ISD::ADD, DL, VT, R, SDValue(FalseC, 0)); in combineSelectOfTwoConstants()
38694 if (ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(FalseOp)) { in combineCMov() local
38697 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov()
38699 std::swap(TrueC, FalseC); in combineCMov()
38706 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) { in combineCMov()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp40403 auto *FalseC = dyn_cast<ConstantSDNode>(RHS); in combineSelectOfTwoConstants() local
40404 if (!TrueC || !FalseC) in combineSelectOfTwoConstants()
40423 const APInt &FalseVal = FalseC->getAPIntValue(); in combineSelectOfTwoConstants()
40439 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants()
40450 if (!FalseC->isNullValue()) in combineSelectOfTwoConstants()
40451 R = DAG.getNode(ISD::ADD, DL, VT, R, SDValue(FalseC, 0)); in combineSelectOfTwoConstants()
41722 if (ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(FalseOp)) { in combineCMov() local
41725 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov()
41727 std::swap(TrueC, FalseC); in combineCMov()
41734 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) { in combineCMov()
[all …]