Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DMatchConsumer.h48 MatchConsumer<T> FalseC) { in ifBound() argument
51 return (Map.find(ID) != Map.end() ? TrueC : FalseC)(Result); in ifBound()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp211 Constant *TrueC, *FalseC; in visitImpl() local
213 match(Sel->getFalseValue(), m_ImmConstant(FalseC))) { in visitImpl()
215 Constant *NegFalseC = ConstantExpr::getNeg(FalseC); in visitImpl()
H A DInstructionCombining.cpp2570 Constant *TrueC, *FalseC; in foldSelectGEP() local
2573 m_Select(m_Value(Cond), m_Constant(TrueC), m_Constant(FalseC)))) in foldSelectGEP()
2583 Value *NewFalseC = Builder.CreateGEP(Ty, FalseC, IndexC, "", NW); in foldSelectGEP()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp2577 Constant *FalseC = getDirectOrSimplifiedValue<Constant>(FalseVal); in visitSelectInst() local
2582 if (TrueC == FalseC && TrueC) { in visitSelectInst()
2613 if (TrueC && FalseC) { in visitSelectInst()
2614 if (auto *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) { in visitSelectInst()
H A DLazyValueInfo.cpp950 Constant *FalseC = dyn_cast<Constant>(Y->getFalseValue()); in solveBlockValueBinaryOpImpl() local
951 if (!FalseC) in solveBlockValueBinaryOpImpl()
965 ConstantRange FalseY = FalseC->toConstantRange(); in solveBlockValueBinaryOpImpl()
H A DInstructionSimplify.cpp4825 if (auto *FalseC = dyn_cast<Constant>(FalseVal)) in simplifySelectInst() local
4826 if (Constant *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) in simplifySelectInst()
4950 Constant *TrueC, *FalseC; in simplifySelectInst() local
4953 match(FalseVal, m_Constant(FalseC))) { in simplifySelectInst()
4960 Constant *FEltC = FalseC->getAggregateElement(i); in simplifySelectInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp712 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(False); in performSELECTCombine() local
721 if (!FalseC) in performSELECTCombine()
726 if (!FalseC->getZExtValue()) { in performSELECTCombine()
751 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
783 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(ValueIfFalse); in performCMovFPCombine() local
784 if (!FalseC || FalseC->getZExtValue()) in performCMovFPCombine()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp896 ConstantInt *FalseC = ConstantInt::getFalse(Ty->getContext()); in getFalse() local
898 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse()
899 return FalseC; in getFalse()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp47333 auto *FalseC = dyn_cast<ConstantSDNode>(RHS); in combineSelectOfTwoConstants() local
47334 if (!TrueC || !FalseC) in combineSelectOfTwoConstants()
47353 const APInt &FalseVal = FalseC->getAPIntValue(); in combineSelectOfTwoConstants()
47378 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants()
47389 if (!FalseC->isZero()) in combineSelectOfTwoConstants()
47390 R = DAG.getNode(ISD::ADD, DL, VT, R, SDValue(FalseC, 0)); in combineSelectOfTwoConstants()
49034 if (ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(FalseOp)) { in combineCMov() local
49037 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov()
49039 std::swap(TrueC, FalseC); in combineCMov()
49046 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) { in combineCMov()
[all …]