Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp215 Constant *TrueC, *FalseC; in visitImpl() local
217 match(Sel->getFalseValue(), m_ImmConstant(FalseC))) { in visitImpl()
219 Constant *NegFalseC = ConstantExpr::getNeg(FalseC); in visitImpl()
H A DInstructionCombining.cpp2123 Constant *TrueC, *FalseC; in foldSelectGEP() local
2126 m_Select(m_Value(Cond), m_Constant(TrueC), m_Constant(FalseC)))) in foldSelectGEP()
2136 Value *NewFalseC = Builder.CreateGEP(Ty, FalseC, IndexC, "", IsInBounds); in foldSelectGEP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp2369 Constant *FalseC = dyn_cast<Constant>(FalseVal); in visitSelectInst() local
2370 if (!FalseC) in visitSelectInst()
2371 FalseC = SimplifiedValues.lookup(FalseVal); in visitSelectInst()
2377 if (TrueC == FalseC && TrueC) { in visitSelectInst()
2408 if (TrueC && FalseC) { in visitSelectInst()
2409 if (auto *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) { in visitSelectInst()
H A DInstructionSimplify.cpp4773 if (auto *FalseC = dyn_cast<Constant>(FalseVal)) in simplifySelectInst() local
4774 if (Constant *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) in simplifySelectInst()
4898 Constant *TrueC, *FalseC; in simplifySelectInst() local
4901 match(FalseVal, m_Constant(FalseC))) { in simplifySelectInst()
4908 Constant *FEltC = FalseC->getAggregateElement(i); in simplifySelectInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp687 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(False); in performSELECTCombine() local
696 if (!FalseC) in performSELECTCombine()
701 if (!FalseC->getZExtValue()) { in performSELECTCombine()
726 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
758 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(ValueIfFalse); in performCMovFPCombine() local
759 if (!FalseC || FalseC->getZExtValue()) in performCMovFPCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp861 ConstantInt *FalseC = ConstantInt::getFalse(Ty->getContext()); in getFalse() local
863 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse()
864 return FalseC; in getFalse()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp44568 auto *FalseC = dyn_cast<ConstantSDNode>(RHS); in combineSelectOfTwoConstants() local
44569 if (!TrueC || !FalseC) in combineSelectOfTwoConstants()
44588 const APInt &FalseVal = FalseC->getAPIntValue(); in combineSelectOfTwoConstants()
44613 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants()
44624 if (!FalseC->isZero()) in combineSelectOfTwoConstants()
44625 R = DAG.getNode(ISD::ADD, DL, VT, R, SDValue(FalseC, 0)); in combineSelectOfTwoConstants()
46157 std::swap(TrueC, FalseC); in combineCMov()
46183 FalseC->getValueType(0), Cond); in combineCMov()
46185 SDValue(FalseC, 0)); in combineCMov()
46223 if (FalseC->getAPIntValue() != 0) in combineCMov()
[all …]