Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp220 Constant *TrueC, *FalseC; in visitImpl() local
222 match(Sel->getFalseValue(), m_ImmConstant(FalseC))) { in visitImpl()
224 Constant *NegFalseC = ConstantExpr::getNeg(FalseC); in visitImpl()
H A DInstructionCombining.cpp1969 Constant *TrueC, *FalseC; in foldSelectGEP() local
1972 m_Select(m_Value(Cond), m_Constant(TrueC), m_Constant(FalseC)))) in foldSelectGEP()
1982 Value *NewFalseC = Builder.CreateGEP(Ty, FalseC, IndexC, "", IsInBounds); in foldSelectGEP()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DInlineCost.cpp2280 Constant *FalseC = dyn_cast<Constant>(FalseVal); in visitSelectInst() local
2281 if (!FalseC) in visitSelectInst()
2282 FalseC = SimplifiedValues.lookup(FalseVal); in visitSelectInst()
2288 if (TrueC == FalseC && TrueC) { in visitSelectInst()
2319 if (TrueC && FalseC) { in visitSelectInst()
2320 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
H A DInstructionSimplify.cpp4552 if (auto *FalseC = dyn_cast<Constant>(FalseVal)) in simplifySelectInst() local
4553 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in simplifySelectInst()
4668 Constant *TrueC, *FalseC; in simplifySelectInst() local
4671 match(FalseVal, m_Constant(FalseC))) { in simplifySelectInst()
4678 Constant *FEltC = FalseC->getAggregateElement(i); in simplifySelectInst()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp804 Constant *FalseC = in checkAndReplaceCondition() local
806 Cmp->replaceAllUsesWith(FalseC); in checkAndReplaceCondition()
/openbsd/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp674 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(False); in performSELECTCombine() local
683 if (!FalseC) in performSELECTCombine()
688 if (!FalseC->getZExtValue()) { in performSELECTCombine()
713 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
745 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(ValueIfFalse); in performCMovFPCombine() local
746 if (!FalseC || FalseC->getZExtValue()) in performCMovFPCombine()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DConstants.cpp863 ConstantInt *FalseC = ConstantInt::getFalse(Ty->getContext()); in getFalse() local
865 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse()
866 return FalseC; in getFalse()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp45501 auto *FalseC = dyn_cast<ConstantSDNode>(RHS); in combineSelectOfTwoConstants() local
45502 if (!TrueC || !FalseC) in combineSelectOfTwoConstants()
45521 const APInt &FalseVal = FalseC->getAPIntValue(); in combineSelectOfTwoConstants()
45546 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants()
45557 if (!FalseC->isZero()) in combineSelectOfTwoConstants()
45558 R = DAG.getNode(ISD::ADD, DL, VT, R, SDValue(FalseC, 0)); in combineSelectOfTwoConstants()
47010 std::swap(TrueC, FalseC); in combineCMov()
47036 FalseC->getValueType(0), Cond); in combineCMov()
47038 SDValue(FalseC, 0)); in combineCMov()
47076 if (FalseC->getAPIntValue() != 0) in combineCMov()
[all …]